diff --git a/scripts/node/jaspiler/index.d.ts b/scripts/node/jaspiler/index.d.ts index daff761..1a85e83 100644 --- a/scripts/node/jaspiler/index.d.ts +++ b/scripts/node/jaspiler/index.d.ts @@ -759,79 +759,79 @@ interface TransformResult { } declare namespace jaspiler { - argv: Array; - - function createCharacter(value: string): JTCharacter; - function createFieldAccess(...values: string[]): JTFieldAccess; - function createFloat(value: string): JTFloat; - function createIdent(value: string): JTIdent; - function createLiteral(value: string): JTLiteral; - function createName(value: string): JTName; - - function newAnnotatedType(): JTAnnotatedType; - function newAnnotation(): JTAnnotation; - function newArrayAccess(): JTArrayAccess; - function newArrayType(): JTArrayType; - function newAssert(): JTAssert; - function newAssign(): JTAssign; - function newAssignOp(): JTAssignOp; - function newBinary(): JTBinary; - function newBindingPattern(): JTBindingPattern; - function newBlock(): JTBlock; - function newBreak(): JTBreak; - function newCase(): JTCase; - function newCatch(): JTCatch; - function newClassDecl(): JTClassDecl; - function newConditional(): JTConditional; - function newContinue(): JTContinue; - function newDefaultCaseLabel(): JTDefaultCaseLabel; - function newDoWhileLoop(): JTDoWhileLoop; - function newEnhancedForLoop(): JTEnhancedForLoop; - function newErroneous(): JTErroneous; - function newExports(): JTExports; - function newExpressionStatement(): JTExpressionStatement; - function newFieldAccess(): JTFieldAccess; - function newForLoop(): JTForLoop; - function newGuardedPattern(): JTGuardedPattern; - function newIdent(): JTIdent; - function newIf(): JTIf; - function newImport(): JTImport; - function newInstanceOf(): JTInstanceOf; - function newLabeledStatement(): JTLabeledStatement; - function newLambda(): JTLambda; - function newLiteral(): JTLiteral; - function newMemberReference(): JTMemberReference; - function newMethodDecl(): JTMethodDecl; - function newMethodInvocation(): JTMethodInvocation; - function newModifiers(): JTModifiers; - function newModuleDecl(): JTModuleDecl; - function newNewArray(): JTNewArray; - function newNewClass(): JTNewClass; - function newOpens(): JTOpens; - function newPackageDecl(): JTPackageDecl; - function newParens(): JTParens; - function newParenthesizedPattern(): JTParenthesizedPattern; - function newPrimitiveType(): JTPrimitiveType; - function newProvides(): JTProvides; - function newRequires(): JTRequires; - function newReturn(): JTReturn; - function newSkip(): JTSkip; - function newSwitch(): JTSwitch; - function newSwitchExpression(): JTSwitchExpression; - function newSynchronized(): JTSynchronized; - function newThrow(): JTThrow; - function newTry(): JTTry; - function newTypeApply(): JTTypeApply; - function newTypeCast(): JTTypeCast; - function newTypeIntersection(): JTTypeIntersection; - function newTypeParameter(): JTTypeParameter; - function newTypeUnion(): JTTypeUnion; - function newUnary(): JTUnary; - function newUses(): JTUses; - function newVariableDecl(): JTVariableDecl; - function newWhileLoop(): JTWhileLoop; - function newWildcard(): JTWildcard; - function newYield(): JTYield; - - function transformSync(source: string, options?: TransformOptions): TransformResult; + export const argv: Array; + + export function createCharacter(value: string): JTCharacter; + export function createFieldAccess(...values: string[]): JTFieldAccess; + export function createFloat(value: string): JTFloat; + export function createIdent(value: string): JTIdent; + export function createLiteral(value: string): JTLiteral; + export function createName(value: string): JTName; + + export function newAnnotatedType(): JTAnnotatedType; + export function newAnnotation(): JTAnnotation; + export function newArrayAccess(): JTArrayAccess; + export function newArrayType(): JTArrayType; + export function newAssert(): JTAssert; + export function newAssign(): JTAssign; + export function newAssignOp(): JTAssignOp; + export function newBinary(): JTBinary; + export function newBindingPattern(): JTBindingPattern; + export function newBlock(): JTBlock; + export function newBreak(): JTBreak; + export function newCase(): JTCase; + export function newCatch(): JTCatch; + export function newClassDecl(): JTClassDecl; + export function newConditional(): JTConditional; + export function newContinue(): JTContinue; + export function newDefaultCaseLabel(): JTDefaultCaseLabel; + export function newDoWhileLoop(): JTDoWhileLoop; + export function newEnhancedForLoop(): JTEnhancedForLoop; + export function newErroneous(): JTErroneous; + export function newExports(): JTExports; + export function newExpressionStatement(): JTExpressionStatement; + export function newFieldAccess(): JTFieldAccess; + export function newForLoop(): JTForLoop; + export function newGuardedPattern(): JTGuardedPattern; + export function newIdent(): JTIdent; + export function newIf(): JTIf; + export function newImport(): JTImport; + export function newInstanceOf(): JTInstanceOf; + export function newLabeledStatement(): JTLabeledStatement; + export function newLambda(): JTLambda; + export function newLiteral(): JTLiteral; + export function newMemberReference(): JTMemberReference; + export function newMethodDecl(): JTMethodDecl; + export function newMethodInvocation(): JTMethodInvocation; + export function newModifiers(): JTModifiers; + export function newModuleDecl(): JTModuleDecl; + export function newNewArray(): JTNewArray; + export function newNewClass(): JTNewClass; + export function newOpens(): JTOpens; + export function newPackageDecl(): JTPackageDecl; + export function newParens(): JTParens; + export function newParenthesizedPattern(): JTParenthesizedPattern; + export function newPrimitiveType(): JTPrimitiveType; + export function newProvides(): JTProvides; + export function newRequires(): JTRequires; + export function newReturn(): JTReturn; + export function newSkip(): JTSkip; + export function newSwitch(): JTSwitch; + export function newSwitchExpression(): JTSwitchExpression; + export function newSynchronized(): JTSynchronized; + export function newThrow(): JTThrow; + export function newTry(): JTTry; + export function newTypeApply(): JTTypeApply; + export function newTypeCast(): JTTypeCast; + export function newTypeIntersection(): JTTypeIntersection; + export function newTypeParameter(): JTTypeParameter; + export function newTypeUnion(): JTTypeUnion; + export function newUnary(): JTUnary; + export function newUses(): JTUses; + export function newVariableDecl(): JTVariableDecl; + export function newWhileLoop(): JTWhileLoop; + export function newWildcard(): JTWildcard; + export function newYield(): JTYield; + + export function transformSync(source: string, options?: TransformOptions): TransformResult; }