| java.lang.Object com.go.tea.parsetree.Node com.go.tea.parsetree.Variable
Variable | public class Variable extends Node (Code) | | A Variable represents a variable declaration. A VariableRef is used to
reference Variables.
author: Brian S O'Neill version: 35 , 01/05/07 See Also: VariableRef |
Variable | public Variable(SourceInfo info, String name, Type type)(Code) | | Used when creating variables whose type has already been checked.
|
equals | public boolean equals(Object other)(Code) | | Variables are tested for equality only by their name and type.
Field status is ignored.
|
getType | public Type getType()(Code) | | Returns null if type is unknown.
|
hashCode | public int hashCode()(Code) | | |
isField | public boolean isField()(Code) | | true if this variable is a field instead of a local variable. |
isStatic | public boolean isStatic()(Code) | | true if this variable is a field and is static. |
isTransient | public boolean isTransient()(Code) | | true if this variable is transient. |
setField | public void setField(boolean b)(Code) | | |
setStatic | public void setStatic(boolean b)(Code) | | |
setTransient | public void setTransient(boolean b)(Code) | | |
|
|