public final class StringType extends PrimitiveType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
static StringType |
construct()
Construct the type of character strings.
|
ClassSymbol |
getStringClass()
Get the string class.
|
void |
setStringClass(ClassSymbol stringClass)
Set the string class.
|
accept
accept, accept, acceptChildren, print, printCore, toString, toStringCore
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptChildren, print, printCore, toString, toStringCore
public static final java.lang.String name
public static StringType construct()
public void setStringClass(ClassSymbol stringClass)
stringClass
- the string class.public ClassSymbol getStringClass()
public void accept(ASTVisitor visitor)
accept
in interface AST
accept
in class PrimitiveType
visitor
- the visitor who is accepted by this node.