navigation

Naming

Namespace: FSharpLint.Rules.Helper

Declared Types
Type Description
AccessControlLevel

Specifies access control level as described in https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/access-control . Higher levels also include lower levels, so e.g. identifier marked with Public is also accessible in Internal and Private scopes. Public scope is the widest, then goes Internal, then Private.

GetIdents<'T>

Declared Modules
Module Description
QuickFixes

Values and Functions
Name Description
isPascalCase

Signature: isPascalCase identifier
isCamelCase

Signature: isCamelCase identifier
toAstNodeRule

Signature: toAstNodeRule namingRule
isActivePattern

Signature: isActivePattern identifier
activePatternIdentifiers

Signature: activePatternIdentifiers identifier
getAccessControlLevel

Signature: getAccessControlLevel syntaxArray i
isAttribute

Signature: isAttribute name attributes

Is an attribute with a given name? e.g. check for Literal attribute.

isLiteral

Signature: isLiteral
isExtern

Signature: isExtern
isMeasureType

Signature: isMeasureType
isNotUnionCase

Signature: isNotUnionCase checkFile ident
isInterface

Signature: isInterface typeDef
checkAccessibility

Signature: checkAccessibility currentAccessibility _arg1
isModule

Signature: isModule moduleKind
isImplicitModule

Signature: isImplicitModule arg1

Is module name implicitly created from file name?

getPatternIdents

Signature: getPatternIdents accessibility getIdents argsAreParameters pattern

Recursively get all identifiers from pattern using provided getIdents function and collect them into array. accessibility parameter is passed to getIdents, and can be narrowed down along the way (see checkAccessibility).

isNested

Signature: isNested args nodeIndex
getFunctionIdents

Signature: getFunctionIdents pattern