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

Class ParserTensorField

  • All Implemented Interfaces:
    TokenParser


    public class ParserTensorField
    extends java.lang.Object
    implements TokenParser
    Parser for tensor fields.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean canParse(java.lang.String expression) 
      ParseToken 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

      • priority

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

        public boolean canParse(java.lang.String expression)
      • parseToken

        public ParseToken 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

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.