Statement

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.

Companion
object
trait TextSpan
class Object
trait Matchable
class Any

Value members

Abstract methods

def expr: Expr

The expression value of this Statement.

The expression value of this Statement.

The opt semicolon token.

The opt semicolon token.

Concrete methods

final def errGet[A](implicit ev: Persist[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.

def hasSemi: Boolean

The statement has semicolon as end

The statement has semicolon as end

def noSemi: Boolean

The statement has no semicolon at end.

The statement has no semicolon at end.

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

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.

Inherited methods

Inherited from
TextSpan
Inherited from
TextSpan