polyglot.lex
Class StringLiteral

java.lang.Object
  extended bypolyglot.lex.Token
      extended bypolyglot.lex.Literal
          extended bypolyglot.lex.StringLiteral

public class StringLiteral
extends Literal

A token class for string literals.


Constructor Summary
StringLiteral(Position position, java.lang.String s, int sym)
           
 
Method Summary
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class polyglot.lex.Token
escape, getPosition, symbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringLiteral

public StringLiteral(Position position,
                     java.lang.String s,
                     int sym)
Method Detail

getValue

public java.lang.String getValue()

toString

public java.lang.String toString()