Package org.esa.snap.core.jexp


package org.esa.snap.core.jexp
The JEXP API (JEXP = Java Expression Parser). It defines the abstract Term class which plays a central role in the API.
  • Class
    Description
    A basic implementation of a term transformer which recursively clones operation and function call terms.
    Represents an application dependant evaluation environment.
    An exception that can be thrown during the evaluation of a Term.
    A representation of a function.
    Namespaces are used by a Parser in order to resolve to symbol references and function calls.
    An exception thrown by a ParserX.parse() call in order to signal a parser error.
    Instances of the Parser interface are used to convert a code string representing an arithmetic expression in a tree of terms which can then be executed by using one of the evaluation methods of the Term class.
    Represents a read-only symbol.
    The abstract Term class is an in-memory representation of an element within an arbitrary expression tree.
    The numerical ADD operation: n-term + n-term
    The logical AND operation: b-term && b-term
    The bitwise AND operation: i-term & i-term
    The assignment operation variable-ref-term = term
     
    An abstract binary (= 2 operands) operation.
    An abstract binary (= 2 operands) operation with a return type of int.
    An abstract binary (= 2 operands) operation with a numeric return type.
    A call of a (or reference to a) Function.
    The conditional operation b-term ? term : term
    A boolean constant, e.g.
    A boolean constant, e.g.
    A floating point constant, e.g.
    An integer constant, e.g.
     
    The numerical DIV operation: n-term / n-term
    The boolean EQ operation: b-term == b-term
    The double EQ operation: d-term == d-term
    The integer EQ operation: i-term == i-term
    The double GE operation: d-term >= d-term
    The integer GE operation: i-term >= i-term
    The double GT operation: d-term > d-term
    The integer GT operation: i-term > i-term
    The double LE operation: d-term <= d-term
    The integer LE operation: i-term <= i-term
    The double LT operation: d-term < d-term
    The integer LT operation: i-term < i-term
    The numerical MOD (modulo) operation: n-term % n-term
    The numerical MUL operation: n-term * n-term
    The numerical NEG operation: - d-term
    The boolean NEQ operation: b-term != b-term
    The double NEQ operation: d-term != d-term
    The integer NEQ operation: i-term != i-term
    The logical NOT operation ! b-term
    The bitwise NOT operation: ~ i-term
    An abstract operation.
    The logical OR operation: b-term || b-term
    The bitwise OR operation: i-term ¦ i-term
    A reference to a Symbol.
    The numerical SUB operation: n-term - n-term
    An abstract unary (= 1 operand) operation.
    An abstract unary (= 1 operand) operation with return type of boolean.
    An abstract unary (= 1 operand) operation with return type of int.
    An abstract unary (= 1 operand) operation with a numeric return type.
    The bitwise XOR operation: i-term ^ i-term
    A term transformer is a term visitor that returns terms.
    Visitor support for the Term class.
    Represents a variable to which a value can be assigned.