Documentation of 'org.matheclipse.parser.client.Parser' Java class
Parser
org.matheclipse.parser.client

Class Parser



  • public class Parser
    extends Scanner
    Create an expression of the ASTNode class-hierarchy from a math formulas string representation See Operator -precedence parser for the idea, how to parse the operators depending on their precedence.
    • Field Detail

      • DERIVATIVE

        public static final SymbolNode DERIVATIVE
    • Constructor Detail

      • Parser

        public Parser()
      • Parser

        public Parser(boolean relaxedSyntax)
               throws SyntaxError
        Parameters:
        relaxedSyntax - if true, use '('...')' as brackets for arguments
        Throws:
        SyntaxError
      • Parser

        public Parser(IParserFactory factory,
                      boolean relaxedSyntax)
               throws SyntaxError
        Parameters:
        factory -
        relaxedSyntax - if true, use '('...')' as brackets for arguments
        Throws:
        SyntaxError
    • Method Detail

      • parse

        public ASTNode parse(java.lang.String expression)
                      throws SyntaxError
        Parse the given expression String into an ASTNode.
        Parameters:
        expression - a formula string which should be parsed.
        Returns:
        the parsed ASTNode representation of the given formula string
        Throws:
        SyntaxError

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.