Header menu logo FSharp.Analyzers.SDK

SyntaxCollectorBase Type

The members of this type are called by walkAst. By overwriting the members for various syntax elements, a custom operation can be executed for them.

Constructors

Constructor Description

SyntaxCollectorBase()

Full Usage: SyntaxCollectorBase()

Returns: SyntaxCollectorBase
Returns: SyntaxCollectorBase

Instance members

Instance member Description

this.WalkAttribute

Full Usage: this.WalkAttribute

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for an attribute.

path : SyntaxVisitorPath
attribute : SynAttribute

this.WalkBinding

Full Usage: this.WalkBinding

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for a binding of a 'let' or 'member' declaration.

path : SyntaxVisitorPath
binding : SynBinding

this.WalkClause

Full Usage: this.WalkClause

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for clauses in a 'match' expression.

path : SyntaxVisitorPath
matchClause : SynMatchClause

this.WalkComponentInfo

Full Usage: this.WalkComponentInfo

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the name of a type definition or module.

path : SyntaxVisitorPath
componentInfo : SynComponentInfo

this.WalkEnumCase

Full Usage: this.WalkEnumCase

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the cases of an enum definition.

path : SyntaxVisitorPath
enumCase : SynEnumCase

this.WalkExpr

Full Usage: this.WalkExpr

Parameters:
    path : SyntaxVisitorPath
    expr : SynExpr

Modifiers: abstract

Overwriting this member hooks up a custom operation for syntax expressions.

path : SyntaxVisitorPath
expr : SynExpr

this.WalkField

Full Usage: this.WalkField

Parameters:
    path : SyntaxVisitorPath
    field : SynField

Modifiers: abstract

Overwriting this member hooks up a custom operation for field declarations in a record or class.

path : SyntaxVisitorPath
field : SynField

this.WalkInterfaceImpl

Full Usage: this.WalkInterfaceImpl

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for interface implementations.

path : SyntaxVisitorPath
interfaceImpl : SynInterfaceImpl

this.WalkInterpolatedStringPart

Full Usage: this.WalkInterpolatedStringPart

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the parts of an interpolated string.

path : SyntaxVisitorPath
interpolatedStringPart : SynInterpolatedStringPart

this.WalkMeasure

Full Usage: this.WalkMeasure

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for units of measure annotations.

path : SyntaxVisitorPath
measure : SynMeasure

this.WalkMember

Full Usage: this.WalkMember

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for an element within a type definition.

path : SyntaxVisitorPath
memberDefn : SynMemberDefn

this.WalkMemberSig

Full Usage: this.WalkMemberSig

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for member signatures.

path : SyntaxVisitorPath
memberSig : SynMemberSig

this.WalkPat

Full Usage: this.WalkPat

Parameters:
    path : SyntaxVisitorPath
    pat : SynPat

Modifiers: abstract

Overwriting this member hooks up a custom operation for F# patterns.

path : SyntaxVisitorPath
pat : SynPat

this.WalkSimplePat

Full Usage: this.WalkSimplePat

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for simple F# patterns.

path : SyntaxVisitorPath
simplePat : SynSimplePat

this.WalkSynModuleDecl

Full Usage: this.WalkSynModuleDecl

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for declarations inside a module.

path : SyntaxVisitorPath
moduleDecl : SynModuleDecl

this.WalkSynModuleOrNamespace

Full Usage: this.WalkSynModuleOrNamespace

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for a module or namespace syntax element.

path : SyntaxVisitorPath
moduleOrNamespace : SynModuleOrNamespace

this.WalkSynModuleOrNamespaceSig

Full Usage: this.WalkSynModuleOrNamespaceSig

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for a module or namespace syntax element in a signature file.

path : SyntaxVisitorPath
moduleOrNamespaceSig : SynModuleOrNamespaceSig

this.WalkSynModuleSigDecl

Full Usage: this.WalkSynModuleSigDecl

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for declarations inside a module or namespace in a signature file.

path : SyntaxVisitorPath
moduleSigDecl : SynModuleSigDecl

this.WalkTypar

Full Usage: this.WalkTypar

Parameters:
    path : SyntaxVisitorPath
    typar : SynTypar

Modifiers: abstract

Overwriting this member hooks up a custom operation for type parameters.

path : SyntaxVisitorPath
typar : SynTypar

this.WalkTyparDecl

Full Usage: this.WalkTyparDecl

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for explicit declarations of type parameters.

path : SyntaxVisitorPath
typarDecl : SynTyparDecl

this.WalkType

Full Usage: this.WalkType

Parameters:
    path : SyntaxVisitorPath
    type : SynType

Modifiers: abstract

Overwriting this member hooks up a custom operation for types.

path : SyntaxVisitorPath
type : SynType

this.WalkTypeConstraint

Full Usage: this.WalkTypeConstraint

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for type constraints.

path : SyntaxVisitorPath
typeConstraint : SynTypeConstraint

this.WalkTypeDefn

Full Usage: this.WalkTypeDefn

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for a type or exception declaration.

path : SyntaxVisitorPath
typeDefn : SynTypeDefn

this.WalkTypeDefnRepr

Full Usage: this.WalkTypeDefnRepr

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the right hand side of a type or exception declaration.

path : SyntaxVisitorPath
typeDefnRepr : SynTypeDefnRepr

this.WalkTypeDefnSig

Full Usage: this.WalkTypeDefnSig

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for a type or exception signature declaration.

path : SyntaxVisitorPath
typeDefn : SynTypeDefnSig

this.WalkTypeDefnSigRepr

Full Usage: this.WalkTypeDefnSigRepr

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the right-hand-side of a type definition.

path : SyntaxVisitorPath
typeDefnSigRepr : SynTypeDefnSigRepr

this.WalkTypeDefnSimple

Full Usage: this.WalkTypeDefnSimple

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the core of a simple type definition.

path : SyntaxVisitorPath
typeDefnSimpleRepr : SynTypeDefnSimpleRepr

this.WalkUnionCase

Full Usage: this.WalkUnionCase

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the cases of an union definition.

path : SyntaxVisitorPath
unionCase : SynUnionCase

this.WalkUnionCaseType

Full Usage: this.WalkUnionCaseType

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for the right-hand-side of union definition, excluding members.

path : SyntaxVisitorPath
unionCaseKind : SynUnionCaseKind

this.WalkValSig

Full Usage: this.WalkValSig

Parameters:
    path : SyntaxVisitorPath
    valSig : SynValSig

Modifiers: abstract

Overwriting this member hooks up a custom operation for a 'val' definition in an abstract slot or a signature file.

path : SyntaxVisitorPath
valSig : SynValSig

this.WalkValTyparDecls

Full Usage: this.WalkValTyparDecls

Parameters:
Modifiers: abstract

Overwriting this member hooks up a custom operation for type parameters for a member of function.

path : SyntaxVisitorPath
valTyparDecls : SynValTyparDecls

Type something to start searching.