Class ParseTreeContextCastHelper

java.lang.Object
org.apache.tinkerpop.gremlin.language.grammar.ParseTreeContextCastHelper

public class ParseTreeContextCastHelper extends Object
Antlr parse tree context cast helper.
  • Constructor Details

    • ParseTreeContextCastHelper

      public ParseTreeContextCastHelper()
  • Method Details

    • castChildToGenericLiteral

      public static GremlinParser.GenericArgumentContext castChildToGenericLiteral(org.antlr.v4.runtime.tree.ParseTree ctx, int childIndex)
      Cast ParseTree node child into GenericLiteralContext
      Parameters:
      ctx - : ParseTree node
      childIndex - : child index
      Returns:
      casted GenericLiteralContext