io.edurt.datacap.parser.mysql.companion.AstVisitor.kt Maven / Gradle / Ivy
package io.edurt.datacap.parser.mysql.companion
import io.edurt.datacap.parser.mysql.companion.ast.Node
import io.edurt.datacap.parser.mysql.companion.tree.Relation
import io.edurt.datacap.parser.mysql.companion.tree.Select
import io.edurt.datacap.parser.mysql.companion.tree.Statement
abstract class AstVisitor
{
fun visitNode(node: Node, context: C): R?
{
return null
}
fun visitStatement(node: Statement, context: C): R?
{
return visitNode(node, context)
}
fun visitSelect(node: Select, context: C): R?
{
return visitNode(node, context)
}
fun visitRelation(node: Relation, context: C): R?
{
return visitNode(node, context)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy