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

Class Parser



  • public final class Parser
    extends java.lang.Object
    Parser of mathematical expressions.
    Since:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static Parser DEFAULT
      Default parser.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Parser(TokenParser... tokenParsers)
      Constructs Parser from a given parsers of AST nodes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ParseToken parse(java.lang.String expression)
      Parse string expression into AST.
      • Methods inherited from class java.lang.Object

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

      • DEFAULT

        public static final Parser DEFAULT
        Default parser.
    • Constructor Detail

      • Parser

        public Parser(TokenParser... tokenParsers)
        Constructs Parser from a given parsers of AST nodes.
        Parameters:
        tokenParsers -
    • Method Detail

      • parse

        public ParseToken parse(java.lang.String expression)
        Parse string expression into AST.
        Parameters:
        expression - string expression
        Returns:
        AST

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.