Class Expr.Not
- java.lang.Object
-
- at.jku.ssw.fp.sect04_4.visitor_nofp.Expr
-
- at.jku.ssw.fp.sect04_4.visitor_nofp.Expr.Not
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(Visitor<R> v)
Accepts a visitor by calling theVisitor.visitNot(Not)
method.String
toString()
Returns a string representation.
-
-
-
Field Detail
-
sub
public final Expr sub
The subexpression of this not-expression.
-
-
Constructor Detail
-
Not
public Not(Expr sub)
Constructor initializing the subexpression.- Parameters:
sub
- the subexpression
-
-
Method Detail
-
toString
public String toString()
Returns a string representation.
-
accept
public <R> R accept(Visitor<R> v)
Accepts a visitor by calling theVisitor.visitNot(Not)
method.
-
-