Variable

To store information about a global variable

Constructors

this
this(string name, DataType type)

constructor

this
this(string varString)

Constructor, for reading from string (uses fromString)

Members

Functions

fromString
string fromString(string str)

Reads this Variable from a string (reverse of toString)

toString
string toString()

Variables

name
string name;

name of var

type
DataType type;

data type

Examples

st{
	Variable var = Variable("i",DataType("@int[][]"));
	assert (Variable(var.toString) == var

Meta