org.antlr.v4.runtime.tree.ParseTreeListener Java Examples
The following examples show how to use
org.antlr.v4.runtime.tree.ParseTreeListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void enterRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).enterChardata( this ); } }
Example #2
Source File: ParseHelper.java From graphicsfuzz with Apache License 2.0 | 5 votes |
private static Translation_unitContext slowParse( InputStream inputStream, ParseTreeListener listener) throws IOException, GlslParserException { GLSLParser parser = getParser(inputStream, listener); try { Translation_unitContext tu = parser.translation_unit(); if (parser.getNumberOfSyntaxErrors() > 0) { throw new GlslParserException(parser); } return tu; } finally { parser.getInterpreter().clearDFA(); } }
Example #3
Source File: CreateTableParserListener.java From debezium-incubator with Apache License 2.0 | 5 votes |
CreateTableParserListener(final String catalogName, final String schemaName, final OracleDdlParser parser, final List<ParseTreeListener> listeners) { this.catalogName = catalogName; this.schemaName = schemaName; this.parser = parser; this.listeners = listeners; }
Example #4
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void enterRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).enterDocument( this ); } }
Example #5
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void enterRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).enterMisc( this ); } }
Example #6
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void enterRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).enterContent( this ); } }
Example #7
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void exitRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).exitContent( this ); } }
Example #8
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void enterRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).enterElement( this ); } }
Example #9
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void exitRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).exitElement( this ); } }
Example #10
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void enterRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).enterReference( this ); } }
Example #11
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void exitRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).exitChardata( this ); } }
Example #12
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void enterRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).enterAttribute( this ); } }
Example #13
Source File: XMLParser.java From manifold with Apache License 2.0 | 5 votes |
@Override public void exitRule( ParseTreeListener listener ) { if( listener instanceof XMLParserListener ) { ((XMLParserListener)listener).exitAttribute( this ); } }
Example #14
Source File: JaybirdSqlParser.java From jaybird with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void exitRule(ParseTreeListener listener) { if ( listener instanceof JaybirdSqlListener ) ((JaybirdSqlListener)listener).exitFullIdentifier(this); }
Example #15
Source File: SoqlParser.java From components with Apache License 2.0 | 4 votes |
@Override public void exitRule(ParseTreeListener listener) { if (listener instanceof SoqlListener) ((SoqlListener) listener).exitAnythingClause(this); }
Example #16
Source File: JaybirdSqlParser.java From jaybird with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void enterRule(ParseTreeListener listener) { if ( listener instanceof JaybirdSqlListener ) ((JaybirdSqlListener)listener).enterStatement(this); }
Example #17
Source File: XGBoostModelParser.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public void exitRule(ParseTreeListener listener) { if (listener instanceof XGBoostModelListener) ((XGBoostModelListener)listener).exitXgNode(this); }
Example #18
Source File: XGBoostModelParser.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public void enterRule(ParseTreeListener listener) { if (listener instanceof XGBoostModelListener) ((XGBoostModelListener)listener).enterXgLeaf(this); }
Example #19
Source File: XGBoostModelParser.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public void exitRule(ParseTreeListener listener) { if (listener instanceof XGBoostModelListener) ((XGBoostModelListener)listener).exitXgLeaf(this); }
Example #20
Source File: XGBoostModelParser.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override public void enterRule(ParseTreeListener listener) { if (listener instanceof XGBoostModelListener) ((XGBoostModelListener)listener).enterXgTree(this); }
Example #21
Source File: SoqlParser.java From components with Apache License 2.0 | 4 votes |
@Override public void enterRule(ParseTreeListener listener) { if (listener instanceof SoqlListener) ((SoqlListener) listener).enterObject(this); }
Example #22
Source File: CQLCFParser.java From chronix.server with Apache License 2.0 | 4 votes |
@Override public void exitRule(ParseTreeListener listener) { if (listener instanceof CQLCFListener) ((CQLCFListener) listener).exitChronixType(this); }
Example #23
Source File: CQLCFParser.java From chronix.server with Apache License 2.0 | 4 votes |
@Override public void exitRule(ParseTreeListener listener) { if (listener instanceof CQLCFListener) ((CQLCFListener) listener).exitChronixTypedFunction(this); }
Example #24
Source File: CQLCFParser.java From chronix.server with Apache License 2.0 | 4 votes |
@Override public void enterRule(ParseTreeListener listener) { if (listener instanceof CQLCFListener) ((CQLCFListener) listener).enterChronixTypedFunction(this); }
Example #25
Source File: CQLCFParser.java From chronix.server with Apache License 2.0 | 4 votes |
@Override public void exitRule(ParseTreeListener listener) { if (listener instanceof CQLCFListener) ((CQLCFListener) listener).exitChronixTypedFunctions(this); }
Example #26
Source File: CQLCFParser.java From chronix.server with Apache License 2.0 | 4 votes |
@Override public void enterRule(ParseTreeListener listener) { if (listener instanceof CQLCFListener) ((CQLCFListener) listener).enterChronixTypedFunctions(this); }
Example #27
Source File: CQLCFParser.java From chronix.server with Apache License 2.0 | 4 votes |
@Override public void exitRule(ParseTreeListener listener) { if (listener instanceof CQLCFListener) ((CQLCFListener) listener).exitCqlcf(this); }
Example #28
Source File: CQLCFParser.java From chronix.server with Apache License 2.0 | 4 votes |
@Override public void enterRule(ParseTreeListener listener) { if (listener instanceof CQLCFListener) ((CQLCFListener) listener).enterCqlcf(this); }
Example #29
Source File: SoqlParser.java From components with Apache License 2.0 | 4 votes |
@Override public void enterRule(ParseTreeListener listener) { if (listener instanceof SoqlListener) ((SoqlListener) listener).enterAnythingClause(this); }
Example #30
Source File: SoqlParser.java From components with Apache License 2.0 | 4 votes |
@Override public void exitRule(ParseTreeListener listener) { if (listener instanceof SoqlListener) ((SoqlListener) listener).exitFieldList(this); }