Show / Hide Table of Contents

Class angelscriptBaseVisitor<Result>

This class provides an empty implementation of IangelscriptVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
angelscriptBaseVisitor<Result>
Implements
IangelscriptVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Angelscript
Assembly: Angelscript.dll
Syntax
public class angelscriptBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IangelscriptVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitArglist(angelscriptParser.ArglistContext)

Visit a parse tree produced by arglist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArglist(angelscriptParser.ArglistContext context)
Parameters
Type Name Description
angelscriptParser.ArglistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssign(angelscriptParser.AssignContext)

Visit a parse tree produced by assign().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssign(angelscriptParser.AssignContext context)
Parameters
Type Name Description
angelscriptParser.AssignContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBreak_(angelscriptParser.Break_Context)

Visit a parse tree produced by break_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBreak_(angelscriptParser.Break_Context context)
Parameters
Type Name Description
angelscriptParser.Break_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCase_(angelscriptParser.Case_Context)

Visit a parse tree produced by case_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCase_(angelscriptParser.Case_Context context)
Parameters
Type Name Description
angelscriptParser.Case_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCast(angelscriptParser.CastContext)

Visit a parse tree produced by cast().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCast(angelscriptParser.CastContext context)
Parameters
Type Name Description
angelscriptParser.CastContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitClass_(angelscriptParser.Class_Context)

Visit a parse tree produced by class_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitClass_(angelscriptParser.Class_Context context)
Parameters
Type Name Description
angelscriptParser.Class_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCondition(angelscriptParser.ConditionContext)

Visit a parse tree produced by condition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCondition(angelscriptParser.ConditionContext context)
Parameters
Type Name Description
angelscriptParser.ConditionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitConstructcall(angelscriptParser.ConstructcallContext)

Visit a parse tree produced by constructcall().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitConstructcall(angelscriptParser.ConstructcallContext context)
Parameters
Type Name Description
angelscriptParser.ConstructcallContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitContinue_(angelscriptParser.Continue_Context)

Visit a parse tree produced by continue_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitContinue_(angelscriptParser.Continue_Context context)
Parameters
Type Name Description
angelscriptParser.Continue_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDatatype(angelscriptParser.DatatypeContext)

Visit a parse tree produced by datatype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDatatype(angelscriptParser.DatatypeContext context)
Parameters
Type Name Description
angelscriptParser.DatatypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDowhile(angelscriptParser.DowhileContext)

Visit a parse tree produced by dowhile().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDowhile(angelscriptParser.DowhileContext context)
Parameters
Type Name Description
angelscriptParser.DowhileContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEnum_(angelscriptParser.Enum_Context)

Visit a parse tree produced by enum_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEnum_(angelscriptParser.Enum_Context context)
Parameters
Type Name Description
angelscriptParser.Enum_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpr(angelscriptParser.ExprContext)

Visit a parse tree produced by expr().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpr(angelscriptParser.ExprContext context)
Parameters
Type Name Description
angelscriptParser.ExprContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExprop(angelscriptParser.ExpropContext)

Visit a parse tree produced by exprop().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExprop(angelscriptParser.ExpropContext context)
Parameters
Type Name Description
angelscriptParser.ExpropContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExprpostop(angelscriptParser.ExprpostopContext)

Visit a parse tree produced by exprpostop().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExprpostop(angelscriptParser.ExprpostopContext context)
Parameters
Type Name Description
angelscriptParser.ExprpostopContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExprstat(angelscriptParser.ExprstatContext)

Visit a parse tree produced by exprstat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExprstat(angelscriptParser.ExprstatContext context)
Parameters
Type Name Description
angelscriptParser.ExprstatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExprterm(angelscriptParser.ExprtermContext)

Visit a parse tree produced by exprterm().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExprterm(angelscriptParser.ExprtermContext context)
Parameters
Type Name Description
angelscriptParser.ExprtermContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExprvalue(angelscriptParser.ExprvalueContext)

Visit a parse tree produced by exprvalue().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExprvalue(angelscriptParser.ExprvalueContext context)
Parameters
Type Name Description
angelscriptParser.ExprvalueContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFor_(angelscriptParser.For_Context)

Visit a parse tree produced by for_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFor_(angelscriptParser.For_Context context)
Parameters
Type Name Description
angelscriptParser.For_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunc_(angelscriptParser.Func_Context)

Visit a parse tree produced by func_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunc_(angelscriptParser.Func_Context context)
Parameters
Type Name Description
angelscriptParser.Func_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunccall(angelscriptParser.FunccallContext)

Visit a parse tree produced by funccall().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunccall(angelscriptParser.FunccallContext context)
Parameters
Type Name Description
angelscriptParser.FunccallContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncdef(angelscriptParser.FuncdefContext)

Visit a parse tree produced by funcdef().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFuncdef(angelscriptParser.FuncdefContext context)
Parameters
Type Name Description
angelscriptParser.FuncdefContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIf_(angelscriptParser.If_Context)

