org.jruby.ast
Class AbstractNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
All Implemented Interfaces:
INode, java.io.Serializable
Direct Known Subclasses:
AliasNode, AndNode, ArgsNode, ArrayNode, AttrSetNode, BackRefNode, BeginNode, BignumNode, BlockArgNode, BlockNode, BlockPassNode, BreakNode, CallNode, CaseNode, ClassNode, ClassVarAsgnNode, ClassVarDeclNode, ClassVarNode, Colon2Node, Colon3Node, ConstDeclNode, ConstNode, DAsgnNode, DefinedNode, DefnNode, DefsNode, DotNode, DRegexpNode, DStrNode, DVarNode, DXStrNode, EnsureNode, EvStrNode, ExpandArrayNode, FalseNode, FCallNode, FixnumNode, FlipNode, FloatNode, ForNode, GlobalAsgnNode, GlobalVarNode, HashNode, IfNode, InstAsgnNode, InstVarNode, IterNode, LocalAsgnNode, LocalVarNode, Match2Node, Match3Node, MatchNode, ModuleNode, MultipleAsgnNode, NewlineNode, NextNode, NilNode, NotNode, NthRefNode, OpAsgnAndNode, OpAsgnNode, OpAsgnOrNode, OpElementAsgnNode, OptNNode, OrNode, PostExeNode, RedoNode, RegexpNode, RescueBodyNode, RescueNode, RestArgsNode, RetryNode, ReturnNode, SClassNode, ScopeNode, SelfNode, StarNode, StrNode, SuperNode, SymbolNode, TrueNode, UndefNode, UntilNode, VAliasNode, VCallNode, WhenNode, WhileNode, XStrNode, YieldNode, ZArrayNode, ZeroArgNode, ZSuperNode

public abstract class AbstractNode
extends java.lang.Object
implements INode, java.io.Serializable

Version:
$Revision: 1.5 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
AbstractNode()
          constructor without a position.
AbstractNode(ISourcePosition position)
           
 
Method Summary
 ISourcePosition getPosition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ablaf.ast.INode
accept
 

Constructor Detail

AbstractNode

public AbstractNode()
constructor without a position. This should only be used in node constructor where no good position can be computed


AbstractNode

public AbstractNode(ISourcePosition position)
Method Detail

getPosition

public ISourcePosition getPosition()
Specified by:
getPosition in interface INode
See Also:
INode.getPosition()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.