Class regexParserBaseVisitor<Result>
This class provides an empty implementation of IregexParserVisitor<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.XsdRegex
Assembly: XsdRegex.dll
Syntax
public class regexParserBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IregexParserVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAtom(regexParser.AtomContext)
Visit a parse tree produced by atom().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAtom(regexParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.AtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBranch(regexParser.BranchContext)
Visit a parse tree produced by branch().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBranch(regexParser.BranchContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.BranchContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCatEsc(regexParser.CatEscContext)
Visit a parse tree produced by catEsc().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCatEsc(regexParser.CatEscContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CatEscContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharClass(regexParser.CharClassContext)
Visit a parse tree produced by charClass().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharClass(regexParser.CharClassContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CharClassContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharClassEsc(regexParser.CharClassEscContext)
Visit a parse tree produced by charClassEsc().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharClassEsc(regexParser.CharClassEscContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CharClassEscContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharClassExpr(regexParser.CharClassExprContext)
Visit a parse tree produced by charClassExpr().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharClassExpr(regexParser.CharClassExprContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CharClassExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharGroup(regexParser.CharGroupContext)
Visit a parse tree produced by charGroup().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharGroup(regexParser.CharGroupContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CharGroupContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharOrEsc(regexParser.CharOrEscContext)
Visit a parse tree produced by charOrEsc().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharOrEsc(regexParser.CharOrEscContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CharOrEscContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharProp(regexParser.CharPropContext)
Visit a parse tree produced by charProp().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharProp(regexParser.CharPropContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CharPropContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCharRange(regexParser.CharRangeContext)
Visit a parse tree produced by charRange().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCharRange(regexParser.CharRangeContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.CharRangeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitComplEsc(regexParser.ComplEscContext)
Visit a parse tree produced by complEsc().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitComplEsc(regexParser.ComplEscContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.ComplEscContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPiece(regexParser.PieceContext)
Visit a parse tree produced by piece().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPiece(regexParser.PieceContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.PieceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPosCharGroup(regexParser.PosCharGroupContext)
Visit a parse tree produced by posCharGroup().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPosCharGroup(regexParser.PosCharGroupContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.PosCharGroupContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuantifier(regexParser.QuantifierContext)
Visit a parse tree produced by quantifier().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQuantifier(regexParser.QuantifierContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.QuantifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuantity(regexParser.QuantityContext)
Visit a parse tree produced by quantity().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQuantity(regexParser.QuantityContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.QuantityContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuantMin(regexParser.QuantMinContext)
Visit a parse tree produced by quantMin().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQuantMin(regexParser.QuantMinContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.QuantMinContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuantRange(regexParser.QuantRangeContext)
Visit a parse tree produced by quantRange().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQuantRange(regexParser.QuantRangeContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.QuantRangeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRegExp(regexParser.RegExpContext)
Visit a parse tree produced by regExp().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRegExp(regexParser.RegExpContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.RegExpContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRoot(regexParser.RootContext)
Visit a parse tree produced by root().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRoot(regexParser.RootContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.RootContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSeRange(regexParser.SeRangeContext)
Visit a parse tree produced by seRange().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSeRange(regexParser.SeRangeContext context)
Parameters
Type | Name | Description |
---|---|---|
regexParser.SeRangeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |