Package

com.tersesystems

blindsight

Permalink

package blindsight

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. blindsight
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ArgumentResolver extends AnyRef

    Permalink

    Resolves a com.tersesystems.blindsight.AST.BObject to an Argument.

    Resolves a com.tersesystems.blindsight.AST.BObject to an Argument.

    val argument: Argument = ArgumentResolver(bobj("foo" -> "bar"))

    This is a service interface trait, which should be implemented the service loader pattern.

  2. trait BigDecimalMode extends AnyRef

    Permalink
  3. trait DSL extends DSLImplicits

    Permalink

    A DSL to produce valid AST of values.

    A DSL to produce valid AST of values.

    This is "inspired" by JSON4S code.

    import com.tersesystems.blindsight.AST._
    import com.tersesystems.blindsight.DSL._
    ("name", "joe") ~ ("age", 15) == BObject(BField("name",BString("joe")) :: BField("age",BInt(15)) :: Nil)
  4. trait DSLImplicits extends AnyRef

    Permalink
  5. trait DoubleMode extends AnyRef

    Permalink
  6. trait MarkersResolver extends AnyRef

    Permalink

    Resolves a com.tersesystems.blindsight.AST.BObject to Markers.

    Resolves a com.tersesystems.blindsight.AST.BObject to Markers.

    val markers: Markers = MarkersResolver(bobj("foo" -> "bar"))

    This is a service interface trait, which should be implemented the service loader pattern.

Value Members

  1. object AST

    Permalink

    The abstract syntax tree.

    The abstract syntax tree. This is used to represent valid structured data, without requiring it to be in a particular format, i.e. JSON, logfmt, or XML. Instead, either MarkersResolver or ArgumentResolver is used to convert from AST to Markers or Argument, respectively.

    A tree is typically constructed by using the DSL.

    import com.tersesystems.blindsight.AST._
    import com.tersesystems.blindsight.DSL._
    
    val o: BObject = bobj("foo" -> "bar")
  2. object ArgumentResolver

    Permalink
  3. object BigDecimalMode extends DSLImplicits with BigDecimalMode

    Permalink
  4. object DSL extends DSL with DoubleMode

    Permalink
  5. object DoubleMode extends DSLImplicits with DoubleMode

    Permalink
  6. object MarkersResolver

    Permalink
  7. object bobj

    Permalink

Deprecated Value Members

  1. object bodj

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) This is a typo of bobj (short for bobject)

Inherited from AnyRef

Inherited from Any

Ungrouped