Lines Matching refs:Parser
30 // This file contains the parser for valgrind-compatible suppressions.
62 class Parser {
64 explicit Parser(const string &str)
101 void Parser::SetError(string desc) {
106 bool Parser::GetError() {
110 string Parser::GetErrorString() {
114 int Parser::GetLineNo() {
118 string Parser::NextLine() {
131 string Parser::NextLineSkipComments() {
161 void Parser::PutBackSkipComments(string line) {
165 bool Parser::ParseSuppressionToolsLine(Suppression* supp, string line) {
182 bool Parser::ParseStackTraceLine(StackTraceTemplate* trace, string line) {
214 // Checks if this line can not be parsed by Parser::NextStackTraceTemplate
216 bool Parser::IsExtraLine(string line) {
225 bool Parser::NextStackTraceTemplate(StackTraceTemplate* trace,
249 bool Parser::NextSuppression(Suppression* supp) {
300 Parser parser(str);
302 while (parser.NextSuppression(&supp)) {
305 if (parser.GetError()) {
306 rep_->error_string_ = parser.GetErrorString();
307 rep_->error_line_no_ = parser.GetLineNo();