org.matheclipse.core.visit
Class VisitorExpr
- java.lang.Object
-
- org.matheclipse.core.visit.AbstractVisitor<IExpr>
-
- org.matheclipse.core.visit.VisitorExpr
-
- Direct Known Subclasses:
- VisitorReplaceAll, VisitorReplaceSlots
public class VisitorExpr extends AbstractVisitor<IExpr>
Visit every node of anIExprexpression.
-
-
Constructor Summary
Constructors Constructor and Description VisitorExpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IExprvisit(IAST ast)IExprvisit(IComplex element)IExprvisit(IComplexNum element)IExprvisit(IFraction element)IExprvisit(IInteger element)IExprvisit(INum element)IExprvisit(IPattern element)IExprvisit(IStringX element)IExprvisit(ISymbol element)IExprvisit1(IExpr head)Visit anIASTwith the given head and no arguments (i.e.IExprvisit2(IExpr head, IExpr arg1)Visit anIASTwith the given head and one argument (i.e.IExprvisit3(IExpr head, IExpr arg1, IExpr arg2)Visit anIASTwith the given head and two arguments (i.e.-
Methods inherited from class org.matheclipse.core.visit.AbstractVisitor
visit
-
-
-
-
Method Detail
-
visit
public IExpr visit(IComplexNum element)
-
visit1
public IExpr visit1(IExpr head)
Visit anIASTwith the given head and no arguments (i.e.head[]).- Returns:
null, if no evaluation is possible
-
visit2
public IExpr visit2(IExpr head, IExpr arg1)
Visit anIASTwith the given head and one argument (i.e.head[arg1]).- Returns:
null, if no evaluation is possible
-
visit3
public IExpr visit3(IExpr head, IExpr arg1, IExpr arg2)
Visit anIASTwith the given head and two arguments (i.e.head[arg1, arg2]).- Returns:
null, if no evaluation is possible
-
-
DMelt 3.0 © DataMelt by jWork.ORG