junc.ast
Class StaticInitializerNode

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

public class StaticInitializerNode
extends ClassBodyDeclarationNode

See Also:
Serialized Form

Field Summary
 junc.ast.BlockNode block
           
 
Fields inherited from class junc.ast.ClassBodyDeclarationNode
accessFlags, type
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
StaticInitializerNode()
           
 
Method Summary
 void encodeType()
          Describe encodeType method here.
 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.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

block

public junc.ast.BlockNode block
Constructor Detail

StaticInitializerNode

public StaticInitializerNode()
Method Detail

encodeType

public void encodeType()
Description copied from class: ClassBodyDeclarationNode
Describe encodeType method here.

Specified by:
encodeType in class ClassBodyDeclarationNode

typeCheck

public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
                                  throws TypeCheckError
Description copied from class: ClassBodyDeclarationNode
Describe typeCheck method here.

Specified by:
typeCheck in class ClassBodyDeclarationNode
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)
Description copied from class: ClassBodyDeclarationNode
Describe translate method here.

Specified by:
translate in class ClassBodyDeclarationNode
Parameters:
classGen - a ClassGen value