Documentation API of the 'org.matheclipse.core.interfaces.IAST' Java class
IAST
org.matheclipse.core.interfaces

Interface IAST

  • All Superinterfaces:
    AbelianGroupElem<IExpr>, Cloneable, Collection<IExpr>, Comparable<IExpr>, Element<IExpr>, IExpr, Iterable<IExpr>, List<IExpr>, MonoidElem<IExpr>, RingElem<IExpr>, Serializable
    All Known Implementing Classes:
    AST


    public interface IASTextends IExpr, List<IExpr>, Cloneable

    (I)nterface for the (A)bstract (S)yntax (T)ree of a given function.

    In MathEclipse, an abstract syntax tree (AST), is a tree representation of the abstract syntactic structure of the MathEclipse source code. Each node of the tree denotes a construct occurring in the source code. The syntax is 'abstract' in the sense that it does not represent every detail that appears in the real syntax. For instance, grouping parentheses are implicit in the tree structure, and a syntactic construct such as a Sin[x] expression will be denoted by an AST with 2 nodes. One node for the header Sin and one node for the argument x.

    Internally an AST is represented as a java.util.List which contains
    • the operator of a function (i.e. the "header"-symbol: Sin, Cos, Inverse, Plus, Times,...) at index 0 and
    • the n arguments of a function in the index 1 to n
    See Abstract syntax tree.

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.