Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptySenderSide = errors.New("Unable to desugar sender side with struct selectors because it's empty.") ErrOutportAddrNotFound = errors.New("Outport addr not found") ErrTypeNotStruct = errors.New("Type not struct") ErrStructFieldNotFound = errors.New("Struct field not found") )
View Source
var ErrConstSenderEntityKind = errors.New(
"Entity that is used as a const reference in component's network must be of kind constant",
)
Functions ¶
This section is empty.
Types ¶
type Desugarer ¶
type Desugarer struct{}
Desugarer does the following: 1. Replaces const ref senders with normal nodes that uses Const component with compiler directive; 2. Inserts void nodes and connections for every unused outport in the program; 3. Replaces struct selectors with chain of struct selector nodes.
Click to show internal directories.
Click to hide internal directories.