mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 01:44:16 +00:00
add interface support
This commit is contained in:
parent
972070c6df
commit
c24242ab87
@ -52,7 +52,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
group = "org.bdware.sc"
|
group = "org.bdware.sc"
|
||||||
|
|
||||||
version = "1.7.2"
|
version = "1.7.3"
|
||||||
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
||||||
|
|
||||||
task copyLibs(type: Copy) {
|
task copyLibs(type: Copy) {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -95,6 +95,18 @@ public class YJSParserBaseListener implements YJSParserListener {
|
|||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void exitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx) { }
|
@Override public void exitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void enterInterfaceDeclaration(YJSParser.InterfaceDeclarationContext ctx) { }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override public void exitInterfaceDeclaration(YJSParser.InterfaceDeclarationContext ctx) { }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
|
@ -60,6 +60,13 @@ public class YJSParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> impleme
|
|||||||
* {@link #visitChildren} on {@code ctx}.</p>
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
*/
|
*/
|
||||||
@Override public T visitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx) { return visitChildren(ctx); }
|
@Override public T visitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx) { return visitChildren(ctx); }
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation returns the result of calling
|
||||||
|
* {@link #visitChildren} on {@code ctx}.</p>
|
||||||
|
*/
|
||||||
|
@Override public T visitInterfaceDeclaration(YJSParser.InterfaceDeclarationContext ctx) { return visitChildren(ctx); }
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
|
@ -77,6 +77,16 @@ public interface YJSParserListener extends ParseTreeListener {
|
|||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx);
|
void exitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx);
|
||||||
|
/**
|
||||||
|
* Enter a parse tree produced by {@link YJSParser#interfaceDeclaration}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void enterInterfaceDeclaration(YJSParser.InterfaceDeclarationContext ctx);
|
||||||
|
/**
|
||||||
|
* Exit a parse tree produced by {@link YJSParser#interfaceDeclaration}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
*/
|
||||||
|
void exitInterfaceDeclaration(YJSParser.InterfaceDeclarationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link YJSParser#eventDeclaration}.
|
* Enter a parse tree produced by {@link YJSParser#eventDeclaration}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
|
@ -52,6 +52,12 @@ public interface YJSParserVisitor<T> extends ParseTreeVisitor<T> {
|
|||||||
* @return the visitor result
|
* @return the visitor result
|
||||||
*/
|
*/
|
||||||
T visitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx);
|
T visitClzOrFunctionDeclaration(YJSParser.ClzOrFunctionDeclarationContext ctx);
|
||||||
|
/**
|
||||||
|
* Visit a parse tree produced by {@link YJSParser#interfaceDeclaration}.
|
||||||
|
* @param ctx the parse tree
|
||||||
|
* @return the visitor result
|
||||||
|
*/
|
||||||
|
T visitInterfaceDeclaration(YJSParser.InterfaceDeclarationContext ctx);
|
||||||
/**
|
/**
|
||||||
* Visit a parse tree produced by {@link YJSParser#eventDeclaration}.
|
* Visit a parse tree produced by {@link YJSParser#eventDeclaration}.
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
|
Loading…
Reference in New Issue
Block a user