.class public Lkawa/lang/SyntaxRule;
.super Lkawa/lang/SyntaxTemplate;
.source "SyntaxRule.java"

# interfaces
.implements Ljava/io/Externalizable;


# instance fields
.field pattern:Lkawa/lang/SyntaxPattern;


# direct methods
.method public constructor <init>()V
    .registers 1

    .line 12
    invoke-direct {p0}, Lkawa/lang/SyntaxTemplate;-><init>()V

    .line 13
    return-void
.end method

.method public constructor <init>(Lkawa/lang/SyntaxPattern;Ljava/lang/Object;Lkawa/lang/SyntaxForm;Lkawa/lang/Translator;)V
    .registers 5
    .param p1, "pattern"    # Lkawa/lang/SyntaxPattern;
    .param p2, "template"    # Ljava/lang/Object;
    .param p3, "template_syntax"    # Lkawa/lang/SyntaxForm;
    .param p4, "tr"    # Lkawa/lang/Translator;

    .line 30
    invoke-direct {p0, p2, p3, p4}, Lkawa/lang/SyntaxTemplate;-><init>(Ljava/lang/Object;Lkawa/lang/SyntaxForm;Lkawa/lang/Translator;)V

    .line 31
    iput-object p1, p0, Lkawa/lang/SyntaxRule;->pattern:Lkawa/lang/SyntaxPattern;

    .line 32
    return-void
.end method

.method public constructor <init>(Lkawa/lang/SyntaxPattern;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;I)V
    .registers 6
    .param p1, "pattern"    # Lkawa/lang/SyntaxPattern;
    .param p2, "pattern_nesting"    # Ljava/lang/String;
    .param p3, "template_program"    # Ljava/lang/String;
    .param p4, "literal_values"    # [Ljava/lang/Object;
    .param p5, "max_nesting"    # I

    .line 21
    invoke-direct {p0, p2, p3, p4, p5}, Lkawa/lang/SyntaxTemplate;-><init>(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;I)V

    .line 22
    iput-object p1, p0, Lkawa/lang/SyntaxRule;->pattern:Lkawa/lang/SyntaxPattern;

    .line 23
    return-void
.end method


# virtual methods
.method public readExternal(Ljava/io/ObjectInput;)V
    .registers 3
    .param p1, "in"    # Ljava/io/ObjectInput;
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Ljava/lang/ClassNotFoundException;
        }
    .end annotation

    .line 43
    invoke-interface {p1}, Ljava/io/ObjectInput;->readObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkawa/lang/SyntaxPattern;

    iput-object v0, p0, Lkawa/lang/SyntaxRule;->pattern:Lkawa/lang/SyntaxPattern;

    .line 44
    invoke-super {p0, p1}, Lkawa/lang/SyntaxTemplate;->readExternal(Ljava/io/ObjectInput;)V

    .line 45
    return-void
.end method

.method public writeExternal(Ljava/io/ObjectOutput;)V
    .registers 3
    .param p1, "out"    # Ljava/io/ObjectOutput;
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 36
    iget-object v0, p0, Lkawa/lang/SyntaxRule;->pattern:Lkawa/lang/SyntaxPattern;

    invoke-interface {p1, v0}, Ljava/io/ObjectOutput;->writeObject(Ljava/lang/Object;)V

    .line 37
    invoke-super {p0, p1}, Lkawa/lang/SyntaxTemplate;->writeExternal(Ljava/io/ObjectOutput;)V

    .line 38
    return-void
.end method
