Uses of Interface
org.ablaf.ast.INode

Packages that use INode
org.ablaf.ast   
org.ablaf.parser   
org.jruby   
org.jruby.ast   
org.jruby.ast.types   
org.jruby.ast.util   
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.evaluator   
org.jruby.internal.runtime.methods   
org.jruby.parser   
org.jruby.runtime   
org.jruby.runtime.builtin   
 

Uses of INode in org.ablaf.ast
 

Methods in org.ablaf.ast that return INode
 INode IAstDecoder.readNode()
           
 

Methods in org.ablaf.ast with parameters of type INode
 void IAstEncoder.writeNode(INode node)
           
 

Uses of INode in org.ablaf.parser
 

Methods in org.ablaf.parser that return INode
 INode IParserResult.getAST()
           
 

Uses of INode in org.jruby
 

Methods in org.jruby that return INode
 INode Ruby.parse(java.io.Reader content, java.lang.String file)
           
 INode Ruby.parse(java.lang.String content, java.lang.String file)
           
 

Methods in org.jruby with parameters of type INode
 IRubyObject Ruby.eval(INode node)
           
 void Ruby.loadNode(java.lang.String scriptName, INode node, boolean wrap)
           
 IRubyObject RubyObject.eval(INode n)
          rb_eval
 

Uses of INode in org.jruby.ast
 

Classes in org.jruby.ast that implement INode
 class AbstractNode
           
 class AliasNode
          An AliasNode represents an alias statement.
 class AndNode
          An AndNode represents a && operator.
 class ArgsNode
          arguments for a function.
 class ArrayNode
          Represents an array.
 class AttrSetNode
           
 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 ConstDeclNode
          Declaration (and assignment) of a Constant.
 class ConstNode
          The access to a Constant.
 class DAsgnNode
          assignment to dynamic variable
 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 DVarNode
          Access to a Dynamic variable.
 class DXStrNode
          Dynamic backquote string.
 class EnsureNode
          an ensure statement.
 class EvStrNode
          Represents an #{} expression in a string.
 class ExpandArrayNode
          Represents an expanded argument (*expr).
 class FalseNode
          Represents a false literal.
 class FCallNode
          Represents a method call with self as 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 access.
 class IterNode
           
 class LocalAsgnNode
          local variable assignment node.
 class LocalVarNode
           
 class Match2Node
           
 class Match3Node
           
 class MatchNode
           
 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 RestArgsNode
           
 class RetryNode
          Represents a 'retry' statement.
 class ReturnNode
          Represents a return statement.
 class SClassNode
          Singleton class definition.
 class ScopeNode
          Scope in the parse tree.
 class SelfNode
           
 class StarNode
          Represents a star in a multiple assignent.
 class StrNode
          Representing a simple String literal.
 class SuperNode
           
 class SymbolNode
          Represents a symbol (:symbol_name).
 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
          Method 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 in a method.
 

Methods in org.jruby.ast that return INode
 INode AndNode.getSecondNode()
          Gets the secondNode.
 INode AndNode.getFirstNode()
          Gets the firstNode.
 INode BeginNode.getBodyNode()
          Gets the bodyNode.
 INode BlockPassNode.getBodyNode()
          Gets the bodyNode.
 INode BlockPassNode.getIterNode()
          Gets the iterNode.
 INode CallNode.getReceiverNode()
          Gets the receiverNode.
 INode CaseNode.getCaseNode()
          Gets the caseNode.
 INode CaseNode.getElseNode()
          Gets the elseNode.
 INode ClassNode.getSuperNode()
          Gets the superNode.
 INode ClassVarAsgnNode.getValueNode()
          Gets the valueNode.
 INode ClassVarDeclNode.getValueNode()
          Gets the valueNode.
 INode Colon2Node.getLeftNode()
          Gets the leftNode.
 INode ConstDeclNode.getValueNode()
          Gets the valueNode.
 INode DAsgnNode.getValueNode()
          Gets the valueNode.
 INode DefinedNode.getExpressionNode()
          Gets the expressionNode.
 INode DefnNode.getArgsNode()
          Gets the argsNode.
 INode DefsNode.getArgsNode()
          Gets the argsNode.
 INode DefsNode.getReceiverNode()
          Gets the receiverNode.
 INode DotNode.getBeginNode()
          Gets the beginNode.
 INode DotNode.getEndNode()
          Gets the endNode.
 INode EnsureNode.getBodyNode()
          Gets the bodyNode.
 INode EnsureNode.getEnsureNode()
          Gets the ensureNode.
 INode EvStrNode.getEvaluatedNode()
          Gets the evaluatedNode.
 INode ExpandArrayNode.getExpandNode()
          Gets the expandNode.
 INode FlipNode.getBeginNode()
          Gets the beginNode.
 INode FlipNode.getEndNode()
          Gets the endNode.
 INode ForNode.getBodyNode()
          Gets the bodyNode.
 INode ForNode.getIterNode()
          Gets the iterNode.
 INode ForNode.getVarNode()
          Gets the varNode.
 INode GlobalAsgnNode.getValueNode()
          Gets the valueNode.
 INode IfNode.getCondition()
          Gets the condition.
 INode IfNode.getElseBody()
          Gets the elseBody.
 INode IfNode.getThenBody()
          Gets the thenBody.
 INode InstAsgnNode.getValueNode()
          Gets the valueNode.
 INode IterNode.getBodyNode()
          Gets the bodyNode.
 INode IterNode.getIterNode()
          Gets the iterNode.
 INode IterNode.getVarNode()
          Gets the varNode.
 INode LocalAsgnNode.getValueNode()
          Gets the valueNode.
 INode Match2Node.getReceiverNode()
          Gets the receiverNode.
 INode Match2Node.getValueNode()
          Gets the valueNode.
 INode Match3Node.getReceiverNode()
          Gets the receiverNode.
 INode Match3Node.getValueNode()
          Gets the valueNode.
 INode MatchNode.getRegexpNode()
          Gets the regexpNode.
 INode MultipleAsgnNode.getArgsNode()
          Gets the argsNode.
 INode MultipleAsgnNode.getValueNode()
          Gets the valueNode.
 INode NewlineNode.getNextNode()
          Gets the nextNode.
 INode NotNode.getConditionNode()
          Gets the conditionNode.
 INode OpAsgnAndNode.getFirstNode()
          Gets the firstNode.
 INode OpAsgnAndNode.getSecondNode()
          Gets the secondNode.
 INode OpAsgnNode.getReceiverNode()
          Gets the receiverNode.
 INode OpAsgnNode.getValueNode()
          Gets the valueNode.
 INode OpAsgnOrNode.getFirstNode()
          Gets the firstNode.
 INode OpAsgnOrNode.getSecondNode()
          Gets the secondNode.
 INode OpElementAsgnNode.getArgsNode()
          Gets the argsNode.
 INode OpElementAsgnNode.getReceiverNode()
          Gets the receiverNode.
 INode OpElementAsgnNode.getValueNode()
          Gets the valueNode.
 INode OptNNode.getBodyNode()
          Gets the bodyNode.
 INode OrNode.getFirstNode()
          Gets the firstNode.
 INode OrNode.getSecondNode()
          Gets the secondNode.
 INode RescueBodyNode.getBodyNode()
          Gets the bodyNode.
 INode RescueNode.getBodyNode()
          Gets the bodyNode.
 INode RescueNode.getElseNode()
          Gets the elseNode.
 INode RestArgsNode.getArgumentNode()
          Gets the argumentNode.
 INode ReturnNode.getValueNode()
          Gets the valueNode.
 INode SClassNode.getReceiverNode()
          Gets the receiverNode.
 INode ScopeNode.getBodyNode()
          Gets the bodyNode.
 INode SuperNode.getArgsNode()
          Gets the argsNode.
 INode UntilNode.getBodyNode()
          Gets the bodyNode.
 INode UntilNode.getConditionNode()
          Gets the conditionNode.
 INode WhenNode.getBodyNode()
          Gets the bodyNode.
 INode WhileNode.getBodyNode()
          Gets the bodyNode.
 INode WhileNode.getConditionNode()
          Gets the conditionNode.
 INode YieldNode.getArgsNode()
          Gets the argsNode.
 

Methods in org.jruby.ast with parameters of type INode
 IListNode ArrayNode.add(INode node)
           
 IListNode BlockNode.add(INode node)
           
 void BlockPassNode.setIterNode(INode iterNode)
          Sets the iterNode.
 void ClassVarAsgnNode.setValueNode(INode valueNode)
          Sets the valueNode.
 void ClassVarDeclNode.setValueNode(INode valueNode)
          Sets the valueNode.
 void ConstDeclNode.setValueNode(INode valueNode)
          Sets the valueNode.
 void DAsgnNode.setValueNode(INode valueNode)
          Sets the valueNode.
 IListNode DRegexpNode.add(INode node)
           
 IListNode DStrNode.add(INode node)
           
 IListNode DXStrNode.add(INode node)
           
 void EvStrNode.setEvaluatedNode(INode evaluatedNode)
          Sets the evaluatedNode.
 void GlobalAsgnNode.setValueNode(INode valueNode)
          Sets the valueNode.
 void IASTWriter.writeAST(INode node)
           
 void InstAsgnNode.setValueNode(INode valueNode)
          Sets the valueNode.
 void IterNode.setIterNode(INode iterNode)
          Sets the iterNode.
 void LocalAsgnNode.setValueNode(INode valueNode)
          Sets the valueNode.
 void MultipleAsgnNode.setValueNode(INode valueNode)
          Sets the valueNode.
 IListNode RescueBodyNode.add(INode node)
           
 

Constructors in org.jruby.ast with parameters of type INode
AndNode(ISourcePosition position, INode firstNode, INode secondNode)
           
BeginNode(ISourcePosition position, INode bodyNode)
           
BlockPassNode(ISourcePosition position, INode bodyNode)
           
CallNode(ISourcePosition position, INode receiverNode, java.lang.String name, IListNode argsNode)
           
CaseNode(ISourcePosition position, INode caseNode, IListNode whenNodes, INode elseNode)
           
ClassNode(ISourcePosition position, java.lang.String className, ScopeNode bodyNode, INode superNode)
           
ClassVarAsgnNode(ISourcePosition position, java.lang.String name, INode valueNode)
           
ClassVarDeclNode(ISourcePosition position, java.lang.String name, INode valueNode)
           
Colon2Node(ISourcePosition position, INode leftNode, java.lang.String name)
           
ConstDeclNode(ISourcePosition position, java.lang.String name, INode valueNode)
           
DAsgnNode(ISourcePosition position, java.lang.String name, INode valueNode)
           
DefinedNode(ISourcePosition position, INode expressionNode)
           
DefnNode(ISourcePosition position, java.lang.String name, INode argsNode, ScopeNode bodyNode, Visibility visibility)
           
DefsNode(ISourcePosition position, INode receiverNode, java.lang.String name, INode argsNode, ScopeNode bodyNode)
           
DotNode(ISourcePosition position, INode beginNode, INode endNode, boolean exclusive)
           
EnsureNode(ISourcePosition position, INode bodyNode, INode ensureNode)
           
ExpandArrayNode(INode expandNode)
           
ExpandArrayNode(ISourcePosition position, INode expandNode)
          Constructor for ExpandArrayNode.
FlipNode(ISourcePosition position, INode beginNode, INode endNode, boolean exclusive)
           
ForNode(ISourcePosition position, INode varNode, INode bodyNode, INode iterNode)
           
GlobalAsgnNode(ISourcePosition position, java.lang.String name, INode valueNode)
           
IfNode(ISourcePosition position, INode condition, INode thenBody, INode elseBody)
           
InstAsgnNode(ISourcePosition position, java.lang.String iName, INode iValueNode)
          Construtor.
IterNode(ISourcePosition position, INode varNode, INode bodyNode, INode iterNode)
           
LocalAsgnNode(ISourcePosition position, int count, INode valueNode)
           
Match2Node(ISourcePosition position, INode receiverNode, INode valueNode)
           
Match3Node(ISourcePosition position, INode receiverNode, INode valueNode)
           
MatchNode(ISourcePosition position, INode regexpNode)
           
MultipleAsgnNode(ISourcePosition position, IListNode headNode, INode argsNode)
           
NewlineNode(ISourcePosition position, INode nextNode)
           
NotNode(ISourcePosition position, INode conditionNode)
           
OpAsgnAndNode(ISourcePosition position, INode headNode, INode valueNode)
           
OpAsgnNode(ISourcePosition position, INode receiverNode, INode valueNode, java.lang.String variableName, java.lang.String methodName)
           
OpAsgnOrNode(ISourcePosition position, INode headNode, INode valueNode)
           
OpElementAsgnNode(ISourcePosition position, INode receiverNode, java.lang.String operatorName, INode argsNode, INode valueNode)
           
OptNNode(ISourcePosition position, INode bodyNode)
           
OrNode(ISourcePosition position, INode firstNode, INode secondNode)
           
RescueBodyNode(ISourcePosition position, IListNode exceptionNodes, INode bodyNode)
           
RescueNode(ISourcePosition position, INode bodyNode, IListNode rescueNodes, INode elseNode)
           
RestArgsNode(ISourcePosition position, INode argumentNode)
           
ReturnNode(ISourcePosition position, INode valueNode)
           
SClassNode(ISourcePosition position, INode recvNode, ScopeNode bodyNode)
           
ScopeNode(java.util.List table, INode bodyNode)
           
ScopeNode(ISourcePosition position, java.util.List table, INode bodyNode)
           
SuperNode(ISourcePosition position, INode argsNode)
           
UntilNode(ISourcePosition position, INode conditionNode, INode bodyNode)
           
WhenNode(ISourcePosition position, IListNode expressionNodes, INode bodyNode)
           
WhileNode(ISourcePosition position, INode conditionNode, INode bodyNode)
           
WhileNode(ISourcePosition position, INode conditionNode, INode bodyNode, boolean evalAtStart)
           
YieldNode(ISourcePosition position, INode argsNode)
           
 

Uses of INode in org.jruby.ast.types
 

Subinterfaces of INode in org.jruby.ast.types
 interface IListNode
          A node which contains a list of other nodes.
 

Methods in org.jruby.ast.types that return INode
 INode IAssignableNode.getValueNode()
           
 

Methods in org.jruby.ast.types with parameters of type INode
 void IAssignableNode.setValueNode(INode node)
           
 IListNode IListNode.add(INode node)
           
 

Uses of INode in org.jruby.ast.util
 

Methods in org.jruby.ast.util that return INode
static INode ListNodeUtil.getLast(IListNode self)
           
 

Methods in org.jruby.ast.util with parameters of type INode
static IRubyObject[] ArgsUtil.setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node)
           
static boolean NodeUtil.isExpression(INode node)
           
static boolean NodeUtil.isBreakStatement(INode node)
           
 

Uses of INode in org.jruby.ast.visitor
 

Methods in org.jruby.ast.visitor with parameters of type INode
protected abstract  void AbstractVisitor.visitNode(INode iVisited)
          This method is called by default for each visited Node.
 void AbstractVisitor.acceptNode(INode node)
           
 boolean BreakStatementVisitor.isBreakStatement(INode node)
           
protected  void BreakStatementVisitor.visitNode(INode iVisited)
           
 boolean ExpressionVisitor.isExpression(INode node)
           
protected  void ExpressionVisitor.visitNode(INode iVisited)
           
protected  void UselessStatementVisitor.visitNode(INode iVisited)
           
 

Uses of INode in org.jruby.evaluator
 

Methods in org.jruby.evaluator with parameters of type INode
 IRubyObject AssignmentVisitor.assign(INode node, IRubyObject value, boolean check)
           
protected  void AssignmentVisitor.visitNode(INode iVisited)
           
 java.lang.String DefinedVisitor.getDefinition(INode expression)
           
 java.lang.String DefinedVisitor.getArgumentDefinition(INode node, java.lang.String type)
           
protected  void DefinedVisitor.visitNode(INode iVisited)
           
 IRubyObject EvaluateVisitor.eval(INode node)
           
 

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

Methods in org.jruby.internal.runtime.methods that return INode
 INode EvaluateMethod.getNode()
           
 

Constructors in org.jruby.internal.runtime.methods with parameters of type INode
EvaluateMethod(INode node, Visibility visibility)
           
EvaluateMethod(INode node)
           
 

Uses of INode in org.jruby.parser
 

Methods in org.jruby.parser that return INode
 INode IRubyParserResult.getBeginNodes()
          Returns a Node which contains all BEGIN blocks.
 INode Parser.parse(java.lang.String file, java.lang.String content)
           
 INode Parser.parse(java.lang.String file, java.io.Reader content)
           
 INode Parser.parse(java.lang.String file, java.lang.String content, java.util.List blockVariableNames)
           
 INode ParserSupport.arg_blk_pass(IListNode firstNode, BlockPassNode secondNode)
           
 INode ParserSupport.appendPrintToBlock(INode block)
           
 INode ParserSupport.appendWhileLoopToBlock(INode block, boolean chop, boolean split)
           
 INode ParserSupport.getAccessNode(java.lang.String id, ISourcePosition iPosition)
          Returns a Node representing the access of the variable or constant named id.
 INode ParserSupport.getAssignmentNode(java.lang.String name, INode valueNode, ISourcePosition position)
          Returns a Node representing the assignment of value to the variable or constant named id.
 INode ParserSupport.newline_node(INode node, ISourcePosition iPosition)
          Wraps node with NEWLINE node.
 INode ParserSupport.appendToBlock(INode head, INode tail)
           
 INode ParserSupport.getOperatorCallNode(INode firstNode, java.lang.String operator)
           
 INode ParserSupport.getOperatorCallNode(INode firstNode, java.lang.String operator, INode secondNode)
           
 INode ParserSupport.getMatchNode(INode firstNode, INode secondNode)
           
 INode ParserSupport.getElementAssignmentNode(INode recv, IListNode idx)
           
 INode ParserSupport.getAttributeAssignmentNode(INode recv, java.lang.String name)
           
 INode ParserSupport.node_assign(INode lhs, INode rhs)
           
 INode ParserSupport.getConditionNode(INode node)
           
 INode ParserSupport.getReturnArgsNode(INode node)
           
 INode ParserSupport.new_call(INode receiverNode, java.lang.String name, INode args)
           
 INode ParserSupport.new_fcall(java.lang.String name, INode args, ISourcePosition iPosition)
           
 INode ParserSupport.new_super(INode args, ISourcePosition iPosition)
           
 INode RubyParserResult.getBeginNodes()
          Gets the beginNodes.
 INode RubyParserResult.getAST()
           
 

Methods in org.jruby.parser with parameters of type INode
 INode ParserSupport.appendPrintToBlock(INode block)
           
 INode ParserSupport.appendWhileLoopToBlock(INode block, boolean chop, boolean split)
           
 INode ParserSupport.getAssignmentNode(java.lang.String name, INode valueNode, ISourcePosition position)
          Returns a Node representing the assignment of value to the variable or constant named id.
 INode ParserSupport.newline_node(INode node, ISourcePosition iPosition)
          Wraps node with NEWLINE node.
 INode ParserSupport.appendToBlock(INode head, INode tail)
           
 INode ParserSupport.getOperatorCallNode(INode firstNode, java.lang.String operator)
           
 INode ParserSupport.getOperatorCallNode(INode firstNode, java.lang.String operator, INode secondNode)
           
 INode ParserSupport.getMatchNode(INode firstNode, INode secondNode)
           
 INode ParserSupport.getElementAssignmentNode(INode recv, IListNode idx)
           
 INode ParserSupport.getAttributeAssignmentNode(INode recv, java.lang.String name)
           
 void ParserSupport.backrefAssignError(INode node)
           
 INode ParserSupport.node_assign(INode lhs, INode rhs)
           
 void ParserSupport.checkExpression(INode node)
           
 void ParserSupport.checkUselessStatement(INode node)
           
 INode ParserSupport.getConditionNode(INode node)
           
 AndNode ParserSupport.newAndNode(INode left, INode right)
           
 OrNode ParserSupport.newOrNode(INode left, INode right)
           
 INode ParserSupport.getReturnArgsNode(INode node)
           
 INode ParserSupport.new_call(INode receiverNode, java.lang.String name, INode args)
           
 INode ParserSupport.new_fcall(java.lang.String name, INode args, ISourcePosition iPosition)
           
 INode ParserSupport.new_super(INode args, ISourcePosition iPosition)
           
 void RubyParserResult.setAST(INode ast)
          Sets the ast.
 void RubyParserResult.setBeginNodes(INode beginNodes)
          Sets the beginNodes.
 

Uses of INode in org.jruby.runtime
 

Methods in org.jruby.runtime that return INode
 INode Block.getVar()
          Gets the var.
 

Methods in org.jruby.runtime with parameters of type INode
static Block Block.createBlock(INode var, ICallable method, IRubyObject self)
           
 void BlockStack.push(INode varNode, ICallable method, IRubyObject self)
           
 IRubyObject ThreadContext.eval(INode node)
           
 

Uses of INode in org.jruby.runtime.builtin
 

Methods in org.jruby.runtime.builtin with parameters of type INode
 IRubyObject IRubyObject.eval(INode iNode)
          Method eval.
 



Copyright © 2002 Jan Arne Petersen. All Rights Reserved.