junc.ast
Class ConstructorDeclarationNode

java.lang.Object
  |
  +--antlr.BaseAST
        |
        +--antlr.CommonAST
              |
              +--junc.ast.JUnCASTNode
                    |
                    +--junc.ast.ClassBodyDeclarationNode
                          |
                          +--junc.ast.MethodDeclarationNode
                                |
                                +--junc.ast.ConstructorDeclarationNode
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable

public class ConstructorDeclarationNode
extends MethodDeclarationNode

Describe class ConstructorDeclarationNode here.

Version:
1.0
Author:
Diwaker Gupta
See Also:
Serialized Form

Field Summary
 junc.ast.ConstructorInvocationNode constructorInvocation
          Describe variable constructorInvocation here.
 junc.ast.BlockNode fieldInit
          Describe variable fieldInit here.
 
Fields inherited from class junc.ast.MethodDeclarationNode
block, exceptions, formalParameters, name, NUMBER_FORMALS, scope
 
Fields inherited from class junc.ast.ClassBodyDeclarationNode
accessFlags, type
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
ConstructorDeclarationNode()
          Creates a new ConstructorDeclarationNode instance.
 
Method Summary
 void translate(org.apache.bcel.generic.ClassGen classGen)
          Describe translate method here.
 junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
          Describe typeCheck method here.
 
Methods inherited from class junc.ast.MethodDeclarationNode
argsNames, argsType, encodeType, isReturn, returnType
 
Methods inherited from class junc.ast.ClassBodyDeclarationNode
isFinal, isInstance, isPrivate, isProtected, isPublic, isStatic, type
 
Methods inherited from class junc.ast.JUnCASTNode
getColumnNumber, getLineNumber, setColumnNumber, setLineNumber
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, initialize, initialize, setText, setType
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

constructorInvocation

public junc.ast.ConstructorInvocationNode constructorInvocation
Describe variable constructorInvocation here.


fieldInit

public junc.ast.BlockNode fieldInit
Describe variable fieldInit here.

Constructor Detail

ConstructorDeclarationNode

public ConstructorDeclarationNode()
Creates a new ConstructorDeclarationNode instance.

Method Detail

typeCheck

public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
                                  throws TypeCheckError
Describe typeCheck method here.

Overrides:
typeCheck in class MethodDeclarationNode
Parameters:
stable - a SymbolTable value
Returns:
a JUnCBaseType value
Throws:
TypeCheckError - if an error occurs

translate

public void translate(org.apache.bcel.generic.ClassGen classGen)
Describe translate method here.

Overrides:
translate in class MethodDeclarationNode
Parameters:
classGen - a ClassGen value