uk.ac.man.cs.rainbow.compiler.declarations
Class ChannelDeclaration
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.LocalDeclaration
|
+--uk.ac.man.cs.rainbow.compiler.declarations.ChannelDeclaration
- public class ChannelDeclaration
- extends LocalDeclaration
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 |
producer
public boolean producer
consumer
public boolean consumer
ChannelDeclaration
public ChannelDeclaration(SourcePosition sourcepos,
String nm,
CompilerType spec,
boolean producer,
boolean consumer)
ChannelDeclaration
public ChannelDeclaration()
ChannelDeclaration
public ChannelDeclaration(SourcePosition sourcepos,
LocalIdentifier idList,
CompilerType spec,
boolean producer,
boolean consumer)
toString
public String toString()
- Overrides:
toString
in class LocalDeclaration
dumpTree
public String dumpTree(int n)
- Overrides:
dumpTree
in class CompilerNode
rasm
public RASMList rasm(CGEnv env)
- Overrides:
rasm
in class CompilerNode
green_rasm
public RASMList green_rasm(GreenEnv env)
rasm_list_green_rasm
public RASMList rasm_list_green_rasm(GreenEnv env)