InfixCall

amyc.ast.TreeModule.InfixCall
case class InfixCall(lhs: Expr, op: Name, rhs: Expr) extends Expr

Represents an Infix call to a function For now, we only use it for operators.

It should be desugared to a Call(op, List(lhs, rhs))

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Expr
trait Tree
trait Positioned
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def hasPosition: Boolean

Attributes

Inherited from:
Positioned

Attributes

Inherited from:
Positioned
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def setPos(other: Positioned): Positioned.this.type

Attributes

Inherited from:
Positioned
def setPos(pos: Position): Positioned.this.type

Attributes

Inherited from:
Positioned
def tpe: Type

Attributes

Inherited from:
Tree
final def withType(tpe: Type): Tree.this.type

Attributes

Inherited from:
Tree

Inherited fields

protected var pos_: Position

Attributes

Inherited from:
Positioned