Package

com.celadari.jsonlogicscala

tree

Permalink

package tree

Visibility
  1. Public
  2. All

Type Members

  1. class ComposeLogic extends JsonLogicCore

    Permalink

    Represents an internal node in syntax tree.

    Represents an internal node in syntax tree. It is an operator node. Scala data structures representing expressions from json-logic-typed format are based on abstract syntax tree.

  2. abstract class JsonLogicCore extends AnyRef

    Permalink

    Represents a json-logic-typed scala data structure.

    Represents a json-logic-typed scala data structure. Scala data structures representing expressions from json-logic-typed format are based on abstract syntax tree.

  3. case class ValueLogic[T](valueOpt: Option[T], typeOpt: Option[TypeValue] = None, variableNameOpt: Option[String] = None, pathNameOpt: Option[String] = Some(UUID.randomUUID().toString)) extends JsonLogicCore with Product with Serializable

    Permalink

    Represents a leaf node in syntax tree.

    Represents a leaf node in syntax tree. It is a data node. Scala data structures representing expressions from json-logic-typed format are based on abstract syntax tree.

    Note

    inherited operator has fixed value of "var".

  4. case class VariableLogic(variableName: String, composeOperator: ComposeLogic) extends JsonLogicCore with Product with Serializable

    Permalink

    Represents an internal node in syntax tree.

    Represents an internal node in syntax tree. It is an operator node that represents a variable node in a composed operator. Scala data structures representing expressions from json-logic-typed format are based on abstract syntax tree.

Value Members

  1. object ComposeLogic

    Permalink

    Companion object that holds implicit reader and writer json.

  2. object JsonLogicCore

    Permalink

    Companion object that holds implicit reader and writer json.

    Companion object that holds implicit reader and writer json. Also defines methods to traverse abstract syntax tree and return string representation.

  3. object ValueLogic extends Serializable

    Permalink

    Companion object that holds implicit reader json.

  4. package types

    Permalink

Ungrouped