Class mpsBaseVisitor<Result>
This class provides an empty implementation of ImpsVisitor<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.Mps
Assembly: Mps.dll
Syntax
public class mpsBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ImpsVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBounds(mpsParser.BoundsContext)
Visit a parse tree produced by bounds().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBounds(mpsParser.BoundsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.BoundsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBoundsdatacard(mpsParser.BoundsdatacardContext)
Visit a parse tree produced by boundsdatacard().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBoundsdatacard(mpsParser.BoundsdatacardContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.BoundsdatacardContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBoundsdatacards(mpsParser.BoundsdatacardsContext)
Visit a parse tree produced by boundsdatacards().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBoundsdatacards(mpsParser.BoundsdatacardsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.BoundsdatacardsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitColumndatacard(mpsParser.ColumndatacardContext)
Visit a parse tree produced by columndatacard().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitColumndatacard(mpsParser.ColumndatacardContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.ColumndatacardContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitColumndatacards(mpsParser.ColumndatacardsContext)
Visit a parse tree produced by columndatacards().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitColumndatacards(mpsParser.ColumndatacardsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.ColumndatacardsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitColumns(mpsParser.ColumnsContext)
Visit a parse tree produced by columns().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitColumns(mpsParser.ColumnsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.ColumnsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEndata(mpsParser.EndataContext)
Visit a parse tree produced by endata().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEndata(mpsParser.EndataContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.EndataContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEndmarker(mpsParser.EndmarkerContext)
Visit a parse tree produced by endmarker().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEndmarker(mpsParser.EndmarkerContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.EndmarkerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFirstrow(mpsParser.FirstrowContext)
Visit a parse tree produced by firstrow().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFirstrow(mpsParser.FirstrowContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.FirstrowContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIntblock(mpsParser.IntblockContext)
Visit a parse tree produced by intblock().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIntblock(mpsParser.IntblockContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.IntblockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitModell(mpsParser.ModellContext)
Visit a parse tree produced by modell().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitModell(mpsParser.ModellContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.ModellContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRanges(mpsParser.RangesContext)
Visit a parse tree produced by ranges().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRanges(mpsParser.RangesContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RangesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRangesdatacard(mpsParser.RangesdatacardContext)
Visit a parse tree produced by rangesdatacard().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRangesdatacard(mpsParser.RangesdatacardContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RangesdatacardContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRangesdatacards(mpsParser.RangesdatacardsContext)
Visit a parse tree produced by rangesdatacards().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRangesdatacards(mpsParser.RangesdatacardsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RangesdatacardsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRhs(mpsParser.RhsContext)
Visit a parse tree produced by rhs().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRhs(mpsParser.RhsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RhsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRhsdatacard(mpsParser.RhsdatacardContext)
Visit a parse tree produced by rhsdatacard().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRhsdatacard(mpsParser.RhsdatacardContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RhsdatacardContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRhsdatacards(mpsParser.RhsdatacardsContext)
Visit a parse tree produced by rhsdatacards().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRhsdatacards(mpsParser.RhsdatacardsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RhsdatacardsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRowdatacard(mpsParser.RowdatacardContext)
Visit a parse tree produced by rowdatacard().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRowdatacard(mpsParser.RowdatacardContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RowdatacardContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRows(mpsParser.RowsContext)
Visit a parse tree produced by rows().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRows(mpsParser.RowsContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.RowsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStartmarker(mpsParser.StartmarkerContext)
Visit a parse tree produced by startmarker().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStartmarker(mpsParser.StartmarkerContext context)
Parameters
Type | Name | Description |
---|---|---|
mpsParser.StartmarkerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |