edu.rice.cs.util.sexp
Class QuotedTextAtom
java.lang.Object
edu.rice.cs.util.sexp.TextAtom
edu.rice.cs.util.sexp.QuotedTextAtom
- All Implemented Interfaces:
- Atom, SExp
class QuotedTextAtom
- extends TextAtom
this type of text atom is mostly like its super class
except its string representation includes the sourrounding
quotes and the instances of the characters: \ " etc are turned
into their corresponding escape character sequences.
|
Method Summary |
String |
toString()
If the given text was a quoted string, the text returned
excludes the quotes around the string. |
QuotedTextAtom
public QuotedTextAtom(String text)
toString
public String toString()
- Description copied from class:
TextAtom
- If the given text was a quoted string, the text returned
excludes the quotes around the string.
- Overrides:
toString in class TextAtom
- Returns:
- the text that went into making this atom.