Uses of Class
org.codehaus.groovy.syntax.CSTNode

Packages that use CSTNode
org.codehaus.groovy.control   
org.codehaus.groovy.control.messages   
org.codehaus.groovy.syntax Lexer, parser and trees. 
 

Uses of CSTNode in org.codehaus.groovy.control
 

Methods in org.codehaus.groovy.control with parameters of type CSTNode
 void ErrorCollector.addError(String text, CSTNode context, SourceUnit source)
          Convenience wrapper for addError().
 void ErrorCollector.addWarning(int importance, String text, CSTNode context, SourceUnit source)
          Convenience wrapper for addWarning() that won't create an object unless it is relevant.
 void ErrorCollector.addWarning(int importance, String text, Object data, CSTNode context, SourceUnit source)
          Convenience wrapper for addWarning() that won't create an object unless it is relevant.
 

Uses of CSTNode in org.codehaus.groovy.control.messages
 

Fields in org.codehaus.groovy.control.messages declared as CSTNode
protected  CSTNode LocatedMessage.context
           
 

Constructors in org.codehaus.groovy.control.messages with parameters of type CSTNode
LocatedMessage(String message, CSTNode context, SourceUnit source)
           
LocatedMessage(String message, Object data, CSTNode context, SourceUnit source)
           
WarningMessage(int importance, String message, CSTNode context, SourceUnit owner)
          Creates a new warning message.
WarningMessage(int importance, String message, Object data, CSTNode context, SourceUnit owner)
          Creates a new warning message.
 

Uses of CSTNode in org.codehaus.groovy.syntax
 

Subclasses of CSTNode in org.codehaus.groovy.syntax
 class Reduction
          A syntax reduction, produced by the Parser.
 class Token
          A CSTNode produced by the Lexer.
 

Methods in org.codehaus.groovy.syntax that return CSTNode
 CSTNode CSTNode.add(CSTNode element)
          Adds an element to the node.
 CSTNode Reduction.add(CSTNode element)
          Adds an element to the node.
abstract  CSTNode CSTNode.get(int index)
          Returns the specified element, or null.
 CSTNode Token.get(int index)
          Returns the specified element, or null.
 CSTNode Reduction.get(int index)
          Returns the specified element, or null.
 CSTNode CSTNode.get(int index, boolean safe)
          Returns the specified element, or Token.NULL if safe is set and the specified element is null (or doesn't exist).
 CSTNode Reduction.remove(int index)
          Removes a node from the Reduction.
 CSTNode CSTNode.set(int index, CSTNode element)
          Sets an element node in at the specified index.
 CSTNode Reduction.set(int index, CSTNode element)
          Sets an element in at the specified index.
 CSTNode CSTNode.setMeaning(int meaning)
          Sets the meaning for this node (and it's root Token).
 CSTNode Token.setMeaning(int meaning)
          Sets the meaning for this node (and it's root Token).
 

Methods in org.codehaus.groovy.syntax with parameters of type CSTNode
 CSTNode CSTNode.add(CSTNode element)
          Adds an element to the node.
 CSTNode Reduction.add(CSTNode element)
          Adds an element to the node.
 void CSTNode.addChildrenOf(CSTNode of)
          Adds all children of the specified node to this one.
 Reduction Token.asReduction(CSTNode second)
          Creates a Reduction from this token, adding the supplied node as the second element.
 Reduction Token.asReduction(CSTNode second, CSTNode third)
          Creates a Reduction from this token, adding the supplied nodes as the second and third element, respectively.
 Reduction Token.asReduction(CSTNode second, CSTNode third, CSTNode fourth)
          Creates a Reduction from this token, adding the supplied nodes as the second, third, and fourth element, respectively.
static void Types.makePostfix(CSTNode node, boolean throwIfInvalid)
          Converts a node from a generic type to a specific postfix type.
static void Types.makePrefix(CSTNode node, boolean throwIfInvalid)
          Converts a node from a generic type to a specific prefix type.
 CSTNode CSTNode.set(int index, CSTNode element)
          Sets an element node in at the specified index.
 CSTNode Reduction.set(int index, CSTNode element)
          Sets an element in at the specified index.
 



Copyright © 2003-2010 The Codehaus. All Rights Reserved.