cc.redberry.core.parser
Class ParseTokenExpression
- java.lang.Object
-
- cc.redberry.core.parser.ParseToken
-
- cc.redberry.core.parser.ParseTokenExpression
-
public class ParseTokenExpression extends ParseToken
-
-
Field Summary
Fields Modifier and Type Field and Description booleanpreprocess-
Fields inherited from class cc.redberry.core.parser.ParseToken
content, parent, tokenType
-
-
Constructor Summary
Constructors Constructor and Description ParseTokenExpression(boolean preprocess, ParseToken lhs, ParseToken rhs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IndicesgetIndices()ReturnsIndicesof the corresponding mathematical expression.TensortoTensor()Converts this AST to tensor.-
Methods inherited from class cc.redberry.core.parser.ParseToken
equals, toString, toString
-
-
-
-
Constructor Detail
-
ParseTokenExpression
public ParseTokenExpression(boolean preprocess, ParseToken lhs, ParseToken rhs)
-
-
Method Detail
-
getIndices
public Indices getIndices()
Description copied from class:ParseTokenReturnsIndicesof the corresponding mathematical expression.- Overrides:
getIndicesin classParseToken- Returns:
Indicesof the corresponding mathematical expression
-
toTensor
public Tensor toTensor()
Description copied from class:ParseTokenConverts this AST to tensor.- Overrides:
toTensorin classParseToken- Returns:
- resulting tensor
-
-
DataMelt 3.0 © DataMelt by jWork.ORG