Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class JsonDeserializer
Link copied to clipboard
class JsonGenerator
Converts an AST to JSON. Note that ASTs may also be exported to the EMF-JSON format, which is different.
Link copied to clipboard
Link copied to clipboard
class OnlyReferencedIdProvider(root: Node, idProvider: IdProvider = SequentialIdProvider()) : IdProvider
Link copied to clipboard
Link copied to clipboard
class XMLGenerator
Converts an AST to XML. The XML Generator is not supporting all features of Kolasu, at this time. It may be removed in future version of Kolasu.
Functions
Link copied to clipboard
fun Node.computeIds(walker: (Node) -> Sequence<Node> = Node::walk, idProvider: IdProvider = SequentialIdProvider()): IdentityHashMap<Node, String>
Link copied to clipboard
fun Node.computeIdsForReferencedNodes(walker: (Node) -> Sequence<Node> = Node::walk, idProvider: IdProvider = OnlyReferencedIdProvider(this)): IdentityHashMap<Node, String>
Link copied to clipboard