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 | 16 |
1 files changed, 16 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..86632cca13 --- /dev/null +++ b/test/prism/snapshots/seattlerb/integer_with_if_modifier.txt @@ -0,0 +1,16 @@ +@ 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)) + ├── statements: + │ @ StatementsNode (location: (1,0)-(1,5)) + │ └── body: (length: 1) + │ └── @ IntegerNode (location: (1,0)-(1,5)) + │ └── flags: decimal + ├── consequent: ∅ + └── end_keyword_loc: ∅ |