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
spec ___ mark
|___ data
|___ encode ____ x
|____ y
|____ color
At the same time, replace the TypeReference with the exact type based on children of the statement.
For example: turn mark's member into "type: bar | area | line | { bar| area | line}"
input (statement we have in step 1)
Code Structure
Statements[]
Statements[]
into the Internal Representation, replace type reference with exact typesInput & Output Example
For each step, the example input and output are:
step 1
input:
output:
step 2
build a tree that the root node is Spec
output is a tree like this
At the same time, replace the TypeReference with the exact type based on
children
of thestatement
.For example: turn mark's member into "type: bar | area | line | { bar| area | line}"
input (statement we have in step 1)
output (mark object in the tree)
step 3
Traverse the tree and generate classes and functions
The text was updated successfully, but these errors were encountered: