diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/magic_encoding_comment.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/magic_encoding_comment.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/magic_encoding_comment.txt b/test/prism/snapshots/seattlerb/magic_encoding_comment.txt new file mode 100644 index 0000000000..9c4ca884d2 --- /dev/null +++ b/test/prism/snapshots/seattlerb/magic_encoding_comment.txt @@ -0,0 +1,46 @@ +@ ProgramNode (location: (2,0)-(3,3)) +├── locals: [] +└── statements: + @ StatementsNode (location: (2,0)-(3,3)) + └── body: (length: 1) + └── @ ClassNode (location: (2,0)-(3,3)) + ├── locals: [] + ├── class_keyword_loc: (2,0)-(2,5) = "class" + ├── constant_path: + │ @ ConstantReadNode (location: (2,6)-(2,34)) + │ └── name: :ExampleUTF8ClassNameVarietà + ├── inheritance_operator_loc: ∅ + ├── superclass: ∅ + ├── body: + │ @ StatementsNode (location: (2,36)-(2,68)) + │ └── body: (length: 1) + │ └── @ DefNode (location: (2,36)-(2,68)) + │ ├── name: :è + │ ├── name_loc: (2,45)-(2,47) = "è" + │ ├── receiver: + │ │ @ SelfNode (location: (2,40)-(2,44)) + │ ├── parameters: ∅ + │ ├── body: + │ │ @ StatementsNode (location: (2,49)-(2,63)) + │ │ └── body: (length: 1) + │ │ └── @ LocalVariableWriteNode (location: (2,49)-(2,63)) + │ │ ├── name: :così + │ │ ├── depth: 0 + │ │ ├── name_loc: (2,49)-(2,54) = "così" + │ │ ├── value: + │ │ │ @ SymbolNode (location: (2,57)-(2,63)) + │ │ │ ├── flags: ∅ + │ │ │ ├── opening_loc: (2,57)-(2,58) = ":" + │ │ │ ├── value_loc: (2,58)-(2,63) = "però" + │ │ │ ├── closing_loc: ∅ + │ │ │ └── unescaped: "però" + │ │ └── operator_loc: (2,55)-(2,56) = "=" + │ ├── locals: [:così] + │ ├── def_keyword_loc: (2,36)-(2,39) = "def" + │ ├── operator_loc: (2,44)-(2,45) = "." + │ ├── lparen_loc: ∅ + │ ├── rparen_loc: ∅ + │ ├── equal_loc: ∅ + │ └── end_keyword_loc: (2,65)-(2,68) = "end" + ├── end_keyword_loc: (3,0)-(3,3) = "end" + └── name: :ExampleUTF8ClassNameVarietà |