Skip to main content

Module recognition

Module recognition 

Source
Expand description

Exact source-call recognition metadata shared by frontends.

Structs§

CallRecognition
Exact syntactic call name that can be recognized without semantic inspection.
MethodRecognition
Receiver-method call shape recognized after a frontend knows the receiver type.

Enums§

TypeScriptReceiverKind
TypeScript receiver category used when recognition depends on lowered type shape.

Constants§

TYPESCRIPT_CALLS
Exact TypeScript call spellings that are safe to recognize before type lowering.
TYPESCRIPT_METHODS
TypeScript receiver-method spellings keyed by known receiver type.

Functions§

typescript_call_rule
Return the shared rule for an exact TypeScript global or static namespace call.
typescript_method_rule
Return the shared rule for a TypeScript receiver-method call.