Lines Matching refs:ScriptLexer
44 StringRef ScriptLexer::getLine() { in getLine()
55 size_t ScriptLexer::getLineNumber() { in getLineNumber()
62 size_t ScriptLexer::getColumnNumber() { in getColumnNumber()
67 std::string ScriptLexer::getCurrentLocation() { in getCurrentLocation()
72 ScriptLexer::ScriptLexer(MemoryBufferRef MB) { tokenize(MB); } in ScriptLexer() function in ScriptLexer
75 void ScriptLexer::setError(const Twine &Msg) { in setError()
87 void ScriptLexer::tokenize(MemoryBufferRef MB) { in tokenize()
143 StringRef ScriptLexer::skipSpace(StringRef S) { in skipSpace()
169 bool ScriptLexer::atEOF() { return errorCount() || Tokens.size() == Pos; } in atEOF()
216 void ScriptLexer::maybeSplitExpr() { in maybeSplitExpr()
227 StringRef ScriptLexer::next() { in next()
239 StringRef ScriptLexer::peek() { in peek()
247 StringRef ScriptLexer::peek2() { in peek2()
256 bool ScriptLexer::consume(StringRef Tok) { in consume()
265 bool ScriptLexer::consumeLabel(StringRef Tok) { in consumeLabel()
276 void ScriptLexer::skip() { (void)next(); } in skip()
278 void ScriptLexer::expect(StringRef Expect) { in expect()
291 MemoryBufferRef ScriptLexer::getCurrentMB() { in getCurrentMB()