public class VariableTable extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ResourceBundle |
messages
I18N support
|
| Constructor and Description |
|---|
VariableTable(ErrorMsg errorMsg)
Create an empty variable table
|
VariableTable(VariableTable other)
Create a variable table initialized with the entries of the other variable table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name)
Creates a new entry in the variable table with the specified name as key and
an empty value.
|
protected void |
attachConstraintToUsedAST(com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.VariableTable.VarInfo info) |
protected void |
checkConstraint(String variable,
com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.VariableTable.VarInfo info) |
void |
checkConstraints() |
void |
markConstraint(JQLAST variable,
JQLAST expr)
Mark the specified variable as constaint with the specified expr.
|
void |
markUsed(JQLAST variable,
String dependendVar)
Mark the specified variable as used.
|
void |
merge(VariableTable other)
Merges the specified variable table (other) into this variable table.
|
protected static final ResourceBundle messages
public VariableTable(ErrorMsg errorMsg)
public VariableTable(VariableTable other)
public void add(String name)
public void markUsed(JQLAST variable, String dependendVar)
public void markConstraint(JQLAST variable, JQLAST expr)
public void merge(VariableTable other)
public void checkConstraints()
protected void checkConstraint(String variable, com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.VariableTable.VarInfo info)
protected void attachConstraintToUsedAST(com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.VariableTable.VarInfo info)
Copyright © 2017. All rights reserved.