Class ClojureBaseVisitor<Result>
This class provides an empty implementation of IClojureVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Clojure
Assembly: Clojure.dll
Syntax
public class ClojureBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IClojureVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAny_char(ClojureParser.Any_charContext)
Visit a parse tree produced by any_char().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAny_char(ClojureParser.Any_charContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Any_charContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBacktick(ClojureParser.BacktickContext)
Visit a parse tree produced by backtick().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBacktick(ClojureParser.BacktickContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.BacktickContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBign(ClojureParser.BignContext)
Visit a parse tree produced by bign().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBign(ClojureParser.BignContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.BignContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBin_(ClojureParser.Bin_Context)
Visit a parse tree produced by bin_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBin_(ClojureParser.Bin_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Bin_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharacter(ClojureParser.CharacterContext)
Visit a parse tree produced by character().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharacter(ClojureParser.CharacterContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.CharacterContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDeref(ClojureParser.DerefContext)
Visit a parse tree produced by deref().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDeref(ClojureParser.DerefContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.DerefContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDiscard(ClojureParser.DiscardContext)
Visit a parse tree produced by discard().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDiscard(ClojureParser.DiscardContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.DiscardContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDispatch(ClojureParser.DispatchContext)
Visit a parse tree produced by dispatch().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDispatch(ClojureParser.DispatchContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.DispatchContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFile_(ClojureParser.File_Context)
Visit a parse tree produced by file_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFile_(ClojureParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.File_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitForm(ClojureParser.FormContext)
Visit a parse tree produced by form().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitForm(ClojureParser.FormContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.FormContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitForms(ClojureParser.FormsContext)
Visit a parse tree produced by forms().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitForms(ClojureParser.FormsContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.FormsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGensym(ClojureParser.GensymContext)
Visit a parse tree produced by gensym().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGensym(ClojureParser.GensymContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.GensymContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHex_(ClojureParser.Hex_Context)
Visit a parse tree produced by hex_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHex_(ClojureParser.Hex_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Hex_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHost_expr(ClojureParser.Host_exprContext)
Visit a parse tree produced by host_expr().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHost_expr(ClojureParser.Host_exprContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Host_exprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeyword(ClojureParser.KeywordContext)
Visit a parse tree produced by keyword().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitKeyword(ClojureParser.KeywordContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.KeywordContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLambda_(ClojureParser.Lambda_Context)
Visit a parse tree produced by lambda_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitLambda_(ClojureParser.Lambda_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Lambda_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitList_(ClojureParser.List_Context)
Visit a parse tree produced by list_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitList_(ClojureParser.List_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.List_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteral(ClojureParser.LiteralContext)
Visit a parse tree produced by literal().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitLiteral(ClojureParser.LiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.LiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMacro_keyword(ClojureParser.Macro_keywordContext)
Visit a parse tree produced by macro_keyword().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMacro_keyword(ClojureParser.Macro_keywordContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Macro_keywordContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMap_(ClojureParser.Map_Context)
Visit a parse tree produced by map_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMap_(ClojureParser.Map_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Map_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMeta_data(ClojureParser.Meta_dataContext)
Visit a parse tree produced by meta_data().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMeta_data(ClojureParser.Meta_dataContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Meta_dataContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNamed_char(ClojureParser.Named_charContext)
Visit a parse tree produced by named_char().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNamed_char(ClojureParser.Named_charContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Named_charContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNil_(ClojureParser.Nil_Context)
Visit a parse tree produced by nil_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNil_(ClojureParser.Nil_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Nil_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNs_symbol(ClojureParser.Ns_symbolContext)
Visit a parse tree produced by ns_symbol().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNs_symbol(ClojureParser.Ns_symbolContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Ns_symbolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumber(ClojureParser.NumberContext)
Visit a parse tree produced by number().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNumber(ClojureParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.NumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParam_name(ClojureParser.Param_nameContext)
Visit a parse tree produced by param_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitParam_name(ClojureParser.Param_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Param_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuote(ClojureParser.QuoteContext)
Visit a parse tree produced by quote().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQuote(ClojureParser.QuoteContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.QuoteContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReader_macro(ClojureParser.Reader_macroContext)
Visit a parse tree produced by reader_macro().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitReader_macro(ClojureParser.Reader_macroContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Reader_macroContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRegex(ClojureParser.RegexContext)
Visit a parse tree produced by regex().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRegex(ClojureParser.RegexContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.RegexContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSet_(ClojureParser.Set_Context)
Visit a parse tree produced by set_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSet_(ClojureParser.Set_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Set_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSimple_keyword(ClojureParser.Simple_keywordContext)
Visit a parse tree produced by simple_keyword().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSimple_keyword(ClojureParser.Simple_keywordContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Simple_keywordContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSimple_sym(ClojureParser.Simple_symContext)
Visit a parse tree produced by simple_sym().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSimple_sym(ClojureParser.Simple_symContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Simple_symContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitString_(ClojureParser.String_Context)
Visit a parse tree produced by string_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitString_(ClojureParser.String_Context context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.String_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSymbol(ClojureParser.SymbolContext)
Visit a parse tree produced by symbol().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSymbol(ClojureParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.SymbolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTag(ClojureParser.TagContext)
Visit a parse tree produced by tag().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTag(ClojureParser.TagContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.TagContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitU_hex_quad(ClojureParser.U_hex_quadContext)
Visit a parse tree produced by u_hex_quad().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitU_hex_quad(ClojureParser.U_hex_quadContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.U_hex_quadContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnquote(ClojureParser.UnquoteContext)
Visit a parse tree produced by unquote().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUnquote(ClojureParser.UnquoteContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.UnquoteContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnquote_splicing(ClojureParser.Unquote_splicingContext)
Visit a parse tree produced by unquote_splicing().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUnquote_splicing(ClojureParser.Unquote_splicingContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Unquote_splicingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVar_quote(ClojureParser.Var_quoteContext)
Visit a parse tree produced by var_quote().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVar_quote(ClojureParser.Var_quoteContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.Var_quoteContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVector(ClojureParser.VectorContext)
Visit a parse tree produced by vector().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVector(ClojureParser.VectorContext context)
Parameters
Type | Name | Description |
---|---|---|
ClojureParser.VectorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |