Skip to content
Andreas Plesch edited this page Jun 12, 2020 · 2 revisions

allow multiple connections per protofield

Design

Notes about design of a prototype realization

First attempt

Treat ProtoInstance as true statement, eg. not as a node.

While parsing, create x3dom nodes for protobody of a protoinstance:

a) copy protobody dom

b) go through nodes and create x3dom nodes for each dom node.

c) setupTree for each node individually since first node is special = typeNode

d) problematic if first node is also protoinstance of another prototype since no parent

Clone this wiki locally