Uses of Class
org.jruby.ast.Node

Packages that use Node
org.jruby   
org.jruby.ast   
org.jruby.ast.visitor Provide the infrastructure to apply the visitor pattern to the tree of nodes produced by compiling a ruby script. 
org.jruby.ast.visitor.rewriter   
org.jruby.ast.visitor.rewriter.utils   
org.jruby.compiler   
org.jruby.compiler.impl   
org.jruby.compiler.yarv   
org.jruby.evaluator   
org.jruby.internal.runtime.methods   
org.jruby.parser   
org.jruby.runtime   
 

Uses of Node in org.jruby
 

Methods in org.jruby that return Node
 Node Ruby.parse(java.io.Reader content, java.lang.String file, DynamicScope scope, int lineNumber)
           
 Node Ruby.parse(java.lang.String content, java.lang.String file, DynamicScope scope, int lineNumber)
           
 Node Ruby.parse(java.lang.String content, java.lang.String file, DynamicScope scope, int lineNumber, boolean extraPositionInformation)
           
 

Methods in org.jruby with parameters of type Node
 IRubyObject Ruby.compileAndRun(Node node)
           
 IRubyObject Ruby.compileOrFallbackAndRun(Node node)
           
 IRubyObject Ruby.eval(Node node)
           
 void Ruby.loadNode(java.lang.String scriptName, Node node)
           
 IRubyObject Ruby.ycompileAndRun(Node node)
           
 

Uses of Node in org.jruby.ast
 

Subclasses of Node in org.jruby.ast
 class AliasNode
          An AliasNode represents an alias statement.
 class AndNode
          An AndNode represents a && operator.
 class ArgsCatNode
           
 class ArgsNode
          arguments for a function.
 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 backref.
 class BeginNode
          Begin/End block.
 class BignumNode
          Represents a big integer literal.
 class BlockArgNode
          a block argument.
 class BlockNode
          A structuring node (linked list of other nodes).
 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.
 class ClassVarAsgnNode
          Class variable assignment node.
 class ClassVarDeclNode
          Class variable declaration.
 class ClassVarNode
          Access to a class variable.
 class Colon2Node
          Represents a '::' constant access or method call.
 class Colon3Node
          Global scope node.
 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
          Dynamic regexp node.
 class DStrNode
          a Dynamic String node.
 class DSymbolNode
          Node representing symbol in a form like ':"3jane"'.
 class DVarNode
          Access a dynamic variable (e.g.
 class DXStrNode
          Dynamic backquote string.
 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 FixnumNode
          Represents an integer literal.
 class FlipNode
          a Range in a boolean expression.
 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.
 class IfNode
          an 'if' statement.
 class InstAsgnNode
          Represents an instance variable assignment.
 class InstVarNode
          Represents an instance variable accessor.
 class IterNode
          Represents a block.
 class ListNode
          All Nodes which have a list representation inherit this.
 class LocalAsgnNode
          An assignment to a local variable.
 class LocalVarNode
          Access a local variable
 class Match2Node
           
 class Match3Node
           
 class MatchNode
           
 class MethodDefNode
           
 class ModuleNode
          Represents a module definition.
 class MultipleAsgnNode
           
 class NewlineNode
          A new (logical) source code line.
 class NextNode
          Represents a 'next' statement.
 class NilNode
           
 class NotNode
           
 class NthRefNode
          Represents a $number variable.
 class OpAsgnAndNode
           
 class OpAsgnNode
           
 class OpAsgnOrNode
           
 class OpElementAsgnNode
          Represents an operator assignment to an element.
 class OptNNode
           
 class OrNode
           
 class PostExeNode
           
 class RedoNode
           
 class RegexpNode
          Represents a simple regular expression literal.
 class RescueBodyNode
           
 class RescueNode
           
 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
           
 class SplatNode
           
 class StarNode
          Represents a star in a multiple assignent.
 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 ToAryNode
           
 class TrueNode
           
 class UndefNode
          Represents an undef statement.
 class UntilNode
          Represents an until statement.
 class VAliasNode
          Represents an alias of a global variable.
 class VCallNode
          RubyMethod call without any arguments
 class WhenNode
           
 class WhileNode
          Represents a while stetement.
 class XStrNode
          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.
 

Fields in org.jruby.ast declared as Node
protected  Node MethodDefNode.bodyNode
           
 

Methods in org.jruby.ast that return Node
 Node ListNode.get(int idx)
           
 Node AttrAssignNode.getArgsNode()
          Gets the argsNode.
 Node BlockPassNode.getArgsNode()
          Gets the argsNode.
 Node CallNode.getArgsNode()
          Gets the argsNode representing the method's arguments' value for this call.
 Node FCallNode.getArgsNode()
          Gets the argsNode.
 Node IArgumentNode.getArgsNode()
           
 Node MultipleAsgnNode.getArgsNode()
          Gets the argsNode.
 Node OpElementAsgnNode.getArgsNode()
          Gets the argsNode.
 Node SuperNode.getArgsNode()
          Gets the argsNode.
 Node YieldNode.getArgsNode()
          Gets the argsNode.
 Node DotNode.getBeginNode()
          Gets the beginNode.
 Node FlipNode.getBeginNode()
          Gets the beginNode.
 Node EvStrNode.getBody()
          Gets the evaluatedNode.
 Node BeginNode.getBodyNode()
          Gets the bodyNode.
 Node BlockPassNode.getBodyNode()
          Gets the bodyNode.
 Node ClassNode.getBodyNode()
          Gets the body of this class.
 Node EnsureNode.getBodyNode()
          Gets the bodyNode.
 Node IterNode.getBodyNode()
          Gets the bodyNode.
 Node MethodDefNode.getBodyNode()
          Gets the body of this class.
 Node ModuleNode.getBodyNode()
          Gets the body of this class.
 Node OptNNode.getBodyNode()
          Gets the bodyNode.
 Node RescueBodyNode.getBodyNode()
          Gets the bodyNode.
 Node RescueNode.getBodyNode()
          Gets the bodyNode.
 Node RootNode.getBodyNode()
          First real AST node to be interpreted
 Node SClassNode.getBodyNode()
          Gets the body of this class.
 Node UntilNode.getBodyNode()
          Gets the bodyNode.
 Node WhenNode.getBodyNode()
          Gets the bodyNode.
 Node WhileNode.getBodyNode()
          Gets the bodyNode.
 Node CaseNode.getCaseNode()
          Gets the caseNode.
 Node IfNode.getCondition()
          Gets the condition.
 Node NotNode.getConditionNode()
          Gets the conditionNode.
 Node UntilNode.getConditionNode()
          Gets the conditionNode.
 Node WhileNode.getConditionNode()
          Gets the conditionNode.
 Node ConstDeclNode.getConstNode()
          Get the path the name is associated with or null (in Foo::BAR it is Foo).
 Node IfNode.getElseBody()
          Gets the elseBody.
 Node RescueNode.getElseNode()
          Gets the elseNode.
 Node DotNode.getEndNode()
          Gets the endNode.
 Node FlipNode.getEndNode()
          Gets the endNode.
 Node EnsureNode.getEnsureNode()
          Gets the ensureNode.
 Node RescueBodyNode.getExceptionNodes()
          Gets the exceptionNodes.
 Node DefinedNode.getExpressionNode()
          Gets the expressionNode.
 Node WhenNode.getExpressionNodes()
          Get the expressionNode(s).
 Node AndNode.getFirstNode()
          Gets the firstNode.
 Node ArgsCatNode.getFirstNode()
           
 Node ArgsPushNode.getFirstNode()
           
 Node BinaryOperatorNode.getFirstNode()
          Gets the firstNode.
 Node OpAsgnAndNode.getFirstNode()
          Gets the firstNode.
 Node OpAsgnOrNode.getFirstNode()
          Gets the firstNode.
 Node OrNode.getFirstNode()
          Gets the firstNode.
 Node CaseNode.getFirstWhenNode()
          Gets the first whenNode.
 Node BlockAcceptingNode.getIterNode()
           
 Node CallNode.getIterNode()
           
 Node FCallNode.getIterNode()
          Get the node that represents a block or a block variable.
 Node ForNode.getIterNode()
           
 Node SuperNode.getIterNode()
           
 Node ZSuperNode.getIterNode()
           
 Node ListNode.getLast()
           
 Node Colon2Node.getLeftNode()
          Gets the leftNode.
 Node WhenNode.getNextCase()
          Gets the next case node (if any).
 Node NewlineNode.getNextNode()
          Gets the nextNode.
 Node AttrAssignNode.getReceiverNode()
          Gets the receiverNode.
 Node CallNode.getReceiverNode()
          Gets the receiverNode.
 Node DefsNode.getReceiverNode()
          Gets the receiverNode.
 Node Match2Node.getReceiverNode()
          Gets the receiverNode.
 Node Match3Node.getReceiverNode()
          Gets the receiverNode.
 Node OpAsgnNode.getReceiverNode()
          Gets the receiverNode.
 Node OpElementAsgnNode.getReceiverNode()
          Gets the receiverNode.
 Node SClassNode.getReceiverNode()
          Gets the receiverNode.
 Node MatchNode.getRegexpNode()
          Gets the regexpNode.
 Node AndNode.getSecondNode()
          Gets the secondNode.
 Node ArgsCatNode.getSecondNode()
           
 Node ArgsPushNode.getSecondNode()
           
 Node BinaryOperatorNode.getSecondNode()
          Gets the secondNode.
 Node OpAsgnAndNode.getSecondNode()
          Gets the secondNode.
 Node OpAsgnOrNode.getSecondNode()
          Gets the secondNode.
 Node OrNode.getSecondNode()
          Gets the secondNode.
 Node ClassNode.getSuperNode()
          Gets the superNode.
 Node IfNode.getThenBody()
          Gets the thenBody.
 Node SValueNode.getValue()
           
 Node SplatNode.getValue()
           
 Node ToAryNode.getValue()
           
 Node AssignableNode.getValueNode()
          Gets the valueNode.
 Node BreakNode.getValueNode()
          Gets the valueNode.
 Node Match2Node.getValueNode()
          Gets the valueNode.
 Node Match3Node.getValueNode()
          Gets the valueNode.
 Node NextNode.getValueNode()
          Gets the valueNode.
 Node OpAsgnNode.getValueNode()
          Gets the valueNode.
 Node OpElementAsgnNode.getValueNode()
          Gets the valueNode.
 Node ReturnNode.getValueNode()
           
 Node IterNode.getVarNode()
          Gets the varNode.
 

Methods in org.jruby.ast with parameters of type Node
 ListNode ListNode.add(Node node)
           
 ListNode ListNode.addAll(Node other)
          Add other element to this list
protected static java.util.List Node.createList(Node node)
           
protected static java.util.List Node.createList(Node node1, Node node2)
           
protected static java.util.List Node.createList(Node node1, Node node2, Node node3)
           
protected static java.util.List Node.createList(Node node1, Node node2, Node node3, Node node4)
           
 ListNode ListNode.prepend(Node node)
           
 void AttrAssignNode.setArgsNode(Node argsNode)
          Set the argsNode
 void BlockPassNode.setArgsNode(Node argsNode)
          Sets the argsNode.
 void CallNode.setArgsNode(Node argsNode)
          Set the argsNode
 void FCallNode.setArgsNode(Node argsNode)
          Set the argsNode
 void IArgumentNode.setArgsNode(Node argsNode)
           
 void BlockAcceptingNode.setIterNode(Node iterNode)
           
 void CallNode.setIterNode(Node iterNode)
           
 void FCallNode.setIterNode(Node iterNode)
           
 void SuperNode.setIterNode(Node iterNode)
           
 void ZSuperNode.setIterNode(Node iterNode)
           
 void AssignableNode.setValueNode(Node valueNode)
          Sets the valueNode.
 

Constructors in org.jruby.ast with parameters of type Node
AndNode(ISourcePosition position, Node firstNode, Node secondNode)
           
ArgsCatNode(ISourcePosition position, Node firstNode, Node secondNode)
           
ArgsPushNode(ISourcePosition position, Node node1, Node node2)
           
ArrayNode(ISourcePosition position, Node firstNode)
           
AttrAssignNode(ISourcePosition position, Node receiverNode, java.lang.String name, Node argsNode)
           
BeginNode(ISourcePosition position, Node bodyNode)
           
BlockPassNode(ISourcePosition position, Node bodyNode)
           
BreakNode(ISourcePosition position, Node valueNode)
           
CallNode(ISourcePosition position, Node receiverNode, java.lang.String name, Node argsNode)
           
CallNode(ISourcePosition position, Node receiverNode, java.lang.String name, Node argsNode, Node iterNode)
           
CaseNode(ISourcePosition position, Node caseNode, Node caseBody)
           
ClassNode(ISourcePosition position, Colon3Node cpath, StaticScope scope, Node bodyNode, Node superNode)
           
ClassVarAsgnNode(ISourcePosition position, java.lang.String name, Node valueNode)
           
ClassVarDeclNode(ISourcePosition position, java.lang.String name, Node valueNode)
           
Colon2Node(ISourcePosition position, Node leftNode, java.lang.String name)
           
ConstDeclNode(ISourcePosition position, java.lang.String name, INameNode constNode, Node valueNode)
           
DAsgnNode(ISourcePosition position, java.lang.String name, int location, Node valueNode)
           
DefinedNode(ISourcePosition position, Node expressionNode)
           
DefnNode(ISourcePosition position, ArgumentNode nameNode, ArgsNode argsNode, StaticScope scope, Node bodyNode, Visibility visibility)
           
DefsNode(ISourcePosition position, Node receiverNode, ArgumentNode nameNode, ArgsNode argsNode, StaticScope scope, Node bodyNode)
           
DotNode(ISourcePosition position, Node beginNode, Node endNode, boolean exclusive)
           
EnsureNode(ISourcePosition position, Node bodyNode, Node ensureNode)
           
EvStrNode(ISourcePosition position, Node body)
           
FCallNode(ISourcePosition position, java.lang.String name, Node argsNode)
           
FCallNode(ISourcePosition position, java.lang.String name, Node argsNode, Node iterNode)
           
FlipNode(ISourcePosition position, Node beginNode, Node endNode, boolean exclusive, int location)
           
ForNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode)
           
GlobalAsgnNode(ISourcePosition position, java.lang.String name, Node valueNode)
           
IfNode(ISourcePosition position, Node condition, Node thenBody, Node elseBody)
           
InstAsgnNode(ISourcePosition position, java.lang.String name, Node valueNode)
          Construtor.
IterNode(ISourcePosition position, Node varNode, StaticScope scope, Node bodyNode)
           
IterNode(ISourcePosition position, Node varNode, StaticScope scope, Node bodyNode, int id)
           
ListNode(ISourcePosition position, int id, Node firstNode)
          Create a new ListNode.
LocalAsgnNode(ISourcePosition position, java.lang.String name, int location, Node valueNode)
           
Match2Node(ISourcePosition position, Node receiverNode, Node valueNode)
           
Match3Node(ISourcePosition position, Node receiverNode, Node valueNode)
           
MatchNode(ISourcePosition position, Node regexpNode)
           
MethodDefNode(ISourcePosition position, ArgumentNode nameNode, ArgsNode argsNode, StaticScope scope, Node bodyNode, int id)
           
ModuleNode(ISourcePosition position, Colon3Node cpath, StaticScope scope, Node bodyNode)
           
MultipleAsgnNode(ISourcePosition position, ListNode headNode, Node argsNode)
           
NewlineNode(ISourcePosition position, Node nextNode)
           
NextNode(ISourcePosition position, Node valueNode)
           
NotNode(ISourcePosition position, Node conditionNode)
           
OpAsgnAndNode(ISourcePosition position, Node headNode, Node valueNode)
           
OpAsgnNode(ISourcePosition position, Node receiverNode, Node valueNode, java.lang.String variableName, java.lang.String methodName)
           
OpAsgnOrNode(ISourcePosition position, Node headNode, Node valueNode)
           
OpElementAsgnNode(ISourcePosition position, Node receiverNode, java.lang.String operatorName, Node argsNode, Node valueNode)
           
OptNNode(ISourcePosition position, Node bodyNode)
           
OrNode(ISourcePosition position, Node firstNode, Node secondNode)
           
PostExeNode(ISourcePosition position, Node body)
           
RescueBodyNode(ISourcePosition position, Node exceptionNodes, Node bodyNode, RescueBodyNode optRescueNode)
           
RescueNode(ISourcePosition position, Node bodyNode, RescueBodyNode rescueNode, Node elseNode)
           
ReturnNode(ISourcePosition position, Node valueNode)
           
RootNode(ISourcePosition position, DynamicScope scope, Node bodyNode)
           
SClassNode(ISourcePosition position, Node recvNode, StaticScope scope, Node bodyNode)
           
SplatNode(ISourcePosition position, Node node)
           
SuperNode(ISourcePosition position, Node argsNode)
           
SuperNode(ISourcePosition position, Node argsNode, Node iterNode)
           
SValueNode(ISourcePosition position, Node node)
           
ToAryNode(ISourcePosition position, Node node)
           
UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode)
           
UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode, boolean evaluateAtStart)
           
WhenNode(ISourcePosition position, Node expressionNodes, Node bodyNode, Node nextCase)
           
WhileNode(ISourcePosition position, Node conditionNode, Node bodyNode)
           
WhileNode(ISourcePosition position, Node conditionNode, Node bodyNode, boolean evalAtStart)
           
YieldNode(ISourcePosition position, Node argsNode, boolean checkState)
           
 

Uses of Node in org.jruby.ast.visitor
 

Methods in org.jruby.ast.visitor with parameters of type Node
 Instruction AbstractVisitor.acceptNode(Node node)
           
protected abstract  Instruction AbstractVisitor.visitNode(Node iVisited)
          This method is called by default for each visited Node.
 

Uses of Node in org.jruby.ast.visitor.rewriter
 

Methods in org.jruby.ast.visitor.rewriter that return Node
static Node ReWriteVisitor.firstChild(Node n)
           
static Node ReWriteVisitor.unwrapSingleArrayNode(Node n)
           
 

Methods in org.jruby.ast.visitor.rewriter with parameters of type Node
static java.lang.String ReWriteVisitor.createCodeFromNode(Node node, java.lang.String document)
           
static java.lang.String ReWriteVisitor.createCodeFromNode(Node node, java.lang.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)
           
protected  boolean ReWriteVisitor.printCommentsAfter(Node iVisited)
           
protected  void ReWriteVisitor.printCommentsAtEnd(Node n)
           
static Node ReWriteVisitor.unwrapSingleArrayNode(Node n)
           
protected  void ReWriteVisitor.visitNewlineInParentheses(Node n)
           
 void ReWriteVisitor.visitNode(Node iVisited)
           
 void ReWriteVisitor.visitNodeInIndentation(Node n)
           
 

Constructors in org.jruby.ast.visitor.rewriter with parameters of type Node
ClassBodyWriter(ReWriteVisitor visitor, Node bodyNode)
           
 

Uses of Node in org.jruby.ast.visitor.rewriter.utils
 

Methods in org.jruby.ast.visitor.rewriter.utils with parameters of type Node
protected  boolean IgnoreCommentsReWriteVisitor.printCommentsAfter(Node iVisited)
           
 

Uses of Node in org.jruby.compiler
 

Methods in org.jruby.compiler with parameters of type Node
static void AssignmentCompiler.assign(Node node, int index, Compiler context)
           
 void AliasNodeCompiler.compile(Node node, Compiler context)
           
 void AndNodeCompiler.compile(Node node, Compiler context)
           
 void ArrayNodeArgsCompiler.compile(Node node, Compiler context)
           
 void ArrayNodeCompiler.compile(Node node, Compiler context)
           
 void AttrAssignNodeCompiler.compile(Node node, Compiler context)
           
 void BeginNodeCompiler.compile(Node node, Compiler context)
           
 void BignumNodeCompiler.compile(Node node, Compiler context)
           
 void BlockNodeCompiler.compile(Node node, Compiler context)
           
 void BreakNodeCompiler.compile(Node node, Compiler context)
           
 void CallNodeCompiler.compile(Node node, Compiler context)
           
 void ClassNodeCompiler.compile(Node node, Compiler context)
           
 void ClassVarAsgnNodeCompiler.compile(Node node, Compiler context)
           
 void ClassVarNodeCompiler.compile(Node node, Compiler context)
           
 void Colon2NodeCompiler.compile(Node node, Compiler context)
           
 void ConstDeclNodeCompiler.compile(Node node, Compiler context)
           
 void ConstNodeCompiler.compile(Node node, Compiler context)
           
 void DAsgnNodeCompiler.compile(Node node, Compiler context)
           
 void DStrNodeCompiler.compile(Node node, Compiler context)
           
 void DVarNodeCompiler.compile(Node node, Compiler context)
           
 void DefnNodeCompiler.compile(Node node, Compiler context)
           
 void DotNodeCompiler.compile(Node node, Compiler context)
           
 void EvStrNodeCompiler.compile(Node node, Compiler context)
           
 void FCallNodeCompiler.compile(Node node, Compiler context)
           
 void FalseNodeCompiler.compile(Node node, Compiler context)
           
 void FixnumNodeCompiler.compile(Node node, Compiler context)
           
 void FloatNodeCompiler.compile(Node node, Compiler context)
           
 void GlobalAsgnNodeCompiler.compile(Node node, Compiler context)
           
 void GlobalVarNodeCompiler.compile(Node node, Compiler context)
           
 void HashNodeCompiler.compile(Node node, Compiler context)
           
 void IfNodeCompiler.compile(Node node, Compiler context)
           
 void InstAsgnNodeCompiler.compile(Node node, Compiler context)
           
 void InstVarNodeCompiler.compile(Node node, Compiler context)
           
 void IterNodeCompiler.compile(Node node, Compiler context)
           
 void LocalAsgnNodeCompiler.compile(Node node, Compiler context)
           
 void LocalVarNodeCompiler.compile(Node node, Compiler context)
           
 void Match2NodeCompiler.compile(Node node, Compiler context)
           
 void Match3NodeCompiler.compile(Node node, Compiler context)
           
 void MatchNodeCompiler.compile(Node node, Compiler context)
           
 void ModuleNodeCompiler.compile(Node node, Compiler context)
           
 void MultipleAsgnNodeAsgnCompiler.compile(Node node, Compiler context)
           
 void MultipleAsgnNodeCompiler.compile(Node node, Compiler context)
           
 void NewlineNodeCompiler.compile(Node node, Compiler context)
           
 void NilNodeCompiler.compile(Node node, Compiler context)
           
 void NodeCompiler.compile(Node node, Compiler context)
           
 void NotNodeCompiler.compile(Node node, Compiler context)
           
 void NthRefNodeCompiler.compile(Node node, Compiler context)
           
 void OpAsgnNodeCompiler.compile(Node node, Compiler context)
           
 void OrNodeCompiler.compile(Node node, Compiler context)
           
 void RegexpNodeCompiler.compile(Node node, Compiler context)
           
 void ReturnNodeCompiler.compile(Node node, Compiler context)
           
 void RootNodeCompiler.compile(Node node, Compiler context)
           
 void SValueNodeCompiler.compile(Node node, Compiler context)
           
 void SelfNodeCompiler.compile(Node node, Compiler context)
           
 void SplatNodeCompiler.compile(Node node, Compiler context)
           
 void StringNodeCompiler.compile(Node node, Compiler context)
           
 void SymbolNodeCompiler.compile(Node node, Compiler context)
           
 void TrueNodeCompiler.compile(Node node, Compiler context)
           
 void VCallNodeCompiler.compile(Node node, Compiler context)
           
 void WhileNodeCompiler.compile(Node node, Compiler context)
           
 void YieldNodeCompiler.compile(Node node, Compiler context)
           
 void ZArrayNodeCompiler.compile(Node node, Compiler context)
           
 void YARVNodesCompiler.compile(Node node, NodeCompiler context)
           
static void NodeCompilerFactory.confirmNodeIsSafe(Node node)
          Check whether the target node can safely be compiled.
static NodeCompiler NodeCompilerFactory.getArgumentsCompiler(Node node)
           
