FunctionDefinition

Undocumented in source.

Constructors

this
this(TopStatement[] topstatements)
Undocumented in source.
this
this(Loc loc, int isglobal, Identifier* name, Identifier*[] parameters, TopStatement[] topstatements)
Undocumented in source.

Members

Functions

instantiate
void instantiate(CallContext* cc, Dobject[] scopex, Dobject actobj, uint attributes)
Undocumented in source. Be warned that the author may not have intended to support it.
isAnonymous
int isAnonymous()
Undocumented in source. Be warned that the author may not have intended to support it.
semantic
Statement semantic(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
toBuffer
void toBuffer(tchar[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
toIR
void toIR(IRstate* ignore)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

code
IR* code;
Undocumented in source.
enclosingFunction
FunctionDefinition enclosingFunction;
Undocumented in source.
functiondefinitions
FunctionDefinition[] functiondefinitions;
Undocumented in source.
iseval
int iseval;
Undocumented in source.
isglobal
int isglobal;
Undocumented in source.
isliteral
int isliteral;
Undocumented in source.
labtab
SymbolTable* labtab;
Undocumented in source.
name
Identifier* name;
Undocumented in source.
nestDepth
int nestDepth;
Undocumented in source.
nlocals
uint nlocals;
Undocumented in source.
parameters
Identifier*[] parameters;
Undocumented in source.
topstatements
TopStatement[] topstatements;
Undocumented in source.
varnames
Identifier*[] varnames;
Undocumented in source.
withdepth
int withdepth;
Undocumented in source.

Inherited Members

From TopStatement

TOPSTATEMENT_SIGNATURE
enum uint TOPSTATEMENT_SIGNATURE;
Undocumented in source.
signature
uint signature;
Undocumented in source.
loc
Loc loc;
Undocumented in source.
done
int done;
Undocumented in source.
st
int st;
Undocumented in source.
toBuffer
void toBuffer(tchar[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
semantic
Statement semantic(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
toIR
void toIR(IRstate* irs)
Undocumented in source. Be warned that the author may not have intended to support it.
error
void error(Scope* sc, int msgnum, ARGS args)
Undocumented in source. Be warned that the author may not have intended to support it.
error
void error(Scope* sc, string fmt, ARGS args)
Undocumented in source. Be warned that the author may not have intended to support it.
ImpliedReturn
TopStatement ImpliedReturn()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta