public isLiteral() as Boolean
Returns true when this token is a literal.
true
true if this.kind.isLiteral().
this.kind.isLiteral()
import klyn.code tok = Token(TokenKind.STRING, "\"ok\"") assert tok.isLiteral()