本文整理匯總了Java中org.antlr.v4.runtime.tree.ParseTreeListener類的典型用法代碼示例。如果您正苦於以下問題:Java ParseTreeListener類的具體用法?Java ParseTreeListener怎麽用?Java ParseTreeListener使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ParseTreeListener類屬於org.antlr.v4.runtime.tree包,在下文中一共展示了ParseTreeListener類的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: enterRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CypherListener ) ((CypherListener)listener).enterDelete(this);
}
示例2: exitRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CypherListener ) ((CypherListener)listener).exitImplicitProcedureInvocation(this);
}
示例3: exitRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void exitRule(ParseTreeListener listener) {
if (listener instanceof SqlGrammarListener) ((SqlGrammarListener) listener).exitConstant(this);
}
示例4: exitRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CListener ) ((CListener)listener).exitGenericAssociation(this);
}
示例5: exitRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof ExpressionEditorListener ) ((ExpressionEditorListener)listener).exitPrimary(this);
}
示例6: enterRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CListener ) ((CListener)listener).enterUnaryOperator(this);
}
示例7: enterRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void enterRule(ParseTreeListener listener) {
if (listener instanceof SqlGrammarListener) ((SqlGrammarListener) listener).enterPredicate(this);
}
示例8: enterRule
import org.antlr.v4.runtime.tree.ParseTreeListener; //導入依賴的package包/類
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof ExpressionEditorListener ) ((ExpressionEditorListener)listener).enterBlock(this);
}