diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/integer_with_if_modifier.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/integer_with_if_modifier.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/integer_with_if_modifier.txt b/test/prism/snapshots/seattlerb/integer_with_if_modifier.txt new file mode 100644 index 0000000000..2108c1f0a0 --- /dev/null +++ b/test/prism/snapshots/seattlerb/integer_with_if_modifier.txt @@ -0,0 +1,18 @@ +@ ProgramNode (location: (1,0)-(1,12)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,12)) + └── body: (length: 1) + └── @ IfNode (location: (1,0)-(1,12)) + ├── if_keyword_loc: (1,5)-(1,7) = "if" + ├── predicate: + │ @ TrueNode (location: (1,8)-(1,12)) + ├── then_keyword_loc: ∅ + ├── statements: + │ @ StatementsNode (location: (1,0)-(1,5)) + │ └── body: (length: 1) + │ └── @ IntegerNode (location: (1,0)-(1,5)) + │ ├── flags: decimal + │ └── value: 1234 + ├── consequent: ∅ + └── end_keyword_loc: ∅ |