|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Variable | |
|---|---|
| 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.classgen | Generates Java classes for Groovy classes using ASM. |
| Uses of Variable in org.codehaus.groovy.ast |
|---|
| Classes in org.codehaus.groovy.ast that implement Variable | |
|---|---|
class |
DynamicVariable
|
class |
FieldNode
Represents a field (member variable) |
class |
Parameter
Represents a parameter on a constructor or method call. |
class |
PropertyNode
Represents a property (member variable, a getter and setter) |
| Methods in org.codehaus.groovy.ast that return Variable | |
|---|---|
Variable |
VariableScope.getDeclaredVariable(java.lang.String name)
|
Variable |
VariableScope.getReferencedClassVariable(java.lang.String name)
|
Variable |
VariableScope.getReferencedLocalVariable(java.lang.String name)
|
| Methods in org.codehaus.groovy.ast with parameters of type Variable | |
|---|---|
void |
VariableScope.putDeclaredVariable(Variable var)
|
void |
VariableScope.putReferencedClassVariable(Variable var)
|
void |
VariableScope.putReferencedLocalVariable(Variable var)
|
| Uses of Variable in org.codehaus.groovy.ast.expr |
|---|
| Classes in org.codehaus.groovy.ast.expr that implement Variable | |
|---|---|
class |
VariableExpression
Represents a local variable name, the simplest form of expression. |
| Fields in org.codehaus.groovy.ast.expr declared as Variable | |
|---|---|
private Variable |
VariableExpression.accessedVariable
|
| Methods in org.codehaus.groovy.ast.expr that return Variable | |
|---|---|
Variable |
VariableExpression.getAccessedVariable()
|
| Methods in org.codehaus.groovy.ast.expr with parameters of type Variable | |
|---|---|
static BinaryExpression |
BinaryExpression.newAssignmentExpression(Variable variable,
Expression rhs)
Creates an assignment expression in which the specified expression is written into the specified variable name. |
void |
VariableExpression.setAccessedVariable(Variable origin)
|
| Constructors in org.codehaus.groovy.ast.expr with parameters of type Variable | |
|---|---|
VariableExpression(Variable variable)
|
|
| Uses of Variable in org.codehaus.groovy.classgen |
|---|
| Methods in org.codehaus.groovy.classgen that return Variable | |
|---|---|
private Variable |
VariableScopeVisitor.checkVariableNameForDeclaration(java.lang.String name,
Expression expression)
|
private Variable |
VariableScopeVisitor.findClassMember(ClassNode cn,
java.lang.String name)
|
| Methods in org.codehaus.groovy.classgen with parameters of type Variable | |
|---|---|
private void |
VariableScopeVisitor.checkVariableContextAccess(Variable v,
Expression expr)
|
private void |
VariableScopeVisitor.declare(Variable var,
ASTNode expr)
|
int |
CompileStack.defineTemporaryVariable(Variable var,
boolean store)
creates a temporary variable. |
Variable |
CompileStack.defineVariable(Variable v,
boolean initFromStack)
Defines a new Variable using an AST variable. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||