diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/regexp.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/regexp.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/regexp.txt b/test/prism/snapshots/seattlerb/regexp.txt new file mode 100644 index 0000000000..06cf99264e --- /dev/null +++ b/test/prism/snapshots/seattlerb/regexp.txt @@ -0,0 +1,35 @@ +@ ProgramNode (location: (1,0)-(9,13)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(9,13)) + └── body: (length: 5) + ├── @ RegularExpressionNode (location: (1,0)-(1,5)) + │ ├── flags: forced_us_ascii_encoding + │ ├── opening_loc: (1,0)-(1,1) = "/" + │ ├── content_loc: (1,1)-(1,4) = "wtf" + │ ├── closing_loc: (1,4)-(1,5) = "/" + │ └── unescaped: "wtf" + ├── @ RegularExpressionNode (location: (3,0)-(3,6)) + │ ├── flags: multi_line, forced_us_ascii_encoding + │ ├── opening_loc: (3,0)-(3,1) = "/" + │ ├── content_loc: (3,1)-(3,4) = "wtf" + │ ├── closing_loc: (3,4)-(3,6) = "/m" + │ └── unescaped: "wtf" + ├── @ RegularExpressionNode (location: (5,0)-(5,6)) + │ ├── flags: ascii_8bit, forced_us_ascii_encoding + │ ├── opening_loc: (5,0)-(5,1) = "/" + │ ├── content_loc: (5,1)-(5,4) = "wtf" + │ ├── closing_loc: (5,4)-(5,6) = "/n" + │ └── unescaped: "wtf" + ├── @ RegularExpressionNode (location: (7,0)-(7,7)) + │ ├── flags: multi_line, ascii_8bit, forced_us_ascii_encoding + │ ├── opening_loc: (7,0)-(7,1) = "/" + │ ├── content_loc: (7,1)-(7,4) = "wtf" + │ ├── closing_loc: (7,4)-(7,7) = "/nm" + │ └── unescaped: "wtf" + └── @ RegularExpressionNode (location: (9,0)-(9,13)) + ├── flags: multi_line, ascii_8bit, forced_us_ascii_encoding + ├── opening_loc: (9,0)-(9,1) = "/" + ├── content_loc: (9,1)-(9,4) = "wtf" + ├── closing_loc: (9,4)-(9,13) = "/nmnmnmnm" + └── unescaped: "wtf" |