public class AntlrHelper
extends java.lang.Object
Constructor and Description |
---|
AntlrHelper() |
Modifier and Type | Method and 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.tree.TerminalNode terminalNode) |
static SourceLocation |
createSourceLocation(MultiSourceReader multiSourceReader,
org.antlr.v4.runtime.Token token) |
public static SourceLocation createSourceLocation(MultiSourceReader multiSourceReader, int antrlLine, int charPositionInLine)
public static SourceLocation createSourceLocation(MultiSourceReader multiSourceReader, org.antlr.v4.runtime.Token token)
public static SourceLocation createSourceLocation(MultiSourceReader multiSourceReader, org.antlr.v4.runtime.tree.TerminalNode terminalNode)
public static java.lang.String createPreview(MultiSourceReader multiSourceReader, int antrlLine)