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

Packages that use ASTNode
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.runtime Runtime classes for Groovy - whether the dynamic interpreter is being used, the compiler or the bytecode generator. 
 

Uses of ASTNode in org.codehaus.groovy.ast
 

Subclasses of ASTNode in org.codehaus.groovy.ast
 class ClassNode
          Represents a class declaration
 class ConstructorNode
          Represents a constructor declaration
 class FieldNode
          Represents a field (member variable)
 class InnerClassNode
          Represents an inner class declaration
 class MetadataNode
          Base class for any AST node which is capable of storing metadata
 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
 class BinaryExpression
          Represents two expressions and an operation
 class BooleanExpression
          Represents a boolean 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 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 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
 

Methods in org.codehaus.groovy.classgen with parameters of type ASTNode
protected  void ClassGenerator.onLineNumber(org.codehaus.groovy.ast.ASTNode statement)
           
protected  String ClassGenerator.checkValidType(String type, org.codehaus.groovy.ast.ASTNode node, String message)
           
 

Uses of ASTNode in org.codehaus.groovy.runtime
 

Methods in org.codehaus.groovy.runtime that return ASTNode
 org.codehaus.groovy.ast.ASTNode InvokerException.getNode()
           
 

Constructors in org.codehaus.groovy.runtime with parameters of type ASTNode
InvokerException(String message, org.codehaus.groovy.ast.ASTNode node)
           
NoSuchClassException(String type, org.codehaus.groovy.ast.ASTNode node, String message)
           
 



Copyright © 2003 The Codehaus. All Rights Reserved.