junc
Class JUnC

java.lang.Object
  |
  +--junc.JUnC

public class JUnC
extends java.lang.Object

This is the main class of the JUnC parser.

Version:
1.0
Author:
Diwaker Gupta

Constructor Summary
JUnC()
          The only constructor.
 
Method Summary
static junc.symtab.Symbol currentClass()
          Describe currentClass method here.
static void currentClass(junc.symtab.Symbol name)
          Describe currentClass method here.
static junc.symtab.Symbol currentPackage()
          Describe currentPackage method here.
static java.util.Vector errors()
          Describe errors method here.
 void execute(java.lang.String[] args)
          JUnC's main loop.
static java.lang.String fileName()
          Describe fileName method here.
static junc.debug.ExceptionStack getExceptionStack()
          Describe getExceptionStack method here.
static junc.cim.ClassImportManager getImportManager()
          Describe getImportManager method here.
static junc.symtab.SymbolTable getSymbolTable()
          Describe getSymbolTable method here.
static void internalError()
          Aborts the execution of the compiler as a result of an unrecoverable error.
static void main(java.lang.String[] args)
          Entry point.
static void notYetImplemented()
          Aborts the execution of the compiler if something found in the source file can't be compiled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnC

public JUnC()
The only constructor.

Method Detail

execute

public void execute(java.lang.String[] args)
JUnC's main loop.


internalError

public static void internalError()
Aborts the execution of the compiler as a result of an unrecoverable error.


notYetImplemented

public static void notYetImplemented()
Aborts the execution of the compiler if something found in the source file can't be compiled.


errors

public static java.util.Vector errors()
Describe errors method here.

Returns:
a Vector value

getExceptionStack

public static junc.debug.ExceptionStack getExceptionStack()
Describe getExceptionStack method here.

Returns:
an ExceptionStack value

getSymbolTable

public static junc.symtab.SymbolTable getSymbolTable()
Describe getSymbolTable method here.

Returns:
a SymbolTable value

fileName

public static java.lang.String fileName()
Describe fileName method here.

Returns:
a String value

getImportManager

public static junc.cim.ClassImportManager getImportManager()
Describe getImportManager method here.

Returns:
a ClassImportManager value

currentPackage

public static junc.symtab.Symbol currentPackage()
Describe currentPackage method here.

Returns:
a Symbol value

currentClass

public static void currentClass(junc.symtab.Symbol name)
Describe currentClass method here.

Parameters:
name - a Symbol value

currentClass

public static junc.symtab.Symbol currentClass()
Describe currentClass method here.

Returns:
a Symbol value

main

public static void main(java.lang.String[] args)
Entry point.