summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/unparser/corpus/literal/pragma.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/unparser/corpus/literal/pragma.txt')
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/pragma.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/prism/snapshots/unparser/corpus/literal/pragma.txt b/test/prism/snapshots/unparser/corpus/literal/pragma.txt
new file mode 100644
index 0000000000..08e386b872
--- /dev/null
+++ b/test/prism/snapshots/unparser/corpus/literal/pragma.txt
@@ -0,0 +1,20 @@
+@ ProgramNode (location: (1,0)-(4,7))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(4,7))
+ └── body: (length: 4)
+ ├── @ SourceEncodingNode (location: (1,0)-(1,12))
+ ├── @ SourceFileNode (location: (2,0)-(2,8))
+ │ ├── flags: ∅
+ │ └── filepath: "unparser/corpus/literal/pragma.txt"
+ ├── @ SourceLineNode (location: (3,0)-(3,8))
+ └── @ CallNode (location: (4,0)-(4,7))
+ ├── flags: variable_call, ignore_visibility
+ ├── receiver: ∅
+ ├── call_operator_loc: ∅
+ ├── name: :__dir__
+ ├── message_loc: (4,0)-(4,7) = "__dir__"
+ ├── opening_loc: ∅
+ ├── arguments: ∅
+ ├── closing_loc: ∅
+ └── block: ∅