Uses of Class
org.codehaus.groovy.ast.ASTNode

Packages that use ASTNode
groovy.lang Core Groovy language classes for implementing data structures, closures, metadata and so forth. 
org.codehaus.groovy.antlr   
org.codehaus.groovy.ast Groovy AST nodes for the syntax of the language 
org.codehaus.groovy.ast.expr AST nodes for Groovy expressions 
org.codehaus.groovy.ast.stmt AST nodes for Groovy statements 
org.codehaus.groovy.classgen Generates Java classes for Groovy classes using ASM. 
org.codehaus.groovy.syntax Lexer, parser and trees. 
 

Uses of ASTNode in groovy.lang
 

Methods in groovy.lang that return ASTNode
 ASTNode GroovyRuntimeException.getNode()
           
 

Constructors in groovy.lang with parameters of type ASTNode
GroovyRuntimeException(String message, ASTNode node)
           
MissingClassException(String type, ASTNode node, String message)
           
 

Uses of ASTNode in org.codehaus.groovy.antlr
 

Methods in org.codehaus.groovy.antlr with parameters of type ASTNode
protected  void AntlrParserPlugin.configureAST(ASTNode node, antlr.collections.AST ast)
           
 

Uses of ASTNode in org.codehaus.groovy.ast
 

Subclasses of ASTNode in org.codehaus.groovy.ast
 class AnnotatedNode
          Base class for any AST node which is capable of being annotationed
 class AnnotationNode
          Represents an annotation which can be attached to interfaces, classes, methods and fields.
 class ClassNode
          Represents a class in the AST.
A ClassNode should be created using the methods in ClassHelper.
 class ConstructorNode
          Represents a constructor declaration
 class FieldNode
          Represents a field (member variable)
 class ImportNode
          Represents an import statement of a single class author Jochen Theodorou
 class InnerClassNode
          Represents an inner class declaration
 class MethodNode
          Represents a method declaration
 class MixinNode
          Represents a mixin which can be applied to any ClassNode to implement mixins
 class ModuleNode
          Represents a module, which consists typically of a class declaration but could include some imports, some statements and multiple classes intermixed with statements like scripts in Python or Ruby
 class PropertyNode
          Represents a property (member variable, a getter and setter)
 

Methods in org.codehaus.groovy.ast with parameters of type ASTNode
protected  void ClassCodeVisitorSupport.addError(String msg, ASTNode expr)
           
 void ASTNode.setSourcePosition(ASTNode node)
          Sets the source position using another ASTNode.
 

Uses of ASTNode in org.codehaus.groovy.ast.expr
 

Subclasses of ASTNode in org.codehaus.groovy.ast.expr
 class ArgumentListExpression
          Represents one or more arguments being passed into a method
 class ArrayExpression
          Represents an array object construction either using a fixed size or an initializer expression
 class AttributeExpression
          Represents an attribute access (accessing the field of a class) such as the expression "foo.@bar".
 class BinaryExpression
          Represents two expressions and an operation
 class BitwiseNegExpression
           
 class BooleanExpression
          Represents a boolean expression
 class CastExpression
          Represents a type cast expression
 class ClassExpression
          Represents access to a Java/Groovy class in an expression, such as when invoking a static method or accessing a static type
 class ClosureExpression
          Represents a closure creation expression such as { statement; } or { i : statement; } or { i, x, String y: statement }
 class ConstantExpression
          Represents a constant expression such as null, true, false
 class ConstructorCallExpression
          A constructor call
 class DeclarationExpression
          Represents a local variable name declaration, an expression like "def foo" or with type "String foo".
 class Expression
          Represents a base class for expressions which evaluate as an object
 class FieldExpression
          Represents a field access such as the expression "this.foo".
 class GStringExpression
          Represents a String expression which contains embedded values inside it such as "hello there ${user} how are you" which is expanded lazily
 class ListExpression
          Represents a list expression [1, 2, 3] which creates a mutable List
 class MapEntryExpression
          Represents an entry inside a map expression such as 1 : 2.
 class MapExpression
          Represents a map expression [1 : 2, "a" : "b", x : y] which creates a mutable Map
 class MethodCallExpression
          A method call on an object or class
 class MethodPointerExpression
          Represents a method pointer on an object such as foo.&bar which means find the method pointer on foo for the method called "bar" which is equivalent to foo.metaClass.getMethodPointer(foo, "bar")
 class NamedArgumentListExpression
          Represents one or more arguments being passed into a method by name
 class NegationExpression
           
 class NotExpression
           
 class PostfixExpression
          Represents a postfix expression like foo++ or bar++
 class PrefixExpression
          Represents a prefix expression like ++foo or --bar
 class PropertyExpression
          Represents a property access such as the expression "foo.bar".
 class RangeExpression
          Represents a range expression such as for iterating
 class RegexExpression
          Represents a regular expression of the form ~ which creates a regular expression.
 class SpreadExpression
          Represents a spread expression *x in the list expression [1, *x, 2].
 class SpreadMapExpression
          Represents a spread map expression *:m in the map expression [1, *:m, 2, "c":100] or in the method invoke expression func(1, *:m, 2, "c":100).
 class StaticMethodCallExpression
          A static method call on a class
 class TernaryExpression
          Represents a ternary expression (booleanExpression) ? expression : expression
 class TupleExpression
          Represents a tuple expression {1, 2, 3} which creates an immutable List
 class VariableExpression
          Represents a local variable name, the simplest form of expression.
 

Uses of ASTNode in org.codehaus.groovy.ast.stmt
 

Subclasses of ASTNode in org.codehaus.groovy.ast.stmt
 class AssertStatement
          Represents an assert statement such as assert i != 0 : "should never be zero";
 class BlockStatement
          A list of statements
 class BreakStatement
          Represents a break statement in a switch or loop statement
 class CaseStatement
          Represents a case statement in a switch statement
 class CatchStatement
          Represents a catch (Exception var) { } statement
 class ContinueStatement
          Represents a continue statement in a loop statement
 class DoWhileStatement
          Represents a do { ...
 class EmptyStatement
          Represents an empty statement
 class ExpressionStatement
          A simple statement such as a method call where the return value is ignored
 class ForStatement
          Represents a standard for loop in Groovy
 class IfStatement
          Represents a do { ...
 class ReturnStatement
          A return statement
 class Statement
          Base class for any statement
 class SwitchStatement
          Represents a switch (object) { case value: ...
 class SynchronizedStatement
          Represents a synchronized statement
 class ThrowStatement
          Represents a throw statement
 class TryCatchStatement
          Represents a try { ...
 class WhileStatement
          Represents a while (condition) { ...
 

Uses of ASTNode in org.codehaus.groovy.classgen
 

Subclasses of ASTNode in org.codehaus.groovy.classgen
 class BytecodeExpression
          Represents some custom bytecode generation by the compiler
 

Methods in org.codehaus.groovy.classgen with parameters of type ASTNode
static void VerifierCodeVisitor.assertValidIdentifier(String name, String message, ASTNode node)
           
protected  void AsmClassGenerator.onLineNumber(ASTNode statement, String message)
           
protected  void DummyClassGenerator.visitParameter(ASTNode node, Parameter parameter)
           
protected  void DummyClassGenerator.visitParameters(ASTNode node, Parameter[] parameters)
           
 

Constructors in org.codehaus.groovy.classgen with parameters of type ASTNode
RuntimeIncompleteClassException(List a_classnames, ASTNode a_node)
           
 

Uses of ASTNode in org.codehaus.groovy.syntax
 

Constructors in org.codehaus.groovy.syntax with parameters of type ASTNode
RuntimeParserException(String message, ASTNode node)
           
 



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