ArrayInitializer

Constructors

this
this(Loc loc)
Undocumented in source.

Members

Functions

accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
addInit
void addInit(Expression index, Initializer value)
Undocumented in source. Be warned that the author may not have intended to support it.
inferType
Initializer inferType(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
isArrayInitializer
ArrayInitializer isArrayInitializer()
Undocumented in source. Be warned that the author may not have intended to support it.
isAssociativeArray
bool isAssociativeArray()
Undocumented in source. Be warned that the author may not have intended to support it.
semantic
Initializer semantic(Scope* sc, Type t, NeedInterpret needInterpret)
Undocumented in source. Be warned that the author may not have intended to support it.
syntaxCopy
Initializer syntaxCopy()
Undocumented in source. Be warned that the author may not have intended to support it.
toAssocArrayLiteral
Expression toAssocArrayLiteral()

If possible, convert array initializer to associative array initializer.

toExpression
Expression toExpression(Type tx)

If possible, convert array initializer to array literal. Otherwise return NULL.

Variables

dim
uint dim;
Undocumented in source.
index
Expressions index;
Undocumented in source.
sem
bool sem;
Undocumented in source.
type
Type type;
Undocumented in source.
value
Initializers value;
Undocumented in source.

Inherited Members

From Initializer

loc
Loc loc;
Undocumented in source.
syntaxCopy
Initializer syntaxCopy()
Undocumented in source.
arraySyntaxCopy
Initializers* arraySyntaxCopy(Initializers* ai)
Undocumented in source. Be warned that the author may not have intended to support it.
inferType
Initializer inferType(Scope* sc)
Undocumented in source.
semantic
Initializer semantic(Scope* sc, Type t, NeedInterpret needInterpret)
Undocumented in source.
toExpression
Expression toExpression(Type t)
Undocumented in source.
toChars
const(char)* toChars()
Undocumented in source. Be warned that the author may not have intended to support it.
isErrorInitializer
ErrorInitializer isErrorInitializer()
Undocumented in source. Be warned that the author may not have intended to support it.
isVoidInitializer
VoidInitializer isVoidInitializer()
Undocumented in source. Be warned that the author may not have intended to support it.
isStructInitializer
StructInitializer isStructInitializer()
Undocumented in source. Be warned that the author may not have intended to support it.
isArrayInitializer
ArrayInitializer isArrayInitializer()
Undocumented in source. Be warned that the author may not have intended to support it.
isExpInitializer
ExpInitializer isExpInitializer()
Undocumented in source. Be warned that the author may not have intended to support it.
accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta