interface OrbitVisitor<T : Any> : ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced by OrbitParser.
- The return type of the visit operation. Use Void for operations with no return type.
abstract fun visitActorDeclaration(ctx: ActorDeclarationContext): T
Visit a parse tree produced by |
|
abstract fun visitActorMethod(ctx: ActorMethodContext): T
Visit a parse tree produced by |
|
abstract fun visitDataDeclaration(ctx: DataDeclarationContext): T
Visit a parse tree produced by |
|
abstract fun visitDataField(ctx: DataFieldContext): T
Visit a parse tree produced by |
|
abstract fun visitDeclaration(ctx: DeclarationContext): T
Visit a parse tree produced by |
|
abstract fun visitEnumDeclaration(ctx: EnumDeclarationContext): T
Visit a parse tree produced by |
|
abstract fun visitEnumMember(ctx: EnumMemberContext): T
Visit a parse tree produced by |
|
abstract fun visitFile(ctx: FileContext): T
Visit a parse tree produced by |
|
abstract fun visitMethodParam(ctx: MethodParamContext): T
Visit a parse tree produced by |
|
abstract fun visitType(ctx: TypeContext): T
Visit a parse tree produced by |
open class OrbitBaseVisitor<T : Any> : AbstractParseTreeVisitor<T>, OrbitVisitor<T>
This class provides an empty implementation of OrbitVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods. |