Lines Matching refs:Lex
70 MarkupLexer &Lex; member in MarkupParser
73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {} in MarkupParser()
125 StringRef::const_iterator Start = Lex.getPosition(); in parseTag()
127 while(Lex.getNextChar() != ':') { in parseTag()
129 if (Lex.isEOF()) in parseTag()
132 StringRef RawTag(Start, Lex.getPosition() - Start - 1); in parseTag()
153 MarkupLexer Lex(InputSource); in parseMCMarkup() local
154 MarkupParser Parser(Lex, SrcMgr); in parseMCMarkup()
158 for (int CurChar = Lex.getNextChar(); in parseMCMarkup()
160 CurChar = Lex.getNextChar()) { in parseMCMarkup()
164 if (Lex.peekNextChar() == '<') { in parseMCMarkup()
165 (void)Lex.getNextChar(); in parseMCMarkup()
176 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1); in parseMCMarkup()
178 if (Lex.peekNextChar() == '>') { in parseMCMarkup()
179 (void)Lex.getNextChar(); in parseMCMarkup()