Class ParseTreeContextCastHelper
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.language.grammar.ParseTreeContextCastHelper
-
public class ParseTreeContextCastHelper extends Object
Antlr parse tree context cast helper.
-
-
Constructor Summary
Constructors Constructor Description ParseTreeContextCastHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GremlinParser.GenericLiteralContext
castChildToGenericLiteral(org.antlr.v4.runtime.tree.ParseTree ctx, int childIndex)
Cast ParseTree node child into GenericLiteralContextstatic GremlinParser.GenericLiteralListContext
castChildToGenericLiteralList(org.antlr.v4.runtime.tree.ParseTree ctx, int childIndex)
Cast ParseTree node child into GenericLiteralListContext
-
-
-
Method Detail
-
castChildToGenericLiteral
public static GremlinParser.GenericLiteralContext castChildToGenericLiteral(org.antlr.v4.runtime.tree.ParseTree ctx, int childIndex)
Cast ParseTree node child into GenericLiteralContext- Parameters:
ctx
- : ParseTree nodechildIndex
- : child index- Returns:
- casted GenericLiteralContext
-
castChildToGenericLiteralList
public static GremlinParser.GenericLiteralListContext castChildToGenericLiteralList(org.antlr.v4.runtime.tree.ParseTree ctx, int childIndex)
Cast ParseTree node child into GenericLiteralListContext- Parameters:
ctx
- : ParseTree nodechildIndex
- : child index- Returns:
- casted GenericLiteralListContext
-
-