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
  • CollectionUtil
  • Extensions
  • GraphUtil
  • MemoizedFunc
  • StringUtil
  • package utils
    Definition Classes
    sigma
  • package validation
    Definition Classes
    sigma
  • package wrappers
    Definition Classes
    sigma

package util

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

Type Members

  1. class MemoizedFunc extends AnyRef

    Transforms a given function into memoized equivalent function.

    Transforms a given function into memoized equivalent function. Memoization is implemented by computing function f only once for each argument value and storing computed result in a hash table, so that it can be later retrieved on repeated invocations with the same argument. The cache of computed results can be cleared by calling reset.

Value Members

  1. val MaxArrayLength: Int

    Maximum length of an allocatable array.

  2. final def safeConcatArrays_v5[A](arr1: Array[A], arr2: Array[A])(implicit tA: ClassTag[A]): Array[A]

    Concatenate two arrays checking length limit of the resulting array.

    Concatenate two arrays checking length limit of the resulting array. Should be used in implementation of Coll operations of v5.0 and above.

  3. final def safeNewArray[A](len: Int)(implicit tA: ClassTag[A]): Array[A]

    Allocates a new array with len items of type A.

    Allocates a new array with len items of type A. Should be used instead of new Array[A](n) or Array.ofDim[A](n)

  4. object CollectionUtil
  5. object Extensions
  6. object GraphUtil
  7. object StringUtil

Inherited from AnyRef

Inherited from Any

Ungrouped