Class Expr.Lit
- java.lang.Object
-
- at.jku.ssw.fp.sect04_4.visitor_nofp.Expr
-
- at.jku.ssw.fp.sect04_4.visitor_nofp.Expr.Lit
-
-
Field Summary
Fields Modifier and Type Field Description boolean
value
The value of this literal expression
-
Constructor Summary
Constructors Constructor Description Lit(boolean value)
Constructor for literals.
-
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.visitLit(Lit)
method.String
toString()
Returns a string representation.
-
-
-
Method Detail
-
toString
public String toString()
Returns a string representation.
-
accept
public <R> R accept(Visitor<R> v)
Accepts a visitor by calling theVisitor.visitLit(Lit)
method.
-
-