Module sixtyfps_compilerlib::expression_tree[][src]

Re-exports

pub use crate::namedreference::NamedReference;

Structs

BindingExpression

The expression in the Element::binding hash table

PathElement

Enums

BuiltinFunction

A function built into the run-time

BuiltinMacroFunction

A builtin function which is handled by the compiler pass

EasingCurve
Expression

The Expression is hold by properties, so it should not hold any strong references to node from the object_tree

ImageReference
OperatorClass
Path
Unit

The units that can be used after numbers in the language

Functions

min_max_expression

Generate an expression which is like min(lhs, rhs) if op is ‘<’ or max(lhs, rhs) if op is ‘>’. counter is an unique id. The rhs and lhs of the expression must have the same numerical type

operator_class

the class of for this (binary) operation

pretty_print

Print the expression as a .60 code (not nessecarily valid .60)

Type Definitions

PathEvents