com.github.anba.es6draft.compiler.assembler.TryCatchLabel.java Source code

Java tutorial

Introduction

Here is the source code for com.github.anba.es6draft.compiler.assembler.TryCatchLabel.java

Source

/**
 * Copyright (c) 2012-2016 Andr Bargull
 * Alle Rechte vorbehalten / All Rights Reserved.  Use is subject to license terms.
 *
 * <https://github.com/anba/es6draft>
 */
package com.github.anba.es6draft.compiler.assembler;

import org.objectweb.asm.Label;

/**
 * Label class for try-catch handlers.
 */
public final class TryCatchLabel {
    private final Label label;

    public TryCatchLabel() {
        this.label = new Label();
    }

    /*package*/Label label() {
        return label;
    }
}