WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Variable TokenTypeConst

    TokenType: {
        NONE: 0;
        WORD: 1;
        STACK: 2;
        SPACE: 3;
        NBSP: 4;
        TABULATOR: 5;
        NEW_PARAGRAPH: 6;
        NEW_COLUMN: 7;
        WRAP_AT_DIMLINE: 8;
        PROPERTIES_CHANGED: 9;
    } = ...

    Token types used in MText parsing

    Type Declaration

    • ReadonlyNONE: 0

      No token

    • ReadonlyWORD: 1

      Word token with string data

    • ReadonlySTACK: 2

      Stack token with [numerator, denominator, type] data

    • ReadonlySPACE: 3

      Space token with no data

    • ReadonlyNBSP: 4

      Non-breaking space token with no data

    • ReadonlyTABULATOR: 5

      Tab token with no data

    • ReadonlyNEW_PARAGRAPH: 6

      New paragraph token with no data

    • ReadonlyNEW_COLUMN: 7

      New column token with no data

    • ReadonlyWRAP_AT_DIMLINE: 8

      Wrap at dimension line token with no data

    • ReadonlyPROPERTIES_CHANGED: 9

      Properties changed token with string data (full command)