public abstract class Ceparse extends java.lang.Object implements ExprParserConstants
Because it only makes sense to evaluate CEs when serving data, the BaseTyeFactory must create instances of the SDtype classes, not the Dtype classes. The is because we use the setRead method of the class ServerMethods when creating constants (to ensure that the evaluator doesn't try to read tem from the dataset!).
Modifier and Type | Field and Description |
---|---|
protected int |
cedebug |
static org.slf4j.Logger |
log |
AMPERSAND, COLON, COMMA, DEFAULT, EOF, EQUAL, FLOATCONST, FUNCTION, GREATER, GREATER_EQL, INTCONST, LBRACE, LBRACKET, LESS, LESS_EQL, LPAREN, NOT_EQUAL, operatorImage, RBRACE, RBRACKET, REGEXP, RPAREN, SEPARATOR, STRINGCONST, tokenImage, VAR, WORD
Constructor and Description |
---|
Ceparse()
**********************************************
|
Ceparse(BaseTypeFactory factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
constraint_expression(CEEvaluator ceEval,
BaseTypeFactory factory,
ClauseFactory clauseFactory)
*********************
|
AST |
getAST()
**********************************************
|
java.util.List<AST> |
getASTnodeset() |
abstract java.lang.String |
getConstraint() |
abstract int |
getDebugLevel() |
abstract java.lang.String |
getURL() |
abstract boolean |
parse()
**********************************************
|
abstract void |
setConstraint(java.lang.String constraint) |
abstract void |
setDebugLevel(int level) |
abstract void |
setURL(java.lang.String url) |
public Ceparse()
public Ceparse(BaseTypeFactory factory)
public abstract boolean parse() throws ParseException
ParseException
public abstract int getDebugLevel()
public abstract void setDebugLevel(int level)
public abstract void setURL(java.lang.String url)
public abstract java.lang.String getURL()
public abstract void setConstraint(java.lang.String constraint)
public abstract java.lang.String getConstraint()
public AST getAST()
public java.util.List<AST> getASTnodeset()
public boolean constraint_expression(CEEvaluator ceEval, BaseTypeFactory factory, ClauseFactory clauseFactory) throws DAP2Exception, ParseException
DAP2Exception
ParseException