Structs§
- Allocation
- Assignment
- AstFactory
- AstNode
- Binary
Expression - Call
Statement - Cast
Statement - Compilation
Unit - Config
Variable - Default
Value - Direct
Access - Empty
Statement - Generic
Binding - Hardware
Access - Identifier
- Implementation
- Interface
- Jump
Statement - Represents a conditional jump from current location to a specified label
- Label
Statement - Represents a location in code that could be jumbed to
- Meta
Data - Multiplied
Statement - Pou
- Property
Block - The property container as a whole, which contains
PropertyImplementations - Property
Implementation - Range
Statement - Reference
Expr - Unary
Expression - User
Type Declaration - Variable
- Variable
Block
Enums§
- Access
Modifier - Argument
Property - AstStatement
- Auto
Deref Type - Data
Type - Data
Type Declaration - Declaration
Kind - Direct
Access Type - Hardware
Access Type - Linkage
Type - Operator
- Polymorphism
Mode - PouType
- Property
Kind - Reference
Access - Type
Nature - Variable
Block Type
Functions§
- flatten_
expression_ list - flattens expression-lists and MultipliedStatements into a vec of statements. It can also handle nested structures like 2(3(4,5))
- get_
enum_ element_ name - expects a Reference or an Assignment
- get_
enum_ element_ names - enum_elements should be the statement between then enum’s brackets ( ) e.g. x : ( this, that, etc)
- mangle_
hw_ name - Builds the synthetic global name (
__PI_…,__M_…,__G_…) that the pre-processor emits for hardware-bound variables. Single source of truth: every code path that needs to refer to one of these synthetic globals must call this function so that DWARF symbols, initializer rewrites, and external mappings stay in lockstep. - pre_
process - steal_
expression_ list