public final class jdk.nashorn.internal.ir.TernaryNode 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.TernaryNode
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 jdk.nashorn.internal.ir.Expression test;
descriptor: Ljdk/nashorn/internal/ir/Expression;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.ir.JoinPredecessorExpression trueExpr;
descriptor: Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.ir.JoinPredecessorExpression falseExpr;
descriptor: Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(long, jdk.nashorn.internal.ir.Expression, jdk.nashorn.internal.ir.JoinPredecessorExpression, jdk.nashorn.internal.ir.JoinPredecessorExpression);
descriptor: (JLjdk/nashorn/internal/ir/Expression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
lload 1
aload 5
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.getFinish:()I
invokespecial jdk.nashorn.internal.ir.Expression.<init>:(JI)V
1: aload 0
aload 3
putfield jdk.nashorn.internal.ir.TernaryNode.test:Ljdk/nashorn/internal/ir/Expression;
2: aload 0
aload 4
putfield jdk.nashorn.internal.ir.TernaryNode.trueExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
3: aload 0
aload 5
putfield jdk.nashorn.internal.ir.TernaryNode.falseExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
4: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/ir/TernaryNode;
0 5 1 token J
0 5 3 test Ljdk/nashorn/internal/ir/Expression;
0 5 4 trueExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
0 5 5 falseExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
MethodParameters:
Name Flags
token final
test final
trueExpr final
falseExpr final
private void <init>(jdk.nashorn.internal.ir.TernaryNode, jdk.nashorn.internal.ir.Expression, jdk.nashorn.internal.ir.JoinPredecessorExpression, jdk.nashorn.internal.ir.JoinPredecessorExpression);
descriptor: (Ljdk/nashorn/internal/ir/TernaryNode;Ljdk/nashorn/internal/ir/Expression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial jdk.nashorn.internal.ir.Expression.<init>:(Ljdk/nashorn/internal/ir/Expression;)V
1: aload 0
aload 2
putfield jdk.nashorn.internal.ir.TernaryNode.test:Ljdk/nashorn/internal/ir/Expression;
2: aload 0
aload 3
putfield jdk.nashorn.internal.ir.TernaryNode.trueExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
3: aload 0
aload 4
putfield jdk.nashorn.internal.ir.TernaryNode.falseExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/ir/TernaryNode;
0 5 1 ternaryNode Ljdk/nashorn/internal/ir/TernaryNode;
0 5 2 test Ljdk/nashorn/internal/ir/Expression;
0 5 3 trueExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
0 5 4 falseExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
MethodParameters:
Name Flags
ternaryNode final
test final
trueExpr final
falseExpr final
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=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual jdk.nashorn.internal.ir.visitor.NodeVisitor.enterTernaryNode:(Ljdk/nashorn/internal/ir/TernaryNode;)Z
ifeq 5
1: aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTest:()Ljdk/nashorn/internal/ir/Expression;
aload 1
invokevirtual jdk.nashorn.internal.ir.Expression.accept:(Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/Node;
checkcast jdk.nashorn.internal.ir.Expression
astore 2
start local 2 2: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.trueExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 1
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.accept:(Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/Node;
checkcast jdk.nashorn.internal.ir.JoinPredecessorExpression
astore 3
start local 3 3: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.falseExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 1
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.accept:(Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/Node;
checkcast jdk.nashorn.internal.ir.JoinPredecessorExpression
astore 4
start local 4 4: aload 1
aload 0
aload 2
invokevirtual jdk.nashorn.internal.ir.TernaryNode.setTest:(Ljdk/nashorn/internal/ir/Expression;)Ljdk/nashorn/internal/ir/TernaryNode;
aload 3
invokevirtual jdk.nashorn.internal.ir.TernaryNode.setTrueExpression:(Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)Ljdk/nashorn/internal/ir/TernaryNode;
aload 4
invokevirtual jdk.nashorn.internal.ir.TernaryNode.setFalseExpression:(Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)Ljdk/nashorn/internal/ir/TernaryNode;
invokevirtual jdk.nashorn.internal.ir.visitor.NodeVisitor.leaveTernaryNode:(Ljdk/nashorn/internal/ir/TernaryNode;)Ljdk/nashorn/internal/ir/Node;
areturn
end local 4 end local 3 end local 2 5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/ir/TernaryNode;
0 6 1 visitor Ljdk/nashorn/internal/ir/visitor/NodeVisitor<+Ljdk/nashorn/internal/ir/LexicalContext;>;
2 5 2 newTest Ljdk/nashorn/internal/ir/Expression;
3 5 3 newTrueExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
4 5 4 newFalseExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
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=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.tokenType:()Ljdk/nashorn/internal/parser/TokenType;
astore 3
start local 3 1: aload 3
aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTest:()Ljdk/nashorn/internal/ir/Expression;
invokevirtual jdk.nashorn.internal.ir.Expression.tokenType:()Ljdk/nashorn/internal/parser/TokenType;
iconst_1
invokevirtual jdk.nashorn.internal.parser.TokenType.needsParens:(Ljdk/nashorn/internal/parser/TokenType;Z)Z
istore 4
start local 4 2: aload 3
aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTrueExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.tokenType:()Ljdk/nashorn/internal/parser/TokenType;
iconst_0
invokevirtual jdk.nashorn.internal.parser.TokenType.needsParens:(Ljdk/nashorn/internal/parser/TokenType;Z)Z
istore 5
start local 5 3: aload 3
aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getFalseExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.tokenType:()Ljdk/nashorn/internal/parser/TokenType;
iconst_0
invokevirtual jdk.nashorn.internal.parser.TokenType.needsParens:(Ljdk/nashorn/internal/parser/TokenType;Z)Z
istore 6
start local 6 4: iload 4
ifeq 6
5: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals: jdk.nashorn.internal.ir.TernaryNode java.lang.StringBuilder int jdk.nashorn.internal.parser.TokenType int int int
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTest:()Ljdk/nashorn/internal/ir/Expression;
aload 1
iload 2
invokevirtual jdk.nashorn.internal.ir.Expression.toString:(Ljava/lang/StringBuilder;Z)V
7: iload 4
ifeq 9
8: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
ldc " ? "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iload 5
ifeq 12
11: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTrueExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 1
iload 2
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.toString:(Ljava/lang/StringBuilder;Z)V
13: iload 5
ifeq 15
14: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 1
ldc " : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: iload 6
ifeq 18
17: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getFalseExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 1
iload 2
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.toString:(Ljava/lang/StringBuilder;Z)V
19: iload 6
ifeq 21
20: aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/nashorn/internal/ir/TernaryNode;
0 22 1 sb Ljava/lang/StringBuilder;
0 22 2 printType Z
1 22 3 tokenType Ljdk/nashorn/internal/parser/TokenType;
2 22 4 testParen Z
3 22 5 trueParen Z
4 22 6 falseParen Z
MethodParameters:
Name Flags
sb final
printType final
public boolean isLocal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTest:()Ljdk/nashorn/internal/ir/Expression;
invokevirtual jdk.nashorn.internal.ir.Expression.isLocal:()Z
ifeq 4
1: aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTrueExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.isLocal:()Z
ifeq 4
2: aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getFalseExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.isLocal:()Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/ir/TernaryNode;
public jdk.nashorn.internal.codegen.types.Type getType();
descriptor: ()Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getTrueExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.getType:()Ljdk/nashorn/internal/codegen/types/Type;
aload 0
invokevirtual jdk.nashorn.internal.ir.TernaryNode.getFalseExpression:()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokevirtual jdk.nashorn.internal.ir.JoinPredecessorExpression.getType:()Ljdk/nashorn/internal/codegen/types/Type;
invokestatic jdk.nashorn.internal.codegen.types.Type.widestReturnType:(Ljdk/nashorn/internal/codegen/types/Type;Ljdk/nashorn/internal/codegen/types/Type;)Ljdk/nashorn/internal/codegen/types/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/TernaryNode;
public jdk.nashorn.internal.ir.Expression getTest();
descriptor: ()Ljdk/nashorn/internal/ir/Expression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.test:Ljdk/nashorn/internal/ir/Expression;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/TernaryNode;
public jdk.nashorn.internal.ir.JoinPredecessorExpression getTrueExpression();
descriptor: ()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.trueExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/TernaryNode;
public jdk.nashorn.internal.ir.JoinPredecessorExpression getFalseExpression();
descriptor: ()Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.falseExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/TernaryNode;
public jdk.nashorn.internal.ir.TernaryNode setTest(jdk.nashorn.internal.ir.Expression);
descriptor: (Ljdk/nashorn/internal/ir/Expression;)Ljdk/nashorn/internal/ir/TernaryNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.test:Ljdk/nashorn/internal/ir/Expression;
aload 1
if_acmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.ir.TernaryNode
dup
aload 0
aload 1
aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.trueExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.falseExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokespecial jdk.nashorn.internal.ir.TernaryNode.<init>:(Ljdk/nashorn/internal/ir/TernaryNode;Ljdk/nashorn/internal/ir/Expression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/TernaryNode;
0 3 1 test Ljdk/nashorn/internal/ir/Expression;
MethodParameters:
Name Flags
test final
public jdk.nashorn.internal.ir.TernaryNode setTrueExpression(jdk.nashorn.internal.ir.JoinPredecessorExpression);
descriptor: (Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)Ljdk/nashorn/internal/ir/TernaryNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.trueExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 1
if_acmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.ir.TernaryNode
dup
aload 0
aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.test:Ljdk/nashorn/internal/ir/Expression;
aload 1
aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.falseExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
invokespecial jdk.nashorn.internal.ir.TernaryNode.<init>:(Ljdk/nashorn/internal/ir/TernaryNode;Ljdk/nashorn/internal/ir/Expression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/TernaryNode;
0 3 1 trueExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
MethodParameters:
Name Flags
trueExpr final
public jdk.nashorn.internal.ir.TernaryNode setFalseExpression(jdk.nashorn.internal.ir.JoinPredecessorExpression);
descriptor: (Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)Ljdk/nashorn/internal/ir/TernaryNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.falseExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 1
if_acmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.ir.TernaryNode
dup
aload 0
aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.test:Ljdk/nashorn/internal/ir/Expression;
aload 0
getfield jdk.nashorn.internal.ir.TernaryNode.trueExpr:Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
aload 1
invokespecial jdk.nashorn.internal.ir.TernaryNode.<init>:(Ljdk/nashorn/internal/ir/TernaryNode;Ljdk/nashorn/internal/ir/Expression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;Ljdk/nashorn/internal/ir/JoinPredecessorExpression;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/TernaryNode;
0 3 1 falseExpr Ljdk/nashorn/internal/ir/JoinPredecessorExpression;
MethodParameters:
Name Flags
falseExpr final
}
SourceFile: "TernaryNode.java"
RuntimeInvisibleAnnotations:
jdk.nashorn.internal.ir.annotations.Immutable()