Jet.Lisp
Class Literal

java.lang.Object
  extended byJet.Lisp.Literal

public class Literal
extends java.lang.Object

representation of a literal in the grammar, used to match a specific string.


Constructor Summary
Literal(java.lang.String stg)
          creates a new literal for String 'stg'.
 
Method Summary
 java.lang.String getString()
          returns the String associated with this literal.
 java.lang.String toString()
          returns the String associated with this literal, enclosed in double quotes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Literal

public Literal(java.lang.String stg)
creates a new literal for String 'stg'.

Method Detail

getString

public java.lang.String getString()
returns the String associated with this literal.


toString

public java.lang.String toString()
returns the String associated with this literal, enclosed in double quotes.