Skip navigation links
B C D E F G H I J K L N O P R S T U W 

B

BallerinaFile - Class in org.ballerinalang.langserver.compiler.common.modal
Class which contains Ballerina model and Diagnostic information.
BallerinaFile() - Constructor for class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
BallerinaPackage - Class in org.ballerinalang.langserver.compiler.common.modal
Class which contains Ballerina package details.
BallerinaPackage() - Constructor for class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
BallerinaPackage(String, String, String) - Constructor for class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
build() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 

C

canHandle(Path) - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
clearAll() - Method in class org.ballerinalang.langserver.compiler.CollectDiagnosticListener
 
clearAllContexts() - Method in class org.ballerinalang.langserver.compiler.LSContextManager
Clear all compiler contexts.
clearAllFilePaths() - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Clear all file paths.
clearAllFilePaths() - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Clear all file paths.
clearCache() - Method in class org.ballerinalang.langserver.compiler.LSPackageCache
 
closeFile(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
Close the given file in document manager.
closeFile(Path) - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Close the given file in document manager.
closeFile(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Close the given file in document manager.
CollectDiagnosticListener - Class in org.ballerinalang.langserver.compiler
This Diagnostic Listener can be used to collect all the Diagnostic information.
CollectDiagnosticListener(List<Diagnostic>) - Constructor for class org.ballerinalang.langserver.compiler.CollectDiagnosticListener
 
compileContent(String, CompilerPhase) - Static method in class org.ballerinalang.langserver.compiler.LSCompiler
Returns a BallerinaFile compiling in-memory content.
compileFile(Path, CompilerPhase) - Method in class org.ballerinalang.langserver.compiler.LSCompiler
Compile file.
COMPILER_CONTEXT_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
createTempCompilerContext(WorkspaceDocumentManager) - Static method in class org.ballerinalang.langserver.compiler.LSContextManager
Returns an unique temporary compiler context.
createTempFile(String) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Create and returns temp file.
CURRENT_BLANG_PACKAGE_CONTEXT_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
CURRENT_PACKAGE_ID_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
CURRENT_PACKAGE_NAME_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
CustomErrorStrategyFactory - Class in org.ballerinalang.langserver.compiler.common
Custom error strategy factory.
CustomErrorStrategyFactory() - Constructor for class org.ballerinalang.langserver.compiler.common.CustomErrorStrategyFactory
 

D

disableExplicitMode(Lock) - Method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
Disables explicit mode.
DocumentPair(WorkspaceDocument) - Constructor for class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl.DocumentPair
 
DocumentServiceKeys - Class in org.ballerinalang.langserver.compiler
Text Document Service context keys for the completion operation context.
DocumentServiceKeys() - Constructor for class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 

E

enableExplicitMode(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
Enables explicit mode.
EXPERIMENTAL_FEATURES_ENABLED - Static variable in class org.ballerinalang.langserver.compiler.LSCompilerUtil
 
ExtendedWorkspaceDocumentManagerImpl - Class in org.ballerinalang.langserver.compiler.workspace
This class provides an abstraction layer for a given filePath.

F

FILE_URI_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
finalize(Path, PackageID) - Method in class org.ballerinalang.langserver.compiler.workspace.repository.LSPathConverter
 
findProjectRoot(String) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Find project root directory.
findProjectRoot(String, Path) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
 

G

generateJSON(Node, Map<String, Node>, Map<BLangNode, List<SymbolMetaInfo>>) - Static method in class org.ballerinalang.langserver.compiler.format.TextDocumentFormatUtil
Generate json representation for the given node.
get(LSContext.Key<V>) - Method in interface org.ballerinalang.langserver.compiler.LSContext
Get property by Key.
get(PackageID) - Method in class org.ballerinalang.langserver.compiler.LSPackageCache
Find the package by Package ID.
get(LSContext.Key<V>) - Method in class org.ballerinalang.langserver.compiler.LSServiceOperationContext
 
getAllFilePaths() - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Returns a list of all file paths.
getAllFilePaths() - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Returns a list of all file paths.
getAST(Path, LSCompiler, WorkspaceDocumentManager, LSContext) - Static method in class org.ballerinalang.langserver.compiler.format.TextDocumentFormatUtil
Get the AST for the current text document's content.
getBLangPackage() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
getBLangPackage(LSContext, WorkspaceDocumentManager, boolean, Class, boolean) - Method in class org.ballerinalang.langserver.compiler.LSCompiler
Get the BLangPackage for a given program.
getBLangPackages(LSContext, WorkspaceDocumentManager, boolean, Class, boolean) - Method in class org.ballerinalang.langserver.compiler.LSCompiler
Get the BLangPackage for a given program.
getbSymbol() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getBuiltInPackagesCompilerContext() - Method in class org.ballerinalang.langserver.compiler.LSContextManager
Returns a global singleton compiler context for the static builtin packages.
getCode() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource.WorkspaceCompilerInput
 
getCompiler(LSContext, String, CompilerContext, Class) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Get compiler for the given context and file.
getCompilerContext() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
getCompilerContext(PackageID, String, WorkspaceDocumentManager) - Method in class org.ballerinalang.langserver.compiler.LSContextManager
Returns a unique compiler context for the provided project directory path.
getCompilerContext(String, WorkspaceDocumentManager) - Method in class org.ballerinalang.langserver.compiler.LSContextManager
Returns a unique compiler context for the provided project directory path.
getCompilerContext(PackageID, String, WorkspaceDocumentManager, boolean) - Method in class org.ballerinalang.langserver.compiler.LSContextManager
Returns a unique compiler context for the project directory path.
getContent() - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocument
 
getConverter() - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
getConverter() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.LangServerFSProgramDirectory
 
getConverter() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.LangServerFSProjectDirectory
 
getCurrentModulePath(Path) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Returns top-level module path of a given file path.
getCustomErrorStrategy(Class, LSContext) - Static method in class org.ballerinalang.langserver.compiler.common.CustomErrorStrategyFactory
Get custom error strategy for given class.
getDiagnostics() - Method in class org.ballerinalang.langserver.compiler.CollectDiagnosticListener
 
getDiagnostics() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
getDocument() - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl.DocumentPair
Returns the workspace document.
getEntryName() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource.WorkspaceCompilerInput
 
getEntryNames() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getFileContent(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
Returns the content of the file.
getFileContent(Path) - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Returns the content of the file.
getFileContent(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Returns the content of the file.
getFullPackageNameAlias() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
Get the full package name alias without the package version appended.
getHomeRepoPackages() - Static method in class org.ballerinalang.langserver.compiler.LSPackageLoader
 
getInstance() - Static method in class org.ballerinalang.langserver.compiler.LSContextManager
 
getInstance(CompilerContext) - Static method in class org.ballerinalang.langserver.compiler.LSPackageCache
 
getInstance() - Static method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
 
getInstance(Path, WorkspaceDocumentManager) - Static method in class org.ballerinalang.langserver.compiler.workspace.repository.LangServerFSProgramDirectory
Returns a LangServerFSProgramDirectory instance for a given project root path.
getInstance(Path, WorkspaceDocumentManager) - Static method in class org.ballerinalang.langserver.compiler.workspace.repository.LangServerFSProjectDirectory
Returns a LangServerFSProjectDirectory instance for a given project root path.
getInstance() - Static method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
 
getJson() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getKind() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getKind() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getLock() - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl.DocumentPair
Returns the associated lock for the file.
getLockFileContent() - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
getManifestContent() - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
getName() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getName() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getOrgName() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
getPackageById(CompilerContext, PackageID) - Static method in class org.ballerinalang.langserver.compiler.LSPackageLoader
Deprecated.
getPackageCache() - Method in class org.ballerinalang.langserver.compiler.LSPackageCache
 
getPackageId() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getPackageMap() - Method in class org.ballerinalang.langserver.compiler.LSPackageCache
 
getPackageName() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
getPackageNameForGivenFile(String, String) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Get the package name for given file.
getPackageRepository() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getPackageSourceEntries() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getPackageSourceEntry(String) - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getPackageSymbolById(CompilerContext, PackageID) - Static method in class org.ballerinalang.langserver.compiler.LSPackageLoader
Get the package by ID via Package loader.
getPath() - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Get the path of the given URI.
getPath() - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
getPath() - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocument
 
getPkgAlias() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getPkgName() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getPkgOrgName() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getProjectDir(Path) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Get the project dir for given file.
getRepoHierarchy() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository.WorkspacePackageSource
 
getSdkPackages() - Static method in class org.ballerinalang.langserver.compiler.LSPackageLoader
 
getSourceFileNames() - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
getSourcePackageNames() - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
getSourceRoot() - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Get source root.
getSourceRoot(Path) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Get the source root for the given package.
getSourceRootPath() - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Get source root path.
getType(Node) - Static method in class org.ballerinalang.langserver.compiler.format.TextDocumentFormatUtil
Get Type of the node as an Json Array.
getTypeName() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
getUntitledFileId(String) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Returns unsaved file id or null.
getUntitledFilePath(String) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Returns unsaved file path.
getURI() - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Get the URI of the given string URI.
getURIString() - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Get the uri.
getVersion() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 

H

hasProjectRepo() - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Returns True when this source file has a ballerina project repository folder.

I

invalidate(PackageID) - Method in class org.ballerinalang.langserver.compiler.LSPackageCache
removes package from the package map.
isBallerinaProject() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
isBallerinaProject(String, String) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Check whether given directory is a project dir.
isCaller() - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo
 
isFileOpen(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
Checks whether the given file is open in workspace.
isFileOpen(Path) - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Checks whether the given file is open in workspace.
isFileOpen(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Checks whether the given file is open in workspace.

J

JSONGenerationException - Exception in org.ballerinalang.langserver.compiler.format
This exception is thrown when TextDocumentFormatUtil encounters an error.
JSONGenerationException(String) - Constructor for exception org.ballerinalang.langserver.compiler.format.JSONGenerationException
 
JSONGenerationException(String, Throwable) - Constructor for exception org.ballerinalang.langserver.compiler.format.JSONGenerationException
 
JSONGenerationException(Throwable) - Constructor for exception org.ballerinalang.langserver.compiler.format.JSONGenerationException
 
JSONGenerationException(String, Throwable, boolean, boolean) - Constructor for exception org.ballerinalang.langserver.compiler.format.JSONGenerationException
 

K

Key() - Constructor for class org.ballerinalang.langserver.compiler.LSContext.Key
 

L

LangServerFSProgramDirectory - Class in org.ballerinalang.langserver.compiler.workspace.repository
FS program directory handler for the language server.
LangServerFSProjectDirectory - Class in org.ballerinalang.langserver.compiler.workspace.repository
Lang Server File System Project Directory.
lockFile(Path) - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Acquire a file lock.
lockFile(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Acquire a file lock.
lookupPackageSource(PackageID) - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository
 
lookupPackageSource(PackageID, String) - Method in class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository
 
LSCompiler - Class in org.ballerinalang.langserver.compiler
Language server compiler implementation for Ballerina.
LSCompiler(WorkspaceDocumentManager) - Constructor for class org.ballerinalang.langserver.compiler.LSCompiler
Returns a new LS Compiler instance with this document manager.
LSCompilerException - Exception in org.ballerinalang.langserver.compiler
This exception is thrown when LSCompiler encouters an error.
LSCompilerException(String) - Constructor for exception org.ballerinalang.langserver.compiler.LSCompilerException
 
LSCompilerException(String, Throwable) - Constructor for exception org.ballerinalang.langserver.compiler.LSCompilerException
 
LSCompilerException(Throwable) - Constructor for exception org.ballerinalang.langserver.compiler.LSCompilerException
 
LSCompilerException(String, Throwable, boolean, boolean) - Constructor for exception org.ballerinalang.langserver.compiler.LSCompilerException
 
LSCompilerUtil - Class in org.ballerinalang.langserver.compiler
Language server compiler implementation for Ballerina.
LSCompilerUtil() - Constructor for class org.ballerinalang.langserver.compiler.LSCompilerUtil
 
LSContext - Interface in org.ballerinalang.langserver.compiler
Ballerina Language server context.
LSContext.Key<K> - Class in org.ballerinalang.langserver.compiler
 
LSContextManager - Class in org.ballerinalang.langserver.compiler
This class will hold compiler contexts against the project directory.
LSContextManager.NullSourceDirectory - Class in org.ballerinalang.langserver.compiler
Null source directory.
LSCustomErrorStrategy - Class in org.ballerinalang.langserver.compiler.common
Custom error strategy for language server.
LSCustomErrorStrategy(LSContext) - Constructor for class org.ballerinalang.langserver.compiler.common.LSCustomErrorStrategy
 
LSDocument - Class in org.ballerinalang.langserver.compiler.common
Document class to hold the file path used in the LS.
LSDocument(String) - Constructor for class org.ballerinalang.langserver.compiler.common.LSDocument
 
LSDocument(Path, String) - Constructor for class org.ballerinalang.langserver.compiler.common.LSDocument
 
LSPackageCache - Class in org.ballerinalang.langserver.compiler
Package context to keep the builtin and the current package.
LSPackageLoader - Class in org.ballerinalang.langserver.compiler
Loads the Ballerina builtin core and builtin packages.
LSPackageLoader() - Constructor for class org.ballerinalang.langserver.compiler.LSPackageLoader
 
LSPathConverter - Class in org.ballerinalang.langserver.compiler.workspace.repository
Language Server Path Converter.
LSPathConverter(Path, WorkspaceDocumentManager) - Constructor for class org.ballerinalang.langserver.compiler.workspace.repository.LSPathConverter
 
LSServiceOperationContext - Class in org.ballerinalang.langserver.compiler
Language server context for text document server.
LSServiceOperationContext() - Constructor for class org.ballerinalang.langserver.compiler.LSServiceOperationContext
 

N

NullSourceDirectory(Path, WorkspaceDocumentManager) - Constructor for class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 

O

openFile(Path, String) - Method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
Opens the given file in document manager.
openFile(Path, String) - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Opens the given file in document manager.
openFile(Path, String) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Opens the given file in document manager.
OPERATION_META_CONTEXT_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
org.ballerinalang.langserver.compiler - package org.ballerinalang.langserver.compiler
 
org.ballerinalang.langserver.compiler.common - package org.ballerinalang.langserver.compiler.common
 
org.ballerinalang.langserver.compiler.common.modal - package org.ballerinalang.langserver.compiler.common.modal
 
org.ballerinalang.langserver.compiler.format - package org.ballerinalang.langserver.compiler.format
 
org.ballerinalang.langserver.compiler.workspace - package org.ballerinalang.langserver.compiler.workspace
 
org.ballerinalang.langserver.compiler.workspace.repository - package org.ballerinalang.langserver.compiler.workspace.repository
 

P

POSITION_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
prepareCompilerContext(PackageID, PackageRepository, LSDocument, boolean, WorkspaceDocumentManager) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Prepare the compiler context.
prepareCompilerContext(PackageID, PackageRepository, LSDocument, boolean, WorkspaceDocumentManager, CompilerPhase) - Static method in class org.ballerinalang.langserver.compiler.LSCompilerUtil
Prepare the compiler context.
put(LSContext.Key<V>, V) - Method in interface org.ballerinalang.langserver.compiler.LSContext
Add new Context property.
put(PackageID, BLangPackage) - Method in class org.ballerinalang.langserver.compiler.LSPackageCache
add package to the package map.
put(LSContext.Key<V>, V) - Method in class org.ballerinalang.langserver.compiler.LSServiceOperationContext
 

R

received(Diagnostic) - Method in class org.ballerinalang.langserver.compiler.CollectDiagnosticListener
 
RELATIVE_FILE_PATH_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
removeCompilerContext(String, CompilerContext) - Method in class org.ballerinalang.langserver.compiler.LSContextManager
Remove a compiler context by project directory.
reportInputMismatch(Parser, InputMismatchException) - Method in class org.ballerinalang.langserver.compiler.common.LSCustomErrorStrategy
 
reportMissingToken(Parser) - Method in class org.ballerinalang.langserver.compiler.common.LSCustomErrorStrategy
 
reportNoViableAlternative(Parser, NoViableAltException) - Method in class org.ballerinalang.langserver.compiler.common.LSCustomErrorStrategy
 
reportUnwantedToken(Parser) - Method in class org.ballerinalang.langserver.compiler.common.LSCustomErrorStrategy
 
rescanProjectRoot() - Method in class org.ballerinalang.langserver.compiler.workspace.repository.LangServerFSProjectDirectory
Trigger re-scan of the project root.

S

saveCompiledPackage(CompiledPackage, Path, String) - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
saveCompiledProgram(InputStream, String) - Method in class org.ballerinalang.langserver.compiler.LSContextManager.NullSourceDirectory
 
setBallerinaProject(boolean) - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
setBLangPackage(BLangPackage) - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
setbSymbol(BSymbol) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setCaller(boolean) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setCompilerContext(CompilerContext) - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
setCompilerContext(String, CompilerContext) - Method in class org.ballerinalang.langserver.compiler.LSContextManager
Set compiler context for a given project directory.
setContent(String) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocument
 
setDiagnostics(List<Diagnostic>) - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaFile
 
setDocument(WorkspaceDocument) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl.DocumentPair
Set workspace document.
setErrorState(Parser) - Method in class org.ballerinalang.langserver.compiler.common.LSCustomErrorStrategy
 
setKind(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setName(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setOrgName(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
setPackageName(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
setPath(Path) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocument
 
setPkgAlias(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setPkgName(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setPkgOrgName(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setSourceRoot(String) - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Set source root.
setTypeName(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 
setUri(String) - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
Set URI.
setVersion(String) - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
SYMBOL_LIST_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
SYMBOL_QUERY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
SYMBOL_TABLE_KEY - Static variable in class org.ballerinalang.langserver.compiler.DocumentServiceKeys
 
SymbolMetaInfo - Class in org.ballerinalang.langserver.compiler.common.modal
Meta information of a symbol.
SymbolMetaInfo.SymbolMetaInfoBuilder - Class in org.ballerinalang.langserver.compiler.common.modal
Builder for Symbol Meta information.
SymbolMetaInfoBuilder() - Constructor for class org.ballerinalang.langserver.compiler.common.modal.SymbolMetaInfo.SymbolMetaInfoBuilder
 

T

TextDocumentFormatUtil - Class in org.ballerinalang.langserver.compiler.format
Utilities for text document format.
TextDocumentFormatUtil() - Constructor for class org.ballerinalang.langserver.compiler.format.TextDocumentFormatUtil
 
toJsonName(String, int) - Static method in class org.ballerinalang.langserver.compiler.format.TextDocumentFormatUtil
Convert given name to the Json object name.
toString() - Method in class org.ballerinalang.langserver.compiler.common.LSDocument
 
toString() - Method in class org.ballerinalang.langserver.compiler.common.modal.BallerinaPackage
 
toString() - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocument
 

U

UNTITLED_BAL - Static variable in class org.ballerinalang.langserver.compiler.LSCompilerUtil
 
updateAndCompileFile(Path, String, CompilerPhase, WorkspaceDocumentManager) - Method in class org.ballerinalang.langserver.compiler.LSCompiler
Updates content and compile file.
updateFile(Path, String) - Method in class org.ballerinalang.langserver.compiler.workspace.ExtendedWorkspaceDocumentManagerImpl
Updates given file in document manager with new content.
updateFile(Path, String) - Method in interface org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManager
Updates given file in document manager with new content.
updateFile(Path, String) - Method in class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
Updates given file in document manager with new content.

W

WorkspaceDocument - Class in org.ballerinalang.langserver.compiler.workspace
Represents a document open in workspace.
WorkspaceDocument(Path, String) - Constructor for class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocument
 
WorkspaceDocumentException - Exception in org.ballerinalang.langserver.compiler.workspace
This exception is thrown when Document Manager encounters an error.
WorkspaceDocumentException(String) - Constructor for exception org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentException
 
WorkspaceDocumentException(String, Throwable) - Constructor for exception org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentException
 
WorkspaceDocumentException(Throwable) - Constructor for exception org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentException
 
WorkspaceDocumentException(String, Throwable, boolean, boolean) - Constructor for exception org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentException
 
WorkspaceDocumentManager - Interface in org.ballerinalang.langserver.compiler.workspace
This represents a Document Manager for the workspace.
WorkspaceDocumentManagerImpl - Class in org.ballerinalang.langserver.compiler.workspace
An in-memory document manager that keeps dirty files in-memory and will match the collection of files currently open in tool's workspace.
WorkspaceDocumentManagerImpl() - Constructor for class org.ballerinalang.langserver.compiler.workspace.WorkspaceDocumentManagerImpl
 
WorkspaceDocumentManagerImpl.DocumentPair - Class in org.ballerinalang.langserver.compiler.workspace
This class holds workspace document and its lock.
WorkspacePackageRepository - Class in org.ballerinalang.langserver.compiler.workspace.repository
Workspace Package repository for language server.
WorkspacePackageRepository(String, WorkspaceDocumentManager) - Constructor for class org.ballerinalang.langserver.compiler.workspace.repository.WorkspacePackageRepository
 
WorkspacePackageRepository.WorkspacePackageSource - Class in org.ballerinalang.langserver.compiler.workspace.repository
Workspace Package source implementation for language server.
WorkspacePackageRepository.WorkspacePackageSource.WorkspaceCompilerInput - Class in org.ballerinalang.langserver.compiler.workspace.repository
This represents workspace based CompilerInput.
B C D E F G H I J K L N O P R S T U W 
Skip navigation links

Copyright © 2019 WSO2. All rights reserved.