|
Class Summary |
| AliasNode |
Represents an alias statement (alias newName oldName). |
| AndNode |
Represents a && (and) operator. |
| ArgAuxillaryNode |
|
| ArgsCatNode |
|
| ArgsNode |
Represents the argument declarations of a method. |
| ArgsPushNode |
|
| ArgumentNode |
Simple Node that allows editor projects to keep position info in AST
(evaluation does not need this). |
| ArrayNode |
Represents an array. |
| AssignableNode |
Base class of any node which can be assigned to. |
| AttrAssignNode |
Node that represents an assignment of either an array element or attribute. |
| BackRefNode |
Regexp back reference:
- $& last successful match
- $+ highest numbered group matched in last successful match. |
| BareKeywordNode |
Ruby keywords like self,true,false,nil. |
| BeginNode |
Begin/End block. |
| BignumNode |
Represents a big integer literal. |
| BinaryOperatorBaseNode |
|
| BlockArg18Node |
Similiar to BlockArg, but with idiosyncracies that 1.8.7 allows:
proc { |a,&b| }
proc { |a,&FOO| }
proc { |a,b.c| }
proc { |a,b[0]| } |
| BlockArgNode |
An explicit block argument (&my_block) in a declaration (at call sites see BlockPassNode). |
| BlockNode |
Represents a block of nodes (read that as list). |
| BlockPassNode |
Block passed explicitly as an argument in a method call. |
| BreakNode |
Represents a 'break' statement. |
| CallNode |
A method or operator call. |
| CaseNode |
A Case statement. |
| ClassNode |
A class statement (name, superClass, body). |
| ClassVarAsgnNode |
Class variable assignment node (e.g. |
| ClassVarDeclNode |
Class variable declaration. |
| ClassVarNode |
Access to a class variable. |
| Colon2ConstNode |
|
| Colon2ImplicitNode |
Represents a bare class declaration (e.g. |
| Colon2MethodNode |
Represents a constant path which ends in a method (e.g. |
| Colon2Node |
Represents a '::' constant access or method call (Java::JavaClass). |
| Colon3Node |
Global scope node (::FooBar). |
| CommentNode |
Representation of a comment. |
| ConstDeclNode |
Declaration (and assignment) of a Constant. |
| ConstNode |
The access to a Constant. |
| DAsgnNode |
An assignment to a dynamic variable (e.g. |
| DefinedNode |
a defined statement. |
| DefnNode |
method definition node. |
| DefsNode |
Represents a singleton method definition. |
| DotNode |
Represents a range literal. |
| DRegexpNode |
A regexp which contains some expressions which will need to be evaluated everytime the regexp
is used for a match. |
| DStrNode |
A string which contains some dynamic elements which needs to be evaluated (introduced by #). |
| DSymbolNode |
Node representing symbol in a form like ':"3jane"'. |
| DVarNode |
Access a dynamic variable (e.g. |
| DXStrNode |
Dynamic backquote string. |
| EncodingNode |
Represents __ENCODING__. |
| EnsureNode |
An 'ensure' statement. |
| EvStrNode |
Represents an #{} expression in a string. |
| FalseNode |
Represents a false literal. |
| FCallNode |
Represents a method call with self as an implicit receiver. |
| FileNode |
Represents __FILE__ nodes |
| FixnumNode |
Represents an integer literal. |
| FlipNode |
A Range in a boolean expression (named after a FlipFlop component in electronic?). |
| FloatNode |
Represents a float literal. |
| ForNode |
A 'for' statement. |
| GlobalAsgnNode |
Represents an assignment to a global variable. |
| GlobalVarNode |
access to a global variable. |
| HashNode |
A Literal Hash that can represent either a {a=&b, c=&d} type expression or the list
of default values in a method call. |
| IfNode |
an 'if' statement. |
| ImplicitNilNode |
This node represent those strange places where we have what it a valid semantic element
but syntactically it is not there: [1, (), 3]. |
| InstAsgnNode |
Represents an instance variable assignment. |
| InstVarNode |
Represents an instance variable accessor. |
| IterNode |
Represents a block. |
| KeywordArgNode |
|
| KeywordRestArgNode |
|
| LambdaNode |
Stubby lambda node (1.9 only) |
| ListNode |
All Nodes which have a list representation inherit this. |
| LiteralNode |
This is not a node in the classic sense in that it has no defined or
interpret method which can be called. |
| LocalAsgnNode |
An assignment to a local variable. |
| LocalVarNode |
Access a local variable |
| Match2Node |
|
| Match3Node |
|
| MatchNode |
|
| MethodDefNode |
|
| MethodNameNode |
Node to hold string value of a methods name (for either Defn or Defs). |
| ModuleNode |
Represents a module definition. |
| MultipleAsgnNode |
|
| NamedNode |
Nodes with string names are very common. |
| NewlineNode |
A new (logical) source code line. |
| NextNode |
Represents a 'next' statement. |
| NilNode |
represents 'nil' |
| Node |
Base class for all Nodes in the AST |
| NotNode |
The 'not' operator, as it was in 1.8. |
| NthRefNode |
Represents a $number ($0..$9) variable. |
| OpAsgnAndNode |
|
| OpAsgnNode |
|
| OpAsgnOrNode |
|
| OpElementAsgnAndNode |
|
| OpElementAsgnNode |
Represents an operator assignment to an element. |
| OpElementAsgnOrNode |
|
| OptArgNode |
|
| OrNode |
represents '||' (or) statements |
| PostExeNode |
Captures END statements (END {...}) |
| PreExe19Node |
A pre-execution construction (BEGIN { ... |
| PreExeNode |
A pre-execution construction (BEGIN { ... |
| RedoNode |
Represents a 'redo' |
| RegexpNode |
Represents a simple regular expression literal. |
| RescueBodyNode |
Represents the contents of a rescue to be evaluated |
| RescueNode |
Represents a rescue statement |
| RestArgNode |
|
| RetryNode |
Represents a 'retry' statement. |
| ReturnNode |
Represents a return statement. |
| RootNode |
Represents the top of the AST. |
| SClassNode |
Singleton class definition. |
| SelfNode |
Represents 'self' keyword |
| SplatNode |
|
| StarNode |
Represents the unassignable star in a multiple assignent (e.g. |
| StrNode |
Representing a simple String literal. |
| SuperNode |
A call to super(...) with arguments to a method. |
| SValueNode |
|
| SymbolNode |
Represents a symbol (:symbol_name). |
| SyntaxNode |
This represents extra syntax which has no value to a runtime but is necessary to preserve
syntax in the case of rewriting or any other syntactical analysis. |
| ToAryNode |
|
| TrueNode |
Represents 'true'. |
| TypedArgumentNode |
|
| UnaryCallNode |
An operator call on one of the unary operators '+' or '-' that lexically
appears to have the same name as the binary operator, but semantically has a
name decorated with an '@' sigil. |
| UndefNode |
Represents an 'undef' statement. |
| UnnamedRestArgNode |
a bare '*' |
| UntilNode |
Represents an until statement. |
| VAliasNode |
Represents an alias of a global variable. |
| VCallNode |
RubyMethod call without any arguments |
| WhenNode |
Represents a when condition |
| WhileNode |
Represents a while statement. |
| XStrNode |
A Backtick(`) string |
| YieldNode |
Represents a yield statement. |
| ZArrayNode |
zero length list |
| ZeroArgNode |
Represents a zero arg in a block. |
| ZSuperNode |
a call to 'super' with no arguments in a method. |
| ZYieldNode |
A Yield node with no parens |