Packages

  • package root
    Definition Classes
    root
  • package sigma

    The following implicit values are used as type descriptors of all the predefined Sigma types.

    The following implicit values are used as type descriptors of all the predefined Sigma types.

    Definition Classes
    root
    See also

    RType class

  • package ast
    Definition Classes
    sigma
  • package crypto
    Definition Classes
    sigma
  • package data

    Contains cores definitions which serves as a basis for sigma package implementations.

    Contains cores definitions which serves as a basis for sigma package implementations.

    Definition Classes
    sigma
  • package eval
    Definition Classes
    sigma
  • package exceptions
    Definition Classes
    sigma
  • package impl
    Definition Classes
    sigma
  • package interpreter
    Definition Classes
    sigma
  • package kiama

    Kiama is a Scala library for language processing.

    Kiama is a Scala library for language processing. It is a project of the Programming Languages Research Group at Macquarie University. For full project details see the web site http://github.com/inkytonik/kiama.

    Kiama's main components address tree decoration via attribute grammars (package attribution), tree transformation via strategic term rewriting (package rewriting), dynamic semantics (package machine) and pretty-printing (package output).

    The util package contains support modules for parsing, input/output, read-eval-print loops (REPLs) and pattern matching.

    The examples package (available as part of the Kiama tests) contains many examples of using Kiama to solve small to medium language processing problems.

    Definition Classes
    sigma
  • package reflection

    Contains the Sigma Reflection API.

    Contains the Sigma Reflection API. Sigma reflection is a mechanism for obtaining metadata about classes, methods, fields, etc. at runtime. It is used by kiama to rewrite ErgoTree expressions. It is also used by the ErgoTree interpreter to implement MethodCall nodes.

    The Sigma Reflection API has two implementations: 1) based on the Java Reflection API 2) based on Sigma Reflection metadata declared in the StaticImpl.scala file

    Definition Classes
    sigma
  • package serialization
    Definition Classes
    sigma
  • package util
    Definition Classes
    sigma
  • package utils
    Definition Classes
    sigma
  • package validation
    Definition Classes
    sigma
  • package wrappers
    Definition Classes
    sigma
  • AnyValue
  • AvlTree
  • BigInt
  • Box
  • Coll
  • CollBuilder
  • Colls
  • CollsModule
  • Context
  • Environment
  • Evaluation
  • Extensions
  • GroupElement
  • Header
  • PairColl
  • Platform
  • PreHeader
  • RuntimePlatform
  • SigmaContract
  • SigmaDataReflection
  • SigmaDsl
  • SigmaDslBuilder
  • SigmaDslModule
  • SigmaException
  • SigmaProp
  • VersionContext
t

sigma

CollBuilder

trait CollBuilder extends AnyRef

Interface to access global collection methods. See default implementation in CollOverArrayBuilder.

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

Abstract Value Members

  1. abstract def emptyColl[T](implicit tT: RType[T]): Coll[T]

    Create an empty collection with items of the given type.

    Create an empty collection with items of the given type. Even though there are no items, the type of them is specified.

  2. abstract def fromArray[T](arr: Array[T])(implicit arg0: RType[T]): Coll[T]

    Wrap array into collection.

  3. abstract def fromItems[T](items: T*)(implicit cT: RType[T]): Coll[T]

    Construct a new collection from the given list of arguments.

    Construct a new collection from the given list of arguments. The arguments should be of the same type for which there should be an implicit type descriptor at the call site.

  4. abstract def pairColl[A, B](as: Coll[A], bs: Coll[B]): PairColl[A, B]

    Constructs a new collection of pairs out of the pair of collections by zipping them.

    Constructs a new collection of pairs out of the pair of collections by zipping them. The resulting collection is semantically equivalent to as.zip(bs).

    as

    collection of first items

    bs

    collection of second items

    returns

    an instance of PairColl interface with represents the resulting collection of pairs.

  5. abstract def replicate[T](n: Int, v: T)(implicit arg0: RType[T]): Coll[T]

    Creates a new collection by replicating value v.

    Creates a new collection by replicating value v.

    n

    how many times to replicate value v

    v

    value to replicate

    returns

    collection of the form (v, v, v, ... v) of n elements.

  6. abstract def unzip[A, B](xs: Coll[(A, B)]): (Coll[A], Coll[B])

    Deconstruct collection of (A,B) pairs into pair of collections.

    Deconstruct collection of (A,B) pairs into pair of collections. If xs is represented as PairColl, then this is O(1) operation (no data is touched).

  7. abstract def xor(left: Coll[Byte], right: Coll[Byte]): Coll[Byte]

    Element-wise xor of two collections.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def pairCollFromArrays[A, B](as: Array[A], bs: Array[B])(implicit arg0: RType[A], arg1: RType[B]): PairColl[A, B]

    Constructs a new collection of pairs out of the pair of arrays by wrapping them in collections and delegating to pairColl method.

    Constructs a new collection of pairs out of the pair of arrays by wrapping them in collections and delegating to pairColl method. The resulting collection is semantically equivalent to as.zip(bs).

    as

    collection of first items

    bs

    collection of second items

    returns

    an instance of PairColl interface with represents the resulting collection of pairs.

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped