keywords

amyc.parsing.keywords$
object keywords

Defines all the keywords of Amy To add a new keyword, only override Keyword

case object <name> extends Keyword

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
keywords.type

Members list

Type members

Classlikes

sealed abstract class Keyword

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object `abstract`.type
object `case`.type
object `class`.type
object `else`.type
object `if`.type
object `match`.type
object `val`.type
object end.type
object error.type
object fn.type
object module.type
object wildcard.type
Show all
case object `abstract` extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
`abstract`.type
case object `case` extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
`case`.type
case object `class` extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
`class`.type
case object `else` extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
`else`.type
case object `if` extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
`if`.type
case object `match` extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
`match`.type
case object `val` extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
`val`.type
case object end extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
end.type
case object error extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
error.type
case object fn extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
fn.type
case object module extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
module.type
case object wildcard extends Keyword

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Keyword
class Object
trait Matchable
class Any
Show all
Self type
wildcard.type

Value members

Concrete methods

def flatMap[A](f: Keyword => IterableOnce[A]): List[A]
def isKeyword(str: String): Boolean
def map[A](f: Keyword => A): List[A]
def of(str: String): Option[Keyword]