Movatterモバイル変換


[0]ホーム

URL:


parse5
    Preparing search index...

    Interface ParserOptions<T>

    interfaceParserOptions<TextendsTreeAdapterTypeMap>{
        onParseError?:ParserErrorHandler|null;
        scriptingEnabled?:boolean;
        sourceCodeLocationInfo?:boolean;
        treeAdapter?:TreeAdapter<T>;
    }

    Type Parameters

    Index

    Properties

    OptionalonParseError

    onParseError?:ParserErrorHandler|null

    Callback for parse errors.

    Default

    null

    OptionalscriptingEnabled

    scriptingEnabled?:boolean

    Thescripting flag. If settotrue,noscript element content will be parsed as text.

    Default

    true

    OptionalsourceCodeLocationInfo

    sourceCodeLocationInfo?:boolean

    Enables source code location information. When enabled, each node (except the root node)will have asourceCodeLocation property. If the node is not an empty element,sourceCodeLocation willbe aElementLocation object, otherwise it will be Location.If the element was implicitly created by the parser (as part oftree correction),itssourceCodeLocation property will beundefined.

    Default

    false

    OptionaltreeAdapter

    treeAdapter?:TreeAdapter<T>

    Specifies the resulting tree format.

    Default

    treeAdapters.default

    Settings

    Member Visibility

    On This Page

    Properties

    [8]ページ先頭

    ©2009-2025 Movatter.jp