Statement

ostrat.pParse.Statement
See theStatement companion object
sealed trait Statement extends TextSpan

The top level compositional unit of Syntax in CRON: Compact Readable Object Notation. A statement can be claused consisting of comma separated clauses containing a single expression. An empty statement is a special case of the UnClausedStatement where the semicolon character is the expression.

Attributes

Companion
object
Graph
Supertypes
trait TextSpan
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def expr: Expr

The expression value of this Statement.

The expression value of this Statement.

Attributes

The opt semicolon token.

The opt semicolon token.

Attributes

Concrete methods

final def errGet[A](implicit ev: Unshow[A]): EMon[A]

Not sure what this is meant to be doing, or whether it can be removed.

Not sure what this is meant to be doing, or whether it can be removed.

Attributes

The statement has semicolon as end

The statement has semicolon as end

Attributes

def intSettingExpr(settingNum: Int): EMon[AssignMemExpr]

Returns the right expression if this Statement is an IntSetting of the given name.

Returns the right expression if this Statement is an IntSetting of the given name.

Attributes

The statement has no semicolon at end.

The statement has no semicolon at end.

Attributes

def settingExpr(settingName: String): EMon[AssignMemExpr]

Returns the right expression if this Statement is a setting of the given name.

Returns the right expression if this Statement is a setting of the given name.

Attributes

Inherited methods

Attributes

Inherited from:
TextSpan

Attributes

Inherited from:
TextSpan