org.extendj.ast
node type ContinueStmt

General Info

Production
ContinueStmt : Stmt ::= <Label:String> [Finally:Block];
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.Stmt
              extended by org.extendj.ast.ContinueStmt
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable

Description

Source
Declared in /home/jesper/git/extendj/java4/grammar/Java.ast at line 209

Member Filters

API level:

Aspect:

Constructors

public ContinueStmt()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public ContinueStmt(java.lang.String p0)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 14
public ContinueStmt(beaver.Symbol p0)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 17

Attributes

Source
Declared in /home/jesper/git/extendj/java4/frontend/BranchTarget.jrag at line 116
Aspect
BranchTarget
Overrides:canBranchTo in class Stmt
Returns:
true if this statement can branch to the target statement.
Source
Declared in /home/jesper/git/extendj/java4/frontend/BranchTarget.jrag at line 187
Aspect
BranchTarget
Overrides:canBranchTo in class Stmt
Source
Declared in /home/jesper/git/extendj/java4/frontend/BranchTarget.jrag at line 188
Aspect
BranchTarget
Overrides:canBranchTo in class Stmt
Source
Declared in /home/jesper/git/extendj/java4/frontend/BranchTarget.jrag at line 189
Aspect
BranchTarget
Find the target statement for break and continue. This can be a try statement with a finally block that can not complete normally.
Source
Declared in /home/jesper/git/extendj/java4/frontend/BranchTarget.jrag at line 46
Aspect
BranchTarget
@ASTNodeAnnotation.Attribute
syn boolean isDAafter(org.extendj.ast.Variable v)
Overrides:isDAafter in class Stmt
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 257
Aspect
DA
@ASTNodeAnnotation.Attribute
syn boolean isDUafterReachedFinallyBlocks(org.extendj.ast.Variable v)
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 1071
Aspect
DU
@ASTNodeAnnotation.Attribute
syn boolean isDAafterReachedFinallyBlocks(org.extendj.ast.Variable v)
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 1115
Aspect
DU
@ASTNodeAnnotation.Attribute
syn boolean isDUafter(org.extendj.ast.Variable v)
Overrides:isDUafter in class Stmt
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 781
Aspect
DU
Source
Declared in /home/jesper/git/extendj/java4/frontend/NTAFinally.jrag at line 57
Aspect
NTAFinally
Overrides:canCompleteNormally in class Stmt
Source
Declared in /home/jesper/git/extendj/java4/frontend/UnreachableStatements.jrag at line 53
Aspect
UnreachableStatements
@ASTNodeAnnotation.Attribute
syn boolean modifiedInScope(org.extendj.ast.Variable var)
Specified by:modifiedInScope in class Stmt
Source
Declared in /home/jesper/git/extendj/java7/frontend/PreciseRethrow.jrag at line 84
Aspect
PreciseRethrow
Source
Declared in /home/jesper/git/extendj/java4/frontend/BranchTarget.jrag at line 250
Aspect
BranchTarget
Source
Declared in /home/jesper/git/extendj/java4/frontend/NameCheck.jrag at line 441
Aspect
NameCheck

Methods

public void collectBranches(java.util.Collection<Stmt> c)
Overrides:collectBranches in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/BranchTarget.jrag at line 96
Aspect
BranchTarget
public void nameCheck()
Overrides:nameCheck in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/NameCheck.jrag at line 465
Aspect
NameCheck
public void prettyPrint(org.jastadd.util.PrettyPrinter out)
Specified by:prettyPrint in interface org.jastadd.util.PrettyPrintableOverrides:prettyPrint in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrint.jadd at line 194
Aspect
Java4PrettyPrint
public void createBCode(org.extendj.ast.CodeGeneration gen)
Overrides:createBCode in class Stmt
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 1656
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
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class Stmt
Source
Declared in /home/jesper/git/extendj/ASTNode at line 23
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Stmt
Source
Declared in /home/jesper/git/extendj/ASTNode at line 29
public void flushAttrCache()
Overrides:flushAttrCache in class Stmt
Source
Declared in /home/jesper/git/extendj/ASTNode at line 35
public void flushCollectionCache()
Overrides:flushCollectionCache in class Stmt
Source
Declared in /home/jesper/git/extendj/ASTNode at line 49
public void flushRewriteCache()
Overrides:flushRewriteCache in class Stmt
Source
Declared in /home/jesper/git/extendj/ASTNode at line 55
public ContinueStmt clone()
                   throws java.lang.CloneNotSupportedException
Overrides:clone in class Stmt
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 61
public ContinueStmt copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 68
@Deprecated
public ContinueStmt fullCopy()
Deprecated. Please use treeCopy or treeCopyNoTransform instead

Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.

Specified by:fullCopy in class Stmt
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 87
public ContinueStmt treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Specified by:treeCopyNoTransform in class Stmt
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 97
public ContinueStmt treeCopy()
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
Specified by:treeCopy in class Stmt
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 122
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 129
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.
Parameters:
symbol - Symbol containing the new value for the lexeme Label
@ASTNodeAnnotation.Token(name="Label")
public java.lang.String getLabel()
Retrieves the value for the lexeme Label.
Returns:
The value for the lexeme Label.
public void setFinally(Block node)
Replaces the (optional) Finally child.
Parameters:
node - The new node to be used as the Finally child.
public boolean hasFinally()
Check whether the optional Finally child exists.
Returns:
true if the optional Finally child exists, false if it does not.
public Block getFinally()
Retrieves the (optional) Finally child.
Returns:
The Finally child, if it exists. Returns null otherwise.
Retrieves the optional node for child Finally. This is the Opt node containing the child Finally, not the actual child!

This method does not invoke AST transformations.

Returns:
The optional node for child Finally.
Retrieves the child position of the optional child Finally.
Returns:
The the child position of the optional child Finally.
Overrides:rewriteTo in class Stmt

Fields

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

Inherited Members

Attributes inherited from org.extendj.ast.Stmt

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.Stmt

Methods inherited from class org.extendj.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 org.extendj.ast.Stmt

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value