Scopes
Type: Alias
A type alias declarationTypeScript
Type: Argument catch
Type of parameter in a catch clauseC++
C#
Java
PHP
Python
TypeScript
Type of formal parameter in a function declaration Type of formal parameter in a constructor declaration Type of formal parameter in a class method declaration Type: Cast
A type castC
C#
Java
PHP
TypeScript
Type: Class
A class declarationC
C++
C#
Java
Python
TypeScript
Type: Enum
An enum declarationC
C++
C#
Java
TypeScript
Type: Field class
Type of field in a classC
C++
C#
Java
PHP
Python
TypeScript
Type: Field interface
Type of field in a interfaceC#
Java
TypeScript
Type: Foreach
Type of variable in a for each loopC++
C#
Java
Type: Interface
An interface declarationC#
Java
TypeScript
Type: Resource
Type in a 'with' / 'use' / 'using' statementJava
Type: Return
Type of return value in a function declarationC
C#
Java
Python
TypeScript
Type: Type argument
Type argument to a generic / parametrized typeC++
C#
Java
Python
TypeScript
Type: Variable
Type of variable in a variable declarationC
C#
Java
Python
TypeScript
Type (iteration block)
Iteration scope for types: statement blocks (body of functions/if-statements/for-loops/etc).C
C#
Java
Python
TypeScript
Type (iteration class)
Iteration scope for types: class bodies.C
C++
C#
Java
Python
TypeScript
Type (iteration document)
Iteration scope for types: the entire document including leading and trailing empty lines.C
C#
Java
Python
TypeScript
Type (iteration interface)
Iteration scope for types: interface bodies.C#
Java
TypeScript
Iteration scope for types of formal parameters in a function declaration: the parameters list. The domain should be the entire function. Iteration scope for types of formal parameters in a constructor declaration: the parameters list. The domain should be the entire constructor. Iteration scope for types of formal parameters in a method declaration: the parameters list. The domain should be the entire method. Type: Type argument (iteration)
Iteration scope for type arguments to a generic / parametrized type: the type argument list.C++
C#
Java
Python
TypeScript