public class GlobalVariable
extends java.lang.Object
| Constructor and Description |
|---|
GlobalVariable(char[] typeName,
char[] name,
char[] initializer)
Creates a new global variable with the given type name, name and initializer.
|
| Modifier and Type | Method and Description |
|---|---|
char[] |
getInitializer()
Returns the initializer of this global variable.
|
char[] |
getName()
Returns the name of this global variable.
|
char[] |
getTypeName()
Returns the dot separated fully qualified name of the type of this global variable,
or its simple representation if it is a primitive type (e.g.
|
java.lang.String |
toString()
Returns a readable representation of the receiver.
|
public GlobalVariable(char[] typeName,
char[] name,
char[] initializer)
public char[] getInitializer()
public char[] getName()
public char[] getTypeName()
public java.lang.String toString()
toString in class java.lang.Object