uk.ac.man.cs.rainbow.compiler.declarations
Class ChannelParameter

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.Parameter
                                |
                                +--uk.ac.man.cs.rainbow.compiler.declarations.ChannelParameter

public class ChannelParameter
extends Parameter


Field Summary
 boolean is_input
           
 
Fields inherited from class uk.ac.man.cs.rainbow.compiler.declarations.Declaration
nm
 
Fields inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
next, sourcepos
 
Constructor Summary
ChannelParameter(SourcePosition sourcepos, LocalIdentifier idList, CompilerType spec, boolean is_input)
           
ChannelParameter(SourcePosition sourcepos, String nm, CompilerType spec, boolean is_input)
           
 
Method Summary
 ChannelDeclaration to_channel_decl()
           
 String toString()
           
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.declarations.Parameter
rasm
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.declarations.LocalDeclaration
getSpec, return_local, setSpec, specList, typecheck_lhs, typecheck
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerNode
append, appendNotParent, dumpNode, dumpTree, getParent, indent, iterator, list_typecheck, list_typecheck, listLength, listToString, noParent, rasm_list, rasm, setParent, typecheck, typecheckGreen, typecheckGreen
 
Methods inherited from class uk.ac.man.cs.rainbow.compiler.CompilerThing
className, crashHere, getSerial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

is_input

public boolean is_input
Constructor Detail

ChannelParameter

public ChannelParameter(SourcePosition sourcepos,
                        String nm,
                        CompilerType spec,
                        boolean is_input)

ChannelParameter

public ChannelParameter(SourcePosition sourcepos,
                        LocalIdentifier idList,
                        CompilerType spec,
                        boolean is_input)
Method Detail

toString

public String toString()
Overrides:
toString in class Parameter

to_channel_decl

public ChannelDeclaration to_channel_decl()