junc.ast
Class ClassBodyDeclarationNode

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

public abstract class ClassBodyDeclarationNode
extends JUnCASTNode

Describe class ClassBodyDeclarationNode here.

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

Field Summary
 int accessFlags
          Describe variable accessFlags here.
 junc.types.JUnCBaseType type
          Describe variable type here.
 
Fields inherited from class antlr.BaseAST
down, right
 
Method Summary
abstract  void encodeType()
          Describe encodeType method here.
 boolean isFinal()
          Describe isFinal method here.
 boolean isInstance()
          Describe isInstance method here.
 boolean isPrivate()
          Describe isPrivate method here.
 boolean isProtected()
          Describe isProtected method here.
 boolean isPublic()
          Describe isPublic method here.
 boolean isStatic()
          Describe isStatic method here.
abstract  void translate(org.apache.bcel.generic.ClassGen classGen)
          Describe translate method here.
 junc.types.JUnCBaseType type()
          Describe type method here.
abstract  junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
          Describe typeCheck method here.
 
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

type

public junc.types.JUnCBaseType type
Describe variable type here.


accessFlags

public int accessFlags
Describe variable accessFlags here.

Method Detail

encodeType

public abstract void encodeType()
Describe encodeType method here.


typeCheck

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

Specified by:
typeCheck in class JUnCASTNode
Parameters:
stable - a SymbolTable value
Returns:
a JUnCBaseType value
Throws:
TypeCheckError - if an error occurs

translate

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

Parameters:
classGen - a ClassGen value

type

public junc.types.JUnCBaseType type()
Describe type method here.

Returns:
a JUnCBaseType value

isFinal

public boolean isFinal()
Describe isFinal method here.

Returns:
a boolean value

isStatic

public boolean isStatic()
Describe isStatic method here.

Returns:
a boolean value

isPublic

public boolean isPublic()
Describe isPublic method here.

Returns:
a boolean value

isPrivate

public boolean isPrivate()
Describe isPrivate method here.

Returns:
a boolean value

isProtected

public boolean isProtected()
Describe isProtected method here.

Returns:
a boolean value

isInstance

public boolean isInstance()
Describe isInstance method here.

Returns:
a boolean value