23.06.2015 Views

TypeScript Language Specification v1.5

TypeScript Language Specification v1.5

TypeScript Language Specification v1.5

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AmbientClassBodyElements:<br />

AmbientClassBodyElement<br />

AmbientClassBodyElements AmbientClassBodyElement<br />

AmbientClassBodyElement:<br />

AmbientConstructorDeclaration<br />

AmbientPropertyMemberDeclaration<br />

IndexSignature<br />

AmbientConstructorDeclaration:<br />

constructor ( ParameterList opt ) ;<br />

AmbientPropertyMemberDeclaration:<br />

AccessibilityModifier opt static opt PropertyName TypeAnnotation opt ;<br />

AccessibilityModifier opt static opt PropertyName CallSignature ;<br />

AmbientEnumDeclaration:<br />

EnumDeclaration<br />

AmbientModuleDeclaration:<br />

module IdentifierPath { AmbientModuleBody }<br />

AmbientModuleBody:<br />

AmbientModuleElements opt<br />

AmbientModuleElements:<br />

AmbientModuleElement<br />

AmbientModuleElements AmbientModuleElement<br />

AmbientModuleElement:<br />

export opt AmbientVariableDeclaration<br />

export opt AmbientFunctionDeclaration<br />

export opt AmbientClassDeclaration<br />

export opt InterfaceDeclaration<br />

export opt AmbientEnumDeclaration<br />

export opt AmbientModuleDeclaration<br />

export opt ImportDeclaration<br />

AmbientExternalModuleDeclaration:<br />

declare module StringLiteral { AmbientExternalModuleBody }<br />

AmbientExternalModuleBody:<br />

AmbientExternalModuleElements opt<br />

166

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!