Packages

c

info.kwarc.mmt.api.uom

DefinitionExpander

class DefinitionExpander extends StatelessTraverser

traverses the syntax tree (depth first, argument order) and expands (only) the first defined constant it encounters

does not expand in contexts and scopes at the moment

Source
DefinitionExpander.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefinitionExpander
  2. StatelessTraverser
  3. Traverser
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefinitionExpander(controller: Controller)

Type Members

  1. type State = Unit
    Attributes
    protected
    Definition Classes
    Traverser

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. def apply(t: Term, con: Context): Term
    Definition Classes
    StatelessTraverser
  5. def apply(t: Term, init: State, con: Context = Context()): Term

    the main method to call the traverser, context defaults to empty

    the main method to call the traverser, context defaults to empty

    Definition Classes
    Traverser
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def compose(that: Traverser[Unit]): Traverser[Unit]

    diagrammatic composition (first this, then that)

    diagrammatic composition (first this, then that)

    Definition Classes
    Traverser
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def toTranslator(): UniformTranslator
    Definition Classes
    StatelessTraverser
  21. def toTranslator(newInit: () ⇒ Unit): UniformTranslator

    this traverser as a translator

    this traverser as a translator

    newInit

    creates a fresh initial state

    Definition Classes
    Traverser
  22. def traverse(t: Term)(implicit con: Context, init: Unit): Term
    Definition Classes
    DefinitionExpanderTraverser
  23. def traverseContext(cont: Context)(implicit con: Context, state: State): Context
    Definition Classes
    Traverser
  24. def traverseObject(obj: Obj)(implicit con: Context, state: State): ThisType

    traverses any object by mapping all the terms in it

    traverses any object by mapping all the terms in it

    Definition Classes
    Traverser
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from StatelessTraverser

Inherited from Traverser[Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped