pub trait InfixExpression<H: HostTypes>: TermExpression<H> {
type TermExpression: TermExpression<H>;
// Required methods
fn left_operand(&self) -> &Self::TermExpression;
fn right_operand(&self) -> &Self::TermExpression;
fn infix_operator(&self) -> &H::HostString;
}Expand description
An AST node for infix relations and logical connectives (e.g., x <= y, P -> Q, a = b).
Required Associated Types§
Sourcetype TermExpression: TermExpression<H>
type TermExpression: TermExpression<H>
Associated type for TermExpression.
Required Methods§
Sourcefn left_operand(&self) -> &Self::TermExpression
fn left_operand(&self) -> &Self::TermExpression
The left operand of an infix expression.
Sourcefn right_operand(&self) -> &Self::TermExpression
fn right_operand(&self) -> &Self::TermExpression
The right operand of an infix expression.
Sourcefn infix_operator(&self) -> &H::HostString
fn infix_operator(&self) -> &H::HostString
The operator symbol in an infix expression (e.g., ‘=’, ‘\u{2264}’, ‘\u{2192}’).