Home
last modified time | relevance | path

Searched refs:ModuleBlock (Results 1 – 25 of 32) 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/testRunner/unittests/
Dtransform.ts228 if (node.kind === SyntaxKind.ModuleBlock) {
229 const block = node as T & ModuleBlock;
/third_party/typescript/src/services/
DimportTracker.ts33 interface AmbientModuleDeclaration extends ModuleDeclaration { body?: ModuleBlock; }
670 Debug.assert(parent.kind === SyntaxKind.ModuleBlock);
DdocumentHighlights.ts207 …const container = declaration.parent as ModuleBlock | SourceFile | Block | CaseClause | DefaultCla…
209 case SyntaxKind.ModuleBlock:
Dbreakpoints.ts98 case SyntaxKind.ModuleBlock:
576 case SyntaxKind.ModuleBlock:
DoutliningElementsCollector.ts187 case SyntaxKind.ModuleBlock:
DsymbolDisplay.ts712 … if (parent.kind === SyntaxKind.SourceFile || parent.kind === SyntaxKind.ModuleBlock) {
DnavigationBar.ts795 case SyntaxKind.ModuleBlock:
/third_party/typescript/src/compiler/transformers/
Dts.ts66 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/
DextractSymbol.ts263 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/
DnodeTests.ts512 export function isModuleBlock(node: Node): node is ModuleBlock {
513 return node.kind === 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/lib/
Dtypescript.d.ts367 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 …]
DtypescriptServices.d.ts367 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 …]
Dtsserverlibrary.d.ts367 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/
Dtypes.ts306 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 …]
DvisitorPublic.ts934 case SyntaxKind.ModuleBlock:
935 return factory.updateModuleBlock(<ModuleBlock>node,
936 nodesVisitor((<ModuleBlock>node).statements, visitor, isStatement));
Dbinder.ts76 case SyntaxKind.ModuleBlock: {
842 case SyntaxKind.ModuleBlock:
1863 case SyntaxKind.ModuleBlock:
2744 case SyntaxKind.ModuleBlock:
2745 return updateStrictModeStatementList((<Block | ModuleBlock>node).statements);
Demitter.ts1508 case SyntaxKind.ModuleBlock:
1509 return emitModuleBlock(<ModuleBlock>node);
3192 function emitModuleBlock(node: ModuleBlock) {
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts367 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 …]
Dtsserverlibrary.d.ts367 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/
Drules.ts551 case SyntaxKind.ModuleBlock:
622 case SyntaxKind.ModuleBlock:
Dformatting.ts208 …return !!body && body.kind === SyntaxKind.ModuleBlock && rangeContainsRange(body.statements, node);
211 case SyntaxKind.ModuleBlock:
DsmartIndenter.ts568 case SyntaxKind.ModuleBlock:

12