Show / Hide Table of Contents

Class regexParserBaseListener

This class provides an empty implementation of IregexParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
regexParserBaseListener
Implements
IregexParserListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.XsdRegex
Assembly: XsdRegex.dll
Syntax
public class regexParserBaseListener : object, IregexParserListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAtom(regexParser.AtomContext)

Enter a parse tree produced by atom().

The default implementation does nothing.

Declaration
public virtual void EnterAtom(regexParser.AtomContext context)
Parameters
Type Name Description
regexParser.AtomContext context

The parse tree.

| Improve this Doc View Source

EnterBranch(regexParser.BranchContext)

Enter a parse tree produced by branch().

The default implementation does nothing.

Declaration
public virtual void EnterBranch(regexParser.BranchContext context)
Parameters
Type Name Description
regexParser.BranchContext context

The parse tree.

| Improve this Doc View Source

EnterCatEsc(regexParser.CatEscContext)

Enter a parse tree produced by catEsc().

The default implementation does nothing.

Declaration
public virtual void EnterCatEsc(regexParser.CatEscContext context)
Parameters
Type Name Description
regexParser.CatEscContext context

The parse tree.

| Improve this Doc View Source

EnterCharClass(regexParser.CharClassContext)

Enter a parse tree produced by charClass().

The default implementation does nothing.

Declaration
public virtual void EnterCharClass(regexParser.CharClassContext context)
Parameters
Type Name Description
regexParser.CharClassContext context

The parse tree.

| Improve this Doc View Source

EnterCharClassEsc(regexParser.CharClassEscContext)

Enter a parse tree produced by charClassEsc().

The default implementation does nothing.

Declaration
public virtual void EnterCharClassEsc(regexParser.CharClassEscContext context)
Parameters
Type Name Description
regexParser.CharClassEscContext context

The parse tree.

| Improve this Doc View Source

EnterCharClassExpr(regexParser.CharClassExprContext)

Enter a parse tree produced by charClassExpr().

The default implementation does nothing.

Declaration
public virtual void EnterCharClassExpr(regexParser.CharClassExprContext context)
Parameters
Type Name Description
regexParser.CharClassExprContext context

The parse tree.

| Improve this Doc View Source

EnterCharGroup(regexParser.CharGroupContext)

Enter a parse tree produced by charGroup().

The default implementation does nothing.

Declaration
public virtual void EnterCharGroup(regexParser.CharGroupContext context)
Parameters
Type Name Description
regexParser.CharGroupContext context

The parse tree.

| Improve this Doc View Source

EnterCharOrEsc(regexParser.CharOrEscContext)

Enter a parse tree produced by charOrEsc().

The default implementation does nothing.

Declaration
public virtual void EnterCharOrEsc(regexParser.CharOrEscContext context)
Parameters
Type Name Description
regexParser.CharOrEscContext context

The parse tree.

| Improve this Doc View Source

EnterCharProp(regexParser.CharPropContext)

Enter a parse tree produced by charProp().

The default implementation does nothing.

Declaration
public virtual void EnterCharProp(regexParser.CharPropContext context)
Parameters
Type Name Description
regexParser.CharPropContext context

The parse tree.

| Improve this Doc View Source

EnterCharRange(regexParser.CharRangeContext)

Enter a parse tree produced by charRange().

The default implementation does nothing.

Declaration
public virtual void EnterCharRange(regexParser.CharRangeContext context)
Parameters
Type Name Description
regexParser.CharRangeContext context

The parse tree.

| Improve this Doc View Source

EnterComplEsc(regexParser.ComplEscContext)

Enter a parse tree produced by complEsc().

The default implementation does nothing.

Declaration
public virtual void EnterComplEsc(regexParser.ComplEscContext context)
Parameters
Type Name Description
regexParser.ComplEscContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

EnterPiece(regexParser.PieceContext)

Enter a parse tree produced by piece().

The default implementation does nothing.

Declaration
public virtual void EnterPiece(regexParser.PieceContext context)
Parameters
Type Name Description
regexParser.PieceContext context

The parse tree.

| Improve this Doc View Source

EnterPosCharGroup(regexParser.PosCharGroupContext)

Enter a parse tree produced by posCharGroup().

The default implementation does nothing.

Declaration
public virtual void EnterPosCharGroup(regexParser.PosCharGroupContext context)
Parameters
Type Name Description
regexParser.PosCharGroupContext context

