AST
node type BreakStmt

General Info

Production
BreakStmt : Stmt ::= <Label:String>;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Stmt
              extended by AST.BreakStmt
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

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

Member Filters

API level:

Aspect:

Constructors

public BreakStmt()
 
public BreakStmt(java.lang.String p0)
 
public BreakStmt(beaver.Symbol p0)
 

Attributes

syn boolean hasLabel()
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 65
Aspect
BranchTarget
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 148
Aspect
BranchTarget
syn java.util.ArrayList finallyList()
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 175
Aspect
BranchTarget
syn boolean isDAafter(Variable v)
Overrides:isDAafter in class Stmt
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 647
Aspect
DA
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 921
Aspect
DU
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 953
Aspect
DU
syn boolean isDUafter(Variable v)
Overrides:isDUafter in class Stmt
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 1170
Aspect
DU
syn boolean canCompleteNormally()
Overrides:canCompleteNormally in class Stmt
Source
Declared in Java1.4Frontend/UnreachableStatements.jrag at line 105
Aspect
UnreachableStatements
syn boolean modifiedInScope(Variable var)
Specified by:modifiedInScope in class Stmt
Source
Declared in Java7Frontend/PreciseRethrow.jrag at line 55
Aspect
PreciseRethrow
inh LabeledStmt lookupLabel(java.lang.String name)
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 168
Aspect
BranchTarget
inh boolean insideLoop()
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 365
Aspect
NameCheck
inh boolean insideSwitch()
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 374
Aspect
NameCheck

Methods

public void flushCache()
Overrides:flushCache in class Stmt
public void flushCollectionCache()
Overrides:flushCollectionCache in class Stmt
public BreakStmt clone()
                throws java.lang.CloneNotSupportedException
Overrides:clone in class Stmt
Throws:
java.lang.CloneNotSupportedException
public BreakStmt copy()
Overrides:copy in class ASTNode<ASTNode>
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
public void collectBranches(java.util.Collection c)
Overrides:collectBranches in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 51
Aspect
BranchTarget
public void nameCheck()
Overrides:nameCheck in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 379
Aspect
NameCheck
public void toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 667
Aspect
PrettyPrint
public void createBCode(CodeGeneration gen)
Overrides:createBCode in class Stmt
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 1408
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 Stmt
protected int numChildren()
Overrides:numChildren in class Stmt
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Stmt
public void setLabel(java.lang.String value)
Replaces the lexeme Label.
Parameters:
value - The new value for the lexeme Label.
public void setLabel(beaver.Symbol symbol)
JastAdd-internal setter for lexeme Label using the Beaver parser.
public java.lang.String getLabel()
Retrieves the value for the lexeme Label.
Returns:
The value for the lexeme Label.
Overrides:rewriteTo in class Stmt

Fields

protected java.lang.String tokenString_Label
public int Labelstart
public int Labelend
protected boolean targetStmt_computed
protected boolean finallyList_computed
protected java.util.ArrayList finallyList_value
protected java.util.Map isDAafter_Variable_values
protected java.util.Map isDUafter_Variable_values
protected boolean canCompleteNormally_value
protected java.util.Map lookupLabel_String_values

Inherited Members

Attributes inherited from AST.Stmt

Attributes inherited from AST.ASTNode

Methods inherited from class AST.Stmt

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.Stmt

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value