Visit a parse tree produced by if_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIf_(angelscriptParser.If_Context context)
Parameters
Type Name Description
angelscriptParser.If_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitImport_(angelscriptParser.Import_Context)

Visit a parse tree produced by import_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitImport_(angelscriptParser.Import_Context context)
Parameters
Type Name Description
angelscriptParser.Import_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInitlist(angelscriptParser.InitlistContext)

Visit a parse tree produced by initlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInitlist(angelscriptParser.InitlistContext context)
Parameters
Type Name Description
angelscriptParser.InitlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInterface_(angelscriptParser.Interface_Context)

Visit a parse tree produced by interface_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInterface_(angelscriptParser.Interface_Context context)
Parameters
Type Name Description
angelscriptParser.Interface_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIntfmthd(angelscriptParser.IntfmthdContext)

Visit a parse tree produced by intfmthd().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIntfmthd(angelscriptParser.IntfmthdContext context)
Parameters
Type Name Description
angelscriptParser.IntfmthdContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLambda_(angelscriptParser.Lambda_Context)

Visit a parse tree produced by lambda_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLambda_(angelscriptParser.Lambda_Context context)
Parameters
Type Name Description
angelscriptParser.Lambda_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMixin_(angelscriptParser.Mixin_Context)

Visit a parse tree produced by mixin_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMixin_(angelscriptParser.Mixin_Context context)
Parameters
Type Name Description
angelscriptParser.Mixin_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNamespace(angelscriptParser.NamespaceContext)

Visit a parse tree produced by .

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNamespace(angelscriptParser.NamespaceContext context)
Parameters
Type Name Description
angelscriptParser.NamespaceContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParamlist(angelscriptParser.ParamlistContext)

Visit a parse tree produced by paramlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitParamlist(angelscriptParser.ParamlistContext context)
Parameters
Type Name Description
angelscriptParser.ParamlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitReturn_(angelscriptParser.Return_Context)

Visit a parse tree produced by return_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitReturn_(angelscriptParser.Return_Context context)
Parameters
Type Name Description
angelscriptParser.Return_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitScope(angelscriptParser.ScopeContext)

Visit a parse tree produced by scope().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitScope(angelscriptParser.ScopeContext context)
Parameters
Type Name Description
angelscriptParser.ScopeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitScript(angelscriptParser.ScriptContext)

Visit a parse tree produced by script().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitScript(angelscriptParser.ScriptContext context)
Parameters
Type Name Description
angelscriptParser.ScriptContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStatblock(angelscriptParser.StatblockContext)

Visit a parse tree produced by statblock().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStatblock(angelscriptParser.StatblockContext context)
Parameters
Type Name Description
angelscriptParser.StatblockContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStatement(angelscriptParser.StatementContext)

Visit a parse tree produced by statement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStatement(angelscriptParser.StatementContext context)
Parameters
Type Name Description
angelscriptParser.StatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSwitch_(angelscriptParser.Switch_Context)

Visit a parse tree produced by switch_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSwitch_(angelscriptParser.Switch_Context context)
Parameters
Type Name Description
angelscriptParser.Switch_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTry_(angelscriptParser.Try_Context)

Visit a parse tree produced by try_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTry_(angelscriptParser.Try_Context context)
Parameters
Type Name Description
angelscriptParser.Try_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypdef(angelscriptParser.TypdefContext)

Visit a parse tree produced by typdef().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypdef(angelscriptParser.TypdefContext context)
Parameters
Type Name Description
angelscriptParser.TypdefContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitType_(angelscriptParser.Type_Context)

Visit a parse tree produced by type_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitType_(angelscriptParser.Type_Context context)
Parameters
Type Name Description
angelscriptParser.Type_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypemod(angelscriptParser.TypemodContext)

Visit a parse tree produced by typemod().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypemod(angelscriptParser.TypemodContext context)
Parameters
Type Name Description
angelscriptParser.TypemodContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVar_(angelscriptParser.Var_Context)

Visit a parse tree produced by var_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVar_(angelscriptParser.Var_Context context)
Parameters
Type Name Description
angelscriptParser.Var_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVaraccess(angelscriptParser.VaraccessContext)

Visit a parse tree produced by varaccess().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVaraccess(angelscriptParser.VaraccessContext context)
Parameters
Type Name Description
angelscriptParser.VaraccessContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVirtprop(angelscriptParser.VirtpropContext)

Visit a parse tree produced by virtprop().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVirtprop(angelscriptParser.VirtpropContext context)
Parameters
Type Name Description
angelscriptParser.VirtpropContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWhile_(angelscriptParser.While_Context)

Visit a parse tree produced by while_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWhile_(angelscriptParser.While_Context context)
Parameters
Type Name Description
angelscriptParser.While_Context context

The parse tree.

Returns
Type Description
Result

Implements

IangelscriptVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX