MatchBindings
Defined in: libs/language/src/typeqlite-validator.ts:537
What a match binds, read from the AST alone.
An anonymous relation pattern binds no variable of its own and is deliberately absent from
things — the interpreter invents __anonN for it, and that is a name nobody wrote and nothing
should offer back.
Member summary
Section titled “Member summary”Properties
| Name | Description |
|---|---|
| rolePlayersOnly | Variables appearing only inside links (...), with no isa of their own. |
| selectable | Attribute variables — those bound by a has … $var. |
| things | Thing variables, with what their patterns name. |
Properties
Section titled “Properties”rolePlayersOnly
Section titled “rolePlayersOnly”
readonlyrolePlayersOnly:ReadonlySet<string>
Defined in: libs/language/src/typeqlite-validator.ts:546
Variables appearing only inside links (...), with no isa of their own.
selectable
Section titled “selectable”
readonlyselectable:ReadonlySet<string>
Defined in: libs/language/src/typeqlite-validator.ts:539
Attribute variables — those bound by a has … $var. A select may name these or things.
things
Section titled “things”
readonlythings:ReadonlyMap<string, {bound:string[];literals:string[];type?:string; }>
Defined in: libs/language/src/typeqlite-validator.ts:541
Thing variables, with what their patterns name.
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.