|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Variable | |
|---|---|
| org.teatrove.tea.compiler | |
| org.teatrove.tea.parsetree | |
| Uses of Variable in org.teatrove.tea.compiler |
|---|
| Methods in org.teatrove.tea.compiler that return Variable | |
|---|---|
Variable |
Scope.declareVariable(Variable var)
Declare a variable for use in this scope. |
Variable |
Scope.declareVariable(Variable var,
boolean isPrivate)
Declare a variable for use in this scope. |
Variable |
Scope.getDeclaredVariable(String name)
Returns a declared variable by name. |
Variable |
Scope.getDeclaredVariable(String name,
boolean publicOnly)
Returns a declared variable by name. |
Variable[] |
Scope.intersect(Scope scope)
Returns the intersection of this scope against the one given. |
Variable[] |
Scope.promote()
Returns variables to promote from this scope to a parent scope. |
| Methods in org.teatrove.tea.compiler with parameters of type Variable | |
|---|---|
Variable |
Scope.declareVariable(Variable var)
Declare a variable for use in this scope. |
Variable |
Scope.declareVariable(Variable var,
boolean isPrivate)
Declare a variable for use in this scope. |
void |
Scope.declareVariables(Variable[] vars)
Declare new variables in this scope. |
Object |
TypeChecker.Visitor.visit(Variable node)
|
| Uses of Variable in org.teatrove.tea.parsetree |
|---|
| Methods in org.teatrove.tea.parsetree that return Variable | |
|---|---|
Variable[] |
IfStatement.getMergedVariables()
Returns the variables that were commonly assigned in both the "then" and "else" parts of the if statement, were merged together and moved into the parent scope. |
Variable[] |
Template.getParams()
|
Variable |
VariableRef.getVariable()
|
| Methods in org.teatrove.tea.parsetree with parameters of type Variable | |
|---|---|
void |
IfStatement.setMergedVariables(Variable[] vars)
|
void |
Template.setParams(Variable[] params)
|
void |
VariableRef.setVariable(Variable var)
Setting the variable resets the VariableRef's initial type, but does not clear any type conversions. |
Object |
NodeVisitor.visit(Variable node)
|
Object |
TreeMutator.visit(Variable node)
|
Object |
TreeWalker.visit(Variable node)
|
| Constructors in org.teatrove.tea.parsetree with parameters of type Variable | |
|---|---|
Template(SourceInfo info,
Name name,
Variable[] params,
boolean subParam,
Statement statement,
List<Directive> directiveList)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||