Folding

com.reactific.riddl.passes.Folding
object Folding

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Folding.type

Members list

Type members

Classlikes

trait Folder[STATE]

Attributes

Supertypes
class Object
trait Matchable
class Any
trait PathResolutionState extends State

Attributes

Supertypes
trait State
class Object
trait Matchable
class Any
trait State

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Value members

Concrete methods

final def foldAround[S](value: S, top: Definition, folder: Folder[S], parents: Stack[Definition]): S
def foldEachDefinition[S](parent: Definition, child: Definition, state: S)(f: (Container[Definition], Definition, S) => S): S
final def foldLeftWithStack[S](value: S, parents: Stack[Definition])(top: Definition)(f: (S, Definition, Seq[Definition]) => S): S