Class StackTraceBaseVisitor<Result>
This class provides an empty implementation of IStackTraceVisitor<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.Stacktrace
Assembly: Stacktrace.dll
Syntax
public class StackTraceBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IStackTraceVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAtLine(StackTraceParser.AtLineContext)
Visit a parse tree produced by atLine().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAtLine(StackTraceParser.AtLineContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.AtLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCausedByLine(StackTraceParser.CausedByLineContext)
Visit a parse tree produced by causedByLine().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCausedByLine(StackTraceParser.CausedByLineContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.CausedByLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitClassFile(StackTraceParser.ClassFileContext)
Visit a parse tree produced by classFile().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitClassFile(StackTraceParser.ClassFileContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.ClassFileContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitClassName(StackTraceParser.ClassNameContext)
Visit a parse tree produced by className().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitClassName(StackTraceParser.ClassNameContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.ClassNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConstructor(StackTraceParser.ConstructorContext)
Visit a parse tree produced by constructor().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitConstructor(StackTraceParser.ConstructorContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.ConstructorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEllipsisLine(StackTraceParser.EllipsisLineContext)
Visit a parse tree produced by ellipsisLine().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEllipsisLine(StackTraceParser.EllipsisLineContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.EllipsisLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifier(StackTraceParser.IdentifierContext)
Visit a parse tree produced by identifier().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIdentifier(StackTraceParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.IdentifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInnerClassName(StackTraceParser.InnerClassNameContext)
Visit a parse tree produced by innerClassName().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInnerClassName(StackTraceParser.InnerClassNameContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.InnerClassNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessage(StackTraceParser.MessageContext)
Visit a parse tree produced by message().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMessage(StackTraceParser.MessageContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.MessageContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessageLine(StackTraceParser.MessageLineContext)
Visit a parse tree produced by messageLine().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMessageLine(StackTraceParser.MessageLineContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.MessageLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMethodName(StackTraceParser.MethodNameContext)
Visit a parse tree produced by methodName().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMethodName(StackTraceParser.MethodNameContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.MethodNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPackagePath(StackTraceParser.PackagePathContext)
Visit a parse tree produced by packagePath().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPackagePath(StackTraceParser.PackagePathContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.PackagePathContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQualifiedClass(StackTraceParser.QualifiedClassContext)
Visit a parse tree produced by qualifiedClass().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQualifiedClass(StackTraceParser.QualifiedClassContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.QualifiedClassContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQualifiedMethod(StackTraceParser.QualifiedMethodContext)
Visit a parse tree produced by qualifiedMethod().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQualifiedMethod(StackTraceParser.QualifiedMethodContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.QualifiedMethodContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStackTrace(StackTraceParser.StackTraceContext)
Visit a parse tree produced by stackTrace().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStackTrace(StackTraceParser.StackTraceContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.StackTraceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStackTraceLine(StackTraceParser.StackTraceLineContext)
Visit a parse tree produced by stackTraceLine().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStackTraceLine(StackTraceParser.StackTraceLineContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.StackTraceLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStartRule(StackTraceParser.StartRuleContext)
Visit a parse tree produced by startRule().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStartRule(StackTraceParser.StartRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
StackTraceParser.StartRuleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |