VariablesDecl

$(BNF VariablesDecl := Type? Identifier ("=" Init)? ("," Identifier ("=" Init)?)* ";")

class VariablesDecl : Declaration {
VariableSymbol[] variables;
}

Members

Functions

firstInit
Expression firstInit()

Returns the first non-null init expression, or null if there is none.

Variables

inits
Expression[] inits;

Respective initial values.

lnkg
LinkageType lnkg;

They linkage type.

names
Token*[] names;

Variable names.

type
TypeNode type;

The type of the variables.

Meta