@flowscripter/mpeg-sdl-parser
Version:
ISO/IEC 14496-34 Syntactic Description Language (MPEG SDL) parser implemented in TypeScript
126 lines (125 loc) • 2.84 kB
text/typescript
// This file was generated by lezer-generator. You probably shouldn't edit it.
export const Whitespace = 1,
Comment = 2,
Specification = 3,
CloseBrace = 4,
ClassDeclaration = 5,
AlignedModifier = 6,
Identifier = 7,
aligned = 8,
OpenParenthesis = 9,
AlignmentBitCount = 10,
CloseParenthesis = 11,
ExpandableModifier = 12,
expandable = 13,
IntegerLiteral = 14,
abstract = 15,
_class = 16,
ParameterList = 17,
Parameter = 18,
ElementaryType = 19,
int = 20,
unsigned = 21,
float = 22,
bit = 23,
Comma = 24,
ExtendsModifier = 25,
_extends = 26,
ParameterValueList = 27,
BinaryExpression = 28,
Multiplication = 29,
Division = 30,
Modulus = 31,
Addition = 32,
Subtraction = 33,
BitwiseShiftLeft = 34,
BitwiseShiftRight = 35,
RelationalLessThan = 36,
RelationalLessThanOrEqual = 37,
RelationalGreaterThan = 38,
RelationalGreaterThanOrEqual = 39,
RelationalEqual = 40,
RelationalNotEqual = 41,
BitwiseAnd = 42,
BitwiseOr = 43,
LogicalAnd = 44,
LogicalOr = 45,
UnaryExpression = 46,
CloseBracket = 47,
OpenBracket = 48,
ArrayElementAccess = 49,
ClassMemberAccess = 50,
Period = 51,
PostfixIncrement = 52,
PostfixDecrement = 53,
UnaryPlus = 54,
UnaryNegation = 55,
LengthofExpression = 56,
lengthof = 57,
BinaryLiteral = 58,
HexadecimalLiteral = 59,
MultipleCharacterLiteral = 60,
SingleQuote = 61,
MultipleCharacterLiteralCharacters = 62,
DecimalLiteral = 63,
FloatingPointLiteral = 64,
BitModifier = 65,
Colon = 66,
Assignment = 67,
ExtendedClassIdRange = 68,
ClassId = 69,
ClassIdRange = 70,
RangeOperator = 71,
OpenBrace = 72,
CompoundStatement = 73,
IfStatement = 74,
_if = 75,
_else = 76,
SwitchStatement = 77,
_switch = 78,
CaseClause = 79,
_case = 80,
_break = 81,
Semicolon = 82,
DefaultClause = 83,
_default = 84,
ForStatement = 85,
_for = 86,
AssignmentExpression = 87,
ComputedElementaryTypeDefinition = 88,
computed = 89,
_const = 90,
DoStatement = 91,
_do = 92,
_while = 93,
WhileStatement = 94,
ExpressionStatement = 95,
ElementaryTypeDefinition = 96,
reserved = 97,
legacy = 98,
LengthAttribute = 99,
LookAhead = 100,
MapDefinition = 101,
ClassDefinition = 102,
StringDefinition = 103,
base64string = 104,
Base64StringLiteral = 105,
DoubleQuote = 106,
Base64StringLiteralCharacters = 107,
utf16string = 108,
UtfStringLiteral = 109,
UtfPrefix = 110,
UtfStringLiteralCharacters = 111,
utf8string = 112,
utf8list = 113,
utfstring = 114,
ArrayDefinition = 115,
ImplicitArrayDimension = 116,
ExplicitArrayDimension = 117,
PartialArrayDimension = 118,
ComputedArrayDefinition = 119,
MapDeclaration = 120,
map = 121,
MapEntry = 122,
AggregateOutputValue = 123,
ElementaryTypeOutputValue = 124;