Expr

amyc.ast.TreeModule.Expr
sealed trait Expr extends Tree

Base type for all the expressions in Amy

Attributes

Graph
Supertypes
trait Tree
trait Positioned
class Object
trait Matchable
class Any
Known subtypes
class Call
class EmptyExpr
class Error
class FunRef
class InfixCall
class Ite
class Let
trait Literal[T]
class IntLiteral
class UnitLiteral
class Match
class Neg
class Not
class Sequence
class Variable
Show all

Members list

Value members

Inherited methods

def hasPosition: Boolean

Attributes

Inherited from:
Positioned

Attributes

Inherited from:
Positioned
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