public final class jdk.nashorn.internal.ir.TemplateLiteral extends jdk.nashorn.internal.ir.Expression
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.ir.TemplateLiteral
super_class: jdk.nashorn.internal.ir.Expression
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final java.util.List<jdk.nashorn.internal.ir.Expression> exprs;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/nashorn/internal/ir/Expression;>;
public void <init>(java.util.List<jdk.nashorn.internal.ir.Expression>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Expression
invokevirtual jdk.nashorn.internal.ir.Expression.getToken:()J
aload 1
aload 1
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Expression
getfield jdk.nashorn.internal.ir.Expression.finish:I
invokespecial jdk.nashorn.internal.ir.Expression.<init>:(JI)V
1: aload 0
aload 1
putfield jdk.nashorn.internal.ir.TemplateLiteral.exprs:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/TemplateLiteral;
0 3 1 exprs Ljava/util/List<Ljdk/nashorn/internal/ir/Expression;>;
Signature: (Ljava/util/List<Ljdk/nashorn/internal/ir/Expression;>;)V
MethodParameters:
Name Flags
exprs final
public jdk.nashorn.internal.codegen.types.Type getType();
descriptor: ()Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.codegen.types.Type.STRING:Ljdk/nashorn/internal/codegen/types/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/TemplateLiteral;
public jdk.nashorn.internal.ir.Node accept(jdk.nashorn.internal.ir.visitor.NodeVisitor<? extends jdk.nashorn.internal.ir.LexicalContext>);
descriptor: (Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual jdk.nashorn.internal.ir.visitor.NodeVisitor.enterTemplateLiteral:(Ljdk/nashorn/internal/ir/TemplateLiteral;)Z
ifeq 2
1: aload 1
aload 0
invokevirtual jdk.nashorn.internal.ir.visitor.NodeVisitor.leaveTemplateLiteral:(Ljdk/nashorn/internal/ir/TemplateLiteral;)Ljdk/nashorn/internal/ir/Node;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/TemplateLiteral;
0 3 1 visitor Ljdk/nashorn/internal/ir/visitor/NodeVisitor<+Ljdk/nashorn/internal/ir/LexicalContext;>;
Signature: (Ljdk/nashorn/internal/ir/visitor/NodeVisitor<+Ljdk/nashorn/internal/ir/LexicalContext;>;)Ljdk/nashorn/internal/ir/Node;
MethodParameters:
Name Flags
visitor final
public void toString(java.lang.StringBuilder, boolean);
descriptor: (Ljava/lang/StringBuilder;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.ir.TemplateLiteral.exprs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: jdk.nashorn.internal.ir.TemplateLiteral java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Expression
astore 3
start local 3 2: aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/ir/TemplateLiteral;
0 5 1 sb Ljava/lang/StringBuilder;
0 5 2 printType Z
2 3 3 expr Ljdk/nashorn/internal/ir/Expression;
MethodParameters:
Name Flags
sb final
printType final
public java.util.List<jdk.nashorn.internal.ir.Expression> getExpressions();
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.internal.ir.TemplateLiteral.exprs:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/TemplateLiteral;
Signature: ()Ljava/util/List<Ljdk/nashorn/internal/ir/Expression;>;
}
SourceFile: "TemplateLiteral.java"