Package org.apache.sysds.parser
Class BinaryExpression
java.lang.Object
org.apache.sysds.parser.Expression
org.apache.sysds.parser.BinaryExpression
- All Implemented Interfaces:
ParseInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.parser.Expression
Expression.BinaryOp, Expression.BooleanOp, Expression.DataOp, Expression.FunctCallOp, Expression.RelationalOp -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLeft()getRight()static booleanrewriteExpression(String prefix) voidvoidtoString()voidvalidateExpression(HashMap<String, DataIdentifier> ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) Validate parse tree : Process Binary Expression in an assignment statementMethods inherited from class org.apache.sysds.parser.Expression
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
-
Constructor Details
-
BinaryExpression
-
BinaryExpression
-
-
Method Details
-
rewriteExpression
- Specified by:
rewriteExpressionin classExpression
-
getOpCode
-
setLeft
-
setRight
-
getLeft
-
getRight
-
validateExpression
public void validateExpression(HashMap<String, DataIdentifier> ids, HashMap<String, ConstIdentifier> constVars, boolean conditional) Validate parse tree : Process Binary Expression in an assignment statement- Overrides:
validateExpressionin classExpression
-
toString
-
variablesRead
- Specified by:
variablesReadin classExpression
-
variablesUpdated
- Specified by:
variablesUpdatedin classExpression
-
isSameDimensionBinaryOp
-