public class Literal
extends java.lang.Object
A String passed to Literal would be used in the source as "String", a char passed to Literal would be used as 'c'har, All other Strings and characters will be threated as being part of the code in one way or another
| Constructor and Description |
|---|
Literal(char c)
Constructor
|
Literal(java.lang.String value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Overwritten to represent a String between apostrofes and
a char between quotes
|