/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/testRunner/unittests/ |
D | transform.ts | 228 if (node.kind === SyntaxKind.ModuleBlock) { 229 const block = node as T & ModuleBlock;
|
/third_party/typescript/src/services/ |
D | importTracker.ts | 33 interface AmbientModuleDeclaration extends ModuleDeclaration { body?: ModuleBlock; } 670 Debug.assert(parent.kind === SyntaxKind.ModuleBlock);
|
D | documentHighlights.ts | 207 …const container = declaration.parent as ModuleBlock | SourceFile | Block | CaseClause | DefaultCla… 209 case SyntaxKind.ModuleBlock:
|
D | breakpoints.ts | 98 case SyntaxKind.ModuleBlock: 576 case SyntaxKind.ModuleBlock:
|
D | outliningElementsCollector.ts | 187 case SyntaxKind.ModuleBlock:
|
D | symbolDisplay.ts | 712 … if (parent.kind === SyntaxKind.SourceFile || parent.kind === SyntaxKind.ModuleBlock) {
|
D | navigationBar.ts | 795 case SyntaxKind.ModuleBlock:
|
/third_party/typescript/src/compiler/transformers/ |
D | ts.ts | 66 let currentLexicalScope: SourceFile | Block | ModuleBlock | CaseBlock; 163 case SyntaxKind.ModuleBlock: 165 currentLexicalScope = <SourceFile | CaseBlock | ModuleBlock | Block>node; 2736 if (node.body.kind === SyntaxKind.ModuleBlock) { 2737 …aveStateAndInvoke(node.body, body => addRange(statements, visitNodes((<ModuleBlock>body).statement… 2752 … const moduleBlock = <ModuleBlock>getInnerMostModuleDeclarationFromDottedModule(node)!.body; 2791 if (!node.body || node.body.kind !== SyntaxKind.ModuleBlock) {
|
/third_party/typescript/src/services/refactors/ |
D | extractSymbol.ts | 263 type Scope = FunctionLikeDeclaration | SourceFile | ModuleBlock | ClassLikeDeclaration; 800 …function getDescriptionForModuleLikeDeclaration(scope: SourceFile | ModuleBlock): string | Special… 801 return scope.kind === SyntaxKind.ModuleBlock 1978 case SyntaxKind.ModuleBlock:
|
/third_party/typescript/src/compiler/factory/ |
D | nodeTests.ts | 512 export function isModuleBlock(node: Node): node is ModuleBlock { 513 return node.kind === 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/lib/ |
D | typescript.d.ts | 367 ModuleBlock = 260, enumerator 1412 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause; 1594 export type NamespaceBody = ModuleBlock | NamespaceDeclaration; 1604 export interface ModuleBlock extends Node, Statement { interface 1605 readonly kind: SyntaxKind.ModuleBlock; 1617 readonly parent: SourceFile | ModuleBlock; 1629 readonly parent: SourceFile | ModuleBlock; 1659 readonly parent: SourceFile | ModuleBlock; 3450 createModuleBlock(statements: readonly Statement[]): ModuleBlock; 3451 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock; [all …]
|
D | typescriptServices.d.ts | 367 ModuleBlock = 260, enumerator 1412 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause; 1594 export type NamespaceBody = ModuleBlock | NamespaceDeclaration; 1604 export interface ModuleBlock extends Node, Statement { interface 1605 readonly kind: SyntaxKind.ModuleBlock; 1617 readonly parent: SourceFile | ModuleBlock; 1629 readonly parent: SourceFile | ModuleBlock; 1659 readonly parent: SourceFile | ModuleBlock; 3450 createModuleBlock(statements: readonly Statement[]): ModuleBlock; 3451 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock; [all …]
|
D | tsserverlibrary.d.ts | 367 ModuleBlock = 260, enumerator 1412 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause; 1594 export type NamespaceBody = ModuleBlock | NamespaceDeclaration; 1604 export interface ModuleBlock extends Node, Statement { interface 1605 readonly kind: SyntaxKind.ModuleBlock; 1617 readonly parent: SourceFile | ModuleBlock; 1629 readonly parent: SourceFile | ModuleBlock; 1659 readonly parent: SourceFile | ModuleBlock; 3450 createModuleBlock(statements: readonly Statement[]): ModuleBlock; 3451 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock; [all …]
|
/third_party/typescript/src/compiler/ |
D | types.ts | 306 ModuleBlock, enumerator 2642 | ModuleBlock 2914 readonly body?: ModuleBlock; 2925 | ModuleBlock 2944 export interface ModuleBlock extends Node, Statement { 2945 readonly kind: SyntaxKind.ModuleBlock; 2962 readonly parent: SourceFile | ModuleBlock; 2983 readonly parent: SourceFile | ModuleBlock; 3034 readonly parent: SourceFile | ModuleBlock; 7199 createModuleBlock(statements: readonly Statement[]): ModuleBlock; [all …]
|
D | visitorPublic.ts | 934 case SyntaxKind.ModuleBlock: 935 return factory.updateModuleBlock(<ModuleBlock>node, 936 nodesVisitor((<ModuleBlock>node).statements, visitor, isStatement));
|
D | binder.ts | 76 case SyntaxKind.ModuleBlock: { 842 case SyntaxKind.ModuleBlock: 1863 case SyntaxKind.ModuleBlock: 2744 case SyntaxKind.ModuleBlock: 2745 return updateStrictModeStatementList((<Block | ModuleBlock>node).statements);
|
D | emitter.ts | 1508 case SyntaxKind.ModuleBlock: 1509 return emitModuleBlock(<ModuleBlock>node); 3192 function emitModuleBlock(node: ModuleBlock) {
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 367 ModuleBlock = 260, enumerator 1423 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause; 1605 export type NamespaceBody = ModuleBlock | NamespaceDeclaration; 1615 export interface ModuleBlock extends Node, Statement { interface 1616 readonly kind: SyntaxKind.ModuleBlock; 1628 readonly parent: SourceFile | ModuleBlock; 1640 readonly parent: SourceFile | ModuleBlock; 1670 readonly parent: SourceFile | ModuleBlock; 3566 createModuleBlock(statements: readonly Statement[]): ModuleBlock; 3567 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock; [all …]
|
D | tsserverlibrary.d.ts | 367 ModuleBlock = 260, enumerator 1423 export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause; 1605 export type NamespaceBody = ModuleBlock | NamespaceDeclaration; 1615 export interface ModuleBlock extends Node, Statement { interface 1616 readonly kind: SyntaxKind.ModuleBlock; 1628 readonly parent: SourceFile | ModuleBlock; 1640 readonly parent: SourceFile | ModuleBlock; 1670 readonly parent: SourceFile | ModuleBlock; 3566 createModuleBlock(statements: readonly Statement[]): ModuleBlock; 3567 updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock; [all …]
|
/third_party/typescript/src/services/formatting/ |
D | rules.ts | 551 case SyntaxKind.ModuleBlock: 622 case SyntaxKind.ModuleBlock:
|
D | formatting.ts | 208 …return !!body && body.kind === SyntaxKind.ModuleBlock && rangeContainsRange(body.statements, node); 211 case SyntaxKind.ModuleBlock:
|
D | smartIndenter.ts | 568 case SyntaxKind.ModuleBlock:
|