Package io.github.qishr.cascara.lang.json.token
Class JsonErrorToken
java.lang.Object
io.github.qishr.cascara.lang.json.token.JsonErrorToken
All Implemented Interfaces:
JsonToken
public class JsonErrorToken
Constructor Summary
| Constructor | Description |
|---|---|
| JsonErrorToken(int line, int column, int offset, DiagnosticCode code, Object[] details) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public DiagnosticCode | getCode() | |
| public Object[] | getDetails() | |
| public String | getLexeme() | |
| public String | getContent() | |
| public int | getOffset() | |
| public int | getStartLine() | |
| public int | getStartColumn() | |
| public JsonTokenType | getType() | |
| public QuoteStyle | getQuoteStyle() | |
| public JsonLiteral | getLiteral() | |
| public List<JsonComment> | getComments() | |
| public void | attachComments(List<JsonComment> list) |
Method Details
getCode
public DiagnosticCode getCode()
getDetails
public Object[] getDetails()
getLexeme
public String getLexeme()
getContent
public String getContent()
getOffset
public int getOffset()
getStartLine
public int getStartLine()
getStartColumn
public int getStartColumn()
getType
public JsonTokenType getType()
Specified By:
getQuoteStyle
public QuoteStyle getQuoteStyle()
Specified By:
getLiteral
public JsonLiteral getLiteral()
Specified By:
getComments
public List<JsonComment> getComments()
Specified By:
attachComments
public void attachComments(List<JsonComment> list)
Specified By: