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.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.parser The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree)  
 

Uses of ASTNode in groovy.lang
 

Fields in groovy.lang declared as ASTNode
private  ASTNode GroovyRuntimeException.node
           
 

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

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

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 declaration
 class ConstructorNode
          Represents a constructor declaration
 class FieldNode
          Represents a field (member variable)
 class ImportNode
          Represents an import statement of a single class
 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)
 

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 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 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 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
 

Fields in org.codehaus.groovy.classgen declared as ASTNode
private  ASTNode AsmClassGenerator.currentASTNode
           
 

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

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

Uses of ASTNode in org.codehaus.groovy.syntax.parser
 

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



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