public class DoubleIdentifier extends ConstIdentifier
Expression.BinaryOp, Expression.BooleanOp, Expression.DataOp, Expression.FunctCallOp, Expression.RelationalOp
Constructor and Description |
---|
DoubleIdentifier(double val) |
DoubleIdentifier(DoubleIdentifier d,
ParseInfo parseInfo) |
DoubleIdentifier(double val,
ParseInfo parseInfo) |
DoubleIdentifier(org.antlr.v4.runtime.ParserRuleContext ctx,
double val,
String filename) |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
double |
getValue() |
void |
multiplyByMinusOne() |
Expression |
rewriteExpression(String prefix) |
void |
setValue(double v) |
String |
toString() |
VariableSet |
variablesRead() |
VariableSet |
variablesUpdated() |
computeDataType, dimsKnown, getBlocksize, getDataType, getDim1, getDim2, getFileFormat, getNnz, getPrivacy, getValueType, isScalarBoolean, setBlocksize, setBooleanProperties, setDataType, setDimensions, setDimensionValueProperties, setFileFormat, setIntProperties, setNnz, setPrivacy, setPrivacy, setProperties, setValueType, validateExpression
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 DoubleIdentifier(double val)
public DoubleIdentifier(double val, ParseInfo parseInfo)
public DoubleIdentifier(DoubleIdentifier d, ParseInfo parseInfo)
public DoubleIdentifier(org.antlr.v4.runtime.ParserRuleContext ctx, double val, String filename)
public Expression rewriteExpression(String prefix)
rewriteExpression
in class Expression
public void multiplyByMinusOne()
public double getValue()
public void setValue(double v)
public VariableSet variablesRead()
variablesRead
in class Expression
public VariableSet variablesUpdated()
variablesUpdated
in class Expression
public long getLongValue()
getLongValue
in class ConstIdentifier
Copyright © 2020 The Apache Software Foundation. All rights reserved.