/// <summary>
 /// When a comment entry is found.
 /// </summary>
 /// <param name="context">The context node.</param>
 public override void EnterCommentEntry([NotNull] UserAgentParser.CommentEntryContext context)
 {
     this.InformSubstrings(context, "entry");
 }
Beispiel #2
0
 /// <summary>
 /// When visiting a comment entry node finds the children by name appling the parsing rule for the context.
 /// </summary>
 /// <param name="context">The context<see cref="UserAgentParser.CommentEntryContext"/>.</param>
 /// <returns>The found children as <see cref="IEnumerator{IParseTree}"/>.</returns>
 public override IEnumerator <IParseTree> VisitCommentEntry([NotNull] UserAgentParser.CommentEntryContext context)
 {
     return(this.GetChildrenByName(context));
 }
 /// <summary>
 /// Visit a parse tree produced by <see cref="UserAgentParser.commentEntry"/>.
 /// <para>
 /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/>
 /// on <paramref name="context"/>.
 /// </para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 /// <return>The visitor result.</return>
 public virtual Result VisitCommentEntry([NotNull] UserAgentParser.CommentEntryContext context)
 {
     return(VisitChildren(context));
 }
Beispiel #4
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="UserAgentParser.commentEntry"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitCommentEntry([NotNull] UserAgentParser.CommentEntryContext context)
 {
 }