org.extendj.ast
node type LambdaBody

General Info

Production
LambdaBody : ASTNode;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.LambdaBody
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
BlockLambdaBody, ExprLambdaBody

Description

Source
Declared in /home/jesper/git/extendj/java8/grammar/Lambda.ast at line 11

Member Filters

API level:

Aspect:

Constructors

public LambdaBody()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1

Attributes

@ASTNodeAnnotation.Attribute
syn boolean modifiedInScope(org.extendj.ast.Variable var)
Source
Declared in /home/jesper/git/extendj/java8/frontend/EffectivelyFinal.jrag at line 43
Aspect
PreciseRethrow
Source
Declared in /home/jesper/git/extendj/java8/frontend/LambdaBody.jrag at line 29
Aspect
LambdaBody
Source
Declared in /home/jesper/git/extendj/java8/frontend/LambdaBody.jrag at line 30
Aspect
LambdaBody
@ASTNodeAnnotation.Attribute
syn boolean congruentTo(org.extendj.ast.FunctionDescriptor f)
Source
Declared in /home/jesper/git/extendj/java8/frontend/LambdaExpr.jrag at line 71
Aspect
LambdaExpr
Source
Declared in /home/jesper/git/extendj/java8/backend/LambdaToClass.jrag at line 68
Aspect
LambdaToClass
Source
Declared in /home/jesper/git/extendj/java8/frontend/EnclosingLambda.jrag at line 29
Aspect
EnclosingLambda
@ASTNodeAnnotation.Attribute
inh org.extendj.ast.SimpleSet lookupVariable(java.lang.String name)
Source
Declared in /home/jesper/git/extendj/java8/frontend/LookupVariable.jrag at line 30
Aspect
VariableScope
Source
Declared in /home/jesper/git/extendj/java8/frontend/TypeCheck.jrag at line 31
Aspect
TypeCheck

Methods

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>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 15
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 21
public void flushAttrCache()
Overrides:flushAttrCache in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 27
public void flushCollectionCache()
Overrides:flushCollectionCache in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 35
public void flushRewriteCache()
Overrides:flushRewriteCache in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 41
public LambdaBody clone()
                 throws java.lang.CloneNotSupportedException
Overrides:clone in class ASTNode<ASTNode>
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 47
@Deprecated
public abstract LambdaBody 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.

Overrides:fullCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 58
public abstract LambdaBody treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:treeCopyNoTransform in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 66
public abstract LambdaBody 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.
Overrides:treeCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 74
Overrides:rewriteTo in class ASTNode<ASTNode>

Fields

protected boolean enclosingLambda_computed
protected java.util.Map lookupVariable_String_values

Inherited Members

Attributes inherited from org.extendj.ast.ASTNode

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

Fields inherited from beaver.Symbol

end
id
start
value