The parse tree.

| Improve this Doc View Source

EnterQuantifier(regexParser.QuantifierContext)

Enter a parse tree produced by quantifier().

The default implementation does nothing.

Declaration
public virtual void EnterQuantifier(regexParser.QuantifierContext context)
Parameters
Type Name Description
regexParser.QuantifierContext context

The parse tree.

| Improve this Doc View Source

EnterQuantity(regexParser.QuantityContext)

Enter a parse tree produced by quantity().

The default implementation does nothing.

Declaration
public virtual void EnterQuantity(regexParser.QuantityContext context)
Parameters
Type Name Description
regexParser.QuantityContext context

The parse tree.

| Improve this Doc View Source

EnterQuantMin(regexParser.QuantMinContext)

Enter a parse tree produced by quantMin().

The default implementation does nothing.

Declaration
public virtual void EnterQuantMin(regexParser.QuantMinContext context)
Parameters
Type Name Description
regexParser.QuantMinContext context

The parse tree.

| Improve this Doc View Source

EnterQuantRange(regexParser.QuantRangeContext)

Enter a parse tree produced by quantRange().

The default implementation does nothing.

Declaration
public virtual void EnterQuantRange(regexParser.QuantRangeContext context)
Parameters
Type Name Description
regexParser.QuantRangeContext context

The parse tree.

| Improve this Doc View Source

EnterRegExp(regexParser.RegExpContext)

Enter a parse tree produced by regExp().

The default implementation does nothing.

Declaration
public virtual void EnterRegExp(regexParser.RegExpContext context)
Parameters
Type Name Description
regexParser.RegExpContext context

The parse tree.

| Improve this Doc View Source

EnterRoot(regexParser.RootContext)

Enter a parse tree produced by root().

The default implementation does nothing.

Declaration
public virtual void EnterRoot(regexParser.RootContext context)
Parameters
Type Name Description
regexParser.RootContext context

The parse tree.

| Improve this Doc View Source

EnterSeRange(regexParser.SeRangeContext)

Enter a parse tree produced by seRange().

The default implementation does nothing.

Declaration
public virtual void EnterSeRange(regexParser.SeRangeContext context)
Parameters
Type Name Description
regexParser.SeRangeContext context

The parse tree.

| Improve this Doc View Source

ExitAtom(regexParser.AtomContext)

Exit a parse tree produced by atom().

The default implementation does nothing.

Declaration
public virtual void ExitAtom(regexParser.AtomContext context)
Parameters
Type Name Description
regexParser.AtomContext context

The parse tree.

| Improve this Doc View Source

ExitBranch(regexParser.BranchContext)

Exit a parse tree produced by branch().

The default implementation does nothing.

Declaration
public virtual void ExitBranch(regexParser.BranchContext context)
Parameters
Type Name Description
regexParser.BranchContext context

The parse tree.

| Improve this Doc View Source

ExitCatEsc(regexParser.CatEscContext)

Exit a parse tree produced by catEsc().

The default implementation does nothing.

Declaration
public virtual void ExitCatEsc(regexParser.CatEscContext context)
Parameters
Type Name Description
regexParser.CatEscContext context

The parse tree.

| Improve this Doc View Source

ExitCharClass(regexParser.CharClassContext)

Exit a parse tree produced by charClass().

The default implementation does nothing.

Declaration
public virtual void ExitCharClass(regexParser.CharClassContext context)
Parameters
Type Name Description
regexParser.CharClassContext context

The parse tree.

| Improve this Doc View Source

ExitCharClassEsc(regexParser.CharClassEscContext)

Exit a parse tree produced by charClassEsc().

The default implementation does nothing.

Declaration
public virtual void ExitCharClassEsc(regexParser.CharClassEscContext context)
Parameters
Type Name Description
regexParser.CharClassEscContext context

The parse tree.

| Improve this Doc View Source

ExitCharClassExpr(regexParser.CharClassExprContext)

Exit a parse tree produced by charClassExpr().

The default implementation does nothing.

Declaration
public virtual void ExitCharClassExpr(regexParser.CharClassExprContext context)
Parameters
Type Name Description
regexParser.CharClassExprContext context

The parse tree.

| Improve this Doc View Source

ExitCharGroup(regexParser.CharGroupContext)

Exit a parse tree produced by charGroup().

The default implementation does nothing.

