Constants - Legacy
Runtime constants and enums exported by the Legacy module.
Enum EContextType
Copyright 2026 Angus.Fenying [email protected]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Source: packages/library/src/legacy/Constants.ts#L20
Import
ts
import { EContextType } from '@litert/decorator/legacy';Values
| Name | Value | Description |
|---|---|---|
EContextType.CLASS | 'class' | Normalized legacy context tag for class. |
EContextType.ACCESSOR | 'accessor' | Normalized legacy context tag for accessor. |
EContextType.GETTER | 'getter' | Normalized legacy context tag for getter. |
EContextType.SETTER | 'setter' | Normalized legacy context tag for setter. |
EContextType.METHOD | 'method' | Normalized legacy context tag for method. |
EContextType.PROPERTY | 'property' | Normalized legacy context tag for property. |
EContextType.CONSTRUCTOR_PARAMETER | 'constructor_parameter' | Normalized legacy context tag for constructor parameter. |
EContextType.METHOD_PARAMETER | 'method_parameter' | Normalized legacy context tag for method parameter. |
EContextType.STATIC_ACCESSOR | 'static_accessor' | Normalized legacy context tag for static accessor. |
EContextType.STATIC_GETTER | 'static_getter' | Normalized legacy context tag for static getter. |
EContextType.STATIC_SETTER | 'static_setter' | Normalized legacy context tag for static setter. |
EContextType.STATIC_METHOD | 'static_method' | Normalized legacy context tag for static method. |
EContextType.STATIC_PROPERTY | 'static_property' | Normalized legacy context tag for static property. |
EContextType.STATIC_METHOD_PARAMETER | 'static_method_parameter' | Normalized legacy context tag for static method parameter. |