Lines Matching full:scope
22 import { ModuleScope, Scope } from "./scope";
191 function checkImportDeclaration(node: ts.ImportDeclaration, scope: Scope) {
192 if (!(scope instanceof ModuleScope)) {
213 function checkExportAssignment(node: ts.ExportAssignment, scope: Scope) {
214 if (!(scope instanceof ModuleScope)) {
223 function checkExportDeclaration(node: ts.ExportDeclaration, scope: Scope) {
224 if (!(scope instanceof ModuleScope)) {
233 export function checkSyntaxErrorForStrictMode(node: ts.Node, scope: Scope) {
287 checkImportDeclaration(<ts.ImportDeclaration>node, scope);
290 checkExportAssignment(<ts.ExportAssignment>node, scope);
293 checkExportDeclaration(<ts.ExportDeclaration>node, scope);