static NodeCompiler NodeCompilerFactory.getAssignmentCompiler(Node node)
           
static NodeCompiler NodeCompilerFactory.getCompiler(Node node)
           
 

Uses of Node in org.jruby.compiler.impl
 

Constructors in org.jruby.compiler.impl with parameters of type Node
StandardASMCompiler(Node node)
           
 

Uses of Node in org.jruby.compiler.yarv
 

Methods in org.jruby.compiler.yarv with parameters of type Node
 void StandardYARVCompiler.compile(Node node)
           
 void StandardYARVCompiler.compile(Node node, Compiler context)
           
 void StandardYARVCompiler.iseq_compile(IRubyObject self, Node narg)
           
 

Uses of Node in org.jruby.evaluator
 

Methods in org.jruby.evaluator with parameters of type Node
static IRubyObject AssignmentVisitor.assign(Ruby runtime, ThreadContext context, IRubyObject self, Node node, IRubyObject value, Block block, boolean check)
           
static IRubyObject EvaluationState.eval(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block block)
           
static Block EvaluationState.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
           
 

Uses of Node in org.jruby.internal.runtime.methods
 

Constructors in org.jruby.internal.runtime.methods with parameters of type Node
DefaultMethod(RubyModule implementationClass, StaticScope staticScope, Node body, ArgsNode argsNode, Visibility visibility, SinglyLinkedList cref)
           
 

Uses of Node in org.jruby.parser
 

Methods in org.jruby.parser that return Node
 Node ParserSupport.addRootNode(Node topOfAST, ISourcePosition position)
           
 Node ParserSupport.appendPrintToBlock(Node block)
           
 Node ParserSupport.appendToBlock(Node head, Node tail)
           
 Node ParserSupport.appendWhileLoopToBlock(Node block, boolean chop, boolean split)
           
 Node ParserSupport.arg_add(ISourcePosition position, Node node1, Node node2)
           
 Node ParserSupport.arg_blk_pass(Node firstNode, BlockPassNode secondNode)
           
 Node ParserSupport.arg_concat(ISourcePosition position, Node node1, Node node2)
           
 Node ParserSupport.aryset(Node receiver, Node index)
          Define an array set condition so we can return lhs
 Node ParserSupport.attrset(Node receiver, java.lang.String name)
          Define an attribute set condition so we can return lhs
 Node StaticScope.declare(ISourcePosition position, java.lang.String name)
          Make a DVar or LocalVar node based on scoping logic
 Node BlockStaticScope.declare(ISourcePosition position, java.lang.String name, int depth)
           
 Node LocalStaticScope.declare(ISourcePosition position, java.lang.String name, int depth)
           
protected abstract  Node StaticScope.declare(ISourcePosition position, java.lang.String name, int depth)
           
 Node RubyParserResult.getAST()
           
 Node ParserSupport.getConditionNode(Node node)
           
 Node ParserSupport.getMatchNode(Node firstNode, Node secondNode)
           
 Node ParserSupport.getOperatorCallNode(Node firstNode, java.lang.String operator)
           
 Node ParserSupport.getOperatorCallNode(Node firstNode, java.lang.String operator, Node secondNode)
           
 Node ParserSupport.getOperatorCallNode(Node firstNode, java.lang.String operator, Node secondNode, ISourcePosition defaultPosition)
           
 Node ParserSupport.getReturnArgsNode(Node node)
           
 Node ParserSupport.gettable(java.lang.String id, ISourcePosition position)
          Create AST node representing variable type it represents.
 Node ParserSupport.gettable2(java.lang.String id, ISourcePosition position)
          We know for callers of this that it cannot be any of the specials checked in gettable.
 Node ParserSupport.literal_concat(ISourcePosition position, Node head, Node tail)
           
 Node ParserSupport.negateInteger(Node integerNode)
           
 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_super(Node args, Token operation)
           
 Node ParserSupport.new_yield(ISourcePosition position, Node node)
           
 Node ParserSupport.newEvStrNode(ISourcePosition position, Node node)
           
 Node ParserSupport.newline_node(Node node, ISourcePosition position)
          Wraps node with NEWLINE node.
 Node ParserSupport.node_assign(Node lhs, Node rhs)
           
 Node Parser.parse(java.lang.String file, java.io.Reader content, DynamicScope blockScope, int lineNumber)
           
 Node Parser.parse(java.lang.String file, java.io.Reader content, DynamicScope blockScope, int lineNumber, boolean extraPositionInformation)
           
 Node Parser.parse(java.lang.String file, java.lang.String content, DynamicScope blockScope, int lineNumber)
           
 Node Parser.parse(java.lang.String file, java.lang.String content, DynamicScope blockScope, int lineNumber, boolean extraPositionInformation)
           
 Node ParserSupport.ret_args(Node node, ISourcePosition position)
           
 Node ParserSupport.unwrapNewlineNode(Node node)
           
 

Methods in org.jruby.parser with parameters of type Node
 AssignableNode BlockStaticScope.addAssign(ISourcePosition position, java.lang.String name, Node value)
           
 void RubyParserResult.addBeginNode(StaticScope scope, Node node)
           
 Node ParserSupport.addRootNode(Node topOfAST, ISourcePosition position)
           
 Node ParserSupport.appendPrintToBlock(Node block)
           
 Node ParserSupport.appendToBlock(Node head, Node tail)
           
 Node ParserSupport.appendWhileLoopToBlock(Node block, boolean chop, boolean split)
           
 Node ParserSupport.arg_add(ISourcePosition position, Node node1, Node node2)
           
 Node ParserSupport.arg_blk_pass(Node firstNode, BlockPassNode secondNode)
           
 Node ParserSupport.arg_concat(ISourcePosition position, Node node1, Node node2)
           
 Node ParserSupport.aryset(Node receiver, Node index)
          Define an array set condition so we can return lhs
 AssignableNode StaticScope.assign(ISourcePosition position, java.lang.String name, Node value)
          Make a DASgn or LocalAsgn node based on scope logic
protected  AssignableNode BlockStaticScope.assign(ISourcePosition position, java.lang.String name, Node value, StaticScope topScope, int depth)
           
 AssignableNode LocalStaticScope.assign(ISourcePosition position, java.lang.String name, Node value, StaticScope topScope, int depth)
           
protected abstract  AssignableNode StaticScope.assign(ISourcePosition position, java.lang.String name, Node value, StaticScope topScope, int depth)
           
 AssignableNode ParserSupport.assignable(Token lhs, Node value)
           
 Node ParserSupport.attrset(Node receiver, java.lang.String name)
          Define an attribute set condition so we can return lhs
 void ParserSupport.backrefAssignError(Node node)
           
 void 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, java.lang.String operator)
           
 Node ParserSupport.getOperatorCallNode(Node firstNode, java.lang.String operator, Node secondNode)
           
 Node ParserSupport.getOperatorCallNode(Node firstNode, java.lang.String operator, Node secondNode, ISourcePosition defaultPosition)
           
 Node ParserSupport.getReturnArgsNode(Node node)
           
 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.
 Node ParserSupport.literal_concat(ISourcePosition position, Node head, Node tail)
           
 Node ParserSupport.negateInteger(Node integerNode)
           
 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_super(Node args, Token operation)
           
 Node ParserSupport.new_yield(ISourcePosition position, Node node)
           
 AndNode ParserSupport.newAndNode(Node left, Node right)
           
 Node ParserSupport.newEvStrNode(ISourcePosition position, Node node)
           
 Node ParserSupport.newline_node(Node node, ISourcePosition position)
          Wraps node with NEWLINE node.
 OrNode ParserSupport.newOrNode(Node left, Node right)
           
 Node ParserSupport.node_assign(Node lhs, Node rhs)
           
 Node ParserSupport.ret_args(Node node, ISourcePosition position)
           
 void RubyParserResult.setAST(Node ast)
          Sets the ast.
 Node ParserSupport.unwrapNewlineNode(Node node)
           
 

Uses of Node in org.jruby.runtime
 

Methods in org.jruby.runtime with parameters of type Node
static Arity Arity.procArityOf(Node node)
           
 



Copyright © 2002-2007 JRuby Team. All Rights Reserved.