ASTArrayLiteral.smali
.class public final Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;
.super Lorg/apache/commons/jexl3/parser/JexlNode;
.source "SourceFile"
# instance fields
.field private constant:Z
# direct methods
.method public constructor <init>(I)V
.registers 2
.line 1
invoke-direct {p0, p1}, Lorg/apache/commons/jexl3/parser/JexlNode;-><init>(I)V
const/4 p1, 0x0
.line 2
iput-boolean p1, p0, Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;->constant:Z
return-void
.end method
.method public constructor <init>(Lorg/apache/commons/jexl3/parser/Parser;I)V
.registers 3
.line 3
invoke-direct {p0, p1, p2}, Lorg/apache/commons/jexl3/parser/JexlNode;-><init>(Lorg/apache/commons/jexl3/parser/Parser;I)V
const/4 p1, 0x0
.line 4
iput-boolean p1, p0, Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;->constant:Z
return-void
.end method
# virtual methods
.method public isConstant(Z)Z
.registers 2
iget-boolean p1, p0, Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;->constant:Z
return p1
.end method
.method public jjtAccept(Lorg/apache/commons/jexl3/parser/ParserVisitor;Ljava/lang/Object;)Ljava/lang/Object;
.registers 3
invoke-virtual {p1, p0, p2}, Lorg/apache/commons/jexl3/parser/ParserVisitor;->visit(Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public jjtClose()V
.registers 6
const/4 v0, 0x1
.line 1
iput-boolean v0, p0, Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;->constant:Z
const/4 v1, 0x0
const/4 v2, 0x0
.line 2
:goto_5
invoke-virtual {p0}, Lorg/apache/commons/jexl3/parser/SimpleNode;->jjtGetNumChildren()I
move-result v3
if-ge v2, v3, :cond_29
iget-boolean v3, p0, Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;->constant:Z
if-eqz v3, :cond_29
.line 3
invoke-virtual {p0, v2}, Lorg/apache/commons/jexl3/parser/SimpleNode;->jjtGetChild(I)Lorg/apache/commons/jexl3/parser/JexlNode;
move-result-object v3
.line 4
instance-of v4, v3, Lorg/apache/commons/jexl3/parser/ASTReference;
if-eqz v4, :cond_1e
.line 5
invoke-virtual {v3, v0}, Lorg/apache/commons/jexl3/parser/JexlNode;->isConstant(Z)Z
move-result v3
iput-boolean v3, p0, Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;->constant:Z
goto :goto_26
.line 6
:cond_1e
invoke-virtual {v3}, Lorg/apache/commons/jexl3/parser/JexlNode;->isConstant()Z
move-result v3
if-nez v3, :cond_26
.line 7
iput-boolean v1, p0, Lorg/apache/commons/jexl3/parser/ASTArrayLiteral;->constant:Z
:cond_26
:goto_26
add-int/lit8 v2, v2, 0x1
goto :goto_5
:cond_29
return-void
.end method
.method public toString()Ljava/lang/String;
.registers 2
.line 1
new-instance v0, Lorg/apache/commons/jexl3/internal/Debugger;
invoke-direct {v0}, Lorg/apache/commons/jexl3/internal/Debugger;-><init>()V
.line 2
invoke-virtual {v0, p0}, Lorg/apache/commons/jexl3/internal/Debugger;->data(Lorg/apache/commons/jexl3/parser/JexlNode;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method