Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions snapshots/seattlerb/pct_Q_backslash_nl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
└── body: (length: 1)
└── @ StringNode (location: (1,0)-(2,1))
├── flags: newline
├── opening_loc: (1,0)-(1,3) = "%q{"
├── opening_loc: (1,0)-(1,3) = "%Q{"
├── content_loc: (1,3)-(2,0) = " \\\n"
├── closing_loc: (2,0)-(2,1) = "}"
└── unescaped: " \\\n"
└── unescaped: " "
13 changes: 13 additions & 0 deletions snapshots/seattlerb/symbol__at.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@ ProgramNode (location: (1,0)-(1,6))
├── flags: ∅
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,6))
├── flags: ∅
└── body: (length: 1)
└── @ SymbolNode (location: (1,0)-(1,6))
├── flags: newline, static_literal, forced_us_ascii_encoding
├── opening_loc: (1,0)-(1,1) = ":"
├── content_loc: (1,1)-(1,6) = "@diff"
├── closing_loc: ∅
└── unescaped: "@diff"
12 changes: 12 additions & 0 deletions test/prism/fixtures/seattlerb/README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ home :: https://github.com/seattlerb/ruby_parser
bugs :: https://github.com/seattlerb/ruby_parser/issues
rdoc :: http://docs.seattlerb.org/ruby_parser

== NOTICE:

With the advent of prism, and it's ruby_parser compatibility mode,
this project is EOL. I've switched all my projects that use
ruby_parser over to prism with only a minimum of fixes sent upstream.
Use prism ~> 1.7 for best results.

I'm doing one more release to get my standing changes out into the
world and might follow up with another if anything adverse is
reported... but other than that, I'm very happy to put this out to
pasture.

== DESCRIPTION:

ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
Expand Down
2 changes: 1 addition & 1 deletion test/prism/fixtures/seattlerb/pct_Q_backslash_nl.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
%q{ \
%Q{ \
}
1 change: 1 addition & 0 deletions test/prism/fixtures/seattlerb/symbol__at.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:@diff
Loading