public class ParserException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
ParserException(AstLocation location,
java.lang.String message)
Constructor from location and message.
|
ParserException(AstNode node,
java.lang.String message)
Constructor from node and message.
|
ParserException(org.antlr.v4.runtime.Token token,
java.lang.String message)
Constructor from token and message.
|
| Modifier and Type | Method and Description |
|---|---|
AstLocation |
getLocation()
Gets the AST location.
|
public ParserException(org.antlr.v4.runtime.Token token,
java.lang.String message)
token - Token to construct from.message - Message to construct from.public ParserException(AstNode node, java.lang.String message)
node - AST node to construct from.message - Message to construct from.public ParserException(AstLocation location, java.lang.String message)
location - AST location to construct from.message - Message to construct from.public AstLocation getLocation()
Last updated 2024-10-29 12:52:38