- addGetInstruction
void addGetInstruction(GrVariable variable, GrType expectedType, bool allowOptimization)
Add a load opcode, or optimize a previous store.
- dump
void dump()
Undocumented in source. Be warned that the author may not have intended to support it.
- generateFunctionInputs
void generateFunctionInputs()
Generate opcodes to fetch the function or the task's parameters
- getAnonymousFunction
GrFunction getAnonymousFunction(string name, GrType[] signature, uint fileId)
Undocumented in source. Be warned that the author may not have intended to support it.
- getFunction
GrFunction getFunction(string mangledName, uint fileId, bool isPublic)
Undocumented in source. Be warned that the author may not have intended to support it.
- getFunction
GrFunction getFunction(string name, GrType[] signature, uint fileId, bool isPublic)
Undocumented in source. Be warned that the author may not have intended to support it.
- parseFunction
void parseFunction(GrFunction func)
Parse the body of global functions
- parseScript
void parseScript(GrData data, GrLexer lexer, int options)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeFunction
void removeFunction(string name)
Remove a declared function
- solveFunctionCalls
void solveFunctionCalls(uint[] opcodes)
Undocumented in source. Be warned that the author may not have intended to support it.
Analyses the syntax and produce the data for the VM The parser analyses the lexemes generated by the lexer and produce machine code.