Package graphql.parser
Class AntlrHelper
- java.lang.Object
-
- graphql.parser.AntlrHelper
-
public class AntlrHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AntlrHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
createPreview(MultiSourceReader multiSourceReader, int antrlLine)
static SourceLocation
createSourceLocation(MultiSourceReader multiSourceReader, int antrlLine, int charPositionInLine)
static SourceLocation
createSourceLocation(MultiSourceReader multiSourceReader, org.antlr.v4.runtime.Token token)
static SourceLocation
createSourceLocation(MultiSourceReader multiSourceReader, org.antlr.v4.runtime.tree.TerminalNode terminalNode)
-
-
-
Method Detail
-
createSourceLocation
public static SourceLocation createSourceLocation(MultiSourceReader multiSourceReader, int antrlLine, int charPositionInLine)
-
createSourceLocation
public static SourceLocation createSourceLocation(MultiSourceReader multiSourceReader, org.antlr.v4.runtime.Token token)
-
createSourceLocation
public static SourceLocation createSourceLocation(MultiSourceReader multiSourceReader, org.antlr.v4.runtime.tree.TerminalNode terminalNode)
-
createPreview
public static java.lang.String createPreview(MultiSourceReader multiSourceReader, int antrlLine)
-
-