/third_party/python/Include/internal/ |
D | pycore_symtable.h | 13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock, AnnotationBlock } enumerator
|
/third_party/python/Modules/ |
D | symtablemodule.c | 93 if (PyModule_AddIntConstant(m, "TYPE_MODULE", ModuleBlock) < 0) in symtable_init_constants()
|
/third_party/typescript/src/compiler/transformers/ |
D | ts.ts | 64 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) {
|
D | typeSerializer.ts | 16 currentLexicalScope: SourceFile | Block | ModuleBlock | CaseBlock; 68 let currentLexicalScope: SourceFile | CaseBlock | ModuleBlock | Block;
|
/third_party/typescript/src/services/ |
D | importTracker.ts | 33 interface AmbientModuleDeclaration extends ModuleDeclaration { body?: ModuleBlock; } 674 Debug.assert(parent.kind === SyntaxKind.ModuleBlock);
|
D | documentHighlights.ts | 212 …const container = declaration.parent as ModuleBlock | SourceFile | Block | CaseClause | DefaultCla… 214 case SyntaxKind.ModuleBlock:
|
D | breakpoints.ts | 109 case SyntaxKind.ModuleBlock: 587 case SyntaxKind.ModuleBlock:
|
D | outliningElementsCollector.ts | 208 case SyntaxKind.ModuleBlock:
|
D | symbolDisplay.ts | 764 … if (parent.kind === SyntaxKind.SourceFile || parent.kind === SyntaxKind.ModuleBlock) {
|
D | navigationBar.ts | 811 case SyntaxKind.ModuleBlock:
|
/third_party/typescript/src/testRunner/unittests/ |
D | transform.ts | 249 if (node.kind === SyntaxKind.ModuleBlock) { 250 const block = node as T & ModuleBlock;
|
/third_party/typescript/src/services/refactors/ |
D | extractSymbol.ts | 262 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/ |
D | symtable.c | 316 !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/ |
D | nodeTests.ts | 598 export function isModuleBlock(node: Node): node is ModuleBlock { 599 return node.kind === SyntaxKind.ModuleBlock;
|
/third_party/typescript/src/compiler/ |
D | types.ts | 315 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 …]
|
D | binder.ts | 76 case SyntaxKind.ModuleBlock: { 846 case SyntaxKind.ModuleBlock: 1871 case SyntaxKind.ModuleBlock: 2712 case SyntaxKind.ModuleBlock: 2713 return updateStrictModeStatementList((node as Block | ModuleBlock).statements);
|
D | utilitiesPublic.ts | 1785 return kind === SyntaxKind.ModuleBlock 1793 return kind === SyntaxKind.ModuleBlock
|
/third_party/typescript/src/services/formatting/ |
D | formatting.ts | 208 …return !!body && body.kind === SyntaxKind.ModuleBlock && rangeContainsRange(body.statements, node); 211 case SyntaxKind.ModuleBlock:
|
D | rules.ts | 556 case SyntaxKind.ModuleBlock: 627 case SyntaxKind.ModuleBlock:
|
D | smartIndenter.ts | 594 case SyntaxKind.ModuleBlock:
|
/third_party/typescript/lib/ |
D | typescript.d.ts | 376 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 …]
|
D | typescriptServices.d.ts | 376 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 …]
|
D | tsserverlibrary.d.ts | 376 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/ |
D | typescript.d.ts | 376 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 …]
|
D | tsserverlibrary.d.ts | 376 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 …]
|