diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/defn_unary_not.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/defn_unary_not.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/defn_unary_not.txt b/test/prism/snapshots/seattlerb/defn_unary_not.txt new file mode 100644 index 0000000000..231a3c0da9 --- /dev/null +++ b/test/prism/snapshots/seattlerb/defn_unary_not.txt @@ -0,0 +1,21 @@ +@ ProgramNode (location: (1,0)-(1,17)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,17)) + └── body: (length: 1) + └── @ DefNode (location: (1,0)-(1,17)) + ├── name: :! + ├── name_loc: (1,4)-(1,6) = "!@" + ├── receiver: ∅ + ├── parameters: ∅ + ├── body: + │ @ StatementsNode (location: (1,8)-(1,12)) + │ └── body: (length: 1) + │ └── @ TrueNode (location: (1,8)-(1,12)) + ├── locals: [] + ├── def_keyword_loc: (1,0)-(1,3) = "def" + ├── operator_loc: ∅ + ├── lparen_loc: ∅ + ├── rparen_loc: ∅ + ├── equal_loc: ∅ + └── end_keyword_loc: (1,14)-(1,17) = "end" |