public class NoVariables extends Object implements VariableDeclarations
| Constructor and Description |
|---|
NoVariables() |
| Modifier and Type | Method and Description |
|---|---|
Node |
getVariable(String name)
Tries to fetch the variable.
|
boolean |
hasVariable(String name)
Whether the variable is declared.
|
public boolean hasVariable(String name)
falsehasVariable in interface VariableDeclarationsname - name of the variablefalse.public Node getVariable(String name)
VariableDeclarations applies here too.getVariable in interface VariableDeclarationsname - name of the variableCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.