sonic-weave
    Preparing search index...

    Class Interrupt

    An interrupt representing a return, break or continue statement.

    Index

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    The abstract syntax tree node that triggered the break in code flow.

    Value of a return statement if present.

    Accessors

    • get type(): "ReturnStatement" | "BreakStatement" | "ContinueStatement"

      Get the type of the interrupt.

      Returns "ReturnStatement" | "BreakStatement" | "ContinueStatement"