Метод | Описание | |
---|---|---|
Next ( ) : |
Retrieves the next named type
|
|
Parser ( |
Constructs a new parser instance
|
Метод | Описание | |
---|---|---|
_at ( TokenType type ) : bool |
Determines whether the next token has a certain type
|
|
_get ( TokenType type ) : string |
Gets the value of the next token of a certain type
|
|
_parseBitDefinition ( ) : |
Parses a bit definition
|
|
_parseBitString ( ) : |
Parses a bitstring definition
|
|
_parseChoice ( ) : |
Parses a choice definition
|
|
_parseDefinition ( bool eagerOptional = true ) : |
Parses a type definition
|
|
_parseEnumeration ( ) : |
Parses an enumeration definition
|
|
_parseEnumerationOption ( ) : |
Parses an enumeration option definition
|
|
_parseField ( ) : |
Parses a field definition
|
|
_parseSequence ( ) : |
Parses a sequence definition
|
|
_peek ( ) : |
Retrieves the next token without consuming it
|
|
_peekType ( ) : TokenType |
Retrieves the type of the next token without consuming it
|
|
_read ( ) : |
Retrieves the next token and consumes it
|
|
_skipLengthSpecifier ( ) : void |
Skips a length specifier (SIZE(1..16)) if present
|
|
_skipRangeSpecifier ( ) : void |
Skips a range specifier (1..16) if present
|
public Parser ( |
||
lexer | The lexer instance | |
Результат | System |