Directive

esmeta.lang.Directive
case class Directive(name: String, values: List[String]) extends Syntax

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Syntax
trait Locational
trait LangElem
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def mergeLoc(that: Locational): Option[Loc]

merge source locations

merge source locations

Attributes

Inherited from:
Locational
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def setLoc(locOpt: Option[Loc]): Locational.this.type

set source location if not already set

set source location if not already set

Attributes

Inherited from:
Locational
def setLoc(start: Pos, end: Pos, filename: Option[String], steps: List[Int]): Locational.this.type

set source location with start and end positions and steps

set source location with start and end positions and steps

Attributes

Inherited from:
Locational
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
LangElem -> Any
Inherited from:
LangElem
def toString(detail: Boolean, location: Boolean): String

stringify with options

stringify with options

Attributes

Inherited from:
LangElem

Inherited fields

var loc: Option[Loc]

source location

source location

Attributes

Inherited from:
Locational