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
Namespace: GCore.Antlr.Grammers.XsdRegex
Assembly: XsdRegex.dll
Syntax
public class regexParserBaseListener : object, IregexParserListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAtom(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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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.
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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.
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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.
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.