In package com.copperleaf.kudzu

class com.copperleaf.kudzu.Visitor

Fields

nodeClass: KClass<Node>

nodeName: String?

Constructors

constructor(nodeClass: KClass<Node>, nodeName: String? = null)

Parameters:
  • nodeClass: KClass
  • nodeName: String = null

Methods

abstract fun visit(context: T, node: Node)

Parameters:
  • context: T
  • node: Node
open fun onFinish(context: T)

Parameters:
  • context: T