-
-
Save zurk/b594c7642a1bdfeca334ab27a2394426 to your computer and use it in GitHub Desktop.
uast for Javascript driver v.2.6.0 and v1.2.0 for code "var a = 0 + 1;"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File { | |
. Roles: File | |
. StartPosition: { | |
. . Offset: 0 | |
. . Line: 1 | |
. . Col: 1 | |
. } | |
. EndPosition: { | |
. . Offset: 16 | |
. . Line: 2 | |
. . Col: 1 | |
. } | |
. Children: { | |
. . 0: Program { | |
. . . Roles: Module | |
. . . StartPosition: { | |
. . . . Offset: 0 | |
. . . . Line: 1 | |
. . . . Col: 1 | |
. . . } | |
. . . EndPosition: { | |
. . . . Offset: 16 | |
. . . . Line: 2 | |
. . . . Col: 1 | |
. . . } | |
. . . Properties: { | |
. . . . internalRole: program | |
. . . . sourceType: module | |
. . . } | |
. . . Children: { | |
. . . . 0: VariableDeclaration { | |
. . . . . Roles: Statement,Declaration,Variable | |
. . . . . StartPosition: { | |
. . . . . . Offset: 0 | |
. . . . . . Line: 1 | |
. . . . . . Col: 1 | |
. . . . . } | |
. . . . . EndPosition: { | |
. . . . . . Offset: 14 | |
. . . . . . Line: 1 | |
. . . . . . Col: 15 | |
. . . . . } | |
. . . . . Properties: { | |
. . . . . . internalRole: body | |
. . . . . . kind: var | |
. . . . . } | |
. . . . . Children: { | |
. . . . . . 0: VariableDeclarator { | |
. . . . . . . Roles: Declaration,Variable | |
. . . . . . . StartPosition: { | |
. . . . . . . . Offset: 4 | |
. . . . . . . . Line: 1 | |
. . . . . . . . Col: 5 | |
. . . . . . . } | |
. . . . . . . EndPosition: { | |
. . . . . . . . Offset: 13 | |
. . . . . . . . Line: 1 | |
. . . . . . . . Col: 14 | |
. . . . . . . } | |
. . . . . . . Properties: { | |
. . . . . . . . internalRole: declarations | |
. . . . . . . } | |
. . . . . . . Children: { | |
. . . . . . . . 0: Identifier { | |
. . . . . . . . . Roles: Expression,Identifier | |
. . . . . . . . . TOKEN "a" | |
. . . . . . . . . StartPosition: { | |
. . . . . . . . . . Offset: 4 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 5 | |
. . . . . . . . . } | |
. . . . . . . . . EndPosition: { | |
. . . . . . . . . . Offset: 5 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 6 | |
. . . . . . . . . } | |
. . . . . . . . . Properties: { | |
. . . . . . . . . . internalRole: id | |
. . . . . . . . . } | |
. . . . . . . . } | |
. . . . . . . . 1: BinaryExpression { | |
. . . . . . . . . Roles: Initialization,Expression,Operator,Binary,Arithmetic,Add | |
. . . . . . . . . StartPosition: { | |
. . . . . . . . . . Offset: 8 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 9 | |
. . . . . . . . . } | |
. . . . . . . . . EndPosition: { | |
. . . . . . . . . . Offset: 13 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 14 | |
. . . . . . . . . } | |
. . . . . . . . . Properties: { | |
. . . . . . . . . . internalRole: init | |
. . . . . . . . . . operator: + | |
. . . . . . . . . } | |
. . . . . . . . . Children: { | |
. . . . . . . . . . 0: NumericLiteral { | |
. . . . . . . . . . . Roles: Expression,Literal,Number,Binary,Left | |
. . . . . . . . . . . TOKEN "0" | |
. . . . . . . . . . . StartPosition: { | |
. . . . . . . . . . . . Offset: 8 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 9 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . EndPosition: { | |
. . . . . . . . . . . . Offset: 9 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 10 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . Properties: { | |
. . . . . . . . . . . . internalRole: left | |
. . . . . . . . . . . } | |
. . . . . . . . . . } | |
. . . . . . . . . . 1: NumericLiteral { | |
. . . . . . . . . . . Roles: Expression,Literal,Number,Binary,Right | |
. . . . . . . . . . . TOKEN "1" | |
. . . . . . . . . . . StartPosition: { | |
. . . . . . . . . . . . Offset: 12 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 13 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . EndPosition: { | |
. . . . . . . . . . . . Offset: 13 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 14 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . Properties: { | |
. . . . . . . . . . . . internalRole: right | |
. . . . . . . . . . . } | |
. . . . . . . . . . } | |
. . . . . . . . . } | |
. . . . . . . . } | |
. . . . . . . } | |
. . . . . . } | |
. . . . . } | |
. . . . } | |
. . . } | |
. . } | |
. } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File { | |
. Roles: File | |
. StartPosition: { | |
. . Offset: 0 | |
. . Line: 1 | |
. . Col: 1 | |
. } | |
. EndPosition: { | |
. . Offset: 16 | |
. . Line: 2 | |
. . Col: 1 | |
. } | |
. Children: { | |
. . 0: Program { | |
. . . Roles: Module | |
. . . StartPosition: { | |
. . . . Offset: 0 | |
. . . . Line: 1 | |
. . . . Col: 1 | |
. . . } | |
. . . EndPosition: { | |
. . . . Offset: 16 | |
. . . . Line: 2 | |
. . . . Col: 1 | |
. . . } | |
. . . Properties: { | |
. . . . internalRole: program | |
. . . . sourceType: module | |
. . . } | |
. . . Children: { | |
. . . . 0: VariableDeclaration { | |
. . . . . Roles: Statement,Declaration,Variable | |
. . . . . StartPosition: { | |
. . . . . . Offset: 0 | |
. . . . . . Line: 1 | |
. . . . . . Col: 1 | |
. . . . . } | |
. . . . . EndPosition: { | |
. . . . . . Offset: 14 | |
. . . . . . Line: 1 | |
. . . . . . Col: 15 | |
. . . . . } | |
. . . . . Properties: { | |
. . . . . . internalRole: body | |
. . . . . . kind: var | |
. . . . . } | |
. . . . . Children: { | |
. . . . . . 0: VariableDeclarator { | |
. . . . . . . Roles: Declaration,Variable | |
. . . . . . . StartPosition: { | |
. . . . . . . . Offset: 4 | |
. . . . . . . . Line: 1 | |
. . . . . . . . Col: 5 | |
. . . . . . . } | |
. . . . . . . EndPosition: { | |
. . . . . . . . Offset: 13 | |
. . . . . . . . Line: 1 | |
. . . . . . . . Col: 14 | |
. . . . . . . } | |
. . . . . . . Properties: { | |
. . . . . . . . internalRole: declarations | |
. . . . . . . } | |
. . . . . . . Children: { | |
. . . . . . . . 0: Identifier { | |
. . . . . . . . . Roles: Expression,Identifier | |
. . . . . . . . . TOKEN "a" | |
. . . . . . . . . StartPosition: { | |
. . . . . . . . . . Offset: 4 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 5 | |
. . . . . . . . . } | |
. . . . . . . . . EndPosition: { | |
. . . . . . . . . . Offset: 5 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 6 | |
. . . . . . . . . } | |
. . . . . . . . . Properties: { | |
. . . . . . . . . . internalRole: id | |
. . . . . . . . . } | |
. . . . . . . . } | |
. . . . . . . . 1: BinaryExpression { | |
. . . . . . . . . Roles: Arithmetic,Add,Expression,Operator,Binary,Initialization | |
. . . . . . . . . StartPosition: { | |
. . . . . . . . . . Offset: 8 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 9 | |
. . . . . . . . . } | |
. . . . . . . . . EndPosition: { | |
. . . . . . . . . . Offset: 13 | |
. . . . . . . . . . Line: 1 | |
. . . . . . . . . . Col: 14 | |
. . . . . . . . . } | |
. . . . . . . . . Properties: { | |
. . . . . . . . . . internalRole: init | |
. . . . . . . . . } | |
. . . . . . . . . Children: { | |
. . . . . . . . . . 0: Operator { | |
. . . . . . . . . . . Roles: Arithmetic,Add,Expression,Operator,Binary | |
. . . . . . . . . . . TOKEN "+" | |
. . . . . . . . . . . Properties: { | |
. . . . . . . . . . . . internalRole: operator | |
. . . . . . . . . . . } | |
. . . . . . . . . . } | |
. . . . . . . . . . 1: NumericLiteral { | |
. . . . . . . . . . . Roles: Expression,Literal,Number,Binary,Left | |
. . . . . . . . . . . TOKEN "0" | |
. . . . . . . . . . . StartPosition: { | |
. . . . . . . . . . . . Offset: 8 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 9 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . EndPosition: { | |
. . . . . . . . . . . . Offset: 9 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 10 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . Properties: { | |
. . . . . . . . . . . . internalRole: left | |
. . . . . . . . . . . } | |
. . . . . . . . . . } | |
. . . . . . . . . . 2: NumericLiteral { | |
. . . . . . . . . . . Roles: Expression,Literal,Number,Binary,Right | |
. . . . . . . . . . . TOKEN "1" | |
. . . . . . . . . . . StartPosition: { | |
. . . . . . . . . . . . Offset: 12 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 13 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . EndPosition: { | |
. . . . . . . . . . . . Offset: 13 | |
. . . . . . . . . . . . Line: 1 | |
. . . . . . . . . . . . Col: 14 | |
. . . . . . . . . . . } | |
. . . . . . . . . . . Properties: { | |
. . . . . . . . . . . . internalRole: right | |
. . . . . . . . . . . } | |
. . . . . . . . . . } | |
. . . . . . . . . } | |
. . . . . . . . } | |
. . . . . . . } | |
. . . . . . } | |
. . . . . } | |
. . . . } | |
. . . } | |
. . } | |
. } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment