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
This is a feature where an object is created as parsing begins and it can be used in actions during parsing.
Imagine parsing something like a large TOML file, where the top-level object is not created until the full file has been read in. You won't know if there's a table or key collision until the very end. Instead, if we could create an object that assembles the document as it parses, we could check as we go. E.g.:
This is a feature where an object is created as parsing begins and it can be used in actions during parsing.
Imagine parsing something like a large TOML file, where the top-level object is not created until the full file has been read in. You won't know if there's a table or key collision until the very end. Instead, if we could create an object that assembles the document as it parses, we could check as we go. E.g.:
The
Sidecar.call("register_table")
does something like this at parse time:This would probably subsume the use case of #10.
Some notes:
Action
object even though it is used inactions={...}
, so maybe it doesn't belong inpe.actions
The text was updated successfully, but these errors were encountered: