org.jruby.ast
Class SymbolNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.SymbolNode
All Implemented Interfaces:
ILiteralNode, INode, java.io.Serializable

public class SymbolNode
extends AbstractNode
implements ILiteralNode

Represents a symbol (:symbol_name).

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

Constructor Summary
SymbolNode(ISourcePosition position, java.lang.String name)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
           
 java.lang.String getName()
          Gets the name.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolNode

public SymbolNode(ISourcePosition position,
                  java.lang.String name)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Specified by:
accept in interface INode

getName

public java.lang.String getName()
Gets the name.

Returns:
Returns a String


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.