Uses of Class
org.opengrok.indexer.analysis.Definitions
Packages that use Definitions
Package
Description
-
Uses of Definitions in org.opengrok.indexer.analysis
Fields in org.opengrok.indexer.analysis declared as DefinitionsMethods in org.opengrok.indexer.analysis that return DefinitionsModifier and TypeMethodDescriptionstatic Definitions
Definitions.deserialize
(byte[] bytes) De-serialize a binary representation of aDefinitions
object.@Nullable Definitions
Run ctags on a file.CtagsReader.getDefinitions()
Gets the instance's definitions.WriteXrefArgs.getDefs()
Methods in org.opengrok.indexer.analysis with parameters of type DefinitionsModifier and TypeMethodDescriptionstatic Scopes.Scope
JFlexXrefUtils.maybeNewScope
(boolean scopesEnabled, Scopes.Scope existingScope, JFlexStackingLexer lexer, Definitions defs) Creates a newScopes.Scope
ifscopesEnabled
istrue
,existingScope
is null,defs
is not null, andgetTags(int)
indicates that a function or method is defined to starting at theJFlexStackingLexer.getLineNumber()
oflexer
.void
JFlexNonXref.setDefs
(Definitions defs) Set definitions.void
JFlexXref.setDefs
(Definitions defs) Set definitions.void
WriteXrefArgs.setDefs
(Definitions value) void
Xrefer.setDefs
(Definitions defs) Set definitions.static void
AnalyzerGuru.writeDumpedXref
(String contextPath, AnalyzerFactory factory, Reader in, Writer out, @Nullable Definitions defs, Annotation annotation, Project project, File file) Writes a browse-able version of the file transformed for immediate serving to a web client.static boolean
JFlexXrefUtils.writeSymbol
(Writer out, Definitions defs, String urlPrefix, Project project, String symbol, Set<String> keywords, int line, boolean caseSensitive, boolean isKeyword) Writes a symbol and generate links as appropriate.static void
JFlexXrefUtils.writeSymbolTable
(Writer out, Definitions defs) Write a JavaScript function that returns an array with the definitions to list in the navigation panel.static void
AnalyzerGuru.writeXref
(AnalyzerFactory factory, Reader in, Writer out, @Nullable Definitions defs, Annotation annotation, Project project, File file) Write a browse-able version of the file. -
Uses of Definitions in org.opengrok.indexer.analysis.plain
Methods in org.opengrok.indexer.analysis.plain with parameters of type DefinitionsModifier and TypeMethodDescriptionvoid
DefinitionsTokenStream.initialize
(Definitions defs, StreamSource src, ReaderWrapper wrapper) Initializes the stream by mergingdefs
with cross-referenced line offsets read fromsrc
. -
Uses of Definitions in org.opengrok.indexer.index
Methods in org.opengrok.indexer.index that return DefinitionsModifier and TypeMethodDescriptionstatic Definitions
IndexDatabase.getDefinitions
(File file) Get the latest definitions for a file from the index. -
Uses of Definitions in org.opengrok.indexer.search.context
Methods in org.opengrok.indexer.search.context that return DefinitionsMethods in org.opengrok.indexer.search.context with parameters of type DefinitionsModifier and TypeMethodDescriptionboolean
Context.getContext
(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits) boolean
Context.getContext
(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits, Scopes scopes) ???.void
ContextFormatter.setDefs
(Definitions value) Sets the optional definitions.