org.aspectj.compiler.base.ast
Class CodeBody

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Stmt
              extended byorg.aspectj.compiler.base.ast.BlockStmt
                  extended byorg.aspectj.compiler.base.ast.CodeBody
All Implemented Interfaces:
AspectMember
Direct Known Subclasses:
ConstructorBody

public class CodeBody
extends BlockStmt


Field Summary
protected  boolean parsed
           
 
Fields inherited from class org.aspectj.compiler.base.ast.BlockStmt
stmts, tmpStmts
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
protected CodeBody(SourceLocation source)
           
  CodeBody(SourceLocation location, Stmts _stmts, boolean _parsed)
           
  CodeBody(SourceLocation location, Stmts _tmpStmts, Stmts _stmts, boolean _parsed)
           
  CodeBody(Stmt[] _stmts)
           
  CodeBody(Stmts _stmts)
           
 
Method Summary
 void cleanup()
           
 ASTObject copyWalk(CopyWalker walker)
           
 java.lang.String getDefaultDisplayName()
           
 CodeDec getEnclosingCodeDec()
           
 Dec getEnclosingDec()
           
 boolean getParsed()
           
 ASTObject postCleanup(org.aspectj.compiler.base.ByteCodeCleanupPass walker)
           
 void setParsed(boolean _parsed)
           
 void walkScope(ScopeWalker walker)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.BlockStmt
addTemporary, cgStmt, checkReturnType, getChildAt, getChildCount, getChildNameAt, getStmts, getTmpStmts, isEmpty, makeTemporary, makeTempsExplicit, mustBeLive, postScope, preScope, requireBlockStmt, setChildAt, setStmts, setTmpStmts, unparse, walkCleanup, walkFlow, walkFrameLoc
 
Methods inherited from class org.aspectj.compiler.base.ast.Stmt
cgTop, completesNormally, isBreakable, isContinuable, registerLocation, requireStmt, setCompletesNormally
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, checkSpec, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getComment, getCompilationUnit, getDeclaringType, getEndColumn, getEndLine, getEndPosition, getFormalComment, getLexicalType, getOutermostBytecodeType, getOutermostLexicalType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, inStaticContext, isLanguageVisible, isLeaf, isSynthetic, makeChild, makeChild, postAssignmentCheck, postCopy, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, preThreading, remove, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toShortString, toString, unparse, walk, walkAnalysis, walkAssignmentCheck, walkForwardReference, walkInnerInfo, walkMemberMunger
 
Methods inherited from class org.aspectj.compiler.base.CompilerObject
getCompiler, getOptions, getTypeManager, getWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.aspectj.compiler.crosscuts.ast.AspectMember
cgTop, setParent, unparse
 

Field Detail

parsed

protected boolean parsed
Constructor Detail

CodeBody

public CodeBody(SourceLocation location,
                Stmts _stmts,
                boolean _parsed)

CodeBody

public CodeBody(Stmts _stmts)

CodeBody

public CodeBody(Stmt[] _stmts)

CodeBody

public CodeBody(SourceLocation location,
                Stmts _tmpStmts,
                Stmts _stmts,
                boolean _parsed)

CodeBody

protected CodeBody(SourceLocation source)
Method Detail

getEnclosingCodeDec

public CodeDec getEnclosingCodeDec()
Overrides:
getEnclosingCodeDec in class ASTObject

getEnclosingDec

public Dec getEnclosingDec()
Overrides:
getEnclosingDec in class ASTObject

cleanup

public void cleanup()
Specified by:
cleanup in interface AspectMember
Overrides:
cleanup in class BlockStmt

walkScope

public void walkScope(ScopeWalker walker)
Overrides:
walkScope in class ASTObject

postCleanup

public ASTObject postCleanup(org.aspectj.compiler.base.ByteCodeCleanupPass walker)
Overrides:
postCleanup in class BlockStmt

getParsed

public boolean getParsed()

setParsed

public void setParsed(boolean _parsed)

copyWalk

public ASTObject copyWalk(CopyWalker walker)
Overrides:
copyWalk in class BlockStmt

getDefaultDisplayName

public java.lang.String getDefaultDisplayName()
Overrides:
getDefaultDisplayName in class BlockStmt