Class ParseTreeContextCastHelper


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

      • ParseTreeContextCastHelper

        public ParseTreeContextCastHelper()
    • Method Detail

      • castChildToGenericLiteral

        public static GremlinParser.GenericLiteralArgumentContext 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