|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CSTNode | |
org.codehaus.groovy.ast | |
org.codehaus.groovy.control | |
org.codehaus.groovy.control.messages | |
org.codehaus.groovy.syntax |
Uses of CSTNode in org.codehaus.groovy.ast |
Methods in org.codehaus.groovy.ast with parameters of type CSTNode | |
void |
ASTNode.setCSTNode(CSTNode node)
|
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 | |
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. |
|
LocatedMessage(String message,
CSTNode context,
SourceUnit source)
|
|
LocatedMessage(String message,
Object data,
CSTNode context,
SourceUnit source)
|
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 |
Reduction.get(int index)
Returns the specified element, or null. |
CSTNode |
Reduction.add(CSTNode element)
Adds an element to the node. |
CSTNode |
Reduction.set(int index,
CSTNode element)
Sets an element in at the specified index. |
CSTNode |
Reduction.remove(int index)
Removes a node from the Reduction . |
CSTNode |
Token.setMeaning(int meaning)
Sets the meaning for this node (and it's root Token). |
CSTNode |
Token.get(int index)
Returns the specified element, or null. |
CSTNode |
CSTNode.setMeaning(int meaning)
Sets the meaning for this node (and it's root Token). |
abstract CSTNode |
CSTNode.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 |
CSTNode.add(CSTNode element)
Adds an element to the node. |
CSTNode |
CSTNode.set(int index,
CSTNode element)
Sets an element node in at the specified index. |
Methods in org.codehaus.groovy.syntax with parameters of type CSTNode | |
CSTNode |
Reduction.add(CSTNode element)
Adds an element to the node. |
CSTNode |
Reduction.set(int index,
CSTNode element)
Sets an element in at the specified index. |
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.makePrefix(CSTNode node,
boolean throwIfInvalid)
Converts a node from a generic type to a specific prefix type. |
static void |
Types.makePostfix(CSTNode node,
boolean throwIfInvalid)
Converts a node from a generic type to a specific postfix type. |
CSTNode |
CSTNode.add(CSTNode element)
Adds an element to the node. |
void |
CSTNode.addChildrenOf(CSTNode of)
Adds all children of the specified node to this one. |
CSTNode |
CSTNode.set(int index,
CSTNode element)
Sets an element node in at the specified index. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |