Expr

com.phasmidsoftware.lascala.parser.RuleParser.Expr
case class Expr(t: RuleParser.this.ExprTerm, ts: List[String RuleParser.this.~ RuleParser.this.ExprTerm]) extends Expression

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Expression
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def asQuotedString: Option[String]

Attributes

Returns

Some(string) if this Expression represents a single, quoted string. Otherwise, None.

def asString: String
def toRPN: List[String]

Inherited methods

def evaluate[X](implicit evidence$1: Valuable[X], lookup: String => Option[X]): Try[Either[String, X]]

Evaluate this expression as either an X, a String or (failing) a Throwable

Evaluate this expression as either an X, a String or (failing) a Throwable

Type parameters

X

the underlying type of the Valuable result

Attributes

Returns

Either a Throwable or Either a String or an X

Inherited from:
Expression
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product