You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
Right now, we are only emitting lexical information for 'object' nodes in the YAML and JSON ASTs.
The result of this limitation is that some nodes are not selectable in the web app if the AST element they come from is not a 'object' node in the ast.
For example:
schema: MyType
Will not generate lexical info. On the contrary:
schema:
type: MyType
Will generate information.
We need to add this missing information into the AST we are generating. The information is generated by the parsers but since we are using Clojure meta-data to annotate the produced Clojure data structures with the location information, we cannot annotate scalar objects.
To overcome this limitation and fix the problem, we need to wrap scalar nodes into some data structure in the generated Clojure AST data structure.
Parsers will need then to unwrap these nodes and extract the scalar value and the lexical information for the token.