Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.codehaus.groovy.ast.expr

AST nodes for Groovy expressions

See:
Description

Interface Summary
Interface | Description
--- | ---
ExpressionTransformer | Provides a way to transform expressions

Class Summary
Class | Description
--- | ---
AnnotationConstantExpression | Represents an annotation "constant" that may appear in annotation attributes (mainly used as a marker).
ArgumentListExpression | Represents one or more arguments being passed into a method
ArrayExpression | Represents an array object construction either using a fixed size or an initializer expression
AttributeExpression | Represents an attribute access (accessing the field of a class) such as the expression "foo.
BinaryExpression | Represents two expressions and an operation
BitwiseNegationExpression |
BooleanExpression | Represents a boolean expression
CastExpression | Represents a type cast expression
ClassExpression | Represents access to a Java/Groovy class in an expression, such as when invoking a static method or accessing a static type
ClosureExpression | Represents a closure creation expression such as { statement; } or { i : statement; } or { i, x, String y: statement }
ClosureListExpression | This class rerpresents a list of expressions used to create closures.
ConstantExpression | Represents a constant expression such as null, true, false
ConstructorCallExpression | A constructor call
DeclarationExpression | Represents a local variable name declaration, an expression like "def foo" or with type "String foo".
ElvisOperatorExpression | Represents a short ternary expression x ?
EmptyExpression | This class is a place holder for an empty expression.
Expression | Represents a base class for expressions which evaluate as an object
FieldExpression | Represents a field access such as the expression "this.foo".
GStringExpression | Represents a String expression which contains embedded values inside it such as "hello there ${user} how are you" which is expanded lazily
ListExpression | Represents a list expression [1, 2, 3] which creates a mutable List
MapEntryExpression | Represents an entry inside a map expression such as 1 : 2.
MapExpression | Represents a map expression [1 : 2, "a" : "b", x : y] which creates a mutable Map
MethodCallExpression | A method call on an object or class
MethodPointerExpression | Represents a method pointer on an object such as foo.
NamedArgumentListExpression | Represents one or more arguments being passed into a method by name
NotExpression |
PostfixExpression | Represents a postfix expression like foo++ or bar++
PrefixExpression | Represents a prefix expression like ++foo or --bar
PropertyExpression | Represents a property access such as the expression "foo.bar".
RangeExpression | Represents a range expression such as for iterating.
RegexExpression | Deprecated.
SpreadExpression | Represents a spread expression *x in the list expression [1, *x, 2].
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).
StaticMethodCallExpression | A static method call on a class
TernaryExpression | Represents a ternary expression (booleanExpression) ?
TupleExpression | Represents a tuple expression {1, 2, 3} which creates an immutable List
UnaryMinusExpression |
UnaryPlusExpression |
VariableExpression | Represents a local variable name, the simplest form of expression. e.g.

## Package org.codehaus.groovy.ast.expr Description

AST nodes for Groovy expressions

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2003-2010 The Codehaus. All rights reserved.
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES