public class TsonStreamParserImpl extends Object implements TsonStreamParserImplConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
TsonStreamParserImplTokenManager |
token_source
Generated Token Manager.
|
ALIAS, ANTI_QUOTE_STR, AT, AT2, CHARSTREAM_END, CHARSTREAM_PART, CHARSTREAM_START, COLON, COMMA, DATE, DATETIME, DEFAULT, DIGIT, DOUBLE_QUOTE_STR, EOF, EXPONENT, FALSE, IN_CHARSTREAM, LBRACE, LBRACK, LETTER, LINE_STR, LPAREN, NAME, NULL, NUMBER, OP_AND, OP_AND2, OP_AND3, OP_ASSIGN, OP_ASSIGN_EQ, OP_DIV, OP_DIV3, OP_EQ, OP_EQ_GT, OP_EQ2, OP_EQ2_GT, OP_EQ3, OP_GT, OP_GT2, OP_GT3, OP_GTE, OP_HASH, OP_HASH10, OP_HASH2, OP_HASH3, OP_HASH4, OP_HASH5, OP_HASH6, OP_HASH7, OP_HASH8, OP_HASH9, OP_HAT, OP_HAT2, OP_HAT3, OP_LT, OP_LT_EQ2, OP_LT_MINUS2, OP_LT2, OP_LT3, OP_LTE, OP_MINUS, OP_MINUS_GT, OP_MINUS2, OP_MINUS2_GT, OP_MINUS3, OP_MUL, OP_MUL2, OP_MUL3, OP_PIPE, OP_PIPE2, OP_PIPE3, OP_PLUS, OP_PLUS2, OP_PLUS3, OP_REM, OP_REM2, OP_REM3, OP_TILDE, OP_TILDE2, OP_TILDE3, RBRACE, RBRACK, REGEX, RPAREN, SEMICOLON, SEMICOLON2, SINGLE_QUOTE_STR, TIME, tokenImage, TRIPLE_ANTI_QUOTE_STR, TRIPLE_DOUBLE_QUOTE_STR, TRIPLE_SINGLE_QUOTE_STR, TRUE| Constructor and Description |
|---|
TsonStreamParserImpl(InputStream stream)
Constructor with InputStream.
|
TsonStreamParserImpl(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
TsonStreamParserImpl(Reader stream)
Constructor.
|
TsonStreamParserImpl(TsonStreamParserImplTokenManager tm)
Constructor with generated Token Manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
annotation() |
void |
annotationParam() |
void |
annotationParamList() |
void |
array(boolean named) |
void |
arrayElement() |
void |
arrayElementList() |
void |
bin() |
void |
commaSeparator() |
void |
disable_tracing()
Disable tracing.
|
void |
elementLevel1() |
void |
elementLevel2() |
void |
enable_tracing()
Enable tracing.
|
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
named() |
void |
object(boolean named) |
void |
objectElement() |
void |
objectElementList() |
Token |
op() |
void |
param() |
void |
paramList() |
void |
parseDocument() |
void |
parseElement() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
ReInit(TsonStreamParserImplTokenManager tm)
Reinitialise.
|
void |
semiColonSeparator() |
void |
setConfig(TsonStreamParserConfig c) |
Object |
source() |
void |
source(Object source) |
void |
unnamed() |
void |
unnamed0() |
public TsonStreamParserImplTokenManager token_source
public Token token
public Token jj_nt
public TsonStreamParserImpl(InputStream stream)
public TsonStreamParserImpl(InputStream stream, String encoding)
public TsonStreamParserImpl(Reader stream)
public TsonStreamParserImpl(TsonStreamParserImplTokenManager tm)
public Object source()
public void source(Object source)
public void setConfig(TsonStreamParserConfig c)
public final void parseDocument()
throws ParseException
ParseExceptionpublic final void parseElement()
throws ParseException
ParseExceptionpublic final void elementLevel2()
throws ParseException
ParseExceptionpublic final Token op() throws ParseException
ParseExceptionpublic final void elementLevel1()
throws ParseException
ParseExceptionpublic final void bin()
throws ParseException
ParseExceptionpublic final void param()
throws ParseException
ParseExceptionpublic final void objectElement()
throws ParseException
ParseExceptionpublic final void arrayElement()
throws ParseException
ParseExceptionpublic final void commaSeparator()
throws ParseException
ParseExceptionpublic final void semiColonSeparator()
throws ParseException
ParseExceptionpublic final void paramList()
throws ParseException
ParseExceptionpublic final void objectElementList()
throws ParseException
ParseExceptionpublic final void arrayElementList()
throws ParseException
ParseExceptionpublic final void annotationParamList()
throws ParseException
ParseExceptionpublic final void annotation()
throws ParseException
ParseExceptionpublic final void unnamed()
throws ParseException
ParseExceptionpublic final void named()
throws ParseException
ParseExceptionpublic final void unnamed0()
throws ParseException
ParseExceptionpublic final void object(boolean named)
throws ParseException
ParseExceptionpublic final void array(boolean named)
throws ParseException
ParseExceptionpublic final void annotationParam()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(TsonStreamParserImplTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2025 vpc open source initiative. All rights reserved.