The name of this component as set by the @Component decorator.
The priority this converter should be executed with. A higher priority means the converter will be applied earlier.
List of supported TypeScript syntax kinds.
Return the application / root component instance.
Return the owner of this component.
Analyze the given type alias declaration node and create a suitable reflection.
The context object describing the current state the converter is in.
The type alias declaration node that should be analyzed.
The resulting reflection or NULL.
Create a reflection for the given type alias node.
This is a node based converter with no type equivalent.
Use [[isTypeAlias]] beforehand to test whether a given type/node combination is pointing to a type alias.
type MyNumber = number;
let someValue: MyNumber;
The node whose type should be reflected.
A type reference pointing to the type alias definition.
Return all option declarations emitted by this component.
Initialize this component.
Inversion-of-control versions of on
. Tell this object to listen to
an event in another object... keeping track of what it's listening to
for easier unbinding later.
Inversion-of-control versions of once
.
Remove one or many callbacks. If context
is null, removes all
callbacks with that function. If callback
is null, removes all
callbacks for the event. If name
is null, removes all bound
callbacks for all events.
Bind an event to a callback
function. Passing "all"
will bind
the callback to all events fired.
Bind an event to only be triggered a single time. After the first time the callback is invoked, its listener will be removed. If multiple events are passed in using the space-separated syntax, the handler will fire once for each event, not once for a combination of all events.
Tell this object to stop listening to either specific events ... or to every object it's currently listening to.
Test whether the given node and type definitions represent a type alias.
The compiler resolves type aliases pretty early and there is no field telling us whether the given node was a type alias or not. So we have to compare the type name of the node with the type name of the type symbol.
The context object describing the current state the converter is in.
The node that should be tested.
The type of the node that should be tested.
TRUE when the given node and type look like a type alias, otherwise FALSE.
Trigger one or many events, firing all bound callbacks. Callbacks are
passed the same arguments as trigger
is, apart from the event name
(unless you're listening on "all"
, which will cause your callback to
receive the true name of the event as the first argument).
Generated using TypeDoc
Create new Component instance.