arrImplicit

ostrat.pParse.Statement.arrImplicit
implicit class arrImplicit(statements: RArr[Statement]) extends TextSpan

Extension class for Arr[Statement].

Attributes

Graph
Supertypes
trait TextSpan
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def boolAtIndex(index: Int): EMon[Boolean]

Extension methods tries to get an Boolean value from the statement at the specified index of this RArr[Statement].

Extension methods tries to get an Boolean value from the statement at the specified index of this RArr[Statement].

Attributes

def dblAtIndex(index: Int): EMon[Double]

Extension methods tries to get a Double value from the statement at the specified index of this RArr[Statement].

Extension methods tries to get a Double value from the statement at the specified index of this RArr[Statement].

Attributes

Find the sole Array[Int] expression from this Arr[Statement] extension method. Returns bad if absent or multiple Statements resolve to Expr[Array[Int]].

Find the sole Array[Int] expression from this Arr[Statement] extension method. Returns bad if absent or multiple Statements resolve to Expr[Array[Int]].

Attributes

Finds an IntSetting [Expr] from this Arr[Statement] extension method.

Finds an IntSetting [Expr] from this Arr[Statement] extension method.

Attributes

def findKeySetting[KT, VT](key: KT)(implicit evST: Unshow[KT], ev: Unshow[VT]): EMon[VT]

Find Setting of key type KT type T from this Arr[Statement]. Extension method.

Find Setting of key type KT type T from this Arr[Statement]. Extension method.

Attributes

def findKeySettingElse[KT, VT](key: KT, elseValue: => VT)(implicit evST: Unshow[KT], ev: Unshow[VT]): VT

Find Setting of key type KT type T from this Arr[Statement] or return default value. Extension method.

Find Setting of key type KT type T from this Arr[Statement] or return default value. Extension method.

Attributes

def findSetting[T](settingStr: String)(implicit ev: Unshow[T]): EMon[T]

Find Identifier setting of type T from this Arr[Statement]. Extension method.

Find Identifier setting of type T from this Arr[Statement]. Extension method.

Attributes

def findSettingBool(settingStr: String): EMon[Boolean]

Find the Boolean setting of the given name, from this Arr[Statement] extension method. Returns bad if absent or multiple Statements resolve to Expr[Boolean].

Find the Boolean setting of the given name, from this Arr[Statement] extension method. Returns bad if absent or multiple Statements resolve to Expr[Boolean].

Attributes

def findSettingDbl(settingStr: String): EMon[Double]

Find Setting of the given name and type Double from this Arr[Statement] Extension method.

Find Setting of the given name and type Double from this Arr[Statement] Extension method.

Attributes

def findSettingElse[A](settingStr: String, elseValue: A)(implicit ev: Unshow[A]): A

Find idnetifier setting of value type T from this Arr[Statement] or return the default value parameter. Extension method

Find idnetifier setting of value type T from this Arr[Statement] or return the default value parameter. Extension method

Attributes

Finds a setting [Expr] from this Arr[Statement] extension method.

Finds a setting [Expr] from this Arr[Statement] extension method.

Attributes

Find Identifier setting of an Identifier from this Arr[Statement]. Extension method.

Find Identifier setting of an Identifier from this Arr[Statement]. Extension method.

Attributes

Find Identifier setting of an Identifier from this Arr[Statement]. Extension method.

Find Identifier setting of an Identifier from this Arr[Statement]. Extension method.

Attributes

def findSettingInt(settingStr: String): EMon[Int]

Find Setting of the given name and type Int from this Arr[Statement] Extension method.

Find Setting of the given name and type Int from this Arr[Statement] Extension method.

Attributes

def findSettingOrUniqueT[T](settingStr: String)(implicit ev: Unshow[T]): EMon[T]

Searches for the setting of the correct type. If not found it searches for a unique setting / value of the correct type.

Searches for the setting of the correct type. If not found it searches for a unique setting / value of the correct type.

Attributes

def findSettingPosDbl(settingStr: String): EMon[Double]

Find Setting of the given name and type Double from this Arr[Statement] Extension method.

Find Setting of the given name and type Double from this Arr[Statement] Extension method.

Attributes

def findType[A](implicit ev: Unshow[A]): EMon[A]

Find Statement of type T, if its unique from this Arr[Statement] and return value.

Find Statement of type T, if its unique from this Arr[Statement] and return value.

Attributes

def findTypeElse[A](elseValue: A)(implicit ev: Unshow[A]): A

Find unique instance of type from RSON statement. The unique instance can be a plain value or setting. If no value or duplicate values found use elseValue.

Find unique instance of type from RSON statement. The unique instance can be a plain value or setting. If no value or duplicate values found use elseValue.

Attributes

def intAtIndex(index: Int): EMon[Int]

Extension methods tries to get an Int value from the statement at the specified index of this RArr[Statement].

Extension methods tries to get an Int value from the statement at the specified index of this RArr[Statement].

Attributes

def longAtIndex(index: Int): EMon[Long]

Extension methods tries to get an Long value from the statement at the specified index of this RArr[Statement].

Extension methods tries to get an Long value from the statement at the specified index of this RArr[Statement].

Attributes

def natAtIndex(index: Int): EMon[Int]

Extension methods tries to get a natural non negative Int value from the statement at the specified index of this RArr[Statement].

Extension methods tries to get a natural non negative Int value from the statement at the specified index of this RArr[Statement].

Attributes

def posDblAtIndex(index: Int): EMon[Double]

Extension methods tries to get a positive, non negative Double value from the statement at the specified index of this RArr[Statement].

Extension methods tries to get a positive, non negative Double value from the statement at the specified index of this RArr[Statement].

Attributes

def typeAtIndex[A](index: Int)(implicit ev: Unshow[A]): EMon[A]

Extension method tries to get value of specified type from the statement at the specified index of this RArr[Statement].

Extension method tries to get value of specified type from the statement at the specified index of this RArr[Statement].

Attributes