Home
last modified time | relevance | path

Searched refs:ModuleBlock (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Include/internal/
Dpycore_symtable.h13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock, AnnotationBlock } enumerator
/third_party/python/Modules/
Dsymtablemodule.c93 if (PyModule_AddIntConstant(m, "TYPE_MODULE", ModuleBlock) < 0) in symtable_init_constants()
/third_party/typescript/src/compiler/transformers/
Dts.ts64 let currentLexicalScope: SourceFile | Block | ModuleBlock | CaseBlock;
152 case SyntaxKind.ModuleBlock:
154 currentLexicalScope = node as SourceFile | CaseBlock | ModuleBlock | Block;
1897 if (node.body.kind === SyntaxKind.ModuleBlock) {
1898 …eAndInvoke(node.body, body => addRange(statements, visitNodes((body as ModuleBlock).statements, na…
1913 … const moduleBlock = getInnerMostModuleDeclarationFromDottedModule(node)!.body as ModuleBlock;
1952 if (!node.body || node.body.kind !== SyntaxKind.ModuleBlock) {
DtypeSerializer.ts16 currentLexicalScope: SourceFile | Block | ModuleBlock | CaseBlock;
68 let currentLexicalScope: SourceFile | CaseBlock | ModuleBlock | Block;
/third_party/typescript/src/services/
DimportTracker.ts33 interface AmbientModuleDeclaration extends ModuleDeclaration { body?: ModuleBlock; }
674 Debug.assert(parent.kind === SyntaxKind.ModuleBlock);
DdocumentHighlights.ts212 …const container = declaration.parent as ModuleBlock | SourceFile | Block | CaseClause | DefaultCla…
214 case SyntaxKind.ModuleBlock:
Dbreakpoints.ts109 case SyntaxKind.ModuleBlock:
587 case SyntaxKind.ModuleBlock:
DoutliningElementsCollector.ts208 case SyntaxKind.ModuleBlock:
DsymbolDisplay.ts764 … if (parent.kind === SyntaxKind.SourceFile || parent.kind === SyntaxKind.ModuleBlock) {
DnavigationBar.ts811 case SyntaxKind.ModuleBlock:
/third_party/typescript/src/testRunner/unittests/
Dtransform.ts249 if (node.kind === SyntaxKind.ModuleBlock) {
250 const block = node as T & ModuleBlock;
/third_party/typescript/src/services/refactors/
DextractSymbol.ts262 type Scope = FunctionLikeDeclaration | SourceFile | ModuleBlock | ClassLikeDeclaration;
834 …function getDescriptionForModuleLikeDeclaration(scope: SourceFile | ModuleBlock): string | Special…
835 return scope.kind === SyntaxKind.ModuleBlock
2035 case SyntaxKind.ModuleBlock:
/third_party/python/Python/
Dsymtable.c316 !symtable_enter_block(st, top, ModuleBlock, (void *)mod, 0, 0, 0, 0)) { in _PySymtable_Build()
1011 if (block == ModuleBlock) in symtable_enter_block()
1529 if (ste->ste_type == ModuleBlock) { in symtable_extend_namedexpr_scope()
1972 if (st->st_cur->ste_type != ModuleBlock) { in symtable_visit_alias()
/third_party/typescript/src/compiler/factory/
DnodeTests.ts598 export function isModuleBlock(node: Node): node is ModuleBlock {
599 return node.kind === SyntaxKind.ModuleBlock;
/third_party/typescript/src/compiler/
Dtypes.ts315 ModuleBlock, enumerator
1068 | ModuleBlock
3097 | ModuleBlock
3387 readonly body?: ModuleBlock;
3402 | ModuleBlock
3421 export interface ModuleBlock extends Node, Statement {
3422 readonly kind: SyntaxKind.ModuleBlock;
3439 readonly parent: SourceFile | ModuleBlock;
3464 readonly parent: SourceFile | ModuleBlock;
3538 readonly parent: SourceFile | ModuleBlock;
[all …]
Dbinder.ts76 case SyntaxKind.ModuleBlock: {
846 case SyntaxKind.ModuleBlock:
1871 case SyntaxKind.ModuleBlock:
2712 case SyntaxKind.ModuleBlock:
2713 return updateStrictModeStatementList((node as Block | ModuleBlock).statements);
DutilitiesPublic.ts1785 return kind === SyntaxKind.ModuleBlock
1793 return kind === SyntaxKind.ModuleBlock
/third_party/typescript/src/services/formatting/
Dformatting.ts208 …return !!body && body.kind === SyntaxKind.ModuleBlock && rangeContainsRange(body.statements, node);
211 case SyntaxKind.ModuleBlock:
Drules.ts556 case SyntaxKind.ModuleBlock:
627 case SyntaxKind.ModuleBlock:
DsmartIndenter.ts594 case SyntaxKind.ModuleBlock:
/third_party/typescript/lib/
Dtypescript.d.ts376 ModuleBlock = 268, enumerator
1490 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause;
1680 export type NamespaceBody = ModuleBlock | NamespaceDeclaration;
1690 export interface ModuleBlock extends Node, Statement { interface
1691 readonly kind: SyntaxKind.ModuleBlock;
1703 readonly parent: SourceFile | ModuleBlock;
1716 readonly parent: SourceFile | ModuleBlock;
1761 readonly parent: SourceFile | ModuleBlock;
3850 createModuleBlock(statements: readonly Statement[]): ModuleBlock;
3851 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
[all …]
DtypescriptServices.d.ts376 ModuleBlock = 268, enumerator
1490 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause;
1680 export type NamespaceBody = ModuleBlock | NamespaceDeclaration;
1690 export interface ModuleBlock extends Node, Statement { interface
1691 readonly kind: SyntaxKind.ModuleBlock;
1703 readonly parent: SourceFile | ModuleBlock;
1716 readonly parent: SourceFile | ModuleBlock;
1761 readonly parent: SourceFile | ModuleBlock;
3850 createModuleBlock(statements: readonly Statement[]): ModuleBlock;
3851 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
[all …]
Dtsserverlibrary.d.ts376 ModuleBlock = 268, enumerator
1490 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause;
1680 export type NamespaceBody = ModuleBlock | NamespaceDeclaration;
1690 export interface ModuleBlock extends Node, Statement { interface
1691 readonly kind: SyntaxKind.ModuleBlock;
1703 readonly parent: SourceFile | ModuleBlock;
1716 readonly parent: SourceFile | ModuleBlock;
1761 readonly parent: SourceFile | ModuleBlock;
3850 createModuleBlock(statements: readonly Statement[]): ModuleBlock;
3851 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
[all …]
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts376 ModuleBlock = 268, enumerator
1490 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause;
1680 export type NamespaceBody = ModuleBlock | NamespaceDeclaration;
1690 export interface ModuleBlock extends Node, Statement { interface
1691 readonly kind: SyntaxKind.ModuleBlock;
1703 readonly parent: SourceFile | ModuleBlock;
1716 readonly parent: SourceFile | ModuleBlock;
1761 readonly parent: SourceFile | ModuleBlock;
3850 createModuleBlock(statements: readonly Statement[]): ModuleBlock;
3851 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
[all …]
Dtsserverlibrary.d.ts376 ModuleBlock = 268, enumerator
1490 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause;
1680 export type NamespaceBody = ModuleBlock | NamespaceDeclaration;
1690 export interface ModuleBlock extends Node, Statement { interface
1691 readonly kind: SyntaxKind.ModuleBlock;
1703 readonly parent: SourceFile | ModuleBlock;
1716 readonly parent: SourceFile | ModuleBlock;
1761 readonly parent: SourceFile | ModuleBlock;
3850 createModuleBlock(statements: readonly Statement[]): ModuleBlock;
3851 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
[all …]

12