Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

bossa.syntax
Class AbstractInterfaceImplementation  view AbstractInterfaceImplementation download AbstractInterfaceImplementation.java

java.lang.Object
  extended bybossa.syntax.Node
      extended bybossa.syntax.Definition
          extended bybossa.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 $

Field Summary
(package private)  boolean _finally
           
(package private)  boolean _interface
           
(package private)  LocatedString className
           
(package private)  mlsub.typing.TypeConstructor classTC
           
(package private)  mlsub.typing.Interface interfaceITF
           
(package private)  LocatedString interfaceName
           
 
Fields inherited from class bossa.syntax.Definition
currentModule, docString, module, name
 
Fields inherited from class bossa.syntax.Node
children, currentFunction, down, global, none, propagate, scope, thisExp, typeScope, upper
 
Constructor Summary
AbstractInterfaceImplementation(LocatedString className, LocatedString interfaceName, boolean _finally, boolean _interface)
           
 
Method Summary
 void compile()
          Generates bytecode for this definition.
private  void createContext()
           
 void printInterface(java.io.PrintWriter w)
          Write the exported interface of the definition to the stream.
 void resolve()
          uses the scope to replace identifiers with their meaning
 
Methods inherited from class bossa.syntax.Definition
associatedDefinitions, compilation, getName, inInterfaceFile, location, printInterface, resolveBody
 
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
 

Field Detail

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
Constructor Detail

AbstractInterfaceImplementation

public AbstractInterfaceImplementation(LocatedString className,
                                       LocatedString interfaceName,
                                       boolean _finally,
                                       boolean _interface)
Method Detail

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