GrFunction

Function/Task/Event definition.

Constructors

this
this()
Undocumented in source.

Members

Functions

closeScope
void closeScope()
Undocumented in source. Be warned that the author may not have intended to support it.
getLocal
GrVariable getLocal(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
openScope
void openScope()
Undocumented in source. Be warned that the author may not have intended to support it.
setLocal
void setLocal(GrVariable variable_)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

DebugPositionSymbol
struct DebugPositionSymbol
Undocumented in source.
Scope
struct Scope

Local scoping

Variables

anonParent
GrFunction anonParent;
anonReference
uint anonReference;
Undocumented in source.
debugSymbol
DebugPositionSymbol[] debugSymbol;
Undocumented in source.
deferrableSections
GrDeferrableSection[] deferrableSections;
Undocumented in source.
fileId
uint fileId;

The file where the function is declared.

flocalsCount
uint flocalsCount;
fregisterAvailables
uint[] fregisterAvailables;
Undocumented in source.
functionCalls
GrFunctionCall[] functionCalls;

Function calls made from within its scope.

ilocalsCount
uint ilocalsCount;
Undocumented in source.
inSignature
GrType[] inSignature;

Function parameters' type.

index
uint index;
Undocumented in source.
inputVariables
string[] inputVariables;

Function input parameters' name.

instructions
GrInstruction[] instructions;

All the function instructions.

iregisterAvailables
uint[] iregisterAvailables;
isAnonymous
bool isAnonymous;
Undocumented in source.
isDeferrableSectionLocked
bool[] isDeferrableSectionLocked;
isEvent
bool isEvent;
isMain
bool isMain;
Undocumented in source.
isPublic
bool isPublic;

Is the function visible from other files ?

isTask
bool isTask;
Undocumented in source.
lexPosition
uint lexPosition;
Undocumented in source.
mangledName
string mangledName;

Mangled function name.

name
string name;

Unmangled function name.

nbFloatParameters
uint nbFloatParameters;
Undocumented in source.
nbIntegerParameters
uint nbIntegerParameters;
nbObjectParameters
uint nbObjectParameters;
nbStringParameters
uint nbStringParameters;
offset
uint offset;
olocalsCount
uint olocalsCount;
oregisterAvailables
uint[] oregisterAvailables;
Undocumented in source.
outSignature
GrType[] outSignature;

Function parameters' type.

position
uint position;
Undocumented in source.
registeredDeferBlocks
GrDeferBlock[] registeredDeferBlocks;
Undocumented in source.
scopes
Scope[] scopes;

Local scoping

slocalsCount
uint slocalsCount;
sregisterAvailables
uint[] sregisterAvailables;
Undocumented in source.
stackSize
uint stackSize;
Undocumented in source.
templateSignature
GrType[] templateSignature;

Function parameters' type.

templateVariables
string[] templateVariables;

Function input parameters' name.

Meta