51 void writeCodeLink(
const char *,
const char *,
const char *,
const char *,
const char *) {}
78 ctx.
sprintf(
"inside %s %s of %s %s",
81 ((
ClassDef*)parentContext)->compoundTypeString().data(),
96 printf(
"Found symbol %s at line %d of %s %s\n",
98 if (symDef && context)
101 printf(
"-> defined at line %d of %s\n",
151 for (sli.toFirst();(di=sli.current());++sli)
177 printf(
"Symbol info\n");
178 printf(
"-----------\n");
179 printf(
"Name: %s\n",d->
name().
data());
195 printf(
"Kind: File: #includes %d other files\n",
202 printf(
"Kind: Namespace: contains %d classes and %d namespaces\n",
244 printf(
"Unknown symbol\n");
255 printf(
"Usage: %s [source_file | source_dir]\n",argv[0]);
304 for (;(fd=fni.
current());++fni)
319 printf(
"> Type a symbol name or\n> .list for a list of symbols or\n> .quit to exit\n> ");
320 fgets(cmd,256,stdin);
void writeCodeLink(const char *, const char *, const char *, const char *, const char *)
Traverses directory structures and contents in a platform-independent way.
ParserInterface * getParser(const char *extension)
QCString fileToString(const char *name, bool filter, bool isSourceCode)
Abstract interface for programming language parsers.
QCString compoundTypeString() const
~XRefDummyCodeGenerator()
void writeCodeAnchor(const char *)
static FileNameList * inputNameList
int main(int argc, char **argv)
void checkConfiguration()
static void lookupSymbol(Definition *d)
#define Config_getList(val)
QCString left(uint len) const
void addWord(const char *, bool)
static void findXRefSymbols(FileDef *fd)
QCString getDefFileName() const
QCString getDefFileExtension() const
void adjustConfiguration()
static NamespaceDef * globalScope
static ParserManager * parserManager
virtual DefType definitionType() const =0
const QCString & name() const
void setCurrentDoc(Definition *, const char *, bool)
QList< IncludeInfo > * includeFileList() const
static QCString objDBFileName
void writeLineNumber(const char *, const char *, const char *, int)
XRefDummyCodeGenerator(FileDef *fd)
static QDict< DefinitionIntf > * symbolMap
void startCodeAnchor(const char *)
A bunch of utility functions.
const char * data() const
#define Config_getString(val)
#define Config_getBool(val)
QCString absFilePath() const
NamespaceSDict * getNamespaceSDict() const
QCString & sprintf(const char *format,...)
static void lookupSymbols(const QCString &sym)
virtual Definition * getOuterScope() const
void codify(const char *)
SrcLangExt getLanguageFromFileName(const QCString fileName)
static QCString entryDBFileName
virtual bool rmdir(const QString &dirName, bool acceptAbsPath=TRUE) const
static void listSymbol(Definition *d)
QCString memberTypeName() const
ClassSDict * getClassSDict() const
static void listSymbols()
void linkableSymbol(int l, const char *sym, Definition *symDef, Definition *context)
virtual void parseCode(CodeOutputInterface &codeOutIntf, const char *scopeName, const QCString &input, SrcLangExt lang, bool isExampleBlock, const char *exampleName=0, FileDef *fileDef=0, int startLine=-1, int endLine=-1, bool inlineFragment=FALSE, MemberDef *memberDef=0, bool showLineNumbers=TRUE, Definition *searchCtx=0, bool collectXRefs=TRUE)=0
virtual void writeTooltip(const char *, const DocLinkInfo &, const char *, const char *, const SourceLinkInfo &, const SourceLinkInfo &)
virtual void resetCodeParserState()=0
void startFontClass(const char *)