Skip to main content

Module expression

Module expression 

Source

Structs§

Binop
An infix operator and its two operands.
Expression
A p-code expression: a node kind, plus the width its value has.
Load
*[space]:size ptr — a read from memory.
LocalVarId
Integer identifier for a local p-code variable. Strings are never stored; uniqueness is guaranteed by allocation order within each macro/constructor scope.
LocalVarInterner
Parse-time interner: maps source name strings to LocalVarIds. Only alive during parsing — discarded once the producer has built its macro.
Range
x[start, size]size bits of x, counting from bit start.
Unop
A prefix operator and its operand.

Enums§

BinaryOperator
An infix operator in a p-code expression.
Builtin
The built-in SLEIGH functions — a spec may call these without declaring them, unlike define pcodeop names.
ExpressionTy
The shape of a p-code expression node.
Ident
A named thing a p-code expression refers to.
RangeParam
A bit position or width in a Range, which a macro may parameterise.
SpaceRef
A space reference that may be unresolved at Phase 2 parse time.
UnaryOperator
A prefix operator in a p-code expression.

Functions§

pretty_print_ident