Package org.apache.sysds.parser
Class StringIdentifier
- java.lang.Object
-
- org.apache.sysds.parser.Expression
-
- org.apache.sysds.parser.Identifier
-
- org.apache.sysds.parser.ConstIdentifier
-
- org.apache.sysds.parser.StringIdentifier
-
- All Implemented Interfaces:
ParseInfo
public class StringIdentifier extends ConstIdentifier
-
-
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 Constructor Description StringIdentifier(String val, ParseInfo parseInfo)StringIdentifier(org.antlr.v4.runtime.ParserRuleContext ctx, String val, String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetLongValue()StringgetValue()ExpressionrewriteExpression(String prefix)StringtoString()VariableSetvariablesRead()VariableSetvariablesUpdated()-
Methods inherited from class org.apache.sysds.parser.Identifier
computeDataType, dimsKnown, getBlocksize, getDataType, getDim1, getDim2, getFileFormat, getNnz, getPrivacy, getValueType, isScalarBoolean, setBlocksize, setBooleanProperties, setDataType, setDimensions, setDimensionValueProperties, setFileFormat, setIntProperties, setNnz, setPrivacy, setPrivacy, setProperties, setValueType, validateExpression
-
Methods 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
-
-
-
-
Method Detail
-
rewriteExpression
public Expression rewriteExpression(String prefix)
- Specified by:
rewriteExpressionin classExpression
-
getValue
public String getValue()
-
variablesRead
public VariableSet variablesRead()
- Specified by:
variablesReadin classExpression
-
variablesUpdated
public VariableSet variablesUpdated()
- Specified by:
variablesUpdatedin classExpression
-
getLongValue
public long getLongValue()
- Specified by:
getLongValuein classConstIdentifier
-
-