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

Class ParserSimpleTensor

  • All Implemented Interfaces:
    TokenParser


    public class ParserSimpleTensor
    extends java.lang.Object
    implements TokenParser
    Parser for simple tensors.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ParseTokenSimpleTensor parseToken(java.lang.String expression, Parser parser)
      Parses the specified string expression and returns the corresponding AST node or null, string can not be parsed by this parser.
      int priority()
      The higher the priority, the earlier runs.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parseToken

        public ParseTokenSimpleTensor parseToken(java.lang.String expression,
                                                 Parser parser)
        Description copied from interface: TokenParser
        Parses the specified string expression and returns the corresponding AST node or null, string can not be parsed by this parser.
        Specified by:
        parseToken in interface TokenParser
        Parameters:
        expression - string expression
        parser - recursion
        Returns:
        AST node
      • priority

        public int priority()
        Description copied from interface: TokenParser
        The higher the priority, the earlier runs.
        Specified by:
        priority in interface TokenParser
        Returns:
        priority

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.