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 TypeClassDescriptionclassRepresents an alias statement (alias newName oldName).classRepresents a && (and) operator.classclassRepresents the argument declarations of a method.classclassSimple Node for named entities.classRepresents an array.classclassBase class of any node which can be assigned to.classNode that represents an assignment of either an array element or attribute.classRegexp back reference: - $& last successful match - $+ highest numbered group matched in last successful match.classBegin/End block.classRepresents a big integer literal.classAn explicit block argument (&my_block) in parameter list.classRepresents a block of nodes (read that as list).classExplicit 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.classRepresents a 'break' statement.classA method or operator call.classA Case statement.classA class statement (name, superClass, body).classClass variable assignment node.classDeprecated.classAccess to a class variable.classclassRepresents a bare class declaration (e.g.classRepresents a '::' constant access or method call (Java::JavaClass).classGlobal scope node (::FooBar).classclassDeclaration (and assignment) of a Constant.classThe access to a Constant.classAn assignment to a dynamic variable (e.g.classa defined statement.classmethod definition node.classRepresents a singleton method definition.classBase class for all D (e.g.classRepresents a range literal.classA regexp which contains some expressions which will need to be evaluated every time the regexp is used for a match.classA string which contains some dynamic elements which needs to be evaluated (introduced by #).classNode representing symbol in a form like ':"3jane"'.classAccess a dynamic variable (e.g.classDynamic backquote string.classRepresents __ENCODING__.classAn 'ensure' statement.classclassRepresents an #{} expression in a string.classRepresents a false literal.classRepresents a method call with self as an implicit receiver.classRepresents __FILE__ nodesclassclassRepresents an integer literal.classA Range in a boolean expression (named after a FlipFlop component in electronic?).classRepresents a float literal.classA 'for' statement.classclassRepresents an assignment to a global variable.classaccess to a global variable.classA 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.classclassan 'if' statement.classclassRepresents an instance variable assignment.classRepresents an instance variable accessor.classRepresents a block.classclassclassStubby lambda node (1.9 only)classAll Nodes which have a list representation inherit this.classThis is not a node in the classic sense in that it has no defined or interpret method which can be called.classAn assignment to a local variable.classAccess a local variableclassclassclassUsed when a Regexp literal is the RHS of a match call.classclassBase class for DefnNode and DefsNodeclassRepresents a module definition.classclassNote: This is a dead class but we leave it because people write against Visitor and we do not want those consumers to break.classRepresents a 'next' statement.classA node which behaves like a nil node, but is not actually present in the AST as a syntactical element (e.g.classrepresents 'nil'classclassRepresents a $number ($0..$9) variable.classAny node representing a numeric value.classclassA::B ||= 1classclassclassRepresents an operator assignment to an element.classclassrepresents '||' (or) statementsclassA Case statement.classCaptures END statements (END {...})classA pre-execution construction (BEGIN { ...classA pre-execution construction (BEGIN { ...classclassRepresents a 'redo'classRepresents a simple regular expression literal.classMarker to indicate that rather than assigning nil (where in multiple places we have nulls getting implicitly converted to nils) we should raise an error.classRepresents the contents of a rescue to be evaluatedclassf rescue nilclassRepresents a rescue statementclassclassRepresents a 'retry' statement.classRepresents a return statement.classRepresents the top of the AST.classSingleton class definition.classRepresents 'self' keywordclassclassRepresents the unassignable star in a multiple assignent (e.g.classRepresenting a simple String literal.classA call to super(...) with arguments to a method.classclassRepresents a symbol (:symbol_name).classRepresents 'true'.classRepresents an 'undef' statement.classa bare '*' or nothing.classRepresents an until statement.classRepresents an alias of a global variable.classRubyMethod call without any argumentsclassRepresents a when conditionclassclassRepresents a while statement.classA Backtick(`) stringclassRepresents a yield statement.classzero length listclassa call to 'super' with no arguments in a method.Fields in org.jruby.ast declared as NodeModifier and TypeFieldDescriptionprotected NodeFCallNode.argsNodeprotected final NodeMethodDefNode.bodyNodeprotected final NodeWhenNode.bodyNodeprotected final NodeWhenNode.expressionNodesprotected NodeCallNode.iterNodeprotected NodeFCallNode.iterNodeprotected final NodeColon2Node.leftNodeprotected final NodeSplatNode.nodeprotected final NodeSValueNode.nodeprotected final NodeAttrAssignNode.receiverNodeMethods 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 voidListNode.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 ObjectLineStubVisitor.defaultVisit(Node node) AttrAssignNode.setArgsNode(Node argsNode) Set the argsNodevoidBlockPassNode.setArgsNode(Node argsNode) Sets the argsNode.CallNode.setArgsNode(Node argsNode) Set the argsNode.FCallNode.setArgsNode(Node argsNode) Set the argsNode.IArgumentNode.setArgsNode(Node argsNode) voidArrayPatternNode.setConstant(Node constant) voidFindPatternNode.setConstant(Node constant) voidHashPatternNode.setConstant(Node constant) voidCaseNode.setElseNode(Node elseNode) voidPatternCaseNode.setElseNode(Node elseNode) BlockAcceptingNode.setIterNode(Node iterNode) CallNode.setIterNode(Node iterNode) FCallNode.setIterNode(Node iterNode) SuperNode.setIterNode(Node iterNode) ZSuperNode.setIterNode(Node iterNode) voidAssignableNode.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) booleanHashNode.removeAll(Collection<KeyValuePair<Node, Node>> pairsToRemove) booleanHashNode.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 TAbstractNodeVisitor.defaultVisit(Node node) protected VoidInstanceVariableFinder.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 voidAbstractNodeVisitor.visitChildren(Node node) protected TAbstractNodeVisitor.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 NodeIRBuilderAST.bodyFor(RescueBodyNode node) static NodeDeprecated.protected Node[]IRBuilderAST.exceptionNodesFor(RescueBodyNode node) protected Nodeprotected NodeIRBuilderAST.getInExpression(Node node) LazyMethodDefinitionAST.getMethodBody()protected NodeIRBuilderAST.referenceFor(RescueBodyNode node) protected NodeMethods 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 booleanIRBuilderAST.alwaysFalse(Node node) protected booleanIRBuilderAST.alwaysTrue(Node node) voidIRBuilderAST.buildArgsMasgn(Node node, Operand argsArray, boolean isMasgnRoot, int preArgsCount, int postArgsCount, int index, boolean isSplat) protected voidIRBuilderAST.buildAssignment(Node node, Operand rhsVal) IRBuilderAST.buildAttrAssignAssignment(Node node, Operand value) protected Operand[]IRBuilderAST.buildAttrAssignCallArgs(Node args, Operand[] outValue, boolean containsAssignment) voidIRBuilderAST.buildBlockArgsAssignment(Node node, Operand argsArray, int argIndex, boolean isSplat) protected Operand[]IRBuilderAST.buildCallArgs(Node args, int[] flags) protected OperandIRBuilderAST.buildColon2ForConstAsgnDeclNode(Node lhs, Variable valueResult, boolean constMissing) IRBuilderAST.buildGetArgumentDefinition(Node node, String type) protected OperandIRBuilderAST.buildGetDefinition(Node node) protected VariableIRBuilderAST.buildPatternEach(Label testEnd, Variable result, Operand original, Variable deconstructed, Operand value, Node exprNodes, boolean inAlternation, boolean isSinglePattern, Variable errorString) protected booleanIRBuilderAST.containsVariableAssignment(Node node) protected voidIRBuilderAST.createPrefixFromArgs(ByteList prefix, Node args) protected intIRBuilderAST.dynamicPiece(Operand[] pieces, int i, Node pieceNode, org.jcodings.Encoding _unused) protected OperandIRBuilderAST.frozen_string(Node node) protected OperandIRBuilderAST.getContainerFromCPath(Node cpath) protected Nodeprotected NodeIRBuilderAST.getInExpression(Node node) protected intprotected IRubyObjectIRBuilderAST.getWhenLiteral(Node node) protected booleanIRBuilderAST.isBareStar(Node node) protected booleanIRBuilderAST.isErrorInfoGlobal(Node body) protected booleanIRBuilderAST.isLiteralString(Node node) protected booleanprotected booleanIRBuilderAST.isSideEffectFree(Node node) protected booleanIRBuilderAST.needsDefinitionCheck(Node node) protected voidIRBuilderAST.receiveBlockArgs(Node args) protected voidIRBuilderAST.receiveForArgs(Node node) voidIRBuilderAST.receiveRequiredArg(Node node, Variable keywords, int argIndex, Signature signature) protected OperandIRBuilderAST.setupCallClosure(Node _unused, Node node) Method parameters in org.jruby.ir.builder with type arguments of type NodeModifier and TypeMethodDescriptionprotected voidIRBuilderAST.buildAssignment(List<Tuple<Node, ResultInstr>> assigns, Map<Node, Operand> reads) protected voidIRBuilderAST.buildAssignment(List<Tuple<Node, ResultInstr>> assigns, Map<Node, Operand> reads) voidIRBuilderAST.buildMultipleAssignment2(MultipleAsgnNode multipleAsgnNode, List<Tuple<Node, ResultInstr>> assigns, Map<Node, Operand> reads, Variable values) voidIRBuilderAST.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 TypeMethodDescriptionvoidIRScopeListener.endBuildOperand(Node node, IRScope scope, Operand operand) voidIRScopeListener.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 NodeRubyParserBase.arg_blk_pass(Node firstNode, BlockPassNode secondNode) static NodeRubyParserBase.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 NodeRubyParserBase.it_id()RubyParserBase.last_arg_append(Node args, Node lastArg) RubyParserBase.literal_concat(Node head, Node tail) protected NodeRubyParserBase.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 NodeRubyParserBase.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 NodeRubyParserBase.newEvStrNode(int line, Node node) RubyParserBase.newline_node(Node node, int line) Wraps node with NEWLINE node.RubyParserBase.newRescueModNode(Node body, Node rescueBody) static NodeRubyParserBase.nil()static NodeRubyParserBase.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 NodeRubyParserBase.arg_blk_pass(Node firstNode, BlockPassNode secondNode) static NodeRubyParserBase.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 lhsvoidRubyParserBase.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) voidRubyParserBase.check_literal_when(Node one) RubyParserBase.createKeyValue(Node key, Node value) voidvoidRubyParserBase.frobnicate_fcall_args(FCallNode fcall, Node args, Node iter) intRubyParserBase.getPosition(Node start) We know for callers of this that it cannot be any of the specials checked in gettable.protected voidRubyParserBase.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 NodeRubyParserBase.makeNullNil(Node node) RubyParserBase.method_cond(Node node) voidRubyParserBase.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 NodeRubyParserBase.newArrayNode(int line, Node node) static CaseNodeRubyParserBase.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 PatternCaseNodeRubyParserBase.newPatternCaseNode(int line, Node expression, Node firstWhenNode) RubyParserBase.newRescueModNode(Node body, Node rescueBody) RubyParserBase.newSplatNode(Node node) RubyParserBase.newSValueNode(int line, Node node) static NodeRubyParserBase.newWhenNode(int line, Node expressionNodes, Node bodyNode, Node nextCase) static NodeRubyParserBase.node_assign(Node lhs, Node rhs, LexContext _lexContext) voidRubyParserBase.numparam_pop(Node previousInner) intRubyParserBase.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 voidvoidSets the ast.RubyParserBase.splat_array(Node node) If node is a splat and it is splatting a literal array then return the literal array.booleanRubyParserBase.value_expr(Node node) voidCheck 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.voidRubyParserBase.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 BlockHelpers.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Node node, Block aBlock) static BlockHelpers.getBlock(ThreadContext context, IRubyObject self, Node node) static booleanHelpers.isRequiredKeywordArgumentValueNode(Node asgnNode)