ExprFactor

com.phasmidsoftware.lascala.parser.RuleParser.ExprFactor
abstract class ExprFactor extends Expression

Attributes

Graph
Supertypes
trait Expression
class Object
trait Matchable
class Any
Known subtypes
class RuleParser.this.Literal
class RuleParser.this.Number
class RuleParser.this.Variable

Members list

Value members

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

Inherited and Abstract methods

def asQuotedString: Option[String]

Attributes

Returns

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

Inherited from:
Expression
def asString: String

Attributes

Inherited from:
Expression
def toRPN: List[String]

Attributes

Inherited from:
Expression