org.codehaus.groovy.syntax.parser
Class CSTNode

java.lang.Object
  |
  +--org.codehaus.groovy.syntax.parser.CSTNode

public class CSTNode
extends Object

Node in the concrete syntax tree.

Version:
$Id: CSTNode.java,v 1.6 2003/10/07 00:00:05 bob Exp $
Author:
bob mcwhirter
See Also:
Parser, Token

Field Summary
static org.codehaus.groovy.syntax.parser.CSTNode[] EMPTY_ARRAY
           
 
Constructor Summary
CSTNode()
           
CSTNode(org.codehaus.groovy.syntax.Token token)
           
 
Method Summary
 void addChild(org.codehaus.groovy.syntax.parser.CSTNode node)
           
 String dump()
           
protected  String dump(String indent)
           
 org.codehaus.groovy.syntax.parser.CSTNode getChild(int index)
           
 org.codehaus.groovy.syntax.parser.CSTNode[] getChildren()
           
 org.codehaus.groovy.syntax.Token getToken()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final org.codehaus.groovy.syntax.parser.CSTNode[] EMPTY_ARRAY
Constructor Detail

CSTNode

public CSTNode()

CSTNode

public CSTNode(org.codehaus.groovy.syntax.Token token)
Method Detail

getToken

public org.codehaus.groovy.syntax.Token getToken()

addChild

public void addChild(org.codehaus.groovy.syntax.parser.CSTNode node)

getChild

public org.codehaus.groovy.syntax.parser.CSTNode getChild(int index)

getChildren

public org.codehaus.groovy.syntax.parser.CSTNode[] getChildren()

toString

public String toString()
Overrides:
toString in class Object

dump

public String dump()

dump

protected String dump(String indent)


Copyright © 2003 The Codehaus. All Rights Reserved.