Interface BSLDiagnostic
- All Known Implementing Classes:
AbstractDiagnostic
,AbstractFindMethodDiagnostic
,AbstractListenerDiagnostic
,AbstractMetadataDiagnostic
,AbstractMultilingualStringDiagnostic
,AbstractSDBLListenerDiagnostic
,AbstractSDBLVisitorDiagnostic
,AbstractSymbolTreeDiagnostic
,AbstractVisitorDiagnostic
,AllFunctionPathMustHaveReturnDiagnostic
,AssignAliasFieldsInQueryDiagnostic
,BadWordsDiagnostic
,BeginTransactionBeforeTryCatchDiagnostic
,CachedPublicDiagnostic
,CanonicalSpellingKeywordsDiagnostic
,CodeAfterAsyncCallDiagnostic
,CodeBlockBeforeSubDiagnostic
,CodeOutOfRegionDiagnostic
,CognitiveComplexityDiagnostic
,CommandModuleExportMethodsDiagnostic
,CommentedCodeDiagnostic
,CommitTransactionOutsideTryCatchDiagnostic
,CommonModuleAssignDiagnostic
,CommonModuleInvalidTypeDiagnostic
,CommonModuleMissingAPIDiagnostic
,CommonModuleNameCachedDiagnostic
,CommonModuleNameClientDiagnostic
,CommonModuleNameClientServerDiagnostic
,CommonModuleNameFullAccessDiagnostic
,CommonModuleNameGlobalClientDiagnostic
,CommonModuleNameGlobalDiagnostic
,CommonModuleNameServerCallDiagnostic
,CommonModuleNameWordsDiagnostic
,CompilationDirectiveLostDiagnostic
,CompilationDirectiveNeedLessDiagnostic
,ConsecutiveEmptyLinesDiagnostic
,CrazyMultilineStringDiagnostic
,CreateQueryInCycleDiagnostic
,CyclomaticComplexityDiagnostic
,DataExchangeLoadingDiagnostic
,DeletingCollectionItemDiagnostic
,DeprecatedAttributes8312Diagnostic
,DeprecatedCurrentDateDiagnostic
,DeprecatedFindDiagnostic
,DeprecatedMessageDiagnostic
,DeprecatedMethodCallDiagnostic
,DeprecatedMethods8310Diagnostic
,DeprecatedMethods8317Diagnostic
,DeprecatedTypeManagedFormDiagnostic
,DuplicateRegionDiagnostic
,DuplicateStringLiteralDiagnostic
,EmptyCodeBlockDiagnostic
,EmptyRegionDiagnostic
,EmptyStatementDiagnostic
,ExcessiveAutoTestCheckDiagnostic
,ExecuteExternalCodeDiagnostic
,ExecuteExternalCodeInCommonModuleDiagnostic
,ExportVariablesDiagnostic
,ExtraCommasDiagnostic
,FieldsFromJoinsWithoutIsNullDiagnostic
,ForbiddenMetadataNameDiagnostic
,FormDataToValueDiagnostic
,FullOuterJoinQueryDiagnostic
,FunctionNameStartsWithGetDiagnostic
,FunctionOutParameterDiagnostic
,FunctionReturnsSamePrimitiveDiagnostic
,FunctionShouldHaveReturnDiagnostic
,GetFormMethodDiagnostic
,GlobalContextMethodCollision8312Diagnostic
,IdenticalExpressionsDiagnostic
,IfConditionComplexityDiagnostic
,IfElseDuplicatedCodeBlockDiagnostic
,IfElseDuplicatedConditionDiagnostic
,IfElseIfEndsWithElseDiagnostic
,IncorrectLineBreakDiagnostic
,IncorrectUseLikeInQueryDiagnostic
,IncorrectUseOfStrTemplateDiagnostic
,InvalidCharacterInFileDiagnostic
,IsInRoleMethodDiagnostic
,JoinWithSubQueryDiagnostic
,JoinWithVirtualTableDiagnostic
,LatinAndCyrillicSymbolInWordDiagnostic
,LineLengthDiagnostic
,LogicalOrInTheWhereSectionOfQueryDiagnostic
,MagicDateDiagnostic
,MagicNumberDiagnostic
,MetadataObjectNameLengthDiagnostic
,MethodSizeDiagnostic
,MissingCodeTryCatchExDiagnostic
,MissingEventSubscriptionHandlerDiagnostic
,MissingParameterDescriptionDiagnostic
,MissingReturnedValueDescriptionDiagnostic
,MissingSpaceDiagnostic
,MissingTemporaryFileDeletionDiagnostic
,MissingTempStorageDeletionDiagnostic
,MissingVariablesDescriptionDiagnostic
,MultilineStringInQueryDiagnostic
,MultilingualStringHasAllDeclaredLanguagesDiagnostic
,MultilingualStringUsingWithTemplateDiagnostic
,NestedConstructorsInStructureDeclarationDiagnostic
,NestedFunctionInParametersDiagnostic
,NestedStatementsDiagnostic
,NestedTernaryOperatorDiagnostic
,NonExportMethodsInApiRegionDiagnostic
,NonStandardRegionDiagnostic
,NumberOfOptionalParamsDiagnostic
,NumberOfParamsDiagnostic
,NumberOfValuesInStructureConstructorDiagnostic
,OneStatementPerLineDiagnostic
,OrderOfParamsDiagnostic
,OrdinaryAppSupportDiagnostic
,OSUsersMethodDiagnostic
,PairingBrokenTransactionDiagnostic
,ParseErrorDiagnostic
,ProcedureReturnsValueDiagnostic
,PublicMethodsDescriptionDiagnostic
,QueryParseErrorDiagnostic
,QueryToMissingMetadataDiagnostic
,RedundantAccessToObjectDiagnostic
,RefOveruseDiagnostic
,SameMetadataObjectAndChildNamesDiagnostic
,SelectTopWithoutOrderByDiagnostic
,SelfAssignDiagnostic
,SelfInsertionDiagnostic
,SemicolonPresenceDiagnostic
,ServerSideExportFormMethodDiagnostic
,SetPermissionsForNewObjectsDiagnostic
,SeveralCompilerDirectivesDiagnostic
,SpaceAtStartCommentDiagnostic
,StyleElementConstructorsDiagnostic
,TempFilesDirDiagnostic
,TernaryOperatorUsageDiagnostic
,ThisObjectAssignDiagnostic
,TimeoutsInExternalResourcesDiagnostic
,TooManyReturnsDiagnostic
,TryNumberDiagnostic
,TypoDiagnostic
,UnaryPlusInConcatenationDiagnostic
,UnionAllDiagnostic
,UnknownPreprocessorSymbolDiagnostic
,UnreachableCodeDiagnostic
,UnsafeSafeModeMethodCallDiagnostic
,UnusedLocalMethodDiagnostic
,UnusedLocalVariableDiagnostic
,UnusedParametersDiagnostic
,UsageWriteLogEventDiagnostic
,UseLessForEachDiagnostic
,UsingCancelParameterDiagnostic
,UsingExternalCodeToolsDiagnostic
,UsingFindElementByStringDiagnostic
,UsingGotoDiagnostic
,UsingHardcodeNetworkAddressDiagnostic
,UsingHardcodePathDiagnostic
,UsingHardcodeSecretInformationDiagnostic
,UsingLikeInQueryDiagnostic
,UsingModalWindowsDiagnostic
,UsingObjectNotAvailableUnixDiagnostic
,UsingServiceTagDiagnostic
,UsingSynchronousCallsDiagnostic
,UsingThisFormDiagnostic
,VirtualTableCallWithoutParametersDiagnostic
,WrongDataPathForFormElementsDiagnostic
,WrongHttpServiceHandlerDiagnostic
,WrongUseFunctionProceedWithCallDiagnostic
,WrongUseOfRollbackTransactionMethodDiagnostic
,WrongWebServiceHandlerDiagnostic
,YoLetterUsageDiagnostic
public interface BSLDiagnostic
BSLDiagnostic main purpose is to provide collection of LSP
Diagnostic
,
fired on concrete DocumentContext
.
Each BSLDiagnostic implementation MUST contain constructor with exactly one parameter DiagnosticInfo
.
Passed DiagnosticInfo MUST be stored as a object field and returned by getInfo()
.
getDiagnostics(DocumentContext)
method SHOULD use DiagnosticStorage
to add and return diagnostics.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
getDiagnostics
(DocumentContext documentContext) getInfo()
void
setInfo
(DiagnosticInfo info)
-
Method Details
-
getDiagnostics
-
setInfo
-
getInfo
DiagnosticInfo getInfo() -
configure
-