beancount
    Preparing search index...

    Interface GenericParseResult

    The basic result structure from generic parsing of a Beancount directive. Contains the directive type, header line content, and any properties like comments.

    interface GenericParseResult {
        header: string;
        props: { comment?: string };
        synthetic?: false;
        type: BeancountDirectiveNodeType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    header: string

    The main header content from the first line of the directive

    props: { comment?: string }

    Properties extracted from the directive

    Type Declaration

    • Optionalcomment?: string

      Optional comment text following a semicolon

    synthetic?: false

    The type of Beancount directive (e.g., 'open', 'close', 'balance')