public class VariablesScope extends Object
| Constructor and Description |
|---|
VariablesScope() |
VariablesScope(VariablesScope scope) |
VariablesScope(VariablesScope scope1,
VariablesScope scope2) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeclaration(AbstractVariableDeclaration node) |
void |
addDeclaration(AbstractVariableDeclaration node,
Expression replacementValue) |
void |
addDeclaration(String name,
Expression replacementValue) |
void |
addDeclarationIfNotPresent(String name,
Expression replacementValue) |
Expression |
getValue(String name) |
void |
removeDeclaration(String name) |
int |
size() |
public VariablesScope(VariablesScope scope)
public VariablesScope()
public VariablesScope(VariablesScope scope1, VariablesScope scope2)
public Expression getValue(String name)
public void addDeclaration(AbstractVariableDeclaration node)
public void addDeclaration(AbstractVariableDeclaration node, Expression replacementValue)
public void addDeclaration(String name, Expression replacementValue)
public void addDeclarationIfNotPresent(String name, Expression replacementValue)
public void removeDeclaration(String name)
public int size()
Copyright © 2012-2013. All Rights Reserved.