AST
node type Stmt

General Info

Production
Stmt : ASTNode;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Stmt
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
AssertStmt, BasicTWR, Block, BranchTargetStmt, BreakStmt, Case, ContinueStmt, EmptyStmt, ExprStmt, IfStmt, LocalClassDeclStmt, ReturnStmt, SynchronizedStmt, ThrowStmt, TryStmt, VarDeclStmt, VariableDeclaration

Description

Source
Declared in Java1.4Frontend/java.ast at line 195

Member Filters

API level:

Aspect:

Constructors

public Stmt()
 

Attributes

syn boolean modifiedInScope(Variable var)
Source
Declared in Java7Frontend/PreciseRethrow.jrag at line 55
Aspect
PreciseRethrow
syn boolean isDAafter(Variable v)
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 325
Aspect
DA
syn boolean isDUafter(Variable v)
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 777
Aspect
DU
syn boolean declaresVariable(java.lang.String name)
Source
Declared in Java1.4Frontend/LookupVariable.jrag at line 129
Aspect
VariableScope
syn boolean continueLabel()
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 401
Aspect
NameCheck
syn boolean addsIndentationLevel()
Overrides:addsIndentationLevel in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 758
Aspect
PrettyPrint
syn boolean canCompleteNormally()
Source
Declared in Java1.4Frontend/UnreachableStatements.jrag at line 29
Aspect
UnreachableStatements
syn int break_label()
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 1398
Aspect
CreateBCode
syn int continue_label()
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 1417
Aspect
CreateBCode
inh boolean isDAbefore(Variable v)
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 232
Aspect
DA
inh boolean isDUbefore(Variable v)
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 691
Aspect
DU
inh java.util.Collection lookupMethod(java.lang.String name)
Source
Declared in Java1.4Frontend/LookupMethod.jrag at line 24
Aspect
LookupMethod
inh TypeDecl lookupType(java.lang.String packageName,
                    java.lang.String typeName)
Source
Declared in Java1.4Frontend/LookupType.jrag at line 96
Aspect
LookupFullyQualifiedTypes
inh SimpleSet lookupType(java.lang.String name)
Source
Declared in Java1.4Frontend/LookupType.jrag at line 262
Aspect
TypeScopePropagation
inh SimpleSet lookupVariable(java.lang.String name)
Source
Declared in Java1.4Frontend/LookupVariable.jrag at line 16
Aspect
VariableScope
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 511
Aspect
NestedTypes
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 587
Aspect
NestedTypes
inh boolean reachable()
Source
Declared in Java1.4Frontend/UnreachableStatements.jrag at line 27
Aspect
UnreachableStatements
inh boolean reportUnreachable()
Source
Declared in Java1.4Frontend/UnreachableStatements.jrag at line 147
Aspect
UnreachableStatements
inh int localNum()
Source
Declared in Java1.4Backend/LocalNum.jrag at line 12
Aspect
LocalNum

Methods

public void flushCache()
Overrides:flushCache in class ASTNode<ASTNode>
public void flushCollectionCache()
Overrides:flushCollectionCache in class ASTNode<ASTNode>
public Stmt clone()
           throws java.lang.CloneNotSupportedException
Overrides:clone in class ASTNode<ASTNode>
Throws:
java.lang.CloneNotSupportedException
public void createBCode(CodeGeneration gen)
Overrides:createBCode in class ASTNode<ASTNode>
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 1174
Aspect
CreateBCode
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ASTNode<ASTNode>
protected int numChildren()
Overrides:numChildren in class ASTNode<ASTNode>
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ASTNode<ASTNode>
public java.lang.String Define_String_typeDeclIndent(ASTNode caller,
                                                     ASTNode child)
Overrides:Define_String_typeDeclIndent in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 352
Overrides:rewriteTo in class ASTNode<ASTNode>

Fields

protected java.util.Map isDAafter_Variable_values
protected java.util.Map isDUafter_Variable_values
protected boolean canCompleteNormally_value
protected boolean localNum_computed
protected int localNum_value

Inherited Members

Attributes inherited from AST.ASTNode

Methods inherited from class AST.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value