CSharpScope
io.joern.csharpsrc2cpg.datastructures.CSharpScope
class CSharpScope(typeMap: TypeMap) extends Scope[String, DeclarationNew, ScopeType]
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Appends known types imported from a using
statement into the scope.
Appends known types imported from a using
statement into the scope.
Value parameters
- namespace
-
the fully qualified imported namespace.
Attributes
Attributes
- Returns
-
true if the scope is currently on the top-level, false if the scope is within some nested scope.
Pops the scope, removing types from the scope if necessary.
Pops the scope, removing types from the scope if necessary.
Attributes
- Definition Classes
-
Scope
Pops the scope, adding types from the scope if necessary.
Pops the scope, adding types from the scope if necessary.
Attributes
- Definition Classes
-
Scope
Attributes
- Returns
-
the full name of the surrounding scope.
Attributes
- Returns
-
the surrounding type declaration if one exists.
Inherited methods
Attributes
- Inherited from:
- Scope
Attributes
- Inherited from:
- Scope
Attributes
- Inherited from:
- Scope
Attributes
- Inherited from:
- Scope
In this article