intial
This commit is contained in:
24
node_modules/svelte-eslint-parser/lib/ast/common.d.ts
generated
vendored
Normal file
24
node_modules/svelte-eslint-parser/lib/ast/common.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { BaseNode } from "./base.js";
|
||||
export interface Position {
|
||||
/** >= 1 */
|
||||
line: number;
|
||||
/** >= 0 */
|
||||
column: number;
|
||||
}
|
||||
export type Range = [number, number];
|
||||
export interface SourceLocation {
|
||||
start: Position;
|
||||
end: Position;
|
||||
}
|
||||
export interface Locations {
|
||||
loc: SourceLocation;
|
||||
range: Range;
|
||||
}
|
||||
export interface Token extends BaseNode {
|
||||
type: "Boolean" | "Null" | "Identifier" | "Keyword" | "Punctuator" | "JSXIdentifier" | "JSXText" | "Numeric" | "String" | "RegularExpression" | "Template" | "HTMLText" | "HTMLIdentifier" | "MustacheKeyword" | "HTMLComment";
|
||||
value: string;
|
||||
}
|
||||
export interface Comment extends BaseNode {
|
||||
type: "Line" | "Block";
|
||||
value: string;
|
||||
}
|
||||
Reference in New Issue
Block a user