@flowscripter/mpeg-sdl-parser
Version:
ISO/IEC 14496-34 Syntactic Description Language (MPEG SDL) parser implemented in TypeScript
34 lines (30 loc) • 608 B
Plain Text
# Simple
class A {computed int a[3];}
==>
Specification(
ClassDeclaration(
class
Whitespace
Identifier
Whitespace
OpenBrace
ComputedArrayDefinition(
computed
Whitespace
ElementaryType(
int
)
Whitespace
Identifier
ExplicitArrayDimension(
OpenBracket
UnaryExpression(
IntegerLiteral
)
CloseBracket
)
Semicolon
)
CloseBrace
)
)