Home
last modified time | relevance | path

Searched refs:TextParser (Results 1 – 15 of 15) sorted by relevance

/external/skqp/tools/bookmaker/
DtextParser.cpp15 TextParser::TextParser(const Definition* definition) : in TextParser() function in TextParser
16 TextParser(definition->fFileName, definition->fContentStart, definition->fContentEnd, in TextParser()
20 string TextParser::ReportFilename(string file) { in ReportFilename()
34 void TextParser::reportError(const char* errorStr) const { in reportError()
39 void TextParser::reportWarning(const char* errorStr) const { in reportWarning()
45 TextParser err(fFileName, lineStart, fEnd, fLineCount); in reportWarning()
67 void TextParser::setForErrorReporting(const Definition* definition, const char* str) { in setForErrorReporting()
83 string TextParser::typedefName() { in typedefName()
DtextParser.h18 class TextParser : public NonAssignable {
19 TextParser() {} // only for ParserCommon, TextParserSave in TextParser() function
23 virtual ~TextParser() {} in ~TextParser()
25 TextParser(string fileName, const char* start, const char* end, int lineCount) in TextParser() function
35 TextParser(const Definition* );
207 bool match(TextParser* );
221 void restorePlace(const TextParser& save) { in restorePlace()
227 void savePlace(TextParser* save) { in savePlace()
612 TextParserSave(TextParser* parser) { in TextParserSave()
632 TextParser* fParser;
[all …]
Ddefinition.cpp162 OpMod lookup_mod(TextParser& iParser) { in lookup_mod()
186 TextParser iParser(fFileName, fStart, fContentStart, fLineCount); in parseOperator()
362 TextParser params("", &fName[openParen] + 1, &*fName.end(), 0); in setCanonicalFiddle()
422 TextParser methodParser(fFileName, fStart, end, fLineCount); in checkMethod()
479 TextParser paramError(child); in checkMethod()
497 TextParser paramError(child); in checkMethod()
520 TextParser childDesc(child->fChildren[0]); in checkMethod()
533 TextParser emptyCheck(fFileName, descStart, child->fStart, child->fLineCount); in checkMethod()
548 TextParser description(fFileName, descStart, descEnd, fLineCount); in checkMethod()
576 TextParser parser(fFileName, fStart, fContentStart, fLineCount); in crossCheck2()
[all …]
Ddefinition.h14 class TextParser; variable
172 bool methodHasReturn(string name, TextParser* methodParser) const;
174 bool nextMethodParam(TextParser* methodParser, const char** nextEndPtr,
187 TextParser tp(this); in reportError()
200 static bool SkipImplementationWords(TextParser& inc);
DincludeParser.cpp108 static bool looks_like_method(const TextParser& tp) { in looks_like_method()
109 TextParser t(tp.fFileName, tp.fLine, tp.fChar, tp.fLineCount); in looks_like_method()
125 static bool looks_like_forward_declaration(const TextParser& tp) { in looks_like_forward_declaration()
126 TextParser t(tp.fFileName, tp.fChar, tp.lineEnd(), tp.fLineCount); in looks_like_forward_declaration()
149 static bool looks_like_constructor(const TextParser& tp) { in looks_like_constructor()
150 TextParser t(tp.fFileName, tp.fLine, tp.lineEnd(), tp.fLineCount); in looks_like_constructor()
170 static bool looks_like_class_decl(const TextParser& tp) { in looks_like_class_decl()
171 TextParser t(tp.fFileName, tp.fLine, tp.fChar, tp.fLineCount); in looks_like_class_decl()
187 static bool looks_like_const(const TextParser& tp) { in looks_like_const()
188 TextParser t(tp.fFileName, tp.fChar, tp.lineEnd(), tp.fLineCount); in looks_like_const()
[all …]
DmdOut.cpp137 TextParser parser(def); in table_data_const()
317 TextParser parser(fSubtopic->fFileName, fSeparatorStart, fRefEnd, fSubtopic->fLineCount); in setLink()
340 TextParser parser(fLastDef->fFileName, fSeparatorStart, fRefEnd, fLastDef->fLineCount); in setLink()
361 TextParser parser(fMethod); in setLink()
406 TextParser parser(priorDef->fFileName, priorDef->fStart, in setLink()
546 TextParser exParse(example->fFileName, exStart, exEnd, example->fLineCount); in setLink()
839 TextParser paramBody(def); in checkParamReturnBody()
1020 TextParser parser(fMethod->fFileName, fMethod->fStart, fMethod->fContentStart, in findParamType()
1044 TextParser parser(def->fFileName, def->fStart, def->fContentStart, in getMemberTypeName()
1091 const Definition* MdOut::isDefined(const TextParser& parser, Resolvable resolvable) { in isDefined()
[all …]
DparserCommon.h23 class ParserCommon : public TextParser {
55 ParserCommon() : TextParser() in ParserCommon()
254 typedef TextParser INHERITED;
DmdOut.h63 TextParser matrixParser(fLastDef->fFileName, refStart, refEnd, fLastDef->fLineCount); in DefinedState()
219 const Definition* isDefined(const TextParser& , Resolvable );
224 void parameterHeaderOut(TextParser& paramParser, const Definition** prior, Definition* def);
DincludeWriter.cpp87 TextParser parser(def); in descriptionOut()
337 TextParser enumClassCheck(&nameDef); in enumHeaderOut()
500 TextParser parser(fFileName, last->fStart, last->fEnd, fLineCount); in enumMemberName()
506 TextParser enumLine(token->fFileName, last->fEnd, token->fContentStart, token->fLineCount); in enumMemberName()
622 TextParser valueEnd(token.fFileName, last.fEnd, token.fContentStart, token.fLineCount); in enumMembersOut()
733 TextParser enumLine(token.fFileName, lastEnd, token.fContentStart, token.fLineCount); in enumSizeItems()
744 TextParser valueEnd(token.fFileName, lastEnd, token.fContentStart, token.fLineCount); in enumSizeItems()
1095 TextParser constText(test); in constSizeMembers()
1217 TextParser typeStr(token.fFileName, typeStart->fContentStart, token.fContentStart, in structSizeMembers()
1389 TextParser params(clonedMethod->fFileName, clonedMethod->fStart, in populate()
[all …]
DbmhParser.cpp392 TextParser checkForChildren(definition); in addDefinition()
401 TextParser parser(definition->fFileName, definition->fContentStart, end, in addDefinition()
460 TextParser emptyCheck(definition); in addDefinition()
555 TextParser reporter(&def); in reportDuplicates()
649 TextParser tp(fFileName, fLine, fChar, fLineCount); in checkEndMarker()
967 TextParser platParse(platform); in exampleToScript()
1097 TextParser parser(def); in extractText()
1211 TextParser parser(typeDef->fFileName, typeDef->fStart, typeDef->fContentStart, in setUpGlobalSubstitutes()
1371 TextParser parser(child->fFileName, child->fStart, child->fContentStart, in setUpSubstitutes()
1876 TextParser parser(fFileName, start, fChar, fLineCount); in checkForFullTerminal()
[all …]
Dbookmaker.cpp385 TextParser methParams(iMethod); in setParams()
390 TextParser paramParser(&param); in setParams()
DfiddleParser.cpp120 TextParser bmh(textOut); in textOut()
DincludeParser.h110 bool advanceInclude(TextParser& i);
294 string writeCodeBlock(TextParser& i, MarkType , int indent);
DspellCheck.cpp246 TextParser paramParser(def->fFileName, def->fStart, def->fContentStart, in check()
279 TextParser code(def); in check()
DparserCommon.cpp217 TextParser parser(fFileName, data, data + size, fLineCount); in writeBlockIndent()