Class DocumentContext
java.lang.Object
com.github._1c_syntax.bsl.languageserver.context.DocumentContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
getAst()
String[]
com.github._1c_syntax.bsl.types.ModuleType
com.github._1c_syntax.bsl.support.SupportVariant
getUri()
int
boolean
protected void
rebuild()
protected void
void
setCognitiveComplexityComputerProvider
(ObjectProvider<CognitiveComplexityComputer> cognitiveComplexityComputerProvider) void
setConfiguration
(LanguageServerConfiguration configuration) void
setContext
(ServerContext context) void
setCyclomaticComplexityComputerProvider
(ObjectProvider<CyclomaticComplexityComputer> cyclomaticComplexityComputerProvider) void
setDiagnosticComputer
(DiagnosticComputer diagnosticComputer) void
-
Constructor Details
-
DocumentContext
-
-
Method Details
-
getServerContext
-
getContent
-
getContentList
-
getAst
-
getTokens
-
getTokensFromDefaultChannel
-
getComments
-
getText
-
getScriptVariantLocale
-
getMetrics
-
getCognitiveComplexityData
-
getCyclomaticComplexityData
-
getDiagnosticIgnorance
-
getModuleType
public com.github._1c_syntax.bsl.types.ModuleType getModuleType() -
getSupportVariant
public com.github._1c_syntax.bsl.support.SupportVariant getSupportVariant() -
getMdObject
-
getQueries
-
getDiagnostics
-
getComputedDiagnostics
-
freezeComputedData
public void freezeComputedData() -
unfreezeComputedData
public void unfreezeComputedData() -
rebuild
-
rebuild
protected void rebuild() -
clearSecondaryData
protected void clearSecondaryData() -
getUri
-
getVersion
public int getVersion() -
setContext
-
setDiagnosticComputer
-
setConfiguration
-
setCognitiveComplexityComputerProvider
@Autowired public void setCognitiveComplexityComputerProvider(ObjectProvider<CognitiveComplexityComputer> cognitiveComplexityComputerProvider) -
setCyclomaticComplexityComputerProvider
@Autowired public void setCyclomaticComplexityComputerProvider(ObjectProvider<CyclomaticComplexityComputer> cyclomaticComplexityComputerProvider) -
getFileType
-
getTokenizer
-
getSymbolTree
-
isComputedDataFrozen
public boolean isComputedDataFrozen()
-