MCPcopy Create free account
hub / github.com/Permify/permify / InfixExpression

Struct InfixExpression

pkg/dsl/ast/node.go:109–114  ·  view source on GitHub ↗

InfixExpression represents an expression with an operator between two sub-expressions.

Source from the content-addressed store, hash-verified

107
108// InfixExpression represents an expression with an operator between two sub-expressions.
109type InfixExpression struct {
110 Op token.Token // The operator token, e.g. and, or, not.
111 Left Expression // The left-hand side sub-expression.
112 Operator Operator // The operator as a string.
113 Right Expression // The right-hand side sub-expression.
114}
115
116// expressionNode function on InfixExpression.
117func (ie *InfixExpression) expressionNode() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected