Documentation of 'cc.redberry.core.parser.ParseToken' Java class
ParseToken
cc.redberry.core.parser

Class ParseToken

    • Field Detail

      • tokenType

        public final TokenType tokenType
        Node type.
      • content

        public final ParseToken[] content
        Child nodes.
    • Constructor Detail

      • ParseToken

        public ParseToken(TokenType tokenType,
                          ParseToken... content)
        Parameters:
        tokenType - node type
        content - child nodes
    • Method Detail

      • getIndices

        public Indices getIndices()
        Returns Indices of the corresponding mathematical expression.
        Returns:
        Indices of the corresponding mathematical expression
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString(OutputFormat mode)
      • toTensor

        public Tensor toTensor()
        Converts this AST to tensor.
        Returns:
        resulting tensor
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.