final class jdk.nashorn.api.tree.FunctionExpressionTreeImpl extends jdk.nashorn.api.tree.ExpressionTreeImpl implements jdk.nashorn.api.tree.FunctionExpressionTree
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.api.tree.FunctionExpressionTreeImpl
super_class: jdk.nashorn.api.tree.ExpressionTreeImpl
{
private final jdk.nashorn.internal.ir.FunctionNode funcNode;
descriptor: Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.api.tree.IdentifierTree funcName;
descriptor: Ljdk/nashorn/api/tree/IdentifierTree;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<? extends jdk.nashorn.api.tree.ExpressionTree> params;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;
private final jdk.nashorn.api.tree.Tree body;
descriptor: Ljdk/nashorn/api/tree/Tree;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.api.tree.FunctionExpressionTreeImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.nashorn.internal.ir.FunctionNode, java.util.List<? extends jdk.nashorn.api.tree.ExpressionTree>, jdk.nashorn.api.tree.BlockTree);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List;Ljdk/nashorn/api/tree/BlockTree;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial jdk.nashorn.api.tree.ExpressionTreeImpl.<init>:(Ljdk/nashorn/internal/ir/Expression;)V
1: aload 0
aload 1
putfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
2: getstatic jdk.nashorn.api.tree.FunctionExpressionTreeImpl.$assertionsDisabled:Z
ifne 3
aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isDeclared:()Z
ifeq 3
aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isAnonymous:()Z
ifne 3
new java.lang.AssertionError
dup
ldc "function expression expected"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: jdk.nashorn.api.tree.FunctionExpressionTreeImpl jdk.nashorn.internal.ir.FunctionNode java.util.List jdk.nashorn.api.tree.BlockTree
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getKind:()Ljdk/nashorn/internal/ir/FunctionNode$Kind;
astore 4
start local 4 4: aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isAnonymous:()Z
ifne 5
aload 4
getstatic jdk.nashorn.internal.ir.FunctionNode$Kind.GETTER:Ljdk/nashorn/internal/ir/FunctionNode$Kind;
if_acmpeq 5
aload 4
getstatic jdk.nashorn.internal.ir.FunctionNode$Kind.SETTER:Ljdk/nashorn/internal/ir/FunctionNode$Kind;
if_acmpne 7
5: StackMap locals: jdk.nashorn.internal.ir.FunctionNode$Kind
StackMap stack:
aload 0
aconst_null
putfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcName:Ljdk/nashorn/api/tree/IdentifierTree;
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
new jdk.nashorn.api.tree.IdentifierTreeImpl
dup
aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getIdent:()Ljdk/nashorn/internal/ir/IdentNode;
invokespecial jdk.nashorn.api.tree.IdentifierTreeImpl.<init>:(Ljdk/nashorn/internal/ir/IdentNode;)V
putfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcName:Ljdk/nashorn/api/tree/IdentifierTree;
8: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.params:Ljava/util/List;
9: aload 1
ldc 67108864
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getFlag:(I)Z
ifeq 14
10: aload 3
invokeinterface jdk.nashorn.api.tree.BlockTree.getStatements:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.nashorn.api.tree.StatementTree
astore 5
start local 5 11: getstatic jdk.nashorn.api.tree.FunctionExpressionTreeImpl.$assertionsDisabled:Z
ifne 12
aload 5
instanceof jdk.nashorn.api.tree.ReturnTree
ifne 12
new java.lang.AssertionError
dup
ldc "consise func. expression should have a return statement"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals: jdk.nashorn.api.tree.StatementTree
StackMap stack:
aload 0
aload 5
checkcast jdk.nashorn.api.tree.ReturnTree
invokeinterface jdk.nashorn.api.tree.ReturnTree.getExpression:()Ljdk/nashorn/api/tree/ExpressionTree;
putfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.body:Ljdk/nashorn/api/tree/Tree;
end local 5 13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.body:Ljdk/nashorn/api/tree/Tree;
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
0 16 1 node Ljdk/nashorn/internal/ir/FunctionNode;
0 16 2 params Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;
0 16 3 body Ljdk/nashorn/api/tree/BlockTree;
4 16 4 kind Ljdk/nashorn/internal/ir/FunctionNode$Kind;
11 13 5 first Ljdk/nashorn/api/tree/StatementTree;
Signature: (Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;Ljdk/nashorn/api/tree/BlockTree;)V
MethodParameters:
Name Flags
node final
params final
body final
public jdk.nashorn.api.tree.Tree$Kind getKind();
descriptor: ()Ljdk/nashorn/api/tree/Tree$Kind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.api.tree.Tree$Kind.FUNCTION_EXPRESSION:Ljdk/nashorn/api/tree/Tree$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
public jdk.nashorn.api.tree.IdentifierTree getName();
descriptor: ()Ljdk/nashorn/api/tree/IdentifierTree;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcName:Ljdk/nashorn/api/tree/IdentifierTree;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
public java.util.List<? extends jdk.nashorn.api.tree.ExpressionTree> getParameters();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.params:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
Signature: ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;
public jdk.nashorn.api.tree.Tree getBody();
descriptor: ()Ljdk/nashorn/api/tree/Tree;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.body:Ljdk/nashorn/api/tree/Tree;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
public boolean isStrict();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isStrict:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
public boolean isArrow();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getKind:()Ljdk/nashorn/internal/ir/FunctionNode$Kind;
getstatic jdk.nashorn.internal.ir.FunctionNode$Kind.ARROW:Ljdk/nashorn/internal/ir/FunctionNode$Kind;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
public boolean isGenerator();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionExpressionTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getKind:()Ljdk/nashorn/internal/ir/FunctionNode$Kind;
getstatic jdk.nashorn.internal.ir.FunctionNode$Kind.GENERATOR:Ljdk/nashorn/internal/ir/FunctionNode$Kind;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
public <R, D> R accept(jdk.nashorn.api.tree.TreeVisitor<R, D>, );
descriptor: (Ljdk/nashorn/api/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
invokeinterface jdk.nashorn.api.tree.TreeVisitor.visitFunctionExpression:(Ljdk/nashorn/api/tree/FunctionExpressionTree;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionExpressionTreeImpl;
0 1 1 visitor Ljdk/nashorn/api/tree/TreeVisitor<TR;TD;>;
0 1 2 data TD;
Signature: <R:Ljava/lang/Object;D:Ljava/lang/Object;>(Ljdk/nashorn/api/tree/TreeVisitor<TR;TD;>;TD;)TR;
MethodParameters:
Name Flags
visitor final
data final
}
SourceFile: "FunctionExpressionTreeImpl.java"
InnerClasses:
public final Kind = jdk.nashorn.api.tree.Tree$Kind of jdk.nashorn.api.tree.Tree
public final Kind = jdk.nashorn.internal.ir.FunctionNode$Kind of jdk.nashorn.internal.ir.FunctionNode