Comparing version 0.0.33 to 0.0.34
@@ -5,8 +5,9 @@ import { Expression } from '../expressions'; | ||
import { ClassElement } from '../expressions/class-element'; | ||
import { Semicolon } from '../expressions/semicolon'; | ||
export interface ClassDeclaration extends Node { | ||
readonly name: BindingIdentifier | null; | ||
readonly heritage: Expression | null; | ||
readonly elements: ClassElement[]; | ||
readonly elements: (Semicolon | ClassElement)[]; | ||
} | ||
export declare function createClassDeclaration(name: BindingIdentifier | null, heritage: Expression | null, elements: ClassElement[]): ClassDeclaration; | ||
export declare function createClassDeclaration(name: BindingIdentifier | null, heritage: Expression | null, elements: (Semicolon | ClassElement)[]): ClassDeclaration; | ||
//# sourceMappingURL=class-declaration.d.ts.map |
@@ -5,8 +5,9 @@ import { Expression } from '.'; | ||
import { ClassElement } from './class-element'; | ||
import { Semicolon } from './semicolon'; | ||
export interface ClassExpression extends Node { | ||
readonly name: BindingIdentifier | null; | ||
readonly heritage: Expression | null; | ||
readonly elements: ClassElement[]; | ||
readonly elements: (Semicolon | ClassElement)[]; | ||
} | ||
export declare function createClassExpression(name: BindingIdentifier | null, heritage: Expression | null, elements: ClassElement[]): ClassExpression; | ||
//# sourceMappingURL=class-expr.d.ts.map |
@@ -9,2 +9,4 @@ import { MethodName, Parameter } from '.'; | ||
readonly generator: boolean; | ||
readonly getter: boolean; | ||
readonly setter: boolean; | ||
readonly propertySetParameterList: (BindingIdentifier | BindingElement)[]; | ||
@@ -15,3 +17,3 @@ readonly uniqueFormalParameters: Parameter[]; | ||
} | ||
export declare function createMethodDefinition(async: boolean, generator: boolean, propertySetParameterList: (BindingIdentifier | BindingElement)[], uniqueFormalParameters: Parameter[], name: MethodName, contents: FunctionBody): MethodDefinition; | ||
export declare function createMethodDefinition(async: boolean, generator: boolean, getter: boolean, setter: boolean, propertySetParameterList: (BindingIdentifier | BindingElement)[], uniqueFormalParameters: Parameter[], name: MethodName, contents: FunctionBody): MethodDefinition; | ||
//# sourceMappingURL=method-definition.d.ts.map |
@@ -16,6 +16,6 @@ import { Node } from '../node'; | ||
readonly fromClause: StringLiteral | null; | ||
readonly exportedNames: string[]; | ||
readonly boundNames: string[]; | ||
readonly exportedNames?: string[]; | ||
readonly boundNames?: string[]; | ||
} | ||
export declare function createExportDeclaration(declaration: AssignmentExpression | VariableStatement | LexicalDeclaration | FunctionDeclaration | ClassDeclaration | Statement | null, namedExports: ExportSpecifier[], namedBinding: IdentifierName | null, fromClause: StringLiteral | null, exportedNames: string[], boundNames: string[]): ExportDeclaration; | ||
export declare function createExportDeclaration(declaration: AssignmentExpression | VariableStatement | LexicalDeclaration | FunctionDeclaration | ClassDeclaration | Statement | null, namedExports: ExportSpecifier[], namedBinding: IdentifierName | null, fromClause: StringLiteral | null, cst: boolean, exportedNames?: string[], boundNames?: string[]): ExportDeclaration; | ||
//# sourceMappingURL=export-declaration.d.ts.map |
@@ -14,3 +14,4 @@ import { Token } from './ast/token'; | ||
InGlobal = 128, | ||
OptionsTS = 256, | ||
OptionsCST = 256, | ||
OptionsTS = 512, | ||
Strict = 1024, | ||
@@ -17,0 +18,0 @@ Module = 2048, |
@@ -14,2 +14,3 @@ import { Context } from './common'; | ||
module?: boolean; | ||
cst?: boolean; | ||
ts?: boolean; | ||
@@ -16,0 +17,0 @@ } |
{ | ||
"name": "escaya", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "An blazing fast 100% spec compliant, incremental javascript parser written in Typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/escaya.umd.min.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
460388
3638