|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Function | |
|---|---|
| com.adamcornett.cminus | This package contains all of the main classes for the program |
| com.adamcornett.cminus.tree | This package contains the classes for the tree nodes generated by the C Minus Parser. |
| Uses of Function in com.adamcornett.cminus |
|---|
| Fields in com.adamcornett.cminus declared as Function | |
|---|---|
private static Function |
Compiler.curFunc
The current function the parser is in, stored to make adding & defining functions easier |
| Fields in com.adamcornett.cminus with type parameters of type Function | |
|---|---|
private Map<String,Function> |
FunctionTable.functions
|
| Methods in com.adamcornett.cminus that return Function | |
|---|---|
static Function |
Compiler.findFunction(String text)
Looks for a function in the global function table. |
Function |
FunctionTable.get(String s)
|
| Methods in com.adamcornett.cminus with parameters of type Function | |
|---|---|
void |
FunctionTable.add(Function function)
|
static void |
Compiler.addFunction(Function f)
Add a function to the function table. |
| Uses of Function in com.adamcornett.cminus.tree |
|---|
| Fields in com.adamcornett.cminus.tree declared as Function | |
|---|---|
private Function |
FuncTree.f
The function from the FunctionTable |
| Methods in com.adamcornett.cminus.tree that return Function | |
|---|---|
Function |
CallTree.getFunction()
|
Function |
FuncTree.getFunction()
Get the function declaration from the FunctionTable |
Function |
FunctionNode.getFunction()
|
private Function |
ReturnTree.getFunction()
|
| Methods in com.adamcornett.cminus.tree with parameters of type Function | |
|---|---|
void |
CallTree.setFunction(Function f)
|
void |
FuncTree.setFunction(Function f)
|
void |
FunctionNode.setFunction(Function f)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||