Lines Matching defs:Scanner
261 class Scanner {
263 Scanner(StringRef Input, SourceMgr &SM);
264 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_);
367 typedef StringRef::iterator (Scanner::*SkipWhileFunc)(StringRef::iterator);
550 Scanner scanner(Input, SM);
631 llvm::yaml::Scanner scanner(Input, SM);
705 Scanner::Scanner(StringRef Input, SourceMgr &sm) : SM(sm) {
709 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_) : SM(SM_) {
713 void Scanner::init(MemoryBufferRef Buffer) {
729 Token &Scanner::peekNext() {
756 Token Scanner::getNext() {
771 StringRef::iterator Scanner::skip_nb_char(StringRef::iterator Position) {
796 StringRef::iterator Scanner::skip_b_break(StringRef::iterator Position) {
811 StringRef::iterator Scanner::skip_s_white(StringRef::iterator Position) {
819 StringRef::iterator Scanner::skip_ns_char(StringRef::iterator Position) {
827 StringRef::iterator Scanner::skip_while( SkipWhileFunc Func
850 StringRef Scanner::scan_ns_uri_char() {
870 bool Scanner::consume(uint32_t Expected) {
885 void Scanner::skip(uint32_t Distance) {
891 bool Scanner::isBlankOrBreak(StringRef::iterator Position) {
900 void Scanner::saveSimpleKeyCandidate( TokenQueueT::iterator Tok
914 void Scanner::removeStaleSimpleKeyCandidates() {
927 void Scanner::removeSimpleKeyCandidatesOnFlowLevel(unsigned Level) {
932 bool Scanner::unrollIndent(int ToColumn) {
948 bool Scanner::rollIndent( int ToColumn
965 void Scanner::scanToNextToken() {
997 bool Scanner::scanStreamStart() {
1010 bool Scanner::scanStreamEnd() {
1028 bool Scanner::scanDirective() {
1037 Current = skip_while(&Scanner::skip_ns_char, Current);
1039 Current = skip_while(&Scanner::skip_s_white, Current);
1043 Current = skip_while(&Scanner::skip_ns_char, Current);
1049 Current = skip_while(&Scanner::skip_ns_char, Current);
1050 Current = skip_while(&Scanner::skip_s_white, Current);
1051 Current = skip_while(&Scanner::skip_ns_char, Current);
1060 bool Scanner::scanDocumentIndicator(bool IsStart) {
1073 bool Scanner::scanFlowCollectionStart(bool IsSequence) {
1090 bool Scanner::scanFlowCollectionEnd(bool IsSequence) {
1104 bool Scanner::scanFlowEntry() {
1115 bool Scanner::scanBlockEntry() {
1127 bool Scanner::scanKey() {
1142 bool Scanner::scanValue() {
1195 bool Scanner::scanFlowScalar(bool IsDoubleQuoted) {
1252 bool Scanner::scanPlainScalar() {
1330 bool Scanner::scanAliasOrAnchor(bool IsAlias) {
1365 bool Scanner::scanBlockScalar(bool IsLiteral) {
1401 bool Scanner::scanTag() {
1413 Current = skip_while(&Scanner::skip_ns_char, Current);
1429 bool Scanner::fetchMoreTokens() {
1522 : scanner(new Scanner(Input, SM)), CurrentDoc() {}
1525 : scanner(new Scanner(InputBuffer, SM)), CurrentDoc() {}