Reserved interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

When the parser encounters an expression with syntax reserved for later use, it emits a Reserved pattern element to represent it.


export interface Reserved 


As the meaning of this syntax is not yet defined or supported, it will always resolve with a fallback representation and emit an error.


Property Modifiers Type Description
name?   never (BETA) (Optional)
operand?   Literal | VariableRef (BETA) (Optional)
sigil   ’!’ | ‘@’ | ‘#’ | ‘%’ | ‘^’ | ‘&’ | ‘*’ | ‘<’ | ‘>’ | ‘?’ | ‘~’ (BETA)
source   string (BETA)
type   ‘reserved’ (BETA)