quil.expression

class Expression:
def from_address(inner):
def from_function_call(inner):
def from_infix(inner):
def from_number(inner):
def new_pi():
def from_prefix(inner):
def from_variable(inner):
def inner(self, /):
def is_address(self, /):
def as_address(self, /):
def to_address(self, /):
def is_function_call(self, /):
def as_function_call(self, /):
def to_function_call(self, /):
def is_infix(self, /):
def as_infix(self, /):
def to_infix(self, /):
def is_number(self, /):
def as_number(self, /):
def to_number(self, /):
def is_pi(self, /):
def is_prefix(self, /):
def as_prefix(self, /):
def to_prefix(self, /):
def is_variable(self, /):
def as_variable(self, /):
def to_variable(self, /):
def to_quil(self, /):
def to_quil_or_debug(self, /):
def parse(input):
def simplify(self, /):
def into_simplified(self, /):
def evaluate(self, /, variables, memory_references):
def substitute_variables(self, /, variable_values):
def to_real(self, /):
class FunctionCallExpression:
function
expression
class InfixExpression:
operator
right
left
class PrefixExpression:
operator
expression
class ExpressionFunction:
Cis = Cis
Cosine = Cosine
Exponent = Exponent
Sine = Sine
SquareRoot = SquareRoot
class PrefixOperator:
Plus = Plus
Minus = Minus
class InfixOperator:
Caret = Caret
Plus = Plus
Minus = Minus
Slash = Slash
Star = Star
class EvaluationError(builtins.ValueError):

Inappropriate argument value (of correct type).

class ParseExpressionError(builtins.ValueError):

Inappropriate argument value (of correct type).