Uses of Class
org.jruby.ast.Node
Packages that use Node
Package
Description
-
Uses of Node in org.jruby
Modifier and TypeMethodDescriptionRuby.parse
(ByteList content, String file, DynamicScope scope, int lineNumber, boolean extraPositionInformation) Deprecated.Ruby.parseEval
(String source, String file, DynamicScope scope, int lineNumber) Deprecated.Ruby.parseFile
(InputStream in, String file, DynamicScope scope) Deprecated.Ruby.parseFile
(InputStream in, String file, DynamicScope scope, int lineNumber) Deprecated.Ruby.parseFileFromMain
(InputStream in, String file, DynamicScope scope) Deprecated.Ruby.parseFromMain
(InputStream inputStream, String filename) Deprecated.Ruby.parseInline
(InputStream in, String file, DynamicScope scope) Deprecated.Modifier and TypeMethodDescriptionRuby.runInterpreter
(Node scriptNode) Ruby.runInterpreter
(ThreadContext context, Node rootNode, IRubyObject self) Ruby.runInterpreterBody
(Node scriptNode) This is used for the "gets" loop, and we bypass 'load' to use an already-prepared, already-pushed scope for the script body.Ruby.runNormally
(Node scriptNode) Deprecated.Ruby.runNormally
(Node scriptNode, boolean wrap) Deprecated.Ruby.runNormally
(Node scriptNode, IRubyObject self, boolean wrap) Deprecated.Ruby.tryCompile
(Node node) Deprecated. -
Uses of Node in org.jruby.ast
Subclasses of Node in org.jruby.astModifier and TypeClassDescriptionclass
Represents an alias statement (alias newName oldName
).class
Represents a && (and) operator.class
class
Represents the argument declarations of a method.class
class
Simple Node for named entities.class
Represents an array.class
class
Base class of any node which can be assigned to.class
Node that represents an assignment of either an array element or attribute.class
Regexp back reference: - $& last successful match - $+ highest numbered group matched in last successful match.class
Begin/End block.class
Represents a big integer literal.class
An explicit block argument (&my_block) in parameter list.class
Represents a block of nodes (read that as list).class
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.class
Represents a 'break' statement.class
A method or operator call.class
A Case statement.class
A class statement (name, superClass, body).class
Class variable assignment node.class
Deprecated.class
Access to a class variable.class
class
Represents a bare class declaration (e.g.class
Represents a '::' constant access or method call (Java::JavaClass).class
Global scope node (::FooBar).class
class
Declaration (and assignment) of a Constant.class
The access to a Constant.class
An assignment to a dynamic variable (e.g.class
a defined statement.class
method definition node.class
Represents a singleton method definition.class
Base class for all D (e.g.class
Represents a range literal.class
A regexp which contains some expressions which will need to be evaluated every time the regexp is used for a match.class
A string which contains some dynamic elements which needs to be evaluated (introduced by #).class
Node representing symbol in a form like ':"3jane"'.class
Access a dynamic variable (e.g.class
Dynamic backquote string.class
Represents __ENCODING__.class
An 'ensure' statement.class
class
Represents an #{} expression in a string.class
Represents a false literal.class
Represents a method call with self as an implicit receiver.class
Represents __FILE__ nodesclass
class
Represents an integer literal.class
A Range in a boolean expression (named after a FlipFlop component in electronic?).class
Represents a float literal.class
A 'for' statement.class
class
Represents an assignment to a global variable.class
access to a global variable.class
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.class
class
an 'if' statement.class
class
Represents an instance variable assignment.class
Represents an instance variable accessor.class
Represents a block.class
class
class
Stubby lambda node (1.9 only)class
All Nodes which have a list representation inherit this.class
This is not a node in the classic sense in that it has no defined or interpret method which can be called.class
An assignment to a local variable.class
Access a local variableclass
class
class
Used when a Regexp literal is the RHS of a match call.class
class
Base class for DefnNode and DefsNodeclass
Represents a module definition.class
class
Note: This is a dead class but we leave it because people write against Visitor and we do not want those consumers to break.class
Represents a 'next' statement.class
A node which behaves like a nil node, but is not actually present in the AST as a syntactical element (e.g.class
represents 'nil'class
class
Represents a $number ($0..$9) variable.class
Any node representing a numeric value.class
class
A::B ||= 1class
class
class
Represents an operator assignment to an element.class
class
represents '||' (or) statementsclass
A Case statement.class
Captures END statements (END {...})class
A pre-execution construction (BEGIN { ...class
A pre-execution construction (BEGIN { ...class
class
Represents a 'redo'class
Represents a simple regular expression literal.class
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.class
Represents the contents of a rescue to be evaluatedclass
f rescue nilclass
Represents a rescue statementclass
class
Represents a 'retry' statement.class
Represents a return statement.class
Represents the top of the AST.class
Singleton class definition.class
Represents 'self' keywordclass
class
Represents the unassignable star in a multiple assignent (e.g.class
Representing a simple String literal.class
A call to super(...) with arguments to a method.class
class
Represents a symbol (:symbol_name).class
Represents 'true'.class
Represents an 'undef' statement.class
a bare '*' or nothing.class
Represents an until statement.class
Represents an alias of a global variable.class
RubyMethod call without any argumentsclass
Represents a when conditionclass
class
Represents a while statement.class
A Backtick(`) stringclass
Represents a yield statement.class
zero length listclass
a call to 'super' with no arguments in a method.Fields in org.jruby.ast declared as NodeModifier and TypeFieldDescriptionprotected Node
FCallNode.argsNode
protected final Node
MethodDefNode.bodyNode
protected final Node
WhenNode.bodyNode
protected final Node
WhenNode.expressionNodes
protected Node
CallNode.iterNode
protected Node
FCallNode.iterNode
protected final Node
Colon2Node.leftNode
protected final Node
SplatNode.node
protected final Node
SValueNode.node
protected final Node
AttrAssignNode.receiverNode
Methods in org.jruby.ast that return NodeModifier and TypeMethodDescriptionNode[]
ListNode.children()
ListNode.get
(int idx) Node[]
ArgsNode.getArgs()
Node[]
FindPatternNode.getArgs()
AttrAssignNode.getArgsNode()
Gets the argsNode.BlockPassNode.getArgsNode()
Gets the argsNode.CallNode.getArgsNode()
Gets the argsNode representing the method's arguments' value for this call.FCallNode.getArgsNode()
Gets the argsNode.IArgumentNode.getArgsNode()
OpElementAsgnNode.getArgsNode()
Gets the argsNode.SuperNode.getArgsNode()
Gets the argsNode.YieldNode.getArgsNode()
Gets the argsNode.DotNode.getBeginNode()
Gets the beginNode.FlipNode.getBeginNode()
Gets the beginNode.AttrAssignNode.getBlockNode()
OpElementAsgnNode.getBlockNode()
EvStrNode.getBody()
Gets the evaluatedNode.InNode.getBody()
LambdaNode.getBody()
BeginNode.getBodyNode()
Gets the bodyNode.BlockPassNode.getBodyNode()
Gets the bodyNode.ClassNode.getBodyNode()
Gets the body of this class.DefNode.getBodyNode()
Gets the body of this class.EnsureNode.getBodyNode()
Gets the bodyNode.IScopingNode.getBodyNode()
IterNode.getBodyNode()
Gets the bodyNode.MethodDefNode.getBodyNode()
Gets the body of this class.ModuleNode.getBodyNode()
Gets the body of this class.RescueBodyNode.getBodyNode()
Gets the bodyNode.RescueNode.getBodyNode()
Gets the bodyNode.RootNode.getBodyNode()
First real AST node to be interpretedSClassNode.getBodyNode()
Gets the body of this class.UntilNode.getBodyNode()
Gets the bodyNode.WhenNode.getBodyNode()
Gets the bodyNode.WhileNode.getBodyNode()
Gets the bodyNode.CaseNode.getCaseNode()
Gets the caseNode.PatternCaseNode.getCaseNode()
Gets the caseNode.Node[]
PatternCaseNode.getCases()
IfNode.getCondition()
Gets the condition.UntilNode.getConditionNode()
Gets the conditionNode.WhileNode.getConditionNode()
Gets the conditionNode.ArrayPatternNode.getConstant()
FindPatternNode.getConstant()
HashPatternNode.getConstant()
ConstDeclNode.getConstNode()
Get the full path, including the name of the new constant (in Foo::BAR it is Foo::BAR) or null.IfNode.getElseBody()
Gets the elseBody.CaseNode.getElseNode()
PatternCaseNode.getElseNode()
RescueNode.getElseNode()
Gets the elseNode.DotNode.getEndNode()
Gets the endNode.FlipNode.getEndNode()
Gets the endNode.EnsureNode.getEnsureNode()
Gets the ensureNode.RescueBodyNode.getExceptionNodes()
Gets the exceptionNodes.InNode.getExpression()
DefinedNode.getExpressionNode()
Gets the expressionNode.WhenNode.getExpressionNodes()
Get the expressionNode(s).AndNode.getFirstNode()
Gets the firstNode.ArgsCatNode.getFirstNode()
ArgsPushNode.getFirstNode()
BinaryOperatorNode.getFirstNode()
Gets the firstNode.OpAsgnAndNode.getFirstNode()
Gets the firstNode.OpAsgnConstDeclNode.getFirstNode()
OpAsgnOrNode.getFirstNode()
Gets the firstNode.OrNode.getFirstNode()
Gets the firstNode.TwoValueNode.getFirstNode()
BlockAcceptingNode.getIterNode()
CallNode.getIterNode()
FCallNode.getIterNode()
Get the node that represents a block or a block variable.ForNode.getIterNode()
SuperNode.getIterNode()
ZSuperNode.getIterNode()
Node[]
HashNode.getKeys()
Node[]
HashPatternNode.getKeys()
ListNode.getLast()
Colon2Node.getLeftNode()
Gets the leftNode.UndefNode.getName()
Gets the name.AliasNode.getNewName()
Gets the newName.InNode.getNextCase()
WhenNode.getNextCase()
Gets the next case node (if any).NewlineNode.getNextNode()
Gets the nextNode.AliasNode.getOldName()
Gets the oldName.Node[]
ArrayPatternNode.getPost()
FindPatternNode.getPostRestArg()
Node[]
ArrayPatternNode.getPre()
FindPatternNode.getPreRestArg()
AttrAssignNode.getReceiverNode()
Gets the receiverNode.CallNode.getReceiverNode()
Gets the receiverNode.DefsNode.getReceiverNode()
Gets the receiverNode.Match2Node.getReceiverNode()
Gets the receiverNode.Match3Node.getReceiverNode()
Gets the receiverNode.OpAsgnNode.getReceiverNode()
Gets the receiverNode.OpElementAsgnNode.getReceiverNode()
Gets the receiverNode.SClassNode.getReceiverNode()
Gets the receiverNode.MatchNode.getRegexpNode()
Gets the regexpNode.MultipleAsgnNode.getRest()
ArrayPatternNode.getRestArg()
HashPatternNode.getRestArg()
AndNode.getSecondNode()
Gets the secondNode.ArgsCatNode.getSecondNode()
ArgsPushNode.getSecondNode()
BinaryOperatorNode.getSecondNode()
Gets the secondNode.OpAsgnAndNode.getSecondNode()
Gets the secondNode.OpAsgnConstDeclNode.getSecondNode()
OpAsgnOrNode.getSecondNode()
Gets the secondNode.OrNode.getSecondNode()
Gets the secondNode.TwoValueNode.getSecondNode()
ClassNode.getSuperNode()
Gets the superNode.IfNode.getThenBody()
Gets the thenBody.OptArgNode.getValue()
SplatNode.getValue()
SValueNode.getValue()
AssignableNode.getValueNode()
Gets the valueNode.BreakNode.getValueNode()
Gets the valueNode.Match2Node.getValueNode()
Gets the valueNode.Match3Node.getValueNode()
Gets the valueNode.NextNode.getValueNode()
Gets the valueNode.NonLocalControlFlowNode.getValueNode()
OpAsgnNode.getValueNode()
Gets the valueNode.OpElementAsgnNode.getValueNode()
Gets the valueNode.RedoNode.getValueNode()
RetryNode.getValueNode()
ReturnNode.getValueNode()
IterNode.getVarNode()
Gets the varNode.AttrAssignNode.setArgsNode
(Node argsNode) Set the argsNodeCallNode.setArgsNode
(Node argsNode) Set the argsNode.FCallNode.setArgsNode
(Node argsNode) Set the argsNode.IArgumentNode.setArgsNode
(Node argsNode) BlockAcceptingNode.setIterNode
(Node iterNode) CallNode.setIterNode
(Node iterNode) FCallNode.setIterNode
(Node iterNode) SuperNode.setIterNode
(Node iterNode) ZSuperNode.setIterNode
(Node iterNode) Methods in org.jruby.ast that return types with arguments of type NodeModifier and TypeMethodDescriptionAliasNode.childNodes()
AndNode.childNodes()
ArgsCatNode.childNodes()
ArgsNode.childNodes()
ArgsPushNode.childNodes()
ArgumentNode.childNodes()
ArrayPatternNode.childNodes()
AttrAssignNode.childNodes()
BackRefNode.childNodes()
BeginNode.childNodes()
BignumNode.childNodes()
BlockArgNode.childNodes()
BlockPassNode.childNodes()
BreakNode.childNodes()
CallNode.childNodes()
CaseNode.childNodes()
ClassNode.childNodes()
ClassVarAsgnNode.childNodes()
ClassVarDeclNode.childNodes()
Deprecated.ClassVarNode.childNodes()
Colon2Node.childNodes()
Colon3Node.childNodes()
ComplexNode.childNodes()
ConstDeclNode.childNodes()
ConstNode.childNodes()
DAsgnNode.childNodes()
DefinedNode.childNodes()
DefnNode.childNodes()
DefsNode.childNodes()
DotNode.childNodes()
DVarNode.childNodes()
EncodingNode.childNodes()
EnsureNode.childNodes()
ErrorNode.childNodes()
EvStrNode.childNodes()
FalseNode.childNodes()
FCallNode.childNodes()
FindPatternNode.childNodes()
FixnumNode.childNodes()
FlipNode.childNodes()
FloatNode.childNodes()
ForNode.childNodes()
GlobalAsgnNode.childNodes()
GlobalVarNode.childNodes()
HashNode.childNodes()
HashPatternNode.childNodes()
IfNode.childNodes()
InNode.childNodes()
InstAsgnNode.childNodes()
InstVarNode.childNodes()
IterNode.childNodes()
KeywordArgNode.childNodes()
LambdaNode.childNodes()
ListNode.childNodes()
Deprecated.LiteralNode.childNodes()
LocalAsgnNode.childNodes()
LocalVarNode.childNodes()
Match2Node.childNodes()
Match3Node.childNodes()
MatchNode.childNodes()
ModuleNode.childNodes()
MultipleAsgnNode.childNodes()
NewlineNode.childNodes()
NextNode.childNodes()
NilNode.childNodes()
NilRestArgNode.childNodes()
Node.childNodes()
NthRefNode.childNodes()
OpAsgnAndNode.childNodes()
OpAsgnConstDeclNode.childNodes()
OpAsgnNode.childNodes()
OpAsgnOrNode.childNodes()
OpElementAsgnNode.childNodes()
OptArgNode.childNodes()
OrNode.childNodes()
PatternCaseNode.childNodes()
RationalNode.childNodes()
RedoNode.childNodes()
RegexpNode.childNodes()
RequiredKeywordArgumentValueNode.childNodes()
RescueBodyNode.childNodes()
RescueNode.childNodes()
RetryNode.childNodes()
ReturnNode.childNodes()
RootNode.childNodes()
SClassNode.childNodes()
SelfNode.childNodes()
SplatNode.childNodes()
StarNode.childNodes()
StrNode.childNodes()
SuperNode.childNodes()
SValueNode.childNodes()
SymbolNode.childNodes()
TrueNode.childNodes()
UndefNode.childNodes()
UntilNode.childNodes()
VAliasNode.childNodes()
VCallNode.childNodes()
WhenNode.childNodes()
WhileNode.childNodes()
XStrNode.childNodes()
YieldNode.childNodes()
ZSuperNode.childNodes()
Node.createList
(Node node) Node.createList
(Node... nodes) Node.createList
(Node node1, Node node2) Node.createList
(Node node1, Node node2, Node node3) HashNode.getPairs()
HashNode.getPairs()
ListNode.iterator()
Methods in org.jruby.ast with parameters of type NodeModifier and TypeMethodDescriptionAdd other element to this listprotected void
ListNode.addInternal
(Node node) Node.createList
(Node node) Node.createList
(Node... nodes) Node.createList
(Node node1, Node node2) Node.createList
(Node node1, Node node2, Node node3) protected Object
LineStubVisitor.defaultVisit
(Node node) AttrAssignNode.setArgsNode
(Node argsNode) Set the argsNodevoid
BlockPassNode.setArgsNode
(Node argsNode) Sets the argsNode.CallNode.setArgsNode
(Node argsNode) Set the argsNode.FCallNode.setArgsNode
(Node argsNode) Set the argsNode.IArgumentNode.setArgsNode
(Node argsNode) void
ArrayPatternNode.setConstant
(Node constant) void
FindPatternNode.setConstant
(Node constant) void
HashPatternNode.setConstant
(Node constant) void
CaseNode.setElseNode
(Node elseNode) void
PatternCaseNode.setElseNode
(Node elseNode) BlockAcceptingNode.setIterNode
(Node iterNode) CallNode.setIterNode
(Node iterNode) FCallNode.setIterNode
(Node iterNode) SuperNode.setIterNode
(Node iterNode) ZSuperNode.setIterNode
(Node iterNode) void
AssignableNode.setValueNode
(Node valueNode) Sets the valueNode.Method parameters in org.jruby.ast with type arguments of type NodeModifier and TypeMethodDescriptionHashNode.add
(KeyValuePair<Node, Node> pair) HashNode.add
(KeyValuePair<Node, Node> pair) boolean
HashNode.removeAll
(Collection<KeyValuePair<Node, Node>> pairsToRemove) boolean
HashNode.removeAll
(Collection<KeyValuePair<Node, Node>> pairsToRemove) Constructors in org.jruby.ast with parameters of type NodeModifierConstructorDescriptionArgsCatNode
(int line, Node firstNode, Node secondNode) ArgsPushNode
(int line, Node firstNode, Node secondNode) ArrayPatternNode
(int line, ListNode preArgs, Node restArg, ListNode postArgs) AssignableNode
(int line, Node valueNode, boolean containsAssignment) AttrAssignNode
(int line, Node receiverNode, RubySymbol name, Node argsNode, Node blockNode, boolean isLazy) BlockPassNode
(int line, Node bodyNode) CallNode
(int line, Node receiverNode, RubySymbol name, Node argsNode, Node iterNode, boolean isLazy) ClassNode
(int line, Colon3Node cpath, StaticScope scope, Node bodyNode, Node superNode, int endLine) ClassVarAsgnNode
(int line, RubySymbol name, Node valueNode) ClassVarDeclNode
(int line, RubySymbol name, Node valueNode) Deprecated.Colon2ConstNode
(int line, Node leftNode, RubySymbol name) Colon2Node
(int line, Node leftNode, RubySymbol name) ConstDeclNode
(int line, RubySymbol name, INameNode constNode, Node valueNode) DAsgnNode
(int line, RubySymbol name, int location, Node valueNode) DefinedNode
(int line, Node expressionNode) DefnNode
(int line, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine) DefsNode
(int line, Node receiverNode, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine) EnsureNode
(int line, Node bodyNode, Node ensureNode) FCallNode
(int line, RubySymbol name, Node argsNode, Node iterNode) FindPatternNode
(int line, Node preRestArg, ListNode args, Node postRestArg) ForNode
(int line, Node varNode, Node bodyNode, Node iterNode, StaticScope scope, int endLine) GlobalAsgnNode
(int line, RubySymbol name, Node valueNode) HashPatternNode
(int line, Node restArg, HashNode keywordArgs) InstAsgnNode
(int line, RubySymbol name, Node valueNode) IterNode
(int line, ArgsNode args, Node body, StaticScope scope, int endLine) Used for all non-for types of blocks.IterNode
(int line, Node args, StaticScope scope, Node body, int endLine) Used by ForNode only.LambdaNode
(int line, ArgsNode args, Node body, StaticScope scope, int endLine) Create a new ListNode.LocalAsgnNode
(int line, RubySymbol name, int location, Node valueNode) Match2CaptureNode
(int line, Node receiverNode, Node valueNode, int[] scopeOffsets) Match2Node
(int line, Node receiverNode, Node valueNode) Match3Node
(int line, Node receiverNode, Node valueNode) MethodDefNode
(int line, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine) ModuleNode
(int line, Colon3Node cpath, StaticScope scope, Node bodyNode, int endLine) MultipleAsgnNode
(int line, ListNode pre, Node rest, ListNode post) NewlineNode
(int line, Node nextNode) Deprecated.OpAsgnAndNode
(int line, Node headNode, Node valueNode) OpAsgnConstDeclNode
(int line, Node lhs, RubySymbol operator, Node rhs) OpAsgnNode
(int line, Node receiverNode, Node valueNode, RubySymbol variableName, RubySymbol operatorName, boolean isLazy) OpAsgnOrNode
(int line, Node headNode, Node valueNode) OpElementAsgnNode
(int line, Node receiverNode, RubySymbol operatorName, Node argsNode, Node valueNode, Node blockNode) OptArgNode
(int line, Node value) PatternCaseNode
(int line, Node caseNode, ListNode cases) PostExeNode
(int line, Node body, int endLine) PreExe19Node
(int line, StaticScope scope, Node body, int endLine) PreExeNode
(int line, StaticScope scope, Node body, int endLine) RescueBodyNode
(int line, Node exceptionNodes, Node bodyNode, RescueBodyNode optRescueNode) RescueModNode
(int line, Node bodyNode, RescueBodyNode rescueNode) RescueNode
(int line, Node bodyNode, RescueBodyNode rescueNode, Node elseNode) ReturnNode
(int line, Node valueNode) RootNode
(int line, DynamicScope scope, Node bodyNode, String file) RootNode
(int line, DynamicScope scope, Node bodyNode, String file, int coverageMode) SClassNode
(int line, Node recvNode, StaticScope scope, Node bodyNode, int endLine) SValueNode
(int line, Node node) WhenOneArgNode
(int line, Node expressionNode, Node bodyNode, Node nextCase) Construct a new YieldNode.Constructor parameters in org.jruby.ast with type arguments of type NodeModifierConstructorDescriptionHashNode
(int line, KeyValuePair<Node, Node> pair) HashNode
(int line, KeyValuePair<Node, Node> pair) -
Uses of Node in org.jruby.ast.visitor
Subclasses of Node in org.jruby.ast.visitorMethods in org.jruby.ast.visitor with parameters of type NodeModifier and TypeMethodDescriptionprotected abstract T
AbstractNodeVisitor.defaultVisit
(Node node) protected Void
InstanceVariableFinder.defaultVisit
(Node iVisited) static Set
<RubySymbol> InstanceVariableFinder.findVariables
(Node node) Walk a node and its children looking for instance variables using a new InstanceVariableFinder.protected void
AbstractNodeVisitor.visitChildren
(Node node) protected T
AbstractNodeVisitor.visitFirstChild
(Node node) AbstractNodeVisitor.visitOther
(Node node) NodeVisitor.visitOther
(Node iVisited) Constructors in org.jruby.ast.visitor with parameters of type NodeModifierConstructorDescriptionOperatorCallNode
(int line, Node receiverNode, RubySymbol name, Node argsNode, Node iterNode, boolean isLazy) -
Uses of Node in org.jruby.embed
Methods in org.jruby.embed that return Node -
Uses of Node in org.jruby.embed.internal
Methods in org.jruby.embed.internal that return Node -
Uses of Node in org.jruby.ext.ripper
Methods in org.jruby.ext.ripper that return NodeMethods in org.jruby.ext.ripper with parameters of type Node -
Uses of Node in org.jruby.ir.builder
Methods in org.jruby.ir.builder that return NodeModifier and TypeMethodDescriptionprotected Node
IRBuilderAST.bodyFor
(RescueBodyNode node) static Node
Deprecated.protected Node[]
IRBuilderAST.exceptionNodesFor
(RescueBodyNode node) protected Node
protected Node
IRBuilderAST.getInExpression
(Node node) LazyMethodDefinitionAST.getMethodBody()
protected Node
IRBuilderAST.referenceFor
(RescueBodyNode node) protected Node
Methods in org.jruby.ir.builder that return types with arguments of type NodeModifier and TypeMethodDescriptionLazyMethodDefinitionAST.getBuilder
(IRManager manager, IRMethod methodScope) Methods in org.jruby.ir.builder with parameters of type NodeModifier and TypeMethodDescriptionprotected boolean
IRBuilderAST.alwaysFalse
(Node node) protected boolean
IRBuilderAST.alwaysTrue
(Node node) void
IRBuilderAST.buildArgsMasgn
(Node node, Operand argsArray, boolean isMasgnRoot, int preArgsCount, int postArgsCount, int index, boolean isSplat) protected void
IRBuilderAST.buildAssignment
(Node node, Operand rhsVal) IRBuilderAST.buildAttrAssignAssignment
(Node node, Operand value) protected Operand[]
IRBuilderAST.buildAttrAssignCallArgs
(Node args, Operand[] outValue, boolean containsAssignment) void
IRBuilderAST.buildBlockArgsAssignment
(Node node, Operand argsArray, int argIndex, boolean isSplat) protected Operand[]
IRBuilderAST.buildCallArgs
(Node args, int[] flags) protected Operand
IRBuilderAST.buildColon2ForConstAsgnDeclNode
(Node lhs, Variable valueResult, boolean constMissing) IRBuilderAST.buildGetArgumentDefinition
(Node node, String type) protected Operand
IRBuilderAST.buildGetDefinition
(Node node) protected Variable
IRBuilderAST.buildPatternEach
(Label testEnd, Variable result, Operand original, Variable deconstructed, Operand value, Node exprNodes, boolean inAlternation, boolean isSinglePattern, Variable errorString) protected boolean
IRBuilderAST.containsVariableAssignment
(Node node) protected void
IRBuilderAST.createPrefixFromArgs
(ByteList prefix, Node args) protected int
IRBuilderAST.dynamicPiece
(Operand[] pieces, int i, Node pieceNode, org.jcodings.Encoding _unused) protected Operand
IRBuilderAST.frozen_string
(Node node) protected Operand
IRBuilderAST.getContainerFromCPath
(Node cpath) protected Node
protected Node
IRBuilderAST.getInExpression
(Node node) protected int
protected IRubyObject
IRBuilderAST.getWhenLiteral
(Node node) protected boolean
IRBuilderAST.isBareStar
(Node node) protected boolean
IRBuilderAST.isErrorInfoGlobal
(Node body) protected boolean
IRBuilderAST.isLiteralString
(Node node) protected boolean
protected boolean
IRBuilderAST.isSideEffectFree
(Node node) protected boolean
IRBuilderAST.needsDefinitionCheck
(Node node) protected void
IRBuilderAST.receiveBlockArgs
(Node args) protected void
IRBuilderAST.receiveForArgs
(Node node) void
IRBuilderAST.receiveRequiredArg
(Node node, Variable keywords, int argIndex, Signature signature) protected Operand
IRBuilderAST.setupCallClosure
(Node _unused, Node node) Method parameters in org.jruby.ir.builder with type arguments of type NodeModifier and TypeMethodDescriptionprotected void
IRBuilderAST.buildAssignment
(List<Tuple<Node, ResultInstr>> assigns, Map<Node, Operand> reads) protected void
IRBuilderAST.buildAssignment
(List<Tuple<Node, ResultInstr>> assigns, Map<Node, Operand> reads) void
IRBuilderAST.buildMultipleAssignment2
(MultipleAsgnNode multipleAsgnNode, List<Tuple<Node, ResultInstr>> assigns, Map<Node, Operand> reads, Variable values) void
IRBuilderAST.buildMultipleAssignment2
(MultipleAsgnNode multipleAsgnNode, List<Tuple<Node, ResultInstr>> assigns, Map<Node, Operand> reads, Variable values) -
Uses of Node in org.jruby.ir.listeners
Methods in org.jruby.ir.listeners with parameters of type NodeModifier and TypeMethodDescriptionvoid
IRScopeListener.endBuildOperand
(Node node, IRScope scope, Operand operand) void
IRScopeListener.startBuildOperand
(Node node, IRScope scope) -
Uses of Node in org.jruby.javasupport
Constructors in org.jruby.javasupport with parameters of type Node -
Uses of Node in org.jruby.lexer.yacc
Methods in org.jruby.lexer.yacc with parameters of type Node -
Uses of Node in org.jruby.parser
Fields in org.jruby.parser with type parameters of type NodeMethods in org.jruby.parser that return NodeModifier and TypeMethodDescriptionRubyParserBase.addRootNode
(Node topOfAST) RubyParserBase.appendToBlock
(Node head, Node tail) RubyParserBase.arg_append
(Node node1, Node node2) static Node
RubyParserBase.arg_blk_pass
(Node firstNode, BlockPassNode secondNode) static Node
RubyParserBase.arg_concat
(Node node1, Node node2) Define an array set condition so we can return lhsDefine an attribute set condition so we can return lhsRubyParserBase.call_bin_op
(Node firstNode, ByteList operator, Node secondNode) RubyParserBase.call_bin_op
(Node firstNode, ByteList operator, Node secondNode, int defaultPosition) RubyParserBase.call_uni_op
(Node firstNode, ByteList operator) StaticScope.declare
(int line, RubySymbol symbolID) Make a DVar or LocalVar node based on scoping logicStaticScope.declare
(int line, RubySymbol symbolID, int depth) RubyParserBase.declareIdentifier
(ByteList byteName) RubyParserResult.getAST()
We know for callers of this that it cannot be any of the specials checked in gettable.protected Node
RubyParserBase.it_id()
RubyParserBase.last_arg_append
(Node args, Node lastArg) RubyParserBase.literal_concat
(Node head, Node tail) protected Node
RubyParserBase.makeNullNil
(Node node) RubyParserBase.method_cond
(Node node) RubyParserBase.new_args_forward_call
(int line, Node leadingArgs) RubyParserBase.new_ary_op_assign
(Node receiverNode, Node argsNode, ByteList operatorName, Node valueNode) RubyParserBase.new_attr_op_assign
(Node receiverNode, ByteList callType, ByteList variableName, ByteList operatorName, Node valueNode) RubyParserBase.new_attrassign
(int line, Node receiver, ByteList name, Node argsNode, boolean isLazy) RubyParserBase.new_bodystmt
(Node head, RescueBodyNode rescue, Node rescueElse, Node ensure) RubyParserBase.new_call
(Node receiver, ByteList callType, ByteList name, Node argsNode, Node iter, int line) RubyParserBase.new_const_op_assign
(int line, Node lhs, ByteList operatorName, Node rhs, LexContext _lexContext) RubyParserBase.new_defined
(long line, Node node) protected Node
RubyParserBase.NEW_ERROR
(ProductionState loc) RubyParserBase.new_find_pattern
(Node constant, FindPatternNode findPattern) RubyParserBase.new_find_pattern_tail
(int line, ByteList preRestArg, ListNode postArgs, ByteList postRestArg) RubyParserBase.new_op_assign
(AssignableNode receiverNode, ByteList operatorName, Node valueNode, LexContext _lexContext) RubyParserBase.new_regexp
(int line, Node contents, RegexpNode end) static Node
RubyParserBase.newEvStrNode
(int line, Node node) RubyParserBase.newline_node
(Node node, int line) Wraps node with NEWLINE node.RubyParserBase.newRescueModNode
(Node body, Node rescueBody) static Node
RubyParserBase.nil()
static Node
RubyParserBase.node_assign
(Node lhs, Node rhs, LexContext _lexContext) RubyParserBase.numparam_push()
Parser.parse
(String file, byte[] content, DynamicScope blockScope, ParserConfiguration configuration) Deprecated.Parser.parse
(String file, InputStream content, DynamicScope blockScope, ParserConfiguration configuration) Deprecated.Parser.parse
(String file, LexerSource lexerSource, DynamicScope blockScope, ParserConfiguration configuration) Deprecated.Parser.parse
(String file, ByteList content, DynamicScope blockScope, ParserConfiguration configuration) Deprecated.RubyParserBase.reduce_nodes
(Node body) RubyParserBase.remove_begin
(Node node) RubyParserBase.remove_duplicate_keys
(HashNode hash) RubyParserBase.rescued_expr
(int line, Node arg, Node rescue) RubyParserBase.rest_arg_append
(Node args, Node restArg) RubyParserBase.splat_array
(Node node) If node is a splat and it is splatting a literal array then return the literal array.RubyParserBase.void_stmts
(Node node) Check all nodes but the last one in a BlockNode for useless (void context) statements.Methods in org.jruby.parser that return types with arguments of type NodeModifier and TypeMethodDescriptionRubyParserBase.createKeyValue
(Node key, Node value) RubyParserBase.createKeyValue
(Node key, Node value) RubyParserResult.getBeginNodes()
Methods in org.jruby.parser with parameters of type NodeModifier and TypeMethodDescriptionStaticScope.addAssign
(int line, RubySymbol symbolID, Node value) RubyParserBase.addRootNode
(Node topOfAST) RubyParserBase.appendToBlock
(Node head, Node tail) RubyParserBase.arg_append
(Node node1, Node node2) static Node
RubyParserBase.arg_blk_pass
(Node firstNode, BlockPassNode secondNode) static Node
RubyParserBase.arg_concat
(Node node1, Node node2) RubyParserBase.args_with_numbered
(ArgsNode args, int paramCount, Node itNode) Define an array set condition so we can return lhsStaticScope.assign
(int line, RubySymbol name, Node value) Make a DASgn or LocalAsgn node based on scope logic Note: This is private code made public only for parser.StaticScope.assign
(int line, RubySymbol symbolID, Node value, StaticScope topScope, int depth) RubyParserBase.assignableInCurr
(ByteList nameBytes, Node value) RubyParserBase.assignableKeyword
(ByteList name, Node value) RubyParserBase.assignableLabelOrIdentifier
(ByteList byteName, Node value) StaticScope.assignKeyword
(int line, RubySymbol symbolID, Node value) Register a keyword argument with this staticScope.Define an attribute set condition so we can return lhsvoid
RubyParserBase.backref_error
(Node node) RubyParserBase.call_bin_op
(Node firstNode, ByteList operator, Node secondNode) RubyParserBase.call_bin_op
(Node firstNode, ByteList operator, Node secondNode, int defaultPosition) RubyParserBase.call_uni_op
(Node firstNode, ByteList operator) void
RubyParserBase.check_literal_when
(Node one) RubyParserBase.createKeyValue
(Node key, Node value) void
void
RubyParserBase.frobnicate_fcall_args
(FCallNode fcall, Node args, Node iter) int
RubyParserBase.getPosition
(Node start) We know for callers of this that it cannot be any of the specials checked in gettable.protected void
RubyParserBase.heredoc_dedent
(Node node) RubyParserBase.last_arg_append
(Node args, Node lastArg) RubyParserBase.list_append
(Node list, Node item) RubyParserBase.list_concat
(Node first, Node second) RubyParserBase.literal_concat
(Node head, Node tail) protected Node
RubyParserBase.makeNullNil
(Node node) RubyParserBase.method_cond
(Node node) void
RubyParserBase.nd_set_first_loc
(Node node, int line) RubyParserBase.new_args_forward_call
(int line, Node leadingArgs) RubyParserBase.new_array_pattern
(int line, Node constant, Node preArg, ArrayPatternNode arrayPattern) RubyParserBase.new_ary_op_assign
(Node receiverNode, Node argsNode, ByteList operatorName, Node valueNode) RubyParserBase.new_attr_op_assign
(Node receiverNode, ByteList callType, ByteList variableName, ByteList operatorName, Node valueNode) RubyParserBase.new_attrassign
(int line, Node receiver, ByteList name, Node argsNode, boolean isLazy) RubyParserBase.new_bodystmt
(Node head, RescueBodyNode rescue, Node rescueElse, Node ensure) RubyParserBase.new_call
(Node receiver, ByteList callType, ByteList name, Node argsNode, Node iter, int line) RubyParserBase.new_colon2
(int line, Node leftNode, ByteList name) RubyParserBase.new_const_op_assign
(int line, Node lhs, ByteList operatorName, Node rhs, LexContext _lexContext) RubyParserBase.new_defined
(long line, Node node) RubyParserBase.new_find_pattern
(Node constant, FindPatternNode findPattern) RubyParserBase.new_hash_pattern
(Node constant, HashPatternNode hashPatternNode) RubyParserBase.new_op_assign
(AssignableNode receiverNode, ByteList operatorName, Node valueNode, LexContext _lexContext) RubyParserBase.new_regexp
(int line, Node contents, RegexpNode end) static Node
RubyParserBase.newArrayNode
(int line, Node node) static CaseNode
RubyParserBase.newCaseNode
(int line, Node expression, Node firstWhenNode) We post-process a chain of when nodes and analyze them to re-insert them back into our new CaseNode as a list.RubyParserBase.newEvStrNode
(int line, Node node) RubyParserBase.newline_node
(Node node, int line) Wraps node with NEWLINE node.static PatternCaseNode
RubyParserBase.newPatternCaseNode
(int line, Node expression, Node firstWhenNode) RubyParserBase.newRescueModNode
(Node body, Node rescueBody) RubyParserBase.newSplatNode
(Node node) RubyParserBase.newSValueNode
(int line, Node node) static Node
RubyParserBase.newWhenNode
(int line, Node expressionNodes, Node bodyNode, Node nextCase) static Node
RubyParserBase.node_assign
(Node lhs, Node rhs, LexContext _lexContext) void
RubyParserBase.numparam_pop
(Node previousInner) int
RubyParserBase.reduce_nodes
(Node body) RubyParserBase.remove_begin
(Node node) RubyParserBase.rescued_expr
(int line, Node arg, Node rescue) RubyParserBase.rest_arg_append
(Node args, Node restArg) protected void
void
Sets the ast.RubyParserBase.splat_array
(Node node) If node is a splat and it is splatting a literal array then return the literal array.boolean
RubyParserBase.value_expr
(Node node) void
Check to see if current node is an useless statement.RubyParserBase.void_stmts
(Node node) Check all nodes but the last one in a BlockNode for useless (void context) statements.void
RubyParserBase.warnUnlessEOption
(IRubyWarnings.ID id, Node node, String message) -
Uses of Node in org.jruby.runtime
Methods in org.jruby.runtime with parameters of type NodeModifier and TypeMethodDescriptionstatic Block
Helpers.getBlock
(Ruby runtime, ThreadContext context, IRubyObject self, Node node, Block aBlock) static Block
Helpers.getBlock
(ThreadContext context, IRubyObject self, Node node) static boolean
Helpers.isRequiredKeywordArgumentValueNode
(Node asgnNode)