|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
org.codehaus.groovy.ast | |
org.codehaus.groovy.ast.expr | |
org.codehaus.groovy.ast.stmt | |
org.codehaus.groovy.classgen | |
org.codehaus.groovy.syntax.parser |
Uses of Expression in org.codehaus.groovy.ast |
Methods in org.codehaus.groovy.ast that return Expression | |
Expression |
Parameter.getDefaultValue()
|
Expression |
PropertyNode.getInitialValueExpression()
|
Expression |
FieldNode.getInitialValueExpression()
|
Methods in org.codehaus.groovy.ast with parameters of type Expression | |
PropertyNode |
ClassNode.addProperty(String name,
int modifiers,
String type,
Expression initialValueExpression,
Statement getterBlock,
Statement setterBlock)
|
FieldNode |
ClassNode.addField(String name,
int modifiers,
String type,
Expression initialValue)
|
Constructors in org.codehaus.groovy.ast with parameters of type Expression | |
Parameter(String type,
String name,
Expression defaultValue)
|
|
PropertyNode(String name,
int modifiers,
String type,
String owner,
Expression initialValueExpression,
Statement getterBlock,
Statement setterBlock)
|
|
FieldNode(String name,
int modifiers,
String type,
String owner,
Expression initialValueExpression)
|
Uses of Expression in org.codehaus.groovy.ast.expr |
Subclasses of Expression 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 |
BinaryExpression
Represents two expressions and an operation |
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 |
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 ~ |
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. |
Methods in org.codehaus.groovy.ast.expr with parameters of type Expression | |
void |
ArrayExpression.addExpression(Expression expression)
|
void |
GStringExpression.addValue(Expression value)
|
void |
ListExpression.addExpression(Expression expression)
|
void |
MapExpression.addMapEntryExpression(Expression keyExpression,
Expression valueExpression)
|
void |
TupleExpression.addExpression(Expression expression)
|
void |
PostfixExpression.setExpression(Expression expression)
|
void |
PrefixExpression.setExpression(Expression expression)
|
void |
BinaryExpression.setLeftExpression(Expression leftExpression)
|
void |
BinaryExpression.setRightExpression(Expression rightExpression)
|
static BinaryExpression |
BinaryExpression.newAssignmentExpression(String variable,
Expression rhs)
Creates an assignment expression in which the specified expression is written into the specified variable name. |
static BinaryExpression |
BinaryExpression.newInitializationExpression(String variable,
Type type,
Expression rhs)
Creates variable initialization expression in which the specified expression is written into the specified variable name. |
Expression |
ExpressionTransformer.transform(Expression expression)
Transforms the given expression into another expression |
Uses of Expression in org.codehaus.groovy.ast.stmt |
Methods in org.codehaus.groovy.ast.stmt that return Expression | |
Expression |
SynchronizedStatement.getExpression()
|
Expression |
ThrowStatement.getExpression()
|
Expression |
CaseStatement.getExpression()
|
Expression |
SwitchStatement.getExpression()
|
Expression |
AssertStatement.getMessageExpression()
|
Expression |
ReturnStatement.getExpression()
|
Expression |
ExpressionStatement.getExpression()
|
Expression |
ForStatement.getCollectionExpression()
|
Methods in org.codehaus.groovy.ast.stmt with parameters of type Expression | |
void |
ExpressionStatement.setExpression(Expression expression)
|
Constructors in org.codehaus.groovy.ast.stmt with parameters of type Expression | |
SynchronizedStatement(Expression expression,
Statement code)
|
|
ThrowStatement(Expression expression)
|
|
CaseStatement(Expression expression,
Statement code)
|
|
SwitchStatement(Expression expression)
|
|
SwitchStatement(Expression expression,
Statement defaultStatement)
|
|
AssertStatement(BooleanExpression booleanExpression,
Expression messageExpression)
|
|
ReturnStatement(Expression expression)
|
|
ExpressionStatement(Expression expression)
|
|
ForStatement(String variable,
Type variableType,
Expression collectionExpression,
Statement loopBlock)
|
Uses of Expression in org.codehaus.groovy.classgen |
Subclasses of Expression in org.codehaus.groovy.classgen | |
class |
BytecodeExpression
Represents some custom bytecode generation by the compiler |
Methods in org.codehaus.groovy.classgen that return Expression | |
Expression |
BytecodeExpression.transformExpression(ExpressionTransformer transformer)
|
protected Expression |
AsmClassGenerator.createReturnLHSExpression(Expression expression)
Deprecated. For assignment expressions, return a safe expression for the LHS we can use to return the value |
protected Expression |
AsmClassGenerator.createReusableExpression(Expression expression)
Deprecated. |
protected Expression |
AsmClassGenerator2.createReturnLHSExpression(Expression expression)
For assignment expressions, return a safe expression for the LHS we can use to return the value |
protected Expression |
AsmClassGenerator2.createReusableExpression(Expression expression)
|
Methods in org.codehaus.groovy.classgen with parameters of type Expression | |
protected void |
AsmClassGenerator.doConvertAndCast(String type,
Expression expression)
Deprecated. Casts to the given type unless it can be determined that the cast is unnecessary |
protected void |
AsmClassGenerator.evaluateExpression(Expression expression)
Deprecated. |
protected void |
AsmClassGenerator.loadArguments(Parameter[] parameters,
Expression expression)
Deprecated. Loads and coerces the argument values for the given method call |
protected boolean |
AsmClassGenerator.emptyArguments(Expression arguments)
Deprecated. |
protected boolean |
AsmClassGenerator.isGroovyObject(Expression objectExpression)
Deprecated. |
protected boolean |
AsmClassGenerator.isPopRequired(Expression expression)
Deprecated. |
protected String |
AsmClassGenerator.getLHSType(Expression leftExpression)
Deprecated. Deduces the type name required for some casting |
protected void |
AsmClassGenerator.visitAndAutobox(Expression expression)
Deprecated. |
protected void |
AsmClassGenerator.evaluatePrefixMethod(String method,
Expression expression)
Deprecated. |
protected void |
AsmClassGenerator.evaluatePostfixMethod(String method,
Expression expression)
Deprecated. |
protected boolean |
AsmClassGenerator.isHolderVariable(Expression expression)
Deprecated. |
protected boolean |
AsmClassGenerator.argumentsUseStack(Expression arguments)
Deprecated. |
protected boolean |
AsmClassGenerator.isNonStaticField(Expression expression)
Deprecated. |
protected boolean |
AsmClassGenerator.isThisExpression(Expression expression)
Deprecated. |
protected Expression |
AsmClassGenerator.createReturnLHSExpression(Expression expression)
Deprecated. For assignment expressions, return a safe expression for the LHS we can use to return the value |
protected Expression |
AsmClassGenerator.createReusableExpression(Expression expression)
Deprecated. |
protected boolean |
AsmClassGenerator.comparisonExpression(Expression expression)
Deprecated. |
protected String |
AsmClassGenerator.getExpressionType(Expression expression)
Deprecated. |
protected void |
AsmClassGenerator2.doConvertAndCast(String type,
Expression expression)
Casts to the given type unless it can be determined that the cast is unnecessary |
protected void |
AsmClassGenerator2.evaluateExpression(Expression expression)
|
protected void |
AsmClassGenerator2.loadArguments(Parameter[] parameters,
Expression expression)
Loads and coerces the argument values for the given method call |
protected boolean |
AsmClassGenerator2.emptyArguments(Expression arguments)
|
protected boolean |
AsmClassGenerator2.isGroovyObject(Expression objectExpression)
|
protected boolean |
AsmClassGenerator2.isPopRequired(Expression expression)
|
protected String |
AsmClassGenerator2.getLHSType(Expression leftExpression)
Deduces the type name required for some casting |
protected void |
AsmClassGenerator2.visitAndAutoboxBoolean(Expression expression)
|
protected void |
AsmClassGenerator2.evaluatePrefixMethod(String method,
Expression expression)
|
protected void |
AsmClassGenerator2.evaluatePostfixMethod(String method,
Expression expression)
|
protected boolean |
AsmClassGenerator2.isHolderVariable(Expression expression)
|
protected boolean |
AsmClassGenerator2.argumentsUseStack(Expression arguments)
|
protected boolean |
AsmClassGenerator2.isNonStaticField(Expression expression)
|
protected boolean |
AsmClassGenerator2.isThisExpression(Expression expression)
|
protected Expression |
AsmClassGenerator2.createReturnLHSExpression(Expression expression)
For assignment expressions, return a safe expression for the LHS we can use to return the value |
protected Expression |
AsmClassGenerator2.createReusableExpression(Expression expression)
|
protected boolean |
AsmClassGenerator2.isComparisonExpression(Expression expression)
|
protected String |
AsmClassGenerator2.getExpressionType(Expression expression)
|
Uses of Expression in org.codehaus.groovy.syntax.parser |
Methods in org.codehaus.groovy.syntax.parser that return Expression | |
protected Expression[] |
ASTBuilder.expressions(CSTNode reduction)
Processes a series of expression to an Expression[]. |
protected Expression |
ASTBuilder.expression(CSTNode reduction)
Processes the CSTNode produced by Parser.expression(). |
Expression |
ASTBuilder.infixExpression(CSTNode reduction)
Processes most infix operators. |
Expression |
ASTBuilder.prefixExpression(CSTNode reduction)
Processes most prefix operators. |
Expression |
ASTBuilder.simpleExpression(CSTNode reduction)
Processes most simple expressions. |
Expression |
ASTBuilder.numericExpression(CSTNode reduction,
boolean negate)
Processes numeric literals. |
Expression |
ASTBuilder.syntheticExpression(CSTNode reduction)
Processes most synthetic expressions. |
protected Expression |
ASTBuilder.variableOrClassExpression(CSTNode reduction)
Converts a (typically IDENTIFIER) CSTNode to a ClassExpression, if valid, or a VariableExpression otherwise. |
protected Expression |
ASTBuilder.variableDeclarationExpression(CSTNode reduction)
Processes the Reduction produced by parsing a typed variable declaration. |
protected Expression |
ASTBuilder.parameterList(CSTNode reduction)
Processes the Reduction produced by Parser.parameterList(). |
protected Expression |
ASTBuilder.newExpression(CSTNode reduction)
Processes the Reduction produced by Parser.newExpression(). |
protected Expression |
ASTBuilder.gstringExpression(CSTNode reduction)
Processes the Reduction produced by Parser.gstring(). |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |