Tells ‘scan_while` to look for mismatched keyword/end-s
When scanning up, if we see more keywords then end-s it will stop. This might happen when scanning outside of a method body. the first scan line up would be a keyword and this setting would trigger a stop.
When scanning down, stop if there are more end-s than keywords.
Given that we know our syntax error exists somewhere in our frontier, we want to find the smallest possible set of blocks that contain all the syntax errors
Builds blocks from bottom up
Comes from ripper, called on every parse error, msg is a string
Discard changes that have not been committed and revert the last commit
Cannot revert the first commit
Private method to assemble query
from attributes
, scope
, filter
, and extensions
.
Reads bytes from filename and adds them to the PRNG.
define methodname as instance method of current module, using ERB
object or eRuby file
define methodname as instance method of current module, using ERB
object or eRuby file
Create a new ArrayPatternNode
node.
Create a new BlockArgumentNode
node.
Create a new CallTargetNode
node.
Create a new CapturePatternNode
node.
Create a new ConstantTargetNode
node.
Create a new FindPatternNode
node.
Create a new FlipFlopNode
node.
Create a new ForwardingParameterNode
node.
Create a new ForwardingSuperNode
node.
Create a new HashPatternNode
node.