Java Code Examples for org.antlr.v4.runtime.tree.ParseTreeVisitor#visitChildren()
The following examples show how to use
org.antlr.v4.runtime.tree.ParseTreeVisitor#visitChildren() .
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: EditorConfigParser.java From editorconfig-netbeans with MIT License | 5 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof EditorConfigParserVisitor) { return ((EditorConfigParserVisitor<? extends T>) visitor).visitSectionHeader(this); } else { return visitor.visitChildren(this); } }
Example 2
Source File: EditorConfigParser.java From editorconfig-netbeans with MIT License | 5 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof EditorConfigParserVisitor) { return ((EditorConfigParserVisitor<? extends T>) visitor).visitFile(this); } else { return visitor.visitChildren(this); } }
Example 3
Source File: XGBoostModelParser.java From ignite with Apache License 2.0 | 5 votes |
/** {@inheritDoc} */ @Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof XGBoostModelVisitor) return ((XGBoostModelVisitor<? extends T>)visitor).visitXgTree(this); else return visitor.visitChildren(this); }
Example 4
Source File: XGBoostModelParser.java From ignite with Apache License 2.0 | 5 votes |
/** {@inheritDoc} */ @Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof XGBoostModelVisitor) return ((XGBoostModelVisitor<? extends T>)visitor).visitXgNode(this); else return visitor.visitChildren(this); }
Example 5
Source File: EditorConfigParser.java From editorconfig-netbeans with MIT License | 5 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof EditorConfigParserVisitor) { return ((EditorConfigParserVisitor<? extends T>) visitor).visitPropertyValue(this); } else { return visitor.visitChildren(this); } }
Example 6
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitFunctionName(this); else return visitor.visitChildren(this); }
Example 7
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitAndExpr(this); else return visitor.visitChildren(this); }
Example 8
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitAbbreviatedStep(this); else return visitor.visitChildren(this); }
Example 9
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitMultiplicativeExpr(this); else return visitor.visitChildren(this); }
Example 10
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitNameTest(this); else return visitor.visitChildren(this); }
Example 11
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitRelationalExpr(this); else return visitor.visitChildren(this); }
Example 12
Source File: DataModelParser.java From wecube-platform with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof DataModelVisitor) return ((DataModelVisitor<? extends T>) visitor).visitRoute(this); else return visitor.visitChildren(this); }
Example 13
Source File: DataModelParser.java From wecube-platform with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof DataModelVisitor) return ((DataModelVisitor<? extends T>) visitor).visitEty(this); else return visitor.visitChildren(this); }
Example 14
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitNCName(this); else return visitor.visitChildren(this); }
Example 15
Source File: DataModelParser.java From wecube-platform with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof DataModelVisitor) return ((DataModelVisitor<? extends T>) visitor).visitEntity(this); else return visitor.visitChildren(this); }
Example 16
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitVariableReference(this); else return visitor.visitChildren(this); }
Example 17
Source File: DataModelParser.java From wecube-platform with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof DataModelVisitor) return ((DataModelVisitor<? extends T>) visitor).visitFwd_node(this); else return visitor.visitChildren(this); }
Example 18
Source File: DataModelParser.java From wecube-platform with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof DataModelVisitor) return ((DataModelVisitor<? extends T>) visitor).visitBy(this); else return visitor.visitChildren(this); }
Example 19
Source File: XpathParser.java From JsoupXpath with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if ( visitor instanceof XpathVisitor ) return ((XpathVisitor<? extends T>)visitor).visitFilterExpr(this); else return visitor.visitChildren(this); }
Example 20
Source File: DataModelParser.java From wecube-platform with Apache License 2.0 | 4 votes |
@Override public <T> T accept(ParseTreeVisitor<? extends T> visitor) { if (visitor instanceof DataModelVisitor) return ((DataModelVisitor<? extends T>) visitor).visitLink(this); else return visitor.visitChildren(this); }