[57e58a3] | 1 | import { ParserOptions, NodeTransform, SourceLocation, CompilerError, DirectiveTransform, RootNode, CompilerOptions, CodegenResult } from '@vue/compiler-core';
|
---|
| 2 | export * from '@vue/compiler-core';
|
---|
| 3 |
|
---|
| 4 | export declare const parserOptions: ParserOptions;
|
---|
| 5 |
|
---|
| 6 | export declare const V_MODEL_RADIO: unique symbol;
|
---|
| 7 | export declare const V_MODEL_CHECKBOX: unique symbol;
|
---|
| 8 | export declare const V_MODEL_TEXT: unique symbol;
|
---|
| 9 | export declare const V_MODEL_SELECT: unique symbol;
|
---|
| 10 | export declare const V_MODEL_DYNAMIC: unique symbol;
|
---|
| 11 | export declare const V_ON_WITH_MODIFIERS: unique symbol;
|
---|
| 12 | export declare const V_ON_WITH_KEYS: unique symbol;
|
---|
| 13 | export declare const V_SHOW: unique symbol;
|
---|
| 14 | export declare const TRANSITION: unique symbol;
|
---|
| 15 | export declare const TRANSITION_GROUP: unique symbol;
|
---|
| 16 |
|
---|
| 17 | export declare const transformStyle: NodeTransform;
|
---|
| 18 |
|
---|
| 19 | interface DOMCompilerError extends CompilerError {
|
---|
| 20 | code: DOMErrorCodes;
|
---|
| 21 | }
|
---|
| 22 | export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
|
---|
| 23 | export declare enum DOMErrorCodes {
|
---|
| 24 | X_V_HTML_NO_EXPRESSION = 53,
|
---|
| 25 | X_V_HTML_WITH_CHILDREN = 54,
|
---|
| 26 | X_V_TEXT_NO_EXPRESSION = 55,
|
---|
| 27 | X_V_TEXT_WITH_CHILDREN = 56,
|
---|
| 28 | X_V_MODEL_ON_INVALID_ELEMENT = 57,
|
---|
| 29 | X_V_MODEL_ARG_ON_ELEMENT = 58,
|
---|
| 30 | X_V_MODEL_ON_FILE_INPUT_ELEMENT = 59,
|
---|
| 31 | X_V_MODEL_UNNECESSARY_VALUE = 60,
|
---|
| 32 | X_V_SHOW_NO_EXPRESSION = 61,
|
---|
| 33 | X_TRANSITION_INVALID_CHILDREN = 62,
|
---|
| 34 | X_IGNORED_SIDE_EFFECT_TAG = 63,
|
---|
| 35 | __EXTEND_POINT__ = 64
|
---|
| 36 | }
|
---|
| 37 | export declare const DOMErrorMessages: {
|
---|
| 38 | [code: number]: string;
|
---|
| 39 | };
|
---|
| 40 |
|
---|
| 41 | export declare const DOMNodeTransforms: NodeTransform[];
|
---|
| 42 | export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
|
---|
| 43 | export declare function compile(src: string | RootNode, options?: CompilerOptions): CodegenResult;
|
---|
| 44 | export declare function parse(template: string, options?: ParserOptions): RootNode;
|
---|
| 45 |
|
---|