public interface StatementVariableRef
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredVariable(String variableName)
Add a preconfigured variable.
|
void |
addReferences(String statementName,
Set<String> variablesReferenced,
ExprTableAccessNode[] tableNodes)
Add a reference from a statement name to a set of variables.
|
void |
addReferences(String statementName,
String variableReferenced)
Add a reference from a statement name to a single variable.
|
Set<String> |
getStatementNamesForVar(String variableName)
Returns the set of statement names that use a given variable.
|
boolean |
isInUse(String variableName)
Returns true if the variable is listed as in-use by any statement, or false if not
|
void |
removeConfiguredVariable(String variableName)
Remove a preconfigured variable.
|
void |
removeReferencesStatement(String statementName)
Remove all references for a given statement.
|
void |
removeReferencesVariable(String variableName)
Remove all references for a given event type.
|
boolean isInUse(String variableName)
variableName
- nameSet<String> getStatementNamesForVar(String variableName)
variableName
- namevoid addReferences(String statementName, Set<String> variablesReferenced, ExprTableAccessNode[] tableNodes)
statementName
- name of statementvariablesReferenced
- typestableNodes
- table nodes, if anyvoid addReferences(String statementName, String variableReferenced)
statementName
- name of statementvariableReferenced
- variablevoid removeReferencesStatement(String statementName)
statementName
- statement namevoid removeReferencesVariable(String variableName)
variableName
- variable namevoid addConfiguredVariable(String variableName)
variableName
- namevoid removeConfiguredVariable(String variableName)
variableName
- var