SPeCS Packages Documentation
Preparing search index...
@specs-feup/clava-misra
ast-visitor/Context
Context
Class Context<T>
Key-value storage to share data between visits
Type Parameters
T
Type of the stored values
Hierarchy (
View Summary
)
Context
MISRAContext
Index
Constructors
constructor
Properties
storage
Methods
get
put
Constructors
constructor
new
Context
<
T
>
()
:
Context
<
T
>
Type Parameters
T
Type of the stored values
Returns
Context
<
T
>
Properties
Protected
storage
storage
:
Map
<
string
,
T
>
= ...
Methods
get
get
(
key
:
string
)
:
T
|
undefined
Parameters
key
:
string
Returns
T
|
undefined
put
put
(
key
:
string
,
value
:
T
)
:
void
Parameters
key
:
string
value
:
T
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
storage
Methods
get
put
SPeCS Packages Documentation
Loading...
Key-value storage to share data between visits