Package org.jruby.ast
package org.jruby.ast
-
ClassDescriptionRepresents an alias statement (
alias newName oldName
).Represents a && (and) operator.Represents the argument declarations of a method.Simple Node for named entities.Represents an array.Base class of any node which can be assigned to.Node that represents an assignment of either an array element or attribute.Regexp back reference: - $& last successful match - $+ highest numbered group matched in last successful match.Begin/End block.Represents a big integer literal.Convenience interface for operations which only have two nodesAny thing which implements this represents a Callable-like node which can have a block associated with it as part of that call.An explicit block argument (&my_block) in parameter list.Represents a block of nodes (read that as list).Explicit block argument (on caller side): foobar(1, 2, &foo) foobar(1, 2, &lhs_which_returns_something_block/proc_like) bodyNode is any expression which can return something which is ultimately coercible to a proc.Represents a 'break' statement.A method or operator call.A Case statement.A class statement (name, superClass, body).Class variable assignment node.Deprecated.Access to a class variable.Represents a bare class declaration (e.g.Represents a '::' constant access or method call (Java::JavaClass).Global scope node (::FooBar).Declaration (and assignment) of a Constant.The access to a Constant.An assignment to a dynamic variable (e.g.a defined statement.method definition node.Methods and blocks both implement these.Represents a singleton method definition.Base class for all D (e.g.Represents a range literal.A regexp which contains some expressions which will need to be evaluated every time the regexp is used for a match.A string which contains some dynamic elements which needs to be evaluated (introduced by #).Node representing symbol in a form like ':"3jane"'.Access a dynamic variable (e.g.Dynamic backquote string.Represents __ENCODING__.An 'ensure' statement.Represents an #{} expression in a string.Represents a false literal.Represents a method call with self as an implicit receiver.Represents __FILE__ nodesRepresents an integer literal.A Range in a boolean expression (named after a FlipFlop component in electronic?).Represents a float literal.A 'for' statement.Represents an assignment to a global variable.access to a global variable.A Literal Hash that can represent either a {a=&b, c=&d} type expression or the list of default values or kwarg in a method call.Does the node contain an argument list?an 'if' statement.Represents an instance variable assignment.Represents an instance variable accessor.Marker interface for nodes invisible to IDE consumersA marker interface for scoped variables (which have an offset and depth).Represents a block.Stubby lambda node (1.9 only)All Nodes which have a list representation inherit this.This is not a node in the classic sense in that it has no defined or interpret method which can be called.This represents the same function as NODE_LIT in MRI.An assignment to a local variable.Access a local variableUsed when a Regexp literal is the RHS of a match call.Base class for DefnNode and DefsNodeRepresents a module definition.Note: This is a dead class but we leave it because people write against Visitor and we do not want those consumers to break.Represents a 'next' statement.A node which behaves like a nil node, but is not actually present in the AST as a syntactical element (e.g.represents 'nil'Base class for all Nodes in the ASTMarker interface for return, break, next, redo, retryRepresents a $number ($0..$9) variable.Any node representing a numeric value.A::B ||= 1Represents an operator assignment to an element.represents '||' (or) statementsA Case statement.Captures END statements (END {...})A pre-execution construction (BEGIN { ...A pre-execution construction (BEGIN { ...Represents a 'redo'Represents a simple regular expression literal.Marker to indicate that rather than assigning nil (where in multiple places we have nulls getting implicitly converted to nils) we should raise an error.Represents the contents of a rescue to be evaluatedf rescue nilRepresents a rescue statementRepresents a 'retry' statement.Represents a return statement.Represents the top of the AST.Singleton class definition.Represents 'self' keywordCreated by enebo on 9/26/15.Represents the unassignable star in a multiple assignent (e.g.Representing a simple String literal.A call to super(...) with arguments to a method.Represents a symbol (:symbol_name).Represents 'true'.Represents an 'undef' statement.a bare '*' or nothing.Represents an until statement.Represents an alias of a global variable.RubyMethod call without any argumentsRepresents a when conditionRepresents a while statement.A Backtick(`) stringRepresents a yield statement.zero length lista call to 'super' with no arguments in a method.