polyglot.lex
Class Literal

java.lang.Object
  extended by polyglot.lex.Token
      extended by polyglot.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)
           
 
Method Summary
 
Methods inherited from class polyglot.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)