public class BooleanExpression extends Expression
Expression.BinaryOp, Expression.BooleanOp, Expression.DataOp, Expression.FunctCallOp, Expression.RelationalOp
Constructor and Description |
---|
BooleanExpression(Expression.BooleanOp bop) |
BooleanExpression(Expression.BooleanOp bop,
ParseInfo parseInfo) |
Modifier and Type | Method and Description |
---|---|
Expression |
getLeft() |
Expression.BooleanOp |
getOpCode() |
Expression |
getRight() |
Expression |
rewriteExpression(String prefix) |
void |
setLeft(Expression l) |
void |
setRight(Expression r) |
String |
toString() |
void |
validateExpression(HashMap<String,DataIdentifier> ids,
HashMap<String,ConstIdentifier> constVars,
boolean conditional)
Validate parse tree : Process Boolean Expression
|
VariableSet |
variablesRead() |
VariableSet |
variablesUpdated() |
computeDataType, computeDataType, computeValueType, computeValueType, computeValueType, convertFormatType, equals, getBeginColumn, getBeginLine, getBinaryMatrixCharacteristics, getBinaryOp, getBooleanOp, getEndColumn, getEndLine, getFilename, getOutput, getOutputs, getParseExceptionList, getRelationalOp, getTempName, getText, hashCode, printErrorLocation, printInfoLocation, printWarningLocation, raiseValidateError, raiseValidateError, raiseValidateError, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEndColumn, setEndLine, setFilename, setOutput, setParseExceptionList, setParseInfo, setText, validateExpression
ctxAndFilenameToParseInfo
public BooleanExpression(Expression.BooleanOp bop)
public BooleanExpression(Expression.BooleanOp bop, ParseInfo parseInfo)
public Expression.BooleanOp getOpCode()
public void setLeft(Expression l)
public void setRight(Expression r)
public Expression getLeft()
public Expression getRight()
public Expression rewriteExpression(String prefix)
rewriteExpression
in class Expression
public void validateExpression(HashMap<String,DataIdentifier> ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)
validateExpression
in class Expression
public VariableSet variablesRead()
variablesRead
in class Expression
public VariableSet variablesUpdated()
variablesUpdated
in class Expression
Copyright © 2020 The Apache Software Foundation. All rights reserved.