bossa.syntax
Class AbstractInterfaceImplementation

java.lang.Object
bossa.syntax.Node
bossa.syntax.Definition
bossa.syntax.AbstractInterfaceImplementation
- All Implemented Interfaces:
- bossa.util.Located
- public class AbstractInterfaceImplementation
- extends Definition
Declaration that an existing class implements an abstract interface.
The abstract interface must belong to the current package.
- Version:
- $Date: 2003/09/15 22:29:21 $
| Methods inherited from class bossa.syntax.Node |
addChild, addChildren, addFirstChild, addSymbol, addTypeMap, addTypeSymbol, addTypeSymbols, buildScope, buildScope, child, doResolve, doTypecheck, getCurrentFunction, getGlobalScope, getGlobalTypeScope, getScope, getTypeScope, removeChild, setCurrentFunction, setModule, typecheck |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
final LocatedString className
interfaceName
final LocatedString interfaceName
_finally
final boolean _finally
_interface
final boolean _interface
classTC
mlsub.typing.TypeConstructor classTC
interfaceITF
mlsub.typing.Interface interfaceITF
AbstractInterfaceImplementation
public AbstractInterfaceImplementation(LocatedString className,
LocatedString interfaceName,
boolean _finally,
boolean _interface)
resolve
public void resolve()
- Description copied from class:
Node
- uses the scope to replace identifiers with their meaning
- Overrides:
resolve in class Node
createContext
private void createContext()
printInterface
public void printInterface(java.io.PrintWriter w)
- Description copied from class:
Definition
- Write the exported interface of the definition
to the stream.
- Specified by:
printInterface in class Definition
compile
public void compile()
- Description copied from class:
Definition
- Generates bytecode for this definition.
- Specified by:
compile in class Definition