public class NoVariables extends java.lang.Object implements VariableDeclarations
| Constructor and Description |
|---|
NoVariables() |
| Modifier and Type | Method and Description |
|---|---|
Node |
getVariable(java.lang.String name)
Tries to fetch the variable.
|
boolean |
hasVariable(java.lang.String name)
Whether the variable is declared.
|
public boolean hasVariable(java.lang.String name)
falsehasVariable in interface VariableDeclarationsname - name of the variablefalse.public Node getVariable(java.lang.String name)
VariableDeclarations applies here too.getVariable in interface VariableDeclarationsname - name of the variable