|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Node | |
|---|---|
| org.jrubyparser | |
| org.jrubyparser.ast | |
| org.jrubyparser.parser | |
| org.jrubyparser.rewriter | |
| org.jrubyparser.rewriter.utils | |
| org.jrubyparser.util | |
| org.jrubyparser.util.diff | |
| Uses of Node in org.jrubyparser |
|---|
| Methods in org.jrubyparser that return Node | |
|---|---|
Node |
StaticScope.declare(SourcePosition position,
String name)
Make a DVar or LocalVar node based on scoping logic |
protected abstract Node |
StaticScope.declare(SourcePosition position,
String name,
int depth)
|
Node |
LocalStaticScope.declare(SourcePosition position,
String name,
int depth)
|
Node |
BlockStaticScope.declare(SourcePosition position,
String name,
int depth)
|
Node |
Parser.parse(String file,
Reader content,
ParserConfiguration configuration)
|
| Methods in org.jrubyparser with parameters of type Node | |
|---|---|
AssignableNode |
BlockStaticScope.addAssign(SourcePosition position,
String name,
Node value)
|
AssignableNode |
StaticScope.assign(SourcePosition position,
String name,
Node value)
Make a DASgn or LocalAsgn node based on scope logic |
protected abstract AssignableNode |
StaticScope.assign(SourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth)
|
AssignableNode |
LocalStaticScope.assign(SourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth)
|
protected AssignableNode |
BlockStaticScope.assign(SourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth)
|
| Uses of Node in org.jrubyparser.ast |
|---|
| Subclasses of Node in org.jrubyparser.ast | |
|---|---|
class |
AliasNode
Represents an alias statement ( alias newName oldName). |
class |
AndNode
Represents a && (and) operator. |
class |
ArgAuxillaryNode
|
class |
ArgsCatNode
|
class |
ArgsNode
Represents the argument declarations of a method. |
class |
ArgsPushNode
|
class |
ArgumentNode
Simple Node that allows editor projects to keep position info in AST (evaluation does not need this). |
class |
ArrayNode
Represents an array. |
class |
AssignableNode
Base class of any node which can be assigned to. |
class |
AttrAssignNode
Node that represents an assignment of either an array element or attribute. |
class |
BackRefNode
Regexp back reference: - $& last successful match - $+ highest numbered group matched in last successful match. |
class |
BareKeywordNode
Ruby keywords like self,true,false,nil. |
class |
BeginNode
Begin/End block. |
class |
BignumNode
Represents a big integer literal. |
class |
BinaryOperatorBaseNode
|
class |
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]| } |
class |
BlockArgNode
An explicit block argument (&my_block) in a declaration (at call sites see BlockPassNode). |
class |
BlockNode
Represents a block of nodes (read that as list). |
class |
BlockPassNode
Block passed explicitly as an argument in a method call. |
class |
BreakNode
Represents a 'break' statement. |
class |
CallNode
A method or operator call. |
class |
CaseNode
A Case statement. |
class |
ClassNode
A class statement (name, superClass, body). |
class |
ClassVarAsgnNode
Class variable assignment node (e.g. |
class |
ClassVarDeclNode
Class variable declaration. |
class |
ClassVarNode
Access to a class variable. |
class |
Colon2ConstNode
|
class |
Colon2ImplicitNode
Represents a bare class declaration (e.g. |
class |
Colon2MethodNode
Represents a constant path which ends in a method (e.g. |
class |
Colon2Node
Represents a '::' constant access or method call (Java::JavaClass). |
class |
Colon3Node
Global scope node (::FooBar). |
class |
CommentNode
Representation of a comment. |
class |
ConstDeclNode
Declaration (and assignment) of a Constant. |
class |
ConstNode
The access to a Constant. |
class |
DAsgnNode
An assignment to a dynamic variable (e.g. |
class |
DefinedNode
a defined statement. |
class |
DefnNode
method definition node. |
class |
DefsNode
Represents a singleton method definition. |
class |
DotNode
Represents a range literal. |
class |
DRegexpNode
A regexp which contains some expressions which will need to be evaluated everytime the regexp is used for a match. |
class |
DStrNode
A string which contains some dynamic elements which needs to be evaluated (introduced by #). |
class |
DSymbolNode
Node representing symbol in a form like ':"3jane"'. |
class |
DVarNode
Access a dynamic variable (e.g. |
class |
DXStrNode
Dynamic backquote string. |
class |
EncodingNode
Represents __ENCODING__. |
class |
EnsureNode
An 'ensure' statement. |
class |
EvStrNode
Represents an #{} expression in a string. |
class |
FalseNode
Represents a false literal. |
class |
FCallNode
Represents a method call with self as an implicit receiver. |
class |
FileNode
Represents __FILE__ nodes |
class |
FixnumNode
Represents an integer literal. |
class |
FlipNode
A Range in a boolean expression (named after a FlipFlop component in electronic?). |
class |
FloatNode
Represents a float literal. |
class |
ForNode
A 'for' statement. |
class |
GlobalAsgnNode
Represents an assignment to a global variable. |
class |
GlobalVarNode
access to a global variable. |
class |
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. |
class |
IfNode
an 'if' statement. |
class |
ImplicitNilNode
This node represent those strange places where we have what it a valid semantic element but syntactically it is not there: [1, (), 3]. |
class |
InstAsgnNode
Represents an instance variable assignment. |
class |
InstVarNode
Represents an instance variable accessor. |
class |
IterNode
Represents a block. |
class |
KeywordArgNode
|
class |
KeywordRestArgNode
|
class |
LambdaNode
Stubby lambda node (1.9 only) |
class |
ListNode
All Nodes which have a list representation inherit this. |
class |
LiteralNode
This is not a node in the classic sense in that it has no defined or interpret method which can be called. |
class |
LocalAsgnNode
An assignment to a local variable. |
class |
LocalVarNode
Access a local variable |
class |
Match2Node
|
class |
Match3Node
|
class |
MatchNode
|
class |
MethodDefNode
|
class |
MethodNameNode
Node to hold string value of a methods name (for either Defn or Defs). |
class |
ModuleNode
Represents a module definition. |
class |
MultipleAsgnNode
|
class |
NamedNode
Nodes with string names are very common. |
class |
NewlineNode
A new (logical) source code line. |
class |
NextNode
Represents a 'next' statement. |
class |
NilNode
represents 'nil' |
class |
NotNode
The 'not' operator, as it was in 1.8. |
class |
NthRefNode
Represents a $number ($0..$9) variable. |
class |
OpAsgnAndNode
|
class |
OpAsgnNode
|
class |
OpAsgnOrNode
|
class |
OpElementAsgnAndNode
|
class |
OpElementAsgnNode
Represents an operator assignment to an element. |
class |
OpElementAsgnOrNode
|
class |
OptArgNode
|
class |
OrNode
represents '||' (or) statements |
class |
PostExeNode
Captures END statements (END {...}) |
class |
PreExe19Node
A pre-execution construction (BEGIN { ... |
class |
PreExeNode
A pre-execution construction (BEGIN { ... |
class |
RedoNode
Represents a 'redo' |
class |
RegexpNode
Represents a simple regular expression literal. |
class |
RescueBodyNode
Represents the contents of a rescue to be evaluated |
class |
RescueNode
Represents a rescue statement |
class |
RestArgNode
|
class |
RetryNode
Represents a 'retry' statement. |
class |
ReturnNode
Represents a return statement. |
class |
RootNode
Represents the top of the AST. |
class |
SClassNode
Singleton class definition. |
class |
SelfNode
Represents 'self' keyword |
class |
SplatNode
|
class |
StarNode
Represents the unassignable star in a multiple assignent (e.g. |
class |
StrNode
Representing a simple String literal. |
class |
SuperNode
A call to super(...) with arguments to a method. |
class |
SValueNode
|
class |
SymbolNode
Represents a symbol (:symbol_name). |
class |
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. |
class |
ToAryNode
|
class |
TrueNode
Represents 'true'. |
class |
TypedArgumentNode
|
class |
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. |
class |
UndefNode
Represents an 'undef' statement. |
class |
UnnamedRestArgNode
a bare '*' |
class |
UntilNode
Represents an until statement. |
class |
VAliasNode
Represents an alias of a global variable. |
class |
VCallNode
RubyMethod call without any arguments |
class |
WhenNode
Represents a when condition |
class |
WhileNode
Represents a while statement. |
class |
XStrNode
A Backtick(`) string |
class |
YieldNode
Represents a yield statement. |
class |
ZArrayNode
zero length list |
class |
ZeroArgNode
Represents a zero arg in a block. |
class |
ZSuperNode
a call to 'super' with no arguments in a method. |
class |
ZYieldNode
A Yield node with no parens |
| Fields in org.jrubyparser.ast declared as Node | |
|---|---|
protected Node |
WhenNode.bodyNode
|
protected Node |
MethodDefNode.bodyNode
|
protected Node |
WhenNode.expressionNodes
|
protected Node |
FCallNode.iterNode
|
protected Node |
CallNode.iterNode
|
protected Node |
Colon2Node.leftNode
|
protected Node |
AttrAssignNode.receiver
|
| Methods in org.jrubyparser.ast that return Node | |
|---|---|
Node |
Node.adopt(Node child)
|
Node |
Node.adopt(Node child,
int index)
|
protected Node |
Node.adoptUsingNodesPosition(Node node)
Adopt the node in it's proper location amongst the children of this node. |
Node |
ListNode.get(int idx)
|
Node |
YieldNode.getArgs()
|
Node |
SuperNode.getArgs()
|
Node |
OpElementAsgnNode.getArgs()
|
Node |
IArgumentNode.getArgs()
|
Node |
FCallNode.getArgs()
|
Node |
CallNode.getArgs()
|
Node |
BlockPassNode.getArgs()
|
Node |
BlockArg18Node.getArgs()
|
Node |
AttrAssignNode.getArgs()
|
Node |
YieldNode.getArgsNode()
Deprecated. |
Node |
SuperNode.getArgsNode()
Deprecated. |
Node |
OpElementAsgnNode.getArgsNode()
Deprecated. |
Node |
FCallNode.getArgsNode()
Deprecated. |
Node |
CallNode.getArgsNode()
Deprecated. |
Node |
BlockPassNode.getArgsNode()
Deprecated. |
Node |
AttrAssignNode.getArgsNode()
Deprecated. |
Node |
FlipNode.getBegin()
Gets the beginNode. |
Node |
DotNode.getBegin()
Gets the beginNode. |
Node |
FlipNode.getBeginNode()
Deprecated. |
Node |
DotNode.getBeginNode()
Deprecated. |
Node |
BlockArg18Node.getBlockArg()
|
Node |
WhileNode.getBody()
Gets the bodyNode. |
Node |
WhenNode.getBody()
Gets the bodyNode. |
Node |
UntilNode.getBody()
Gets the bodyNode. |
Node |
SClassNode.getBody()
Gets the body of this class. |
Node |
RootNode.getBody()
First real AST node to be interpreted |
Node |
RescueNode.getBody()
Gets the bodyNode. |
Node |
RescueBodyNode.getBody()
Gets the bodyNode. |
Node |
ModuleNode.getBody()
Gets the body of this class. |
Node |
MethodDefNode.getBody()
Gets the body of this class. |
Node |
IterNode.getBody()
Gets the bodyNode. |
Node |
EvStrNode.getBody()
Gets the evaluatedNode. |
Node |
EnsureNode.getBody()
Gets the bodyNode. |
Node |
ClassNode.getBody()
Gets the body of this class. |
Node |
BlockPassNode.getBody()
|
Node |
BeginNode.getBody()
|
Node |
RescueNode.getBodyException()
Deprecated. |
Node |
WhileNode.getBodyNode()
Deprecated. |
Node |
WhenNode.getBodyNode()
Deprecated. |
Node |
UntilNode.getBodyNode()
Deprecated. |
Node |
SClassNode.getBodyNode()
Deprecated. |
Node |
RootNode.getBodyNode()
Deprecated. |
Node |
RescueBodyNode.getBodyNode()
Deprecated. |
Node |
ModuleNode.getBodyNode()
Deprecated. |
Node |
MethodDefNode.getBodyNode()
Deprecated. |
Node |
IterNode.getBodyNode()
Deprecated. |
Node |
EnsureNode.getBodyNode()
Deprecated. |
Node |
ClassNode.getBodyNode()
Deprecated. |
Node |
BlockPassNode.getBodyNode()
Deprecated. |
Node |
BeginNode.getBodyNode()
Deprecated. |
Node |
CaseNode.getCase()
Gets the caseNode. |
Node |
CaseNode.getCaseNode()
Deprecated. |
Node |
WhileNode.getCondition()
Gets the conditionNode. |
Node |
UntilNode.getCondition()
Gets the conditionNode. |
Node |
NotNode.getCondition()
Gets the conditionNode. |
Node |
IfNode.getCondition()
Gets the condition. |
Node |
WhileNode.getConditionNode()
Deprecated. |
Node |
UntilNode.getConditionNode()
Deprecated. |
Node |
NotNode.getConditionNode()
Deprecated. |
Node |
ConstDeclNode.getConstNode()
Get the path the name is associated with or null (in Foo::BAR it is Foo). |
Node |
RescueNode.getElse()
Gets the elseNode. |
Node |
CaseNode.getElse()
|
Node |
IfNode.getElseBody()
Gets the elseBody. |
Node |
RescueNode.getElseNode()
Deprecated. |
Node |
CaseNode.getElseNode()
Deprecated. |
Node |
FlipNode.getEnd()
Gets the endNode. |
Node |
DotNode.getEnd()
Gets the endNode. |
Node |
FlipNode.getEndNode()
Deprecated. |
Node |
DotNode.getEndNode()
Deprecated. |
Node |
EnsureNode.getEnsure()
Gets the ensureNode. |
Node |
EnsureNode.getEnsureNode()
Deprecated. |
Node |
RescueBodyNode.getExceptionNodes()
Deprecated. |
Node |
RescueBodyNode.getExceptions()
Gets the exceptionNodes. |
Node |
WhenNode.getExpression()
Get the expressionNode(s). |
Node |
DefinedNode.getExpression()
Gets the expressionNode. |
Node |
WhenNode.getExpressionNode()
Deprecated. |
Node |
DefinedNode.getExpressionNode()
Deprecated. |
Node |
BinaryOperatorNode.getFirst()
Gets the firstNode. |
Node |
BinaryOperatorBaseNode.getFirst()
|
Node |
ArgsPushNode.getFirstNode()
|
Node |
ArgsCatNode.getFirstNode()
Deprecated. |
Node |
CaseNode.getFirstWhen()
Gets the first whenNode. |
Node |
CaseNode.getFirstWhenNode()
Deprecated. |
Node |
Node.getGrandParent()
|
Node |
ZSuperNode.getIter()
|
Node |
SuperNode.getIter()
|
Node |
ForNode.getIter()
|
Node |
FCallNode.getIter()
|
Node |
CallNode.getIter()
|
Node |
BlockAcceptingNode.getIter()
|
Node |
ZSuperNode.getIterNode()
Deprecated. |
Node |
SuperNode.getIterNode()
Deprecated. |
Node |
ForNode.getIterNode()
Deprecated. |
Node |
FCallNode.getIterNode()
Deprecated. |
Node |
CallNode.getIterNode()
Deprecated. |
Node |
ListNode.getLast()
|
Node |
Colon2Node.getLeftNode()
Gets the leftNode. |
Node |
UndefNode.getName()
Gets the name. |
Node |
AliasNode.getNewName()
Gets the newName. |
Node |
WhenNode.getNextCase()
Gets the next case node (if any). |
Node |
NewlineNode.getNextNode()
Gets the nextNode. |
Node |
Node.getNodeAt(int offset)
Find the leaf node (which is not invisible) at the specified offset). |
Node |
AliasNode.getOldName()
Gets the oldName. |
Node |
Node.getParent()
|
Node |
UnaryCallNode.getReceiver()
|
Node |
SClassNode.getReceiver()
Gets the receiverNode. |
Node |
OpElementAsgnNode.getReceiver()
|
Node |
OpAsgnNode.getReceiver()
Gets the receiverNode. |
Node |
Match3Node.getReceiver()
Gets the receiverNode. |
Node |
Match2Node.getReceiver()
Gets the receiverNode. |
Node |
DefsNode.getReceiver()
Gets the receiverNode. |
Node |
CallNode.getReceiver()
|
Node |
AttrAssignNode.getReceiver()
|
Node |
UnaryCallNode.getReceiverNode()
Deprecated. |
Node |
SClassNode.getReceiverNode()
Deprecated. |
Node |
OpElementAsgnNode.getReceiverNode()
Deprecated. |
Node |
OpAsgnNode.getReceiverNode()
Deprecated. |
Node |
Match3Node.getReceiverNode()
Deprecated. |
Node |
Match2Node.getReceiverNode()
Deprecated. |
Node |
DefsNode.getReceiverNode()
Deprecated. |
Node |
CallNode.getReceiverNode()
Deprecated. |
Node |
AttrAssignNode.getReceiverNode()
Deprecated. |
Node |
MatchNode.getRegexp()
Gets the regexpNode. |
Node |
MatchNode.getRegexpNode()
Deprecated. |
Node |
MultipleAsgnNode.getRest()
|
Node |
BinaryOperatorNode.getSecond()
Gets the secondNode. |
Node |
BinaryOperatorBaseNode.getSecond()
|
Node |
ArgsPushNode.getSecondNode()
|
Node |
ArgsCatNode.getSecondNode()
Deprecated. |
Node |
ClassNode.getSuper()
Gets the superNode. |
Node |
ClassNode.getSuperNode()
Deprecated. |
Node |
IfNode.getThenBody()
Gets the thenBody. |
Node |
TypedArgumentNode.getTypeNode()
|
Node |
ToAryNode.getValue()
|
Node |
SValueNode.getValue()
|
Node |
SplatNode.getValue()
|
Node |
ReturnNode.getValue()
|
Node |
OptArgNode.getValue()
|
Node |
OpElementAsgnNode.getValue()
|
Node |
OpAsgnNode.getValue()
Gets the valueNode. |
Node |
NextNode.getValue()
Gets the valueNode. |
Node |
Match3Node.getValue()
Gets the valueNode. |
Node |
Match2Node.getValue()
Gets the valueNode. |
Node |
BreakNode.getValue()
Gets the valueNode. |
Node |
AssignableNode.getValue()
Gets the valueNode. |
Node |
ReturnNode.getValueNode()
Deprecated. |
Node |
OpElementAsgnNode.getValueNode()
Deprecated. |
Node |
OpAsgnNode.getValueNode()
Deprecated. |
Node |
NextNode.getValueNode()
Deprecated. |
Node |
Match3Node.getValueNode()
Deprecated. |
Node |
Match2Node.getValueNode()
Deprecated. |
Node |
BreakNode.getValueNode()
Deprecated. |
Node |
AssignableNode.getValueNode()
Deprecated. |
Node |
IterNode.getVar()
Gets the varNode. |
Node |
IterNode.getVarNode()
Deprecated. |
Node |
FCallNode.setArgsNode(Node argsNode)
Deprecated. |
Node |
CallNode.setArgsNode(Node argsNode)
Deprecated. |
Node |
AttrAssignNode.setArgsNode(Node argsNode)
Deprecated. |
Node |
ZSuperNode.setIterNode(Node iterNode)
Deprecated. |
Node |
SuperNode.setIterNode(Node iterNode)
Deprecated. |
Node |
FCallNode.setIterNode(Node iterNode)
|
Node |
CallNode.setIterNode(Node iterNode)
|
| Methods in org.jrubyparser.ast that return types with arguments of type Node | |
|---|---|
List<Node> |
Node.childNodes()
|
protected static List<Node> |
Node.createList(Node... nodes)
|
List<Node> |
ArgsNode.getNormativeParameterList()
|
| Methods in org.jrubyparser.ast with parameters of type Node | |
|---|---|
ListNode |
ListNode.add(Node node)
|
ListNode |
ListNode.addAll(Node other)
Add other element to this list |
Node |
Node.adopt(Node child)
|
Node |
Node.adopt(Node child,
int index)
|
protected Node |
Node.adoptUsingNodesPosition(Node node)
Adopt the node in it's proper location amongst the children of this node. |
int |
Node.comparePositionWith(Node testNode)
Is the testNode before, inside, or after this node? |
protected static List<Node> |
Node.createList(Node... nodes)
|
void |
Node.insertAfter(Node newNode)
|
void |
Node.insertBefore(Node newNode)
|
void |
Node.insertNode(Node node)
|
boolean |
Node.isDescendentOf(Node testParent)
Is this node the same or a descendent of the supplied testParent node? |
boolean |
ZSuperNode.isSame(Node node)
|
boolean |
YieldNode.isSame(Node other)
|
boolean |
XStrNode.isSame(Node other)
|
boolean |
WhileNode.isSame(Node node)
|
boolean |
WhenNode.isSame(Node node)
|
boolean |
VAliasNode.isSame(Node node)
|
boolean |
UntilNode.isSame(Node node)
|
boolean |
UndefNode.isSame(Node other)
|
boolean |
UnaryCallNode.isSame(Node node)
|
boolean |
SValueNode.isSame(Node other)
|
boolean |
SuperNode.isSame(Node node)
|
boolean |
StrNode.isSame(Node other)
|
boolean |
SplatNode.isSame(Node other)
|
boolean |
SClassNode.isSame(Node node)
|
boolean |
ReturnNode.isSame(Node node)
|
boolean |
RescueNode.isSame(Node node)
|
boolean |
RescueBodyNode.isSame(Node node)
|
boolean |
RegexpNode.isSame(Node node)
|
boolean |
OptArgNode.isSame(Node node)
|
boolean |
OpElementAsgnNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
OpAsgnNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
NthRefNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
NotNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
Node.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
NamedNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
MultipleAsgnNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
ModuleNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
MethodDefNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
MatchNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
Match3Node.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
Match2Node.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
LocalAsgnNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
LiteralNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
ListNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
KeywordArgNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
IterNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
InstVarNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
InstAsgnNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
IfNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
HashNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
GlobalVarNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
GlobalAsgnNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
ForNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
FloatNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
FlipNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
FixnumNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
FCallNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
EvStrNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
DRegexpNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
DotNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
DefinedNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
DAsgnNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
ConstNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
ConstDeclNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
Colon3Node.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
Colon2Node.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
ClassVarNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
ClassVarDeclNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
ClassVarAsgnNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
ClassNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
CaseNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
CallNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
BlockPassNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
BlockArgNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
BlockArg18Node.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
BinaryOperatorBaseNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
BignumNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
BeginNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
BareKeywordNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
BackRefNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
AttrAssignNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
AssignableNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
ArgumentNode.isSame(Node other)
Checks node for 'sameness' for diffing. |
boolean |
ArgsPushNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
ArgsNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
boolean |
AliasNode.isSame(Node node)
Checks node for 'sameness' for diffing. |
ListNode |
ListNode.prepend(Node node)
|
void |
YieldNode.setArgs(Node args)
|
void |
SuperNode.setArgs(Node argsNode)
|
void |
OpElementAsgnNode.setArgs(Node args)
|
void |
IArgumentNode.setArgs(Node argsNode)
|
void |
FCallNode.setArgs(Node argsNode)
|
void |
CallNode.setArgs(Node argsNode)
|
void |
BlockPassNode.setArgs(Node argsNode)
|
void |
AttrAssignNode.setArgs(Node argsNode)
|
Node |
FCallNode.setArgsNode(Node argsNode)
Deprecated. |
Node |
CallNode.setArgsNode(Node argsNode)
Deprecated. |
void |
BlockPassNode.setArgsNode(Node argsNode)
Deprecated. |
Node |
AttrAssignNode.setArgsNode(Node argsNode)
Deprecated. |
void |
WhileNode.setBody(Node body)
|
void |
WhenNode.setBody(Node body)
|
void |
UntilNode.setBody(Node body)
|
void |
SClassNode.setBody(Node body)
|
void |
RootNode.setBody(Node body)
|
void |
RescueNode.setBody(Node body)
|
void |
RescueBodyNode.setBody(Node body)
|
void |
BeginNode.setBody(Node body)
|
void |
WhileNode.setCondition(Node condition)
|
void |
UntilNode.setConditionNode(Node condition)
|
void |
RescueNode.setElse(Node elseNode)
|
void |
CaseNode.setElseNode(Node elseNode)
|
void |
RescueBodyNode.setExceptions(Node exceptions)
|
void |
WhenNode.setExpression(Node expression)
|
void |
ZSuperNode.setIter(Node iter)
|
void |
SuperNode.setIter(Node iter)
|
void |
FCallNode.setIter(Node iter)
|
void |
CallNode.setIter(Node iter)
|
void |
BlockAcceptingNode.setIter(Node iterNode)
|
Node |
ZSuperNode.setIterNode(Node iterNode)
Deprecated. |
Node |
SuperNode.setIterNode(Node iterNode)
Deprecated. |
Node |
FCallNode.setIterNode(Node iterNode)
|
Node |
CallNode.setIterNode(Node iterNode)
|
void |
Node.setParent(Node parent)
|
void |
UnaryCallNode.setReceiver(Node receiver)
|
void |
SClassNode.setReceiver(Node receiver)
|
void |
OpElementAsgnNode.setReceiver(Node receiver)
|
void |
OpAsgnNode.setReceiver(Node receiver)
|
void |
CallNode.setReceiver(Node receiver)
|
void |
ReturnNode.setValue(Node value)
|
void |
OpElementAsgnNode.setValue(Node value)
|
void |
OpAsgnNode.setValue(Node value)
|
void |
AssignableNode.setValue(Node valueNode)
Sets the valueNode. |
void |
AssignableNode.setValueNode(Node valueNode)
Deprecated. |
| Method parameters in org.jrubyparser.ast with type arguments of type Node | |
|---|---|
void |
Node.insertAll(List<? extends Node> nodes)
Put entire list of nodes into their proper positions based on the SourcePosition specified by each node in the list. |
| Constructors in org.jrubyparser.ast with parameters of type Node | |
|---|---|
AliasNode(SourcePosition position,
Node newName,
Node oldName)
|
|
AndNode(SourcePosition position,
Node firstNode,
Node secondNode)
|
|
ArgsCatNode(SourcePosition position,
Node firstNode,
Node secondNode)
|
|
ArgsPushNode(SourcePosition position,
Node firstNode,
Node secondNode)
|
|
ArrayNode(SourcePosition position,
Node firstNode)
|
|
AssignableNode(SourcePosition position,
Node valueNode)
|
|
AttrAssignNode(SourcePosition position,
Node receiver,
String name,
Node arg)
|
|
BeginNode(SourcePosition position,
Node bodyNode)
|
|
BinaryOperatorBaseNode(SourcePosition position,
Node firstNode,
Node secondNode)
|
|
BlockArg18Node(SourcePosition position,
Node blockArgAssignee,
Node normalBlockArgs)
|
|
BlockPassNode(SourcePosition position,
Node bodyNode)
|
|
BreakNode(SourcePosition position,
Node valueNode)
|
|
CallNode(SourcePosition position,
Node receiverNode,
String name,
Node argsNode)
|
|
CallNode(SourcePosition position,
Node receiverNode,
String name,
Node argsNode,
Node iterNode)
|
|
CaseNode(SourcePosition position,
Node caseNode,
ListNode cases)
|
|
ClassNode(SourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode,
Node superNode)
|
|
ClassVarAsgnNode(SourcePosition position,
String name,
Node valueNode)
|
|
ClassVarDeclNode(SourcePosition position,
String name,
Node valueNode)
|
|
Colon2ConstNode(SourcePosition position,
Node leftNode,
String name)
|
|
Colon2MethodNode(SourcePosition position,
Node leftNode,
String name)
|
|
Colon2Node(SourcePosition position,
Node leftNode,
String name)
|
|
ConstDeclNode(SourcePosition position,
String name,
INameNode constNode,
Node valueNode)
|
|
DAsgnNode(SourcePosition position,
String name,
int location,
Node valueNode)
|
|
DefinedNode(SourcePosition position,
Node expressionNode)
|
|
DefnNode(SourcePosition position,
MethodNameNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode)
|
|
DefsNode(SourcePosition position,
Node receiverNode,
MethodNameNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode)
|
|
DotNode(SourcePosition position,
Node beginNode,
Node endNode,
boolean exclusive,
boolean isLiteral)
|
|
EnsureNode(SourcePosition position,
Node bodyNode,
Node ensureNode)
|
|
EvStrNode(SourcePosition position,
Node body)
|
|
FCallNode(SourcePosition position,
String name,
Node argsNode)
|
|
FCallNode(SourcePosition position,
String name,
Node argsNode,
Node iterNode)
|
|
FlipNode(SourcePosition position,
Node beginNode,
Node endNode,
boolean exclusive,
int location)
|
|
ForNode(SourcePosition position,
Node varNode,
Node bodyNode,
Node iterNode,
StaticScope scope)
|
|
GlobalAsgnNode(SourcePosition position,
String name,
Node valueNode)
|
|
IfNode(SourcePosition position,
Node condition,
Node thenBody,
Node elseBody)
|
|
InstAsgnNode(SourcePosition position,
String name,
Node valueNode)
|
|
IterNode(SourcePosition position,
ArgsNode args,
Node body,
StaticScope scope)
|
|
IterNode(SourcePosition position,
Node varNode,
StaticScope scope,
Node bodyNode)
|
|
LambdaNode(SourcePosition position,
ArgsNode args,
Node body,
StaticScope scope)
|
|
ListNode(SourcePosition position,
Node firstNode)
Create a new ListNode. |
|
LocalAsgnNode(SourcePosition position,
String name,
int location,
Node valueNode)
|
|
Match2Node(SourcePosition position,
Node receiverNode,
Node valueNode)
|
|
Match3Node(SourcePosition position,
Node receiverNode,
Node valueNode)
|
|
MatchNode(SourcePosition position,
Node regexpNode)
|
|
MethodDefNode(SourcePosition position,
MethodNameNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode)
|
|
ModuleNode(SourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode)
|
|
MultipleAsgnNode(SourcePosition position,
ListNode pre,
Node rest)
|
|
MultipleAsgnNode(SourcePosition position,
ListNode pre,
Node rest,
ListNode post)
|
|
NewlineNode(SourcePosition position,
Node nextNode)
|
|
NextNode(SourcePosition position,
Node valueNode)
|
|
NotNode(SourcePosition position,
Node conditionNode)
|
|
OpAsgnAndNode(SourcePosition position,
Node headNode,
Node valueNode)
|
|
OpAsgnNode(SourcePosition position,
Node receiverNode,
Node valueNode,
String variableName,
String operatorName)
|
|
OpAsgnOrNode(SourcePosition position,
Node headNode,
Node valueNode)
|
|
OpElementAsgnAndNode(SourcePosition position,
Node receiverNode,
String operatorName,
Node argsNode,
Node valueNode)
|
|
OpElementAsgnNode(SourcePosition position,
Node receiverNode,
String operatorName,
Node argsNode,
Node valueNode)
|
|
OpElementAsgnOrNode(SourcePosition position,
Node receiverNode,
String operatorName,
Node argsNode,
Node valueNode)
|
|
OptArgNode(SourcePosition position,
Node value)
|
|
OrNode(SourcePosition position,
Node firstNode,
Node secondNode)
|
|
PostExeNode(SourcePosition position,
Node body)
|
|
PreExe19Node(SourcePosition position,
StaticScope scope,
Node body)
|
|
PreExeNode(SourcePosition position,
StaticScope scope,
Node body)
|
|
RescueBodyNode(SourcePosition position,
Node exceptionNodes,
Node bodyNode,
RescueBodyNode optRescueNode)
|
|
RescueNode(SourcePosition position,
Node bodyNode,
RescueBodyNode rescueNode,
Node elseNode)
|
|
ReturnNode(SourcePosition position,
Node valueNode)
|
|
RootNode(SourcePosition position,
StaticScope scope,
Node bodyNode)
|
|
SClassNode(SourcePosition position,
Node recvNode,
StaticScope scope,
Node bodyNode)
|
|
SplatNode(SourcePosition position,
Node node)
|
|
SuperNode(SourcePosition position,
Node argsNode)
|
|
SuperNode(SourcePosition position,
Node argsNode,
Node iterNode)
|
|
SValueNode(SourcePosition position,
Node node)
|
|
ToAryNode(SourcePosition position,
Node node)
|
|
TypedArgumentNode(SourcePosition position,
String identifier,
Node typeNode)
|
|
UnaryCallNode(SourcePosition position,
Node receiverNode,
String lexicalName)
|
|
UndefNode(SourcePosition position,
Node name)
|
|
UntilNode(SourcePosition position,
Node conditionNode,
Node bodyNode)
|
|
UntilNode(SourcePosition position,
Node conditionNode,
Node bodyNode,
boolean evaluateAtStart)
|
|
WhenNode(SourcePosition position,
Node expressionNodes,
Node bodyNode,
Node nextCase)
|
|
WhileNode(SourcePosition position,
Node conditionNode,
Node bodyNode)
|
|
WhileNode(SourcePosition position,
Node conditionNode,
Node bodyNode,
boolean evalAtStart)
|
|
YieldNode(SourcePosition position,
Node argsNode,
boolean expandedArguments)
Construct a new YieldNode. |
|
| Uses of Node in org.jrubyparser.parser |
|---|
| Fields in org.jrubyparser.parser with type parameters of type Node | |
|---|---|
static List<Node> |
ParserResult.EMPTY_BEGIN_LIST
|
| Methods in org.jrubyparser.parser that return Node | |
|---|---|
Node |
ParserSupport.addRootNode(Node topOfAST,
SourcePosition position)
|
Node |
ParserSupport.appendToBlock(Node head,
Node tail)
|
Node |
ParserSupport.arg_add(SourcePosition position,
Node node1,
Node node2)
|
Node |
ParserSupport.arg_append(Node node1,
Node node2)
|
Node |
ParserSupport.arg_blk_pass(Node firstNode,
BlockPassNode secondNode)
|
Node |
ParserSupport.arg_concat(SourcePosition position,
Node node1,
Node node2)
|
Node |
ParserSupport.aryset(Node receiver,
Node index)
Define an array set condition so we can return lhs |
Node |
ParserSupport.asSymbol(SourcePosition position,
Node value)
|
Node |
ParserSupport.attrset(Node receiver,
String name)
Define an attribute set condition so we can return lhs |
Node |
ParserResult.getAST()
|
Node |
ParserSupport.getConditionNode(Node node)
|
Node |
ParserSupport.getMatchNode(Node firstNode,
Node secondNode)
|
Node |
ParserSupport.getOperatorCallNode(Node firstNode,
String operator,
Node secondNode)
|
Node |
ParserSupport.getOperatorCallNode(Node firstNode,
String operator,
Node secondNode,
SourcePosition defaultPosition)
|
Node |
ParserSupport.getOperatorCallNode(SourcePosition position,
Node firstNode,
String operator)
|
Node |
ParserSupport.getOperatorCallNode(Token operator,
Node receiver)
|
Node |
ParserSupport.getReturnArgsNode(Node node)
|
Node |
ParserSupport.gettable(Token token)
Create AST node representing variable type it represents. |
Node |
ParserSupport.gettable2(Node node)
We know for callers of this that it cannot be any of the specials checked in gettable. |
Node |
ParserSupport.getUnaryCallNode(Node receiver,
Token operator)
|
Node |
ParserSupport.literal_concat(SourcePosition position,
Node head,
Node tail)
|
Node |
ParserSupport.negateInteger(Node integerNode)
|
Node |
ParserSupport.new_aref(Node receiver,
Token name,
Node argsNode)
|
Node |
ParserSupport.new_args(SourcePosition position,
ListNode pre,
ListNode optional,
RestArgNode rest,
ListNode post,
ArgsTailHolder tail)
|
Node |
ParserSupport.new_args(SourcePosition position,
ListNode pre,
ListNode optional,
RestArgNode rest,
ListNode post,
BlockArgNode block)
|
Node |
ParserSupport.new_attrassign(SourcePosition position,
Node receiver,
String name,
Node args)
|
Node |
ParserSupport.new_bv(Token identifier)
|
Node |
ParserSupport.new_call(Node receiver,
Token name,
Node args,
Node iter)
|
Node |
ParserSupport.new_fcall(Token operation,
Node args,
Node iter)
|
Node |
ParserSupport.new_opElementAsgnNode(SourcePosition position,
Node receiverNode,
String operatorName,
Node argsNode,
Node valueNode)
|
Node |
ParserSupport.new_super(Node args,
Token operation)
|
Node |
ParserSupport.new_yield(SourcePosition position,
Node node)
|
Node |
ParserSupport.newAlias(SourcePosition position,
Node newNode,
Node oldNode)
|
Node |
ParserSupport.newEvStrNode(SourcePosition position,
Node node)
|
Node |
ParserSupport.newline_node(Node node,
SourcePosition position)
Wraps node with NEWLINE node. |
Node |
ParserSupport.newRegexpNode(SourcePosition position,
Node contents,
RegexpNode end)
|
Node |
ParserSupport.newUndef(SourcePosition position,
Node nameNode)
|
Node |
ParserSupport.node_assign(Node lhs,
Node rhs)
|
Node |
ParserSupport.ret_args(Node node,
SourcePosition position)
|
Node |
ParserSupport.splat_array(Node node)
If node is a splat and it is splatting a literal array then return the literal array. |
Node |
ParserSupport.unwrapNewlineNode(Node node)
|
| Methods in org.jrubyparser.parser that return types with arguments of type Node | |
|---|---|
List<Node> |
ParserResult.getBeginNodes()
|
| Methods in org.jrubyparser.parser with parameters of type Node | |
|---|---|
Node |
ParserSupport.addRootNode(Node topOfAST,
SourcePosition position)
|
Node |
ParserSupport.appendToBlock(Node head,
Node tail)
|
Node |
ParserSupport.arg_add(SourcePosition position,
Node node1,
Node node2)
|
Node |
ParserSupport.arg_append(Node node1,
Node node2)
|
Node |
ParserSupport.arg_blk_pass(Node firstNode,
BlockPassNode secondNode)
|
Node |
ParserSupport.arg_concat(SourcePosition position,
Node node1,
Node node2)
|
Node |
ParserSupport.aryset(Node receiver,
Node index)
Define an array set condition so we can return lhs |
AssignableNode |
ParserSupport19.assignable(Token lhs,
Node value)
|
AssignableNode |
ParserSupport.assignable(Token lhs,
Node value)
|
Node |
ParserSupport.asSymbol(SourcePosition position,
Node value)
|
Node |
ParserSupport.attrset(Node receiver,
String name)
Define an attribute set condition so we can return lhs |
void |
ParserSupport.backrefAssignError(Node node)
|
boolean |
ParserSupport.checkExpression(Node node)
Does this node represent an expression? |
void |
ParserSupport.checkUselessStatement(Node node)
Check to see if current node is an useless statement. |
Node |
ParserSupport.getConditionNode(Node node)
|
Node |
ParserSupport.getMatchNode(Node firstNode,
Node secondNode)
|
Node |
ParserSupport.getOperatorCallNode(Node firstNode,
String operator,
Node secondNode)
|
Node |
ParserSupport.getOperatorCallNode(Node firstNode,
String operator,
Node secondNode,
SourcePosition defaultPosition)
|
Node |
ParserSupport.getOperatorCallNode(SourcePosition position,
Node firstNode,
String operator)
|
Node |
ParserSupport.getOperatorCallNode(Token operator,
Node receiver)
|
Node |
ParserSupport.getReturnArgsNode(Node node)
|
Node |
ParserSupport.gettable2(Node node)
We know for callers of this that it cannot be any of the specials checked in gettable. |
Node |
ParserSupport.getUnaryCallNode(Node receiver,
Token operator)
|
boolean |
ParserSupport.isBreakStatement(Node node)
Is the supplied node a break/control statement? |
boolean |
ParserSupport.isLiteral(Node node)
Is this a literal in the sense that MRI has a NODE_LIT for. |
ListNode |
ParserSupport.list_append(Node list,
Node item)
|
ListNode |
ParserSupport.list_concat(Node first,
Node second)
|
Node |
ParserSupport.literal_concat(SourcePosition position,
Node head,
Node tail)
|
Node |
ParserSupport.negateInteger(Node integerNode)
|
Node |
ParserSupport.new_aref(Node receiver,
Token name,
Node argsNode)
|
Node |
ParserSupport.new_attrassign(SourcePosition position,
Node receiver,
String name,
Node args)
|
Node |
ParserSupport.new_call(Node receiver,
Token name,
Node args,
Node iter)
|
Colon2Node |
ParserSupport.new_colon2(SourcePosition position,
Node leftNode,
String name)
|
Node |
ParserSupport.new_fcall(Token operation,
Node args,
Node iter)
|
IterNode |
ParserSupport.new_iter(SourcePosition position,
Node vars,
StaticScope scope,
Node body)
|
Node |
ParserSupport.new_opElementAsgnNode(SourcePosition position,
Node receiverNode,
String operatorName,
Node argsNode,
Node valueNode)
|
Node |
ParserSupport.new_super(Node args,
Token operation)
|
Node |
ParserSupport.new_yield(SourcePosition position,
Node node)
|
Node |
ParserSupport.newAlias(SourcePosition position,
Node newNode,
Node oldNode)
|
AndNode |
ParserSupport.newAndNode(SourcePosition position,
Node left,
Node right)
|
ArrayNode |
ParserSupport.newArrayNode(SourcePosition position,
Node firstNode)
|
BlockArg18Node |
ParserSupport.newBlockArg18(SourcePosition position,
Node blockValue,
Node args)
|
CaseNode |
ParserSupport.newCaseNode(SourcePosition position,
Node expression,
Node firstWhenNode)
Ok I admit that this is somewhat ugly. |
Node |
ParserSupport.newEvStrNode(SourcePosition position,
Node node)
|
Node |
ParserSupport.newline_node(Node node,
SourcePosition position)
Wraps node with NEWLINE node. |
OrNode |
ParserSupport.newOrNode(SourcePosition position,
Node left,
Node right)
|
Node |
ParserSupport.newRegexpNode(SourcePosition position,
Node contents,
RegexpNode end)
|
SplatNode |
ParserSupport.newSplatNode(SourcePosition position,
Node node)
|
Node |
ParserSupport.newUndef(SourcePosition position,
Node nameNode)
|
WhenNode |
ParserSupport.newWhenNode(SourcePosition position,
Node expressionNodes,
Node bodyNode,
Node nextCase)
|
Node |
ParserSupport.node_assign(Node lhs,
Node rhs)
|
Node |
ParserSupport.ret_args(Node node,
SourcePosition position)
|
void |
ParserResult.setAST(Node ast)
Sets the ast. |
Node |
ParserSupport.splat_array(Node node)
If node is a splat and it is splatting a literal array then return the literal array. |
Node |
ParserSupport.unwrapNewlineNode(Node node)
|
void |
ParserSupport.warningUnlessEOption(IRubyWarnings.ID id,
Node node,
String message)
|
void |
ParserSupport.warnUnlessEOption(IRubyWarnings.ID id,
Node node,
String message)
|
| Uses of Node in org.jrubyparser.rewriter |
|---|
| Methods in org.jrubyparser.rewriter that return Node | |
|---|---|
static Node |
ReWriteVisitor.firstChild(Node n)
|
static Node |
ReWriteVisitor.unwrapSingleArrayNode(Node n)
|
| Methods in org.jrubyparser.rewriter with parameters of type Node | |
|---|---|
static String |
ReWriteVisitor.createCodeFromNode(Node node,
String document)
|
static String |
ReWriteVisitor.createCodeFromNode(Node node,
String document,
FormatHelper helper)
|
static Node |
ReWriteVisitor.firstChild(Node n)
|
protected static int |
ReWriteVisitor.getEndOffset(Node n)
|
static int |
ReWriteVisitor.getLocalVarIndex(Node n)
|
protected char |
ReWriteVisitor.getSeparatorForStr(Node n)
|
protected char |
ReWriteVisitor.getSeparatorForSym(Node n)
|
static Node |
ReWriteVisitor.unwrapSingleArrayNode(Node n)
|
protected void |
ReWriteVisitor.visitNewlineInParentheses(Node n)
|
void |
ReWriteVisitor.visitNode(Node iVisited)
|
void |
ReWriteVisitor.visitNodeInIndentation(Node n)
|
| Method parameters in org.jrubyparser.rewriter with type arguments of type Node | |
|---|---|
void |
ReWriteVisitor.visitAndPrintWithSeparator(Iterator<Node> it)
|
| Constructors in org.jrubyparser.rewriter with parameters of type Node | |
|---|---|
ClassBodyWriter(ReWriteVisitor visitor,
Node bodyNode)
|
|
| Uses of Node in org.jrubyparser.rewriter.utils |
|---|
| Method parameters in org.jrubyparser.rewriter.utils with type arguments of type Node | |
|---|---|
void |
MultipleAssignmentReWriteVisitor.visitAndPrintWithSeparator(Iterator<Node> it)
|
| Uses of Node in org.jrubyparser.util |
|---|
| Methods in org.jrubyparser.util that return Node | |
|---|---|
static Node[] |
StaticAnalyzerHelper.flattenRHSValues(Node rhs)
There are four possible conditions: 1. |
Node |
NodePair.getFirst()
|
Node |
NodePair.getSecond()
|
| Methods in org.jrubyparser.util with parameters of type Node | |
|---|---|
static List<NodePair> |
StaticAnalyzerHelper.calculateStaticAssignments(MultipleAsgnNode masgn,
Node values)
|
static List<IInstanceVariable> |
IInstanceVariableVisitor.findOccurrencesIn(Node root,
String name)
This helper method uses Node instead of IModuleScope so that you can do more localized searching (e.g. |
static Node[] |
StaticAnalyzerHelper.flattenRHSValues(Node rhs)
There are four possible conditions: 1. |
static ILocalVariable |
VariableHelper.getParameterName(Node argsNode,
String name)
Can we find a parameter named by name in the arguments node (presumably from an iter or methoddef)? |
static boolean |
VariableHelper.isParameterUsed(Node node,
String name,
boolean isMethod)
|
protected Object |
NoopVisitor.visit(Node parent)
|
| Constructors in org.jrubyparser.util with parameters of type Node | |
|---|---|
IInstanceVariableVisitor(Node root,
String name)
|
|
NodePair(Node first,
Node second)
|
|
| Uses of Node in org.jrubyparser.util.diff |
|---|
| Fields in org.jrubyparser.util.diff declared as Node | |
|---|---|
protected Node |
SequenceMatcher.newNode
|
protected Node |
NodeDiff.newNode
|
protected Node |
SequenceMatcher.oldNode
|
protected Node |
NodeDiff.oldNode
|
| Methods in org.jrubyparser.util.diff that return Node | |
|---|---|
Node |
SequenceMatcher.getNewNode()
|
Node |
Change.getNewNode()
|
Node |
SequenceMatcher.getOldNode()
|
Node |
Change.getOldNode()
|
protected Node |
SequenceMatcher.stripOutNewlines(Node node)
Newlines throw off the diffing algorithm's so we skip those. |
| Methods in org.jrubyparser.util.diff with parameters of type Node | |
|---|---|
int |
SequenceMatcher.calcComplexity(Node node)
Returns an integer representing how many levels of nesting of children the node has. |
protected boolean |
SequenceMatcher.checkForJunk(Node node)
If an isJunk object provided, check the passed in node to see if it should be skipped. |
boolean |
IsJunk.checkJunk(Node node)
Any node passed to an implementation of #checkJunk()
which returns true will not be diffed. |
protected void |
SequenceMatcher.deletedNode(Node node)
A Node in the old AST is no longer present in the new one. |
protected void |
SequenceMatcher.findChanges(Node newNode,
Node oldNode)
This method does the diffing by iterating through the nodes and calling itself recursively. |
protected void |
SequenceMatcher.handleBlockNodes(Node childNew,
Node childOld)
BlockNodes are problematic because they are often mismatched in source code where nodes have been moved around. |
protected void |
SequenceMatcher.handleMismatchedNodes(Node childNew,
Node childOld)
Here we deal with the case where two nodes are mismatched. |
protected void |
SequenceMatcher.insertedNode(Node node)
A Node was inserted into the new AST. |
protected void |
SequenceMatcher.modifiedNode(Node newNode,
Node oldNode)
The node in the new AST has been changed. |
void |
SequenceMatcher.setNewNode(Node newNode)
|
void |
Change.setNewNode(Node newNode)
|
void |
SequenceMatcher.setOldNode(Node oldNode)
|
void |
Change.setOldNode(Node oldNode)
|
void |
SequenceMatcher.setSequences(Node newNode,
Node oldNode)
|
protected void |
SequenceMatcher.sortNodesIntoDiff(Node childNew,
Node childOld)
Decides what to do with nodes being diffed. |
protected Node |
SequenceMatcher.stripOutNewlines(Node node)
Newlines throw off the diffing algorithm's so we skip those. |
| Constructors in org.jrubyparser.util.diff with parameters of type Node | |
|---|---|
Change(Node newNode,
int newCost,
Node oldNode,
int oldCost)
Each changed node in the diff is represented by a Change object. |
|
NodeDiff(Node newNode,
Node oldNode)
Create a NodeDiff object without passing in the Strings
that the nodes were parsed from. |
|
NodeDiff(Node newNode,
Node oldNode,
IsJunk isJunk)
Create a NodeDiff object without passing in the Strings that the nodes were parsed from. |
|
NodeDiff(Node newNode,
String newDocument,
Node oldNode,
String oldDocument)
Create a NodeDiff object by passing in both the Nodes to be diffed as well as the Strings they were parsed from. |
|
NodeDiff(Node newNode,
String newDocument,
Node oldNode,
String oldDocument,
IsJunk isJunk)
Create a NodeDiff object by passing in both the Nodes to be diffed as well as the Strings they were parsed from. |
|
SequenceMatcher(Node newNode,
Node oldNode)
Create a SequenceMatcher object without a function for sorting out junk. |
|
SequenceMatcher(Node newNode,
Node oldNode,
IsJunk isJunk)
SequenceMatcher compares two nodes for matching nodes. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||