Declaration
public virtual void ExitCharGroup(regexParser.CharGroupContext context)
Parameters
Type Name Description
regexParser.CharGroupContext context

The parse tree.

| Improve this Doc View Source

ExitCharOrEsc(regexParser.CharOrEscContext)

Exit a parse tree produced by charOrEsc().

The default implementation does nothing.

Declaration
public virtual void ExitCharOrEsc(regexParser.CharOrEscContext context)
Parameters
Type Name Description
regexParser.CharOrEscContext context

The parse tree.

| Improve this Doc View Source

ExitCharProp(regexParser.CharPropContext)

Exit a parse tree produced by charProp().

The default implementation does nothing.

Declaration
public virtual void ExitCharProp(regexParser.CharPropContext context)
Parameters
Type Name Description
regexParser.CharPropContext context

The parse tree.

| Improve this Doc View Source

ExitCharRange(regexParser.CharRangeContext)

Exit a parse tree produced by charRange().

The default implementation does nothing.

Declaration
public virtual void ExitCharRange(regexParser.CharRangeContext context)
Parameters
Type Name Description
regexParser.CharRangeContext context

The parse tree.

| Improve this Doc View Source

ExitComplEsc(regexParser.ComplEscContext)

Exit a parse tree produced by complEsc().

The default implementation does nothing.

Declaration
public virtual void ExitComplEsc(regexParser.ComplEscContext context)
Parameters
Type Name Description
regexParser.ComplEscContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

ExitPiece(regexParser.PieceContext)

Exit a parse tree produced by piece().

The default implementation does nothing.

Declaration
public virtual void ExitPiece(regexParser.PieceContext context)
Parameters
Type Name Description
regexParser.PieceContext context

The parse tree.

| Improve this Doc View Source

ExitPosCharGroup(regexParser.PosCharGroupContext)

Exit a parse tree produced by posCharGroup().

The default implementation does nothing.

Declaration
public virtual void ExitPosCharGroup(regexParser.PosCharGroupContext context)
Parameters
Type Name Description
regexParser.PosCharGroupContext context

The parse tree.

| Improve this Doc View Source

ExitQuantifier(regexParser.QuantifierContext)

Exit a parse tree produced by quantifier().

The default implementation does nothing.

Declaration
public virtual void ExitQuantifier(regexParser.QuantifierContext context)
Parameters
Type Name Description
regexParser.QuantifierContext context

The parse tree.

| Improve this Doc View Source

ExitQuantity(regexParser.QuantityContext)

Exit a parse tree produced by quantity().

The default implementation does nothing.

Declaration
public virtual void ExitQuantity(regexParser.QuantityContext context)
Parameters
Type Name Description
regexParser.QuantityContext context

The parse tree.

| Improve this Doc View Source

ExitQuantMin(regexParser.QuantMinContext)

Exit a parse tree produced by quantMin().

The default implementation does nothing.

Declaration
public virtual void ExitQuantMin(regexParser.QuantMinContext context)
Parameters
Type Name Description
regexParser.QuantMinContext context

The parse tree.

| Improve this Doc View Source

ExitQuantRange(regexParser.QuantRangeContext)

Exit a parse tree produced by quantRange().

The default implementation does nothing.

Declaration
public virtual void ExitQuantRange(regexParser.QuantRangeContext context)
Parameters
Type Name Description
regexParser.QuantRangeContext context

The parse tree.

| Improve this Doc View Source

ExitRegExp(regexParser.RegExpContext)

Exit a parse tree produced by regExp().

The default implementation does nothing.

Declaration
public virtual void ExitRegExp(regexParser.RegExpContext context)
Parameters
Type Name Description
regexParser.RegExpContext context

The parse tree.

| Improve this Doc View Source

ExitRoot(regexParser.RootContext)

Exit a parse tree produced by root().

The default implementation does nothing.

Declaration
public virtual void ExitRoot(regexParser.RootContext context)
Parameters
Type Name Description
regexParser.RootContext context

The parse tree.

| Improve this Doc View Source

ExitSeRange(regexParser.SeRangeContext)

Exit a parse tree produced by seRange().

The default implementation does nothing.

Declaration
public virtual void ExitSeRange(regexParser.SeRangeContext context)
Parameters
Type Name Description
regexParser.SeRangeContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)

Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.IErrorNode node
Remarks

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)

Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.ITerminalNode node
Remarks

The default implementation does nothing.

Implements

IregexParserListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX