public class VisitorExpr extends AbstractVisitor
IExpr
expression.Constructor and Description |
---|
VisitorExpr() |
Modifier and Type | Method and Description |
---|---|
IExpr |
visit(IAST ast) |
IExpr |
visit(IComplex element) |
IExpr |
visit(IComplexNum element) |
IExpr |
visit(IFraction element) |
IExpr |
visit(IInteger element) |
IExpr |
visit(INum element) |
IExpr |
visit(IPattern element) |
IExpr |
visit(IPatternSequence element) |
IExpr |
visit(IStringX element) |
IExpr |
visit(ISymbol element) |
IExpr |
visit1(IExpr head)
Visit an
IAST with the given head and no arguments (i.e. |
IExpr |
visit2(IExpr head,
IExpr arg1)
Visit an
IAST with the given head and one argument (i.e. |
IExpr |
visit3(IExpr head,
IExpr arg1,
IExpr arg2)
Visit an
IAST with the given head and two arguments (i.e. |
protected IExpr |
visitAST(IAST ast) |
public IExpr visit(IInteger element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(IFraction element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(IComplex element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(INum element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(IComplexNum element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(ISymbol element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(IPattern element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(IPatternSequence element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit(IStringX element)
visit
in interface IVisitor<IExpr>
visit
in class AbstractVisitor
F.NIL
, if no evaluation is possiblepublic IExpr visit1(IExpr head)
IAST
with the given head and no arguments (i.e.
head[]
).F.NIL
, if no evaluation is possiblepublic IExpr visit2(IExpr head, IExpr arg1)
IAST
with the given head and one argument (i.e.
head[arg1]
).F.NIL
, if no evaluation is possiblepublic IExpr visit3(IExpr head, IExpr arg1, IExpr arg2)
IAST
with the given head and two arguments (i.e.
head[arg1, arg2]
).F.NIL
, if no evaluation is possible