jltools.lex
Class Literal

java.lang.Object
  |
  +--jltools.lex.Token
        |
        +--jltools.lex.Literal
Direct Known Subclasses:
BooleanLiteral, CharacterLiteral, NullLiteral, NumericLiteral, StringLiteral

public abstract class Literal
extends Token

A token class for literals.


Constructor Summary
Literal(Position position, int sym)
           
 
Methods inherited from class jltools.lex.Token
escape, getPosition, symbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Literal

public Literal(Position position,
               int sym)