Header menu logo F# Compiler Guide

SyntaxVisitorBase<'T> Type

Constructors

Constructor Description

SyntaxVisitorBase()

Full Usage: SyntaxVisitorBase()

Returns: SyntaxVisitorBase<'T>
Returns: SyntaxVisitorBase<'T>

Instance members

Instance member Description

this.VisitAttributeApplication

Full Usage: this.VisitAttributeApplication

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
attributes : SynAttributeList
Returns: 'T option

this.VisitBinding

Full Usage: this.VisitBinding

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynBinding -> 'T option
synBinding : SynBinding
Returns: 'T option

this.VisitComponentInfo

Full Usage: this.VisitComponentInfo

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
synComponentInfo : SynComponentInfo
Returns: 'T option

this.VisitEnumDefn

Full Usage: this.VisitEnumDefn

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
cases : SynEnumCase list
arg2 : range
Returns: 'T option

this.VisitExpr

Full Usage: this.VisitExpr

Parameters:
Returns: 'T option
Modifiers: abstract
 Controls the behavior when a SynExpr is reached; it can just do
          defaultTraverse(expr)      if you have no special logic for this node, and want the default processing to pick which sub-node to dive deeper into
 or can inject non-default behavior, which might incorporate:
          traverseSynExpr(subExpr)   to recurse deeper on some particular sub-expression based on your own logic
 path helps to track AST nodes that were passed during traversal
path : SyntaxVisitorPath
traverseSynExpr : SynExpr -> 'T option
defaultTraverse : SynExpr -> 'T option
synExpr : SynExpr
Returns: 'T option

this.VisitHashDirective

Full Usage: this.VisitHashDirective

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
hashDirective : ParsedHashDirective
range : range
Returns: 'T option

this.VisitImplicitInherit

Full Usage: this.VisitImplicitInherit

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynExpr -> 'T option
inheritedType : SynType
synArgs : SynExpr
range : range
Returns: 'T option

this.VisitInheritSynMemberDefn

Full Usage: this.VisitInheritSynMemberDefn

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
componentInfo : SynComponentInfo
typeDefnKind : SynTypeDefnKind
synType : SynType
members : SynMemberDefns
range : range
Returns: 'T option

this.VisitInterfaceSynMemberDefnType

Full Usage: this.VisitInterfaceSynMemberDefnType

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
synType : SynType
Returns: 'T option

this.VisitLetOrUse

Full Usage: this.VisitLetOrUse

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
isRecursive : bool
defaultTraverse : SynBinding -> 'T option
bindings : SynBinding list
range : range
Returns: 'T option

this.VisitMatchClause

Full Usage: this.VisitMatchClause

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynMatchClause -> 'T option
matchClause : SynMatchClause
Returns: 'T option

this.VisitModuleDecl

Full Usage: this.VisitModuleDecl

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynModuleDecl -> 'T option
synModuleDecl : SynModuleDecl
Returns: 'T option

this.VisitModuleOrNamespace

Full Usage: this.VisitModuleOrNamespace

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
synModuleOrNamespace : SynModuleOrNamespace
Returns: 'T option

this.VisitModuleOrNamespaceSig

Full Usage: this.VisitModuleOrNamespaceSig

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
synModuleOrNamespaceSig : SynModuleOrNamespaceSig
Returns: 'T option

this.VisitModuleSigDecl

Full Usage: this.VisitModuleSigDecl

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynModuleSigDecl -> 'T option
synModuleSigDecl : SynModuleSigDecl
Returns: 'T option

this.VisitPat

Full Usage: this.VisitPat

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynPat -> 'T option
synPat : SynPat
Returns: 'T option

this.VisitRecordDefn

Full Usage: this.VisitRecordDefn

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
fields : SynField list
arg2 : range
Returns: 'T option

this.VisitRecordField

Full Usage: this.VisitRecordField

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
copyOpt : SynExpr option
recordField : SynLongIdent option
Returns: 'T option

this.VisitSimplePats

Full Usage: this.VisitSimplePats

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
pat : SynPat
Returns: 'T option

this.VisitType

Full Usage: this.VisitType

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynType -> 'T option
synType : SynType
Returns: 'T option

this.VisitTypeAbbrev

Full Usage: this.VisitTypeAbbrev

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
synType : SynType
range : range
Returns: 'T option

this.VisitUnionDefn

Full Usage: this.VisitUnionDefn

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
cases : SynUnionCase list
arg2 : range
Returns: 'T option

this.VisitValSig

Full Usage: this.VisitValSig

Parameters:
Returns: 'T option
Modifiers: abstract
path : SyntaxVisitorPath
defaultTraverse : SynValSig -> 'T option
valSig : SynValSig
Returns: 'T option

Type something to start searching.