Skip to main content

SemanticFact

Enum SemanticFact 

Source
pub enum SemanticFact {
Show 36 variants AngularTemplateMemberAccess(AngularTemplateMemberAccessFact), AngularComponentFieldArrayType(AngularComponentFieldArrayTypeFact), AngularThisSpread(AngularThisSpreadFact), FactoryCallMemberAccess(FactoryCallMemberAccessFact), FactoryFnMemberAccess(FactoryFnMemberAccessFact), TypedPropertyMemberAccess(TypedPropertyMemberAccessFact), FluentChainMemberAccess(FluentChainMemberAccessFact), FluentChainNewMemberAccess(FluentChainNewMemberAccessFact), PlaywrightFixtureUse(PlaywrightFixtureUseFact), PlaywrightFixtureDefinition(PlaywrightFixtureDefinitionFact), PlaywrightFixtureAlias(PlaywrightFixtureAliasFact), PlaywrightFixtureType(PlaywrightFixtureTypeFact), InstanceExportBinding(InstanceExportBindingFact), DynamicCustomElementRender(DynamicCustomElementRenderFact), FactoryFnWholeObject(FactoryFnWholeObjectFact), FactoryReturnObjectPropertyAccess(FactoryReturnObjectPropertyAccessFact), ClassThisMemberAccess(ClassThisMemberAccessFact), ClassThisWholeObjectUse(ClassThisWholeObjectUseFact), VitestModuleMockOperation(VitestModuleMockOperationFact), DeclarationMerge(DeclarationMergeFact), TypeAliasSurfaceTarget(TypeAliasSurfaceTargetFact), StringEnumMemberValue(StringEnumMemberValueFact), ComputedEnumKeyUse(ComputedEnumKeyUseFact), RequiredTypeMember(RequiredTypeMemberFact), CjsSingleStaticObjectMap, DefaultImportWholeObjectUse(DefaultImportWholeObjectUseFact), ExportedObjectInstanceProperty(ExportedObjectInstancePropertyFact), QualifiedClassMemberAccess(QualifiedClassMemberAccessFact), FederationRuntimeRemote(FederationRuntimeRemoteFact), ImportLoadKindOverride(ImportLoadKindOverrideFact), FactoryReturnObjectPropertySource(Box<FactoryReturnObjectPropertySourceFact>), ProvenFactoryReturnObjectPropertyAccess(FactoryReturnObjectPropertyAccessFact), CallbackFactoryPropertyAccess(Box<CallbackFactoryPropertyAccessFact>), PlaywrightConditionalFixtureDefinition(Box<PlaywrightConditionalFixtureDefinitionFact>), PlaywrightTestBinding(PlaywrightTestBindingFact), TopLevelRuntimeStatement,
}
Expand description

A typed extraction fact for cross-layer analysis.

Variants§

§

AngularTemplateMemberAccess(AngularTemplateMemberAccessFact)

A class member referenced from an Angular template, host binding, or component metadata entry.

§

AngularComponentFieldArrayType(AngularComponentFieldArrayTypeFact)

An Angular component field whose value is an array of a class.

§

AngularThisSpread(AngularThisSpreadFact)

An Angular component spreads this into an object literal, so component input/output usage is opaque.

§

FactoryCallMemberAccess(FactoryCallMemberAccessFact)

A member access on a value returned by an imported static factory call.

§

FactoryFnMemberAccess(FactoryFnMemberAccessFact)

A member access on a value returned by an imported free-function factory (const x = importedFactory(); x.member). See issue #1441 (Part A).

§

TypedPropertyMemberAccess(TypedPropertyMemberAccessFact)

A member access reached through a property of a value whose declared type is an imported named type (this.opts.c.optM() where opts is typed by an imported interface). See issue #1785.

§

FluentChainMemberAccess(FluentChainMemberAccessFact)

A member access on a fluent chain rooted at an imported static factory.

§

FluentChainNewMemberAccess(FluentChainNewMemberAccessFact)

A member access on a fluent chain rooted at a new expression.

§

PlaywrightFixtureUse(PlaywrightFixtureUseFact)

A member access on a Playwright fixture object inside a test callback.

§

PlaywrightFixtureDefinition(PlaywrightFixtureDefinitionFact)

A Playwright fixture definition declared by a typed test.extend<T>().

§

PlaywrightFixtureAlias(PlaywrightFixtureAliasFact)

A Playwright fixture wrapper alias declared by mergeTests or .extend.

§

PlaywrightFixtureType(PlaywrightFixtureTypeFact)

A nested Playwright fixture binding declared by a fixture type alias.

§

InstanceExportBinding(InstanceExportBindingFact)

An exported value whose runtime instance targets a local class or interface.

§

DynamicCustomElementRender(DynamicCustomElementRenderFact)

A dynamic custom-element tag render that makes static Lit tag credit opaque.

§

FactoryFnWholeObject(FactoryFnWholeObjectFact)

A factory-returned value consumed in a way that can expose ANY property (const { a, ...rest } = importedFactory(), a computed destructure key). The returned class must be treated as wholly used: crediting only the visible keys would leave a live member reported as dead.

Appended, never inserted: bitcode encodes an enum by ordinal, so moving an existing variant would make an old cache decode one fact as another.

§

FactoryReturnObjectPropertyAccess(FactoryReturnObjectPropertyAccessFact)

A member access reached through a property of a value returned by an imported factory that returns an object literal (const ui = createUi(); ui.orders.member). Appended after FactoryFnWholeObject, never inserted (bitcode encodes by ordinal). See issue #1858.

§

ClassThisMemberAccess(ClassThisMemberAccessFact)

A this.<field>.<member> access tied to its exact enclosing class. Appended because bitcode encodes enum variants by ordinal.

§

ClassThisWholeObjectUse(ClassThisWholeObjectUseFact)

A whole-object use of this.<field>... tied to its exact enclosing class. Appended because bitcode encodes enum variants by ordinal.

§

VitestModuleMockOperation(VitestModuleMockOperationFact)

An ordered Vitest module-mock operation with direct imported-vi provenance.

Appended because bitcode encodes enum variants by ordinal. The ordinary dynamic-import fact for the same source remains authoritative for graph reachability and unresolved-import diagnostics.

§

DeclarationMerge(DeclarationMergeFact)

Direct declarations that form one legal TypeScript declaration merge. Appended because bitcode encodes enum variants by ordinal.

§

TypeAliasSurfaceTarget(TypeAliasSurfaceTargetFact)

A named type whose direct receiver surface is contributed by another named type (for example Pick<Base, ...> or a union constituent). Appended because bitcode encodes enum variants by ordinal.

§

StringEnumMemberValue(StringEnumMemberValueFact)

A string-valued TypeScript enum member available as a static property key. Appended because bitcode encodes enum variants by ordinal.

§

ComputedEnumKeyUse(ComputedEnumKeyUseFact)

A computed property access keyed by a static enum member. Appended because bitcode encodes enum variants by ordinal.

§

RequiredTypeMember(RequiredTypeMemberFact)

A directly declared non-optional member required by a named interface or object type. Appended because bitcode encodes enum variants by ordinal.

§

CjsSingleStaticObjectMap

The file’s complete CommonJS assignment surface is exactly one top-level module.exports = { ... } object literal whose keys are all static and which has no transpilation marker or competing assignment. Appended because bitcode encodes enum variants by ordinal.

§

DefaultImportWholeObjectUse(DefaultImportWholeObjectUseFact)

A default import binding was handed on as a whole object. Appended because bitcode encodes enum variants by ordinal.

§

ExportedObjectInstanceProperty(ExportedObjectInstancePropertyFact)

A property of an exported object contains a local class instance. Appended because bitcode encodes enum variants by ordinal.

§

QualifiedClassMemberAccess(QualifiedClassMemberAccessFact)

A proven class member read selected through a namespace import. Appended because bitcode encodes enum variants by ordinal.

§

FederationRuntimeRemote(FederationRuntimeRemoteFact)

A Module Federation runtime call (registerRemotes, loadRemote, init or createInstance) imported from a Federation runtime package. Appended because bitcode encodes enum variants by ordinal.

§

ImportLoadKindOverride(ImportLoadKindOverrideFact)

A dynamic import or an import pattern whose load kind differs from the default of its list: Dynamic for dynamic_imports and DynamicPattern for dynamic_import_patterns. Appended because bitcode encodes enum variants by ordinal.

§

FactoryReturnObjectPropertySource(Box<FactoryReturnObjectPropertySourceFact>)

A source-owned class-producing property of an exported object factory. Appended because bitcode encodes enum variants by ordinal.

§

ProvenFactoryReturnObjectPropertyAccess(FactoryReturnObjectPropertyAccessFact)

Property read whose bound factory receiver passed source-time lexical and value checks.

§

CallbackFactoryPropertyAccess(Box<CallbackFactoryPropertyAccessFact>)

Caller-owned callback origins for a source-proven returned property.

§

PlaywrightConditionalFixtureDefinition(Box<PlaywrightConditionalFixtureDefinitionFact>)

A Playwright fixture definition from <base>.extend<T>() where base is imported. Analysis applies it only when base resolves to a Playwright test. Appended because bitcode encodes enum variants by ordinal.

§

PlaywrightTestBinding(PlaywrightTestBindingFact)

A local name that the extractor proved holds a Playwright test. Appended because bitcode encodes enum variants by ordinal.

§

TopLevelRuntimeStatement

A top-level statement or declaration emits runtime code beyond module imports and exports, which have their own extraction records. Appended because bitcode encodes enum variants by ordinal.

Trait Implementations§

Source§

impl Clone for SemanticFact

Source§

fn clone(&self) -> SemanticFact

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SemanticFact

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'__de> Decode<'__de> for SemanticFact

Source§

impl Encode for SemanticFact

Source§

impl Eq for SemanticFact

Source§

impl JsonSchema for SemanticFact

Source§

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn inline_schema() -> bool

Whether JSON Schemas generated for this type should be included directly in parent schemas, rather than being re-used where possible using the $ref keyword. Read more
Source§

impl PartialEq for SemanticFact

Source§

fn eq(&self, other: &SemanticFact) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for SemanticFact

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for SemanticFact

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DecodeOwned for T
where T: for<'de> Decode<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<'a, T> FromIn<'a, T> for T

Source§

fn from_in(t: T, _: &'a Allocator) -> T

Converts to this type from the input type within the given allocator.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<'a, T, U> IntoIn<'a, U> for T
where U: FromIn<'a, T>,

Source§

fn into_in(self, allocator: &'a Allocator) -> U

Converts this type into the (usually inferred) input type within the given allocator.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more