edu.uvm.ccts.arden.mlm.antlr.MLMVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arden-parser Show documentation
Show all versions of arden-parser Show documentation
ANTLR grammar and Java logic used to traverse the generated abstract syntax trees related to Arden-syntax Medical Logic Modules (MLMs)
// Generated from MLM.g4 by ANTLR 4.1
package edu.uvm.ccts.arden.mlm.antlr;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link MLMParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface MLMVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link MLMParser#category}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCategory(@NotNull MLMParser.CategoryContext ctx);
/**
* Visit a parse tree produced by {@link MLMParser#init}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInit(@NotNull MLMParser.InitContext ctx);
/**
* Visit a parse tree produced by {@link MLMParser#slot}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSlot(@NotNull MLMParser.SlotContext ctx);
}