uk.ac.man.cs.rainbow.compiler.declarations
Class ProcedureDeclaration
java.lang.Object
|
+--uk.ac.man.cs.rainbow.compiler.CompilerThing
|
+--uk.ac.man.cs.rainbow.compiler.CompilerNode
|
+--uk.ac.man.cs.rainbow.compiler.declarations.Declaration
|
+--uk.ac.man.cs.rainbow.compiler.declarations.GlobalDeclaration
|
+--uk.ac.man.cs.rainbow.compiler.declarations.MethodDeclaration
|
+--uk.ac.man.cs.rainbow.compiler.declarations.ProcedureDeclaration
- public class ProcedureDeclaration
- extends MethodDeclaration
Fields inherited from class uk.ac.man.cs.rainbow.compiler.declarations.Declaration |
nm |
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode |
append, appendNotParent, dumpNode, getParent, indent, iterator, list_typecheck, list_typecheck, listLength, listToString, noParent, rasm_list, rasm, setParent, typecheck, typecheckGreen, typecheckGreen |
ProcedureDeclaration
public ProcedureDeclaration(SourcePosition sourcepos,
String name,
Parameter allList,
ProcBody body)
toString
public String toString()
- Overrides:
toString
in class MethodDeclaration
dumpTree
public String dumpTree(int n)
- Overrides:
dumpTree
in class CompilerNode
typecheck
public TCEnv typecheck(TCEnv env,
Errors errors)
- Overrides:
typecheck
in class CompilerNode
input_types
public CompilerType input_types()
output_types
public CompilerType output_types()
value_types
public CompilerType value_types()
argtypes
public CompilerType argtypes()
all_argtypes
public CompilerType all_argtypes()
inputs_required
public int inputs_required()
- Overrides:
inputs_required
in class MethodDeclaration
rasm
public RASMList rasm(CGEnv env)
- Overrides:
rasm
in class CompilerNode
getInputs
public ChannelParameter getInputs()
getOutputs
public ChannelParameter getOutputs()
getRAPA
public void getRAPA(RapaEnv env)