public static final class ExpressionFactory.VariableImpl extends ExpressionFactory.ExpressionBase implements VariableInternal
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept the visitor and allow it to perform actions on this Node.
|
void |
close()
Mark the variable so that it is no longer in scope.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
ident()
Return the name of this variable.
|
boolean |
isAssignable() |
boolean |
isAvailable()
Returns true if this variable is still in scope.
|
String |
toString() |
Type |
type()
Return the type of this variable.
|
copy, copy
getAncestor, id, parent, parent, postCopy, preCopy
attributes, get, set
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy, copy, getAncestor, id, parent, parent
attributes, get, set
public boolean isAssignable()
isAssignable
in interface ExpressionInternal
isAssignable
in class ExpressionFactory.ExpressionBase
public String ident()
Variable
public boolean isAvailable()
VariableInternal
isAvailable
in interface VariableInternal
public void close()
VariableInternal
close
in interface VariableInternal
public Type type()
Variable
type
in interface ExpressionInternal
type
in interface Variable
Copyright © 2017 Oracle. All rights reserved.