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)
false
hasVariable
in interface VariableDeclarations
name
- name of the variablefalse
.public Node getVariable(java.lang.String name)
VariableDeclarations
applies here too.getVariable
in interface VariableDeclarations
name
- name of the variable