polyglot.lex
Class BooleanLiteral
java.lang.Object
polyglot.lex.Token
polyglot.lex.Literal
polyglot.lex.BooleanLiteral
public class BooleanLiteral
- extends Literal
Token class for boolean literals.
Field Summary |
protected java.lang.Boolean |
val
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
val
protected java.lang.Boolean val
BooleanLiteral
public BooleanLiteral(Position position,
boolean b,
int sym)
getValue
public java.lang.Boolean getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object