Object

com.tersesystems.blindsight

AST

Related Doc: package blindsight

Permalink

object AST

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")
Source
AST.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AST
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class BArray(arr: List[BValue]) extends BValue with Product with Serializable

    Permalink
  2. final case class BBool(value: Boolean) extends BValue with Product with Serializable

    Permalink
  3. final case class BDecimal(num: BigDecimal) extends BValue with BNumber with Product with Serializable

    Permalink
  4. final case class BDouble(num: Double) extends BValue with BNumber with Product with Serializable

    Permalink
  5. type BField = (String, BValue)

    Permalink
  6. final case class BInt(num: BigInt) extends BValue with BNumber with Product with Serializable

    Permalink
  7. final case class BLong(num: Long) extends BValue with BNumber with Product with Serializable

    Permalink
  8. trait BNumber extends AnyRef

    Permalink
  9. final case class BObject(obj: List[BField]) extends BValue with Product with Serializable

    Permalink
  10. final case class BSet(set: Set[BValue]) extends BValue with Product with Serializable

    Permalink
  11. final case class BString(s: String) extends BValue with Product with Serializable

    Permalink
  12. sealed abstract class BValue extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object BBool extends Serializable

    Permalink
  5. object BField

    Permalink
  6. object BNothing extends BValue with Product with Serializable

    Permalink
  7. object BNull extends BValue with Product with Serializable

    Permalink
  8. object BValue extends Serializable

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped