Class Rfc5424BaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
Rfc5424Visitor<T>,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
Rfc5424Visitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byRfc5424Parser.bom().Visit a parse tree produced byRfc5424Parser.date_fullyear().Visit a parse tree produced byRfc5424Parser.date_mday().Visit a parse tree produced byRfc5424Parser.date_month().Visit a parse tree produced byRfc5424Parser.full_date().Visit a parse tree produced byRfc5424Parser.full_time().Visit a parse tree produced by theheaderAppNamelabeled alternative inRfc5424Parser.app_name().Visit a parse tree produced by theheaderHostNamelabeled alternative inRfc5424Parser.hostname().Visit a parse tree produced by theheaderMsgIdlabeled alternative inRfc5424Parser.msgid().Visit a parse tree produced by theheaderNilAppNamelabeled alternative inRfc5424Parser.app_name().Visit a parse tree produced by theheaderNilHostNamelabeled alternative inRfc5424Parser.hostname().Visit a parse tree produced by theheaderNilMsgIdlabeled alternative inRfc5424Parser.msgid().Visit a parse tree produced by theheaderNilProcIdlabeled alternative inRfc5424Parser.procid().Visit a parse tree produced by theheaderNilTimestamplabeled alternative inRfc5424Parser.timestamp().Visit a parse tree produced by theheaderPrioritylabeled alternative inRfc5424Parser.pri().Visit a parse tree produced by theheaderPriorityValuelabeled alternative inRfc5424Parser.prival().Visit a parse tree produced by theheaderProcIdlabeled alternative inRfc5424Parser.procid().Visit a parse tree produced by theheaderTimeStamplabeled alternative inRfc5424Parser.timestamp().Visit a parse tree produced by theheaderVersionlabeled alternative inRfc5424Parser.version().Visit a parse tree produced byRfc5424Parser.msg_utf8().Visit a parse tree produced by themsgUTF8labeled alternative inRfc5424Parser.msg().Visit a parse tree produced byRfc5424Parser.nilvalue().Visit a parse tree produced byRfc5424Parser.nonzero_digit().Visit a parse tree produced by thenonZeroDigitlabeled alternative inRfc5424Parser.digit().Visit a parse tree produced byRfc5424Parser.octet().Visit a parse tree produced by theparamNamelabeled alternative inRfc5424Parser.param_name().Visit a parse tree produced by theparamValuelabeled alternative inRfc5424Parser.param_value().Visit a parse tree produced byRfc5424Parser.partial_time().Visit a parse tree produced byRfc5424Parser.printusascii().Visit a parse tree produced byRfc5424Parser.printusasciinospecials().Visit a parse tree produced byRfc5424Parser.sd_id().Visit a parse tree produced byRfc5424Parser.sd_name().Visit a parse tree produced by thesdElementlabeled alternative inRfc5424Parser.sd_element().Visit a parse tree produced by thesdParamlabeled alternative inRfc5424Parser.sd_param().Visit a parse tree produced byRfc5424Parser.sp().Visit a parse tree produced byRfc5424Parser.structured_data().Visit a parse tree produced by thesyslogHeaderlabeled alternative inRfc5424Parser.header().Visit a parse tree produced by thesyslogMsglabeled alternative inRfc5424Parser.syslog_msg().Visit a parse tree produced byRfc5424Parser.time_hour().Visit a parse tree produced byRfc5424Parser.time_minute().Visit a parse tree produced byRfc5424Parser.time_numoffset().Visit a parse tree produced byRfc5424Parser.time_offset().Visit a parse tree produced byRfc5424Parser.time_secfrac().Visit a parse tree produced byRfc5424Parser.time_second().Visit a parse tree produced byRfc5424Parser.utf_8_string().Visit a parse tree produced by thezeroDigitlabeled alternative inRfc5424Parser.digit().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
Rfc5424BaseVisitor
public Rfc5424BaseVisitor()
-
-
Method Details
-
visitSyslogMsg
Visit a parse tree produced by thesyslogMsglabeled alternative inRfc5424Parser.syslog_msg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSyslogMsgin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSyslogHeader
Visit a parse tree produced by thesyslogHeaderlabeled alternative inRfc5424Parser.header().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSyslogHeaderin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderPriority
Visit a parse tree produced by theheaderPrioritylabeled alternative inRfc5424Parser.pri().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderPriorityin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderPriorityValue
Visit a parse tree produced by theheaderPriorityValuelabeled alternative inRfc5424Parser.prival().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderPriorityValuein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderVersion
Visit a parse tree produced by theheaderVersionlabeled alternative inRfc5424Parser.version().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderVersionin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderNilHostName
Visit a parse tree produced by theheaderNilHostNamelabeled alternative inRfc5424Parser.hostname().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderNilHostNamein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderHostName
Visit a parse tree produced by theheaderHostNamelabeled alternative inRfc5424Parser.hostname().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderHostNamein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderNilAppName
Visit a parse tree produced by theheaderNilAppNamelabeled alternative inRfc5424Parser.app_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderNilAppNamein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderAppName
Visit a parse tree produced by theheaderAppNamelabeled alternative inRfc5424Parser.app_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderAppNamein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderNilProcId
Visit a parse tree produced by theheaderNilProcIdlabeled alternative inRfc5424Parser.procid().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderNilProcIdin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderProcId
Visit a parse tree produced by theheaderProcIdlabeled alternative inRfc5424Parser.procid().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderProcIdin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderNilMsgId
Visit a parse tree produced by theheaderNilMsgIdlabeled alternative inRfc5424Parser.msgid().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderNilMsgIdin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderMsgId
Visit a parse tree produced by theheaderMsgIdlabeled alternative inRfc5424Parser.msgid().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderMsgIdin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderNilTimestamp
Visit a parse tree produced by theheaderNilTimestamplabeled alternative inRfc5424Parser.timestamp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderNilTimestampin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeaderTimeStamp
Visit a parse tree produced by theheaderTimeStamplabeled alternative inRfc5424Parser.timestamp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitHeaderTimeStampin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFull_date
Visit a parse tree produced byRfc5424Parser.full_date().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFull_datein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDate_fullyear
Visit a parse tree produced byRfc5424Parser.date_fullyear().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDate_fullyearin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDate_month
Visit a parse tree produced byRfc5424Parser.date_month().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDate_monthin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDate_mday
Visit a parse tree produced byRfc5424Parser.date_mday().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDate_mdayin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFull_time
Visit a parse tree produced byRfc5424Parser.full_time().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFull_timein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPartial_time
Visit a parse tree produced byRfc5424Parser.partial_time().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPartial_timein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime_hour
Visit a parse tree produced byRfc5424Parser.time_hour().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTime_hourin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime_minute
Visit a parse tree produced byRfc5424Parser.time_minute().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTime_minutein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime_second
Visit a parse tree produced byRfc5424Parser.time_second().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTime_secondin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime_secfrac
Visit a parse tree produced byRfc5424Parser.time_secfrac().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTime_secfracin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime_offset
Visit a parse tree produced byRfc5424Parser.time_offset().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTime_offsetin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime_numoffset
Visit a parse tree produced byRfc5424Parser.time_numoffset().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTime_numoffsetin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructured_data
Visit a parse tree produced byRfc5424Parser.structured_data().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStructured_datain interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSdElement
Visit a parse tree produced by thesdElementlabeled alternative inRfc5424Parser.sd_element().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSdElementin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSdParam
Visit a parse tree produced by thesdParamlabeled alternative inRfc5424Parser.sd_param().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSdParamin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSd_id
Visit a parse tree produced byRfc5424Parser.sd_id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSd_idin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParamName
Visit a parse tree produced by theparamNamelabeled alternative inRfc5424Parser.param_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParamNamein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParamValue
Visit a parse tree produced by theparamValuelabeled alternative inRfc5424Parser.param_value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParamValuein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSd_name
Visit a parse tree produced byRfc5424Parser.sd_name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSd_namein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMsgUTF8
Visit a parse tree produced by themsgUTF8labeled alternative inRfc5424Parser.msg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMsgUTF8in interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMsg_utf8
Visit a parse tree produced byRfc5424Parser.msg_utf8().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMsg_utf8in interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBom
Visit a parse tree produced byRfc5424Parser.bom().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBomin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUtf_8_string
Visit a parse tree produced byRfc5424Parser.utf_8_string().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUtf_8_stringin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOctet
Visit a parse tree produced byRfc5424Parser.octet().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOctetin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSp
Visit a parse tree produced byRfc5424Parser.sp().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSpin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrintusascii
Visit a parse tree produced byRfc5424Parser.printusascii().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrintusasciiin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrintusasciinospecials
Visit a parse tree produced byRfc5424Parser.printusasciinospecials().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrintusasciinospecialsin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonzero_digit
Visit a parse tree produced byRfc5424Parser.nonzero_digit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonzero_digitin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitZeroDigit
Visit a parse tree produced by thezeroDigitlabeled alternative inRfc5424Parser.digit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitZeroDigitin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonZeroDigit
Visit a parse tree produced by thenonZeroDigitlabeled alternative inRfc5424Parser.digit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNonZeroDigitin interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNilvalue
Visit a parse tree produced byRfc5424Parser.nilvalue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNilvaluein interfaceRfc5424Visitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-