/* Generated by re2c 3.0 */ #line 1 "ext/rbs_extension/lexer.re" #include "rbs_extension.h" token rbsparser_next_token(lexstate *state) { lexstate backup; start: backup = *state; #line 13 "ext/rbs_extension/lexer.c" { unsigned int yych; unsigned int yyaccept = 0; yych = peek(state); switch (yych) { case 0x00000000: goto yy1; case '\t': case '\n': case '\r': case ' ': goto yy4; case '!': goto yy6; case '"': goto yy8; case '#': goto yy9; case '$': goto yy11; case '%': goto yy12; case '&': goto yy13; case '\'': goto yy14; case '(': goto yy15; case ')': goto yy16; case '*': goto yy17; case '+': goto yy18; case ',': goto yy19; case '-': goto yy20; case '.': goto yy21; case '/': case '~': goto yy23; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': goto yy24; case ':': goto yy26; case '<': goto yy28; case '=': goto yy30; case '>': goto yy32; case '?': goto yy33; case '@': goto yy34; case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': goto yy35; case '[': goto yy37; case ']': goto yy38; case '^': goto yy39; case '_': goto yy40; case '`': goto yy42; case 'a': goto yy44; case 'b': goto yy46; case 'c': goto yy47; case 'd': goto yy48; case 'e': goto yy49; case 'f': goto yy50; case 'g': case 'h': case 'j': case 'k': case 'l': case 'q': case 'r': case 'w': case 'x': case 'y': case 'z': goto yy51; case 'i': goto yy53; case 'm': goto yy54; case 'n': goto yy55; case 'o': goto yy56; case 'p': goto yy57; case 's': goto yy58; case 't': goto yy59; case 'u': goto yy60; case 'v': goto yy61; case '{': goto yy62; case '|': goto yy63; case '}': goto yy64; default: goto yy2; } yy1: rbs_skip(state); #line 141 "ext/rbs_extension/lexer.re" { return next_token(state, pEOF); } #line 122 "ext/rbs_extension/lexer.c" yy2: rbs_skip(state); yy3: #line 142 "ext/rbs_extension/lexer.re" { return next_token(state, ErrorToken); } #line 128 "ext/rbs_extension/lexer.c" yy4: rbs_skip(state); yych = peek(state); if (yych <= '\f') { if (yych <= 0x00000008) goto yy5; if (yych <= '\n') goto yy4; } else { if (yych <= '\r') goto yy4; if (yych == ' ') goto yy4; } yy5: #line 140 "ext/rbs_extension/lexer.re" { state->start = state->current; goto start; } #line 142 "ext/rbs_extension/lexer.c" yy6: rbs_skip(state); yych = peek(state); if (yych == '=') goto yy23; if (yych == '~') goto yy23; yy7: #line 49 "ext/rbs_extension/lexer.re" { return next_token(state, tOPERATOR); } #line 151 "ext/rbs_extension/lexer.c" yy8: yyaccept = 0; rbs_skip(state); backup = *state; yych = peek(state); if (yych <= 0x00000000) goto yy3; goto yy66; yy9: rbs_skip(state); yych = peek(state); if (yych <= 0x00000000) goto yy10; if (yych != '\n') goto yy9; yy10: #line 60 "ext/rbs_extension/lexer.re" { return next_token( state, state->first_token_of_line ? tLINECOMMENT : tCOMMENT ); } #line 172 "ext/rbs_extension/lexer.c" yy11: rbs_skip(state); yych = peek(state); if (yych <= ')') { if (yych <= 0x0000001F) { if (yych <= '\n') { if (yych <= 0x00000000) goto yy3; if (yych <= 0x00000008) goto yy70; goto yy3; } else { if (yych == '\r') goto yy3; goto yy70; } } else { if (yych <= '#') { if (yych <= ' ') goto yy3; if (yych <= '"') goto yy72; goto yy70; } else { if (yych == '%') goto yy3; if (yych <= '\'') goto yy72; goto yy3; } } } else { if (yych <= 'Z') { if (yych <= '/') { if (yych == '-') goto yy70; goto yy72; } else { if (yych <= '9') goto yy70; if (yych <= '>') goto yy72; goto yy70; } } else { if (yych <= '^') { if (yych == '\\') goto yy72; goto yy3; } else { if (yych <= 'z') goto yy70; if (yych <= '}') goto yy3; if (yych <= '~') goto yy72; goto yy70; } } } yy12: yyaccept = 1; rbs_skip(state); backup = *state; yych = peek(state); if (yych == 'a') goto yy73; goto yy7; yy13: rbs_skip(state); #line 34 "ext/rbs_extension/lexer.re" { return next_token(state, pAMP); } #line 230 "ext/rbs_extension/lexer.c" yy14: yyaccept = 0; rbs_skip(state); backup = *state; yych = peek(state); if (yych <= 0x00000000) goto yy3; goto yy75; yy15: rbs_skip(state); #line 25 "ext/rbs_extension/lexer.re" { return next_token(state, pLPAREN); } #line 242 "ext/rbs_extension/lexer.c" yy16: rbs_skip(state); #line 26 "ext/rbs_extension/lexer.re" { return next_token(state, pRPAREN); } #line 247 "ext/rbs_extension/lexer.c" yy17: rbs_skip(state); yych = peek(state); if (yych == '*') goto yy79; #line 36 "ext/rbs_extension/lexer.re" { return next_token(state, pSTAR); } #line 254 "ext/rbs_extension/lexer.c" yy18: rbs_skip(state); yych = peek(state); if (yych <= '/') goto yy7; if (yych <= '9') goto yy24; if (yych == '@') goto yy23; goto yy7; yy19: rbs_skip(state); #line 31 "ext/rbs_extension/lexer.re" { return next_token(state, pCOMMA); } #line 266 "ext/rbs_extension/lexer.c" yy20: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') goto yy7; if (yych <= '9') goto yy24; goto yy7; } else { if (yych <= '>') goto yy80; if (yych == '@') goto yy23; goto yy7; } yy21: yyaccept = 2; rbs_skip(state); backup = *state; yych = peek(state); if (yych == '.') goto yy81; yy22: #line 38 "ext/rbs_extension/lexer.re" { return next_token(state, pDOT); } #line 288 "ext/rbs_extension/lexer.c" yy23: rbs_skip(state); goto yy7; yy24: rbs_skip(state); yych = peek(state); if (yych <= '/') goto yy25; if (yych <= '9') goto yy24; if (yych == '_') goto yy24; yy25: #line 52 "ext/rbs_extension/lexer.re" { return next_token(state, tINTEGER); } #line 301 "ext/rbs_extension/lexer.c" yy26: yyaccept = 3; rbs_skip(state); backup = *state; yych = peek(state); switch (yych) { case '!': goto yy82; case '"': goto yy84; case '$': goto yy85; case '%': case '&': case '/': case '^': case '`': case '|': case '~': goto yy86; case '\'': goto yy87; case '*': goto yy88; case '+': case '-': goto yy89; case ':': goto yy90; case '<': goto yy91; case '=': goto yy92; case '>': goto yy93; case '@': goto yy94; case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '_': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': goto yy95; case '[': goto yy97; default: goto yy27; } yy27: #line 45 "ext/rbs_extension/lexer.re" { return next_token(state, pCOLON); } #line 386 "ext/rbs_extension/lexer.c" yy28: rbs_skip(state); yych = peek(state); if (yych <= ';') goto yy29; if (yych <= '<') goto yy23; if (yych <= '=') goto yy98; yy29: #line 47 "ext/rbs_extension/lexer.re" { return next_token(state, pLT); } #line 396 "ext/rbs_extension/lexer.c" yy30: rbs_skip(state); yych = peek(state); if (yych <= '>') { if (yych <= '<') goto yy31; if (yych <= '=') goto yy99; goto yy100; } else { if (yych == '~') goto yy23; } yy31: #line 44 "ext/rbs_extension/lexer.re" { return next_token(state, pEQ); } #line 410 "ext/rbs_extension/lexer.c" yy32: rbs_skip(state); yych = peek(state); if (yych <= '<') goto yy7; if (yych <= '>') goto yy23; goto yy7; yy33: rbs_skip(state); #line 35 "ext/rbs_extension/lexer.re" { return next_token(state, pQUESTION); } #line 421 "ext/rbs_extension/lexer.c" yy34: yyaccept = 0; rbs_skip(state); backup = *state; yych = peek(state); if (yych <= '^') { if (yych <= '?') goto yy3; if (yych <= '@') goto yy101; if (yych <= 'Z') goto yy102; goto yy3; } else { if (yych == '`') goto yy3; if (yych <= 'z') goto yy102; goto yy3; } yy35: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy35; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy36; if (yych <= 'Z') goto yy35; } else { if (yych == '`') goto yy36; if (yych <= 'z') goto yy35; } } yy36: #line 126 "ext/rbs_extension/lexer.re" { return next_token(state, tUIDENT); } #line 459 "ext/rbs_extension/lexer.c" yy37: rbs_skip(state); yych = peek(state); if (yych == ']') goto yy106; #line 27 "ext/rbs_extension/lexer.re" { return next_token(state, pLBRACKET); } #line 466 "ext/rbs_extension/lexer.c" yy38: rbs_skip(state); #line 28 "ext/rbs_extension/lexer.re" { return next_token(state, pRBRACKET); } #line 471 "ext/rbs_extension/lexer.c" yy39: rbs_skip(state); #line 33 "ext/rbs_extension/lexer.re" { return next_token(state, pHAT); } #line 476 "ext/rbs_extension/lexer.c" yy40: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy107; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy41; if (yych <= 'Z') goto yy110; } else { if (yych <= '_') goto yy112; if (yych <= '`') goto yy41; if (yych <= 'z') goto yy107; } } yy41: #line 129 "ext/rbs_extension/lexer.re" { return next_token(state, tULLIDENT); } #line 500 "ext/rbs_extension/lexer.c" yy42: yyaccept = 4; rbs_skip(state); backup = *state; yych = peek(state); if (yych <= ' ') { if (yych <= 0x00000000) goto yy43; if (yych <= 0x0000001F) goto yy113; } else { if (yych != ':') goto yy113; } yy43: #line 40 "ext/rbs_extension/lexer.re" { return next_token(state, tOPERATOR); } #line 515 "ext/rbs_extension/lexer.c" yy44: rbs_skip(state); yych = peek(state); if (yych <= 'r') { if (yych == 'l') goto yy114; goto yy52; } else { if (yych <= 's') goto yy115; if (yych <= 't') goto yy117; goto yy52; } yy45: #line 125 "ext/rbs_extension/lexer.re" { return next_token(state, tLIDENT); } #line 530 "ext/rbs_extension/lexer.c" yy46: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy118; goto yy52; yy47: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy119; goto yy52; yy48: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy120; goto yy52; yy49: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy121; if (yych == 'x') goto yy122; goto yy52; yy50: rbs_skip(state); yych = peek(state); if (yych == 'a') goto yy123; goto yy52; yy51: rbs_skip(state); yych = peek(state); yy52: if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; goto yy45; } else { if (yych <= '9') goto yy51; if (yych <= '<') goto yy45; goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy45; if (yych <= 'Z') goto yy51; goto yy45; } else { if (yych == '`') goto yy45; if (yych <= 'z') goto yy51; goto yy45; } } yy53: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy124; goto yy52; yy54: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy126; goto yy52; yy55: rbs_skip(state); yych = peek(state); if (yych == 'i') goto yy127; goto yy52; yy56: rbs_skip(state); yych = peek(state); if (yych == 'u') goto yy128; goto yy52; yy57: rbs_skip(state); yych = peek(state); if (yych == 'r') goto yy129; if (yych == 'u') goto yy130; goto yy52; yy58: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy131; if (yych == 'i') goto yy132; goto yy52; yy59: rbs_skip(state); yych = peek(state); if (yych <= 'q') { if (yych == 'o') goto yy133; goto yy52; } else { if (yych <= 'r') goto yy134; if (yych == 'y') goto yy135; goto yy52; } yy60: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy136; if (yych == 's') goto yy137; goto yy52; yy61: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy138; goto yy52; yy62: rbs_skip(state); #line 29 "ext/rbs_extension/lexer.re" { return next_token(state, pLBRACE); } #line 639 "ext/rbs_extension/lexer.c" yy63: rbs_skip(state); #line 32 "ext/rbs_extension/lexer.re" { return next_token(state, pBAR); } #line 644 "ext/rbs_extension/lexer.c" yy64: rbs_skip(state); #line 30 "ext/rbs_extension/lexer.re" { return next_token(state, pRBRACE); } #line 649 "ext/rbs_extension/lexer.c" yy65: rbs_skip(state); yych = peek(state); yy66: if (yych <= '"') { if (yych <= 0x00000000) goto yy67; if (yych <= '!') goto yy65; goto yy68; } else { if (yych == '\\') goto yy69; goto yy65; } yy67: *state = backup; if (yyaccept <= 3) { if (yyaccept <= 1) { if (yyaccept == 0) { goto yy3; } else { goto yy7; } } else { if (yyaccept == 2) { goto yy22; } else { goto yy27; } } } else { if (yyaccept <= 5) { if (yyaccept == 4) { goto yy43; } else { goto yy77; } } else { goto yy152; } } yy68: rbs_skip(state); #line 103 "ext/rbs_extension/lexer.re" { return next_token(state, tDQSTRING); } #line 693 "ext/rbs_extension/lexer.c" yy69: rbs_skip(state); yych = peek(state); if (yych <= 'd') { if (yych <= '[') { if (yych == '"') goto yy65; goto yy67; } else { if (yych <= '\\') goto yy65; if (yych <= '`') goto yy67; if (yych <= 'b') goto yy65; goto yy67; } } else { if (yych <= 'q') { if (yych <= 'f') goto yy65; if (yych == 'n') goto yy65; goto yy67; } else { if (yych == 'u') goto yy67; if (yych <= 'v') goto yy65; goto yy67; } } yy70: rbs_skip(state); yych = peek(state); if (yych <= ',') { if (yych <= '\f') { if (yych <= 0x00000000) goto yy71; if (yych <= 0x00000008) goto yy70; if (yych >= '\v') goto yy70; } else { if (yych <= 0x0000001F) { if (yych >= 0x0000000E) goto yy70; } else { if (yych == '#') goto yy70; } } } else { if (yych <= '>') { if (yych <= '-') goto yy70; if (yych <= '/') goto yy71; if (yych <= '9') goto yy70; } else { if (yych <= '^') { if (yych <= 'Z') goto yy70; } else { if (yych <= 'z') goto yy70; if (yych >= 0x0000007F) goto yy70; } } } yy71: #line 136 "ext/rbs_extension/lexer.re" { return next_token(state, tGIDENT); } #line 750 "ext/rbs_extension/lexer.c" yy72: rbs_skip(state); goto yy71; yy73: rbs_skip(state); yych = peek(state); if (yych <= 'Z') { if (yych <= '(') { if (yych <= '\'') goto yy67; goto yy139; } else { if (yych == '<') goto yy140; goto yy67; } } else { if (yych <= 'z') { if (yych <= '[') goto yy141; goto yy67; } else { if (yych <= '{') goto yy142; if (yych <= '|') goto yy143; goto yy67; } } yy74: rbs_skip(state); yych = peek(state); yy75: if (yych <= '\'') { if (yych <= 0x00000000) goto yy67; if (yych <= '&') goto yy74; } else { if (yych == '\\') goto yy78; goto yy74; } yy76: rbs_skip(state); yy77: #line 104 "ext/rbs_extension/lexer.re" { return next_token(state, tSQSTRING); } #line 791 "ext/rbs_extension/lexer.c" yy78: rbs_skip(state); yych = peek(state); if (yych <= '\'') { if (yych <= 0x00000000) goto yy67; if (yych <= '&') goto yy74; goto yy144; } else { if (yych == '\\') goto yy78; goto yy74; } yy79: rbs_skip(state); #line 37 "ext/rbs_extension/lexer.re" { return next_token(state, pSTAR2); } #line 807 "ext/rbs_extension/lexer.c" yy80: rbs_skip(state); #line 42 "ext/rbs_extension/lexer.re" { return next_token(state, pARROW); } #line 812 "ext/rbs_extension/lexer.c" yy81: rbs_skip(state); yych = peek(state); if (yych == '.') goto yy145; goto yy67; yy82: rbs_skip(state); yych = peek(state); if (yych == '=') goto yy86; if (yych == '~') goto yy86; yy83: #line 123 "ext/rbs_extension/lexer.re" { return next_token(state, tSYMBOL); } #line 826 "ext/rbs_extension/lexer.c" yy84: rbs_skip(state); yych = peek(state); if (yych <= '"') { if (yych <= 0x00000000) goto yy67; if (yych <= '!') goto yy84; goto yy146; } else { if (yych == '\\') goto yy147; goto yy84; } yy85: rbs_skip(state); yych = peek(state); if (yych <= ')') { if (yych <= 0x0000001F) { if (yych <= '\n') { if (yych <= 0x00000000) goto yy67; if (yych <= 0x00000008) goto yy148; goto yy67; } else { if (yych == '\r') goto yy67; goto yy148; } } else { if (yych <= '#') { if (yych <= ' ') goto yy67; if (yych <= '"') goto yy150; goto yy148; } else { if (yych == '%') goto yy67; if (yych <= '\'') goto yy150; goto yy67; } } } else { if (yych <= 'Z') { if (yych <= '/') { if (yych == '-') goto yy148; goto yy150; } else { if (yych <= '9') goto yy148; if (yych <= '>') goto yy150; goto yy148; } } else { if (yych <= '^') { if (yych == '\\') goto yy150; goto yy67; } else { if (yych <= 'z') goto yy148; if (yych <= '}') goto yy67; if (yych <= '~') goto yy150; goto yy148; } } } yy86: rbs_skip(state); goto yy83; yy87: rbs_skip(state); yych = peek(state); if (yych <= '\'') { if (yych <= 0x00000000) goto yy67; if (yych <= '&') goto yy87; goto yy151; } else { if (yych == '\\') goto yy153; goto yy87; } yy88: rbs_skip(state); yych = peek(state); if (yych == '*') goto yy86; goto yy83; yy89: rbs_skip(state); yych = peek(state); if (yych == '@') goto yy86; goto yy83; yy90: rbs_skip(state); #line 46 "ext/rbs_extension/lexer.re" { return next_token(state, pCOLON2); } #line 912 "ext/rbs_extension/lexer.c" yy91: rbs_skip(state); yych = peek(state); if (yych <= ';') goto yy83; if (yych <= '<') goto yy86; if (yych <= '=') goto yy154; goto yy83; yy92: rbs_skip(state); yych = peek(state); if (yych == '=') goto yy155; if (yych == '~') goto yy86; goto yy67; yy93: rbs_skip(state); yych = peek(state); if (yych <= '<') goto yy83; if (yych <= '>') goto yy86; goto yy83; yy94: rbs_skip(state); yych = peek(state); if (yych <= '^') { if (yych <= '?') goto yy67; if (yych <= '@') goto yy156; if (yych <= 'Z') goto yy157; goto yy67; } else { if (yych == '`') goto yy67; if (yych <= 'z') goto yy157; goto yy67; } yy95: rbs_skip(state); yych = peek(state); if (yych <= '>') { if (yych <= '/') { if (yych == '!') goto yy159; } else { if (yych <= '9') goto yy95; if (yych == '=') goto yy159; } } else { if (yych <= '^') { if (yych <= '?') goto yy159; if (yych <= '@') goto yy96; if (yych <= 'Z') goto yy95; } else { if (yych == '`') goto yy96; if (yych <= 'z') goto yy95; } } yy96: #line 119 "ext/rbs_extension/lexer.re" { return next_token(state, tSYMBOL); } #line 968 "ext/rbs_extension/lexer.c" yy97: rbs_skip(state); yych = peek(state); if (yych == ']') goto yy155; goto yy67; yy98: rbs_skip(state); yych = peek(state); if (yych == '>') goto yy23; goto yy7; yy99: rbs_skip(state); yych = peek(state); if (yych == '=') goto yy23; goto yy7; yy100: rbs_skip(state); #line 43 "ext/rbs_extension/lexer.re" { return next_token(state, pFATARROW); } #line 988 "ext/rbs_extension/lexer.c" yy101: rbs_skip(state); yych = peek(state); if (yych <= '^') { if (yych <= '@') goto yy67; if (yych <= 'Z') goto yy160; goto yy67; } else { if (yych == '`') goto yy67; if (yych <= 'z') goto yy160; goto yy67; } yy102: rbs_skip(state); yych = peek(state); if (yych <= 'Z') { if (yych <= '/') goto yy103; if (yych <= '9') goto yy102; if (yych >= 'A') goto yy102; } else { if (yych <= '_') { if (yych >= '_') goto yy102; } else { if (yych <= '`') goto yy103; if (yych <= 'z') goto yy102; } } yy103: #line 133 "ext/rbs_extension/lexer.re" { return next_token(state, tAIDENT); } #line 1019 "ext/rbs_extension/lexer.c" yy104: rbs_skip(state); #line 130 "ext/rbs_extension/lexer.re" { return next_token(state, tBANGIDENT); } #line 1024 "ext/rbs_extension/lexer.c" yy105: rbs_skip(state); #line 131 "ext/rbs_extension/lexer.re" { return next_token(state, tEQIDENT); } #line 1029 "ext/rbs_extension/lexer.c" yy106: rbs_skip(state); yych = peek(state); if (yych == '=') goto yy23; #line 48 "ext/rbs_extension/lexer.re" { return next_token(state, pAREF_OPR); } #line 1036 "ext/rbs_extension/lexer.c" yy107: rbs_skip(state); yych = peek(state); yy108: if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy107; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy109; if (yych <= 'Z') goto yy107; } else { if (yych == '`') goto yy109; if (yych <= 'z') goto yy107; } } yy109: #line 127 "ext/rbs_extension/lexer.re" { return next_token(state, tULLIDENT); } #line 1060 "ext/rbs_extension/lexer.c" yy110: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy110; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy111; if (yych <= 'Z') goto yy110; } else { if (yych == '`') goto yy111; if (yych <= 'z') goto yy110; } } yy111: #line 128 "ext/rbs_extension/lexer.re" { return next_token(state, tULIDENT); } #line 1083 "ext/rbs_extension/lexer.c" yy112: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy162; goto yy108; yy113: rbs_skip(state); yych = peek(state); if (yych <= 0x00000000) goto yy67; if (yych == '`') goto yy163; goto yy113; yy114: rbs_skip(state); yych = peek(state); if (yych == 'i') goto yy164; goto yy52; yy115: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy116; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy116; if (yych <= 'z') goto yy51; } } yy116: #line 97 "ext/rbs_extension/lexer.re" { return next_token(state, kAS); } #line 1122 "ext/rbs_extension/lexer.c" yy117: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy165; goto yy52; yy118: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy166; if (yych == 't') goto yy167; goto yy52; yy119: rbs_skip(state); yych = peek(state); if (yych == 'a') goto yy169; goto yy52; yy120: rbs_skip(state); yych = peek(state); if (yych == 'f') goto yy170; goto yy52; yy121: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy172; goto yy52; yy122: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy174; goto yy52; yy123: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy175; goto yy52; yy124: rbs_skip(state); yych = peek(state); if (yych <= '^') { if (yych <= '9') { if (yych == '!') goto yy104; if (yych >= '0') goto yy51; } else { if (yych <= '=') { if (yych >= '=') goto yy105; } else { if (yych <= '@') goto yy125; if (yych <= 'Z') goto yy51; } } } else { if (yych <= 'c') { if (yych == '`') goto yy125; if (yych <= 'b') goto yy51; goto yy176; } else { if (yych <= 's') { if (yych <= 'r') goto yy51; goto yy177; } else { if (yych <= 't') goto yy178; if (yych <= 'z') goto yy51; } } } yy125: #line 78 "ext/rbs_extension/lexer.re" { return next_token(state, kIN); } #line 1192 "ext/rbs_extension/lexer.c" yy126: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy179; goto yy52; yy127: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy180; goto yy52; yy128: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy182; goto yy52; yy129: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy184; if (yych == 'i') goto yy185; goto yy52; yy130: rbs_skip(state); yych = peek(state); if (yych == 'b') goto yy186; goto yy52; yy131: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy187; goto yy52; yy132: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy188; goto yy52; yy133: rbs_skip(state); yych = peek(state); if (yych == 'p') goto yy189; goto yy52; yy134: rbs_skip(state); yych = peek(state); if (yych == 'u') goto yy191; goto yy52; yy135: rbs_skip(state); yych = peek(state); if (yych == 'p') goto yy192; goto yy52; yy136: rbs_skip(state); yych = peek(state); if (yych == 'c') goto yy193; if (yych == 't') goto yy194; goto yy52; yy137: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy195; goto yy52; yy138: rbs_skip(state); yych = peek(state); if (yych == 'i') goto yy197; goto yy52; yy139: rbs_skip(state); yych = peek(state); if (yych <= 0x00000000) goto yy67; if (yych == ')') goto yy198; goto yy139; yy140: rbs_skip(state); yych = peek(state); if (yych <= 0x00000000) goto yy67; if (yych == '>') goto yy199; goto yy140; yy141: rbs_skip(state); yych = peek(state); if (yych <= 0x00000000) goto yy67; if (yych == ']') goto yy200; goto yy141; yy142: rbs_skip(state); yych = peek(state); if (yych <= 0x00000000) goto yy67; if (yych == '}') goto yy201; goto yy142; yy143: rbs_skip(state); yych = peek(state); if (yych <= 0x00000000) goto yy67; if (yych == '|') goto yy202; goto yy143; yy144: yyaccept = 5; rbs_skip(state); backup = *state; yych = peek(state); if (yych <= '\'') { if (yych <= 0x00000000) goto yy77; if (yych <= '&') goto yy74; goto yy76; } else { if (yych == '\\') goto yy78; goto yy74; } yy145: rbs_skip(state); #line 39 "ext/rbs_extension/lexer.re" { return next_token(state, pDOT3); } #line 1307 "ext/rbs_extension/lexer.c" yy146: rbs_skip(state); #line 105 "ext/rbs_extension/lexer.re" { return next_token(state, tDQSYMBOL); } #line 1312 "ext/rbs_extension/lexer.c" yy147: rbs_skip(state); yych = peek(state); if (yych <= 'd') { if (yych <= '[') { if (yych == '"') goto yy84; goto yy67; } else { if (yych <= '\\') goto yy84; if (yych <= '`') goto yy67; if (yych <= 'b') goto yy84; goto yy67; } } else { if (yych <= 'q') { if (yych <= 'f') goto yy84; if (yych == 'n') goto yy84; goto yy67; } else { if (yych == 'u') goto yy67; if (yych <= 'v') goto yy84; goto yy67; } } yy148: rbs_skip(state); yych = peek(state); if (yych <= ',') { if (yych <= '\f') { if (yych <= 0x00000000) goto yy149; if (yych <= 0x00000008) goto yy148; if (yych >= '\v') goto yy148; } else { if (yych <= 0x0000001F) { if (yych >= 0x0000000E) goto yy148; } else { if (yych == '#') goto yy148; } } } else { if (yych <= '>') { if (yych <= '-') goto yy148; if (yych <= '/') goto yy149; if (yych <= '9') goto yy148; } else { if (yych <= '^') { if (yych <= 'Z') goto yy148; } else { if (yych <= 'z') goto yy148; if (yych >= 0x0000007F) goto yy148; } } } yy149: #line 122 "ext/rbs_extension/lexer.re" { return next_token(state, tSYMBOL); } #line 1369 "ext/rbs_extension/lexer.c" yy150: rbs_skip(state); goto yy149; yy151: rbs_skip(state); yy152: #line 106 "ext/rbs_extension/lexer.re" { return next_token(state, tSQSYMBOL); } #line 1378 "ext/rbs_extension/lexer.c" yy153: rbs_skip(state); yych = peek(state); if (yych <= '\'') { if (yych <= 0x00000000) goto yy67; if (yych <= '&') goto yy87; goto yy203; } else { if (yych == '\\') goto yy153; goto yy87; } yy154: rbs_skip(state); yych = peek(state); if (yych == '>') goto yy86; goto yy83; yy155: rbs_skip(state); yych = peek(state); if (yych == '=') goto yy86; goto yy83; yy156: rbs_skip(state); yych = peek(state); if (yych <= '^') { if (yych <= '@') goto yy67; if (yych <= 'Z') goto yy204; goto yy67; } else { if (yych == '`') goto yy67; if (yych <= 'z') goto yy204; goto yy67; } yy157: rbs_skip(state); yych = peek(state); if (yych <= '>') { if (yych <= '/') { if (yych == '!') goto yy206; } else { if (yych <= '9') goto yy157; if (yych == '=') goto yy206; } } else { if (yych <= '^') { if (yych <= '?') goto yy206; if (yych <= '@') goto yy158; if (yych <= 'Z') goto yy157; } else { if (yych == '`') goto yy158; if (yych <= 'z') goto yy157; } } yy158: #line 120 "ext/rbs_extension/lexer.re" { return next_token(state, tSYMBOL); } #line 1435 "ext/rbs_extension/lexer.c" yy159: rbs_skip(state); goto yy96; yy160: rbs_skip(state); yych = peek(state); if (yych <= 'Z') { if (yych <= '/') goto yy161; if (yych <= '9') goto yy160; if (yych >= 'A') goto yy160; } else { if (yych <= '_') { if (yych >= '_') goto yy160; } else { if (yych <= '`') goto yy161; if (yych <= 'z') goto yy160; } } yy161: #line 134 "ext/rbs_extension/lexer.re" { return next_token(state, tA2IDENT); } #line 1457 "ext/rbs_extension/lexer.c" yy162: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy207; goto yy108; yy163: rbs_skip(state); #line 41 "ext/rbs_extension/lexer.re" { return next_token(state, tQIDENT); } #line 1467 "ext/rbs_extension/lexer.c" yy164: rbs_skip(state); yych = peek(state); if (yych == 'a') goto yy208; goto yy52; yy165: rbs_skip(state); yych = peek(state); if (yych == 'r') goto yy209; goto yy52; yy166: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy210; goto yy52; yy167: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy168; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy168; if (yych <= 'z') goto yy51; } } yy168: #line 72 "ext/rbs_extension/lexer.re" { return next_token(state, kBOT); } #line 1505 "ext/rbs_extension/lexer.c" yy169: rbs_skip(state); yych = peek(state); if (yych == 's') goto yy212; goto yy52; yy170: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy171; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy171; if (yych <= 'z') goto yy51; } } yy171: #line 74 "ext/rbs_extension/lexer.re" { return next_token(state, kDEF); } #line 1533 "ext/rbs_extension/lexer.c" yy172: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy173; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy173; if (yych <= 'z') goto yy51; } } yy173: #line 75 "ext/rbs_extension/lexer.re" { return next_token(state, kEND); } #line 1556 "ext/rbs_extension/lexer.c" yy174: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy213; goto yy52; yy175: rbs_skip(state); yych = peek(state); if (yych == 's') goto yy214; goto yy52; yy176: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy215; goto yy52; yy177: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy216; goto yy52; yy178: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy217; goto yy52; yy179: rbs_skip(state); yych = peek(state); if (yych == 'u') goto yy218; goto yy52; yy180: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy181; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy181; if (yych <= 'z') goto yy51; } } yy181: #line 83 "ext/rbs_extension/lexer.re" { return next_token(state, kNIL); } #line 1609 "ext/rbs_extension/lexer.c" yy182: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy183; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy183; if (yych <= 'z') goto yy51; } } yy183: #line 84 "ext/rbs_extension/lexer.re" { return next_token(state, kOUT); } #line 1632 "ext/rbs_extension/lexer.c" yy184: rbs_skip(state); yych = peek(state); if (yych == 'p') goto yy219; goto yy52; yy185: rbs_skip(state); yych = peek(state); if (yych == 'v') goto yy220; goto yy52; yy186: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy221; goto yy52; yy187: rbs_skip(state); yych = peek(state); if (yych == 'f') goto yy222; goto yy52; yy188: rbs_skip(state); yych = peek(state); if (yych == 'g') goto yy224; goto yy52; yy189: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy190; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy190; if (yych <= 'z') goto yy51; } } yy190: #line 90 "ext/rbs_extension/lexer.re" { return next_token(state, kTOP); } #line 1680 "ext/rbs_extension/lexer.c" yy191: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy225; goto yy52; yy192: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy227; goto yy52; yy193: rbs_skip(state); yych = peek(state); if (yych == 'h') goto yy229; goto yy52; yy194: rbs_skip(state); yych = peek(state); if (yych == 'y') goto yy230; goto yy52; yy195: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy196; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy196; if (yych <= 'z') goto yy51; } } yy196: #line 96 "ext/rbs_extension/lexer.re" { return next_token(state, kUSE); } #line 1723 "ext/rbs_extension/lexer.c" yy197: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy231; goto yy52; yy198: rbs_skip(state); #line 55 "ext/rbs_extension/lexer.re" { return next_token(state, tANNOTATION); } #line 1733 "ext/rbs_extension/lexer.c" yy199: rbs_skip(state); #line 58 "ext/rbs_extension/lexer.re" { return next_token(state, tANNOTATION); } #line 1738 "ext/rbs_extension/lexer.c" yy200: rbs_skip(state); #line 56 "ext/rbs_extension/lexer.re" { return next_token(state, tANNOTATION); } #line 1743 "ext/rbs_extension/lexer.c" yy201: rbs_skip(state); #line 54 "ext/rbs_extension/lexer.re" { return next_token(state, tANNOTATION); } #line 1748 "ext/rbs_extension/lexer.c" yy202: rbs_skip(state); #line 57 "ext/rbs_extension/lexer.re" { return next_token(state, tANNOTATION); } #line 1753 "ext/rbs_extension/lexer.c" yy203: yyaccept = 6; rbs_skip(state); backup = *state; yych = peek(state); if (yych <= '\'') { if (yych <= 0x00000000) goto yy152; if (yych <= '&') goto yy87; goto yy151; } else { if (yych == '\\') goto yy153; goto yy87; } yy204: rbs_skip(state); yych = peek(state); if (yych <= '>') { if (yych <= '/') { if (yych == '!') goto yy233; } else { if (yych <= '9') goto yy204; if (yych == '=') goto yy233; } } else { if (yych <= '^') { if (yych <= '?') goto yy233; if (yych <= '@') goto yy205; if (yych <= 'Z') goto yy204; } else { if (yych == '`') goto yy205; if (yych <= 'z') goto yy204; } } yy205: #line 121 "ext/rbs_extension/lexer.re" { return next_token(state, tSYMBOL); } #line 1790 "ext/rbs_extension/lexer.c" yy206: rbs_skip(state); goto yy158; yy207: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy234; goto yy108; yy208: rbs_skip(state); yych = peek(state); if (yych == 's') goto yy235; goto yy52; yy209: rbs_skip(state); yych = peek(state); if (yych == '_') goto yy237; goto yy52; yy210: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy211; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy211; if (yych <= 'z') goto yy51; } } yy211: #line 71 "ext/rbs_extension/lexer.re" { return next_token(state, kBOOL); } #line 1831 "ext/rbs_extension/lexer.c" yy212: rbs_skip(state); yych = peek(state); if (yych == 's') goto yy238; goto yy52; yy213: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy240; goto yy52; yy214: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy241; goto yy52; yy215: rbs_skip(state); yych = peek(state); if (yych == 'u') goto yy243; goto yy52; yy216: rbs_skip(state); yych = peek(state); if (yych == 'a') goto yy244; goto yy52; yy217: rbs_skip(state); yych = peek(state); if (yych == 'r') goto yy245; goto yy52; yy218: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy246; goto yy52; yy219: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy247; goto yy52; yy220: rbs_skip(state); yych = peek(state); if (yych == 'a') goto yy248; goto yy52; yy221: rbs_skip(state); yych = peek(state); if (yych == 'i') goto yy249; goto yy52; yy222: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy223; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy223; if (yych <= 'z') goto yy51; } } yy223: #line 88 "ext/rbs_extension/lexer.re" { return next_token(state, kSELF); } #line 1904 "ext/rbs_extension/lexer.c" yy224: rbs_skip(state); yych = peek(state); if (yych == 'l') goto yy250; goto yy52; yy225: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy226; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy226; if (yych <= 'z') goto yy51; } } yy226: #line 91 "ext/rbs_extension/lexer.re" { return next_token(state, kTRUE); } #line 1932 "ext/rbs_extension/lexer.c" yy227: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy228; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy228; if (yych <= 'z') goto yy51; } } yy228: #line 92 "ext/rbs_extension/lexer.re" { return next_token(state, kTYPE); } #line 1955 "ext/rbs_extension/lexer.c" yy229: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy251; goto yy52; yy230: rbs_skip(state); yych = peek(state); if (yych == 'p') goto yy252; goto yy52; yy231: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy232; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy232; if (yych <= 'z') goto yy51; } } yy232: #line 95 "ext/rbs_extension/lexer.re" { return next_token(state, kVOID); } #line 1988 "ext/rbs_extension/lexer.c" yy233: rbs_skip(state); goto yy205; yy234: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy253; goto yy108; yy235: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy236; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy236; if (yych <= 'z') goto yy51; } } yy236: #line 67 "ext/rbs_extension/lexer.re" { return next_token(state, kALIAS); } #line 2019 "ext/rbs_extension/lexer.c" yy237: rbs_skip(state); yych = peek(state); if (yych <= 'q') { if (yych == 'a') goto yy254; goto yy52; } else { if (yych <= 'r') goto yy255; if (yych == 'w') goto yy256; goto yy52; } yy238: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy239; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy239; if (yych <= 'z') goto yy51; } } yy239: #line 73 "ext/rbs_extension/lexer.re" { return next_token(state, kCLASS); } #line 2053 "ext/rbs_extension/lexer.c" yy240: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy257; goto yy52; yy241: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy242; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy242; if (yych <= 'z') goto yy51; } } yy242: #line 77 "ext/rbs_extension/lexer.re" { return next_token(state, kFALSE); } #line 2081 "ext/rbs_extension/lexer.c" yy243: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy259; goto yy52; yy244: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy260; goto yy52; yy245: rbs_skip(state); yych = peek(state); if (yych == 'f') goto yy261; goto yy52; yy246: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy262; goto yy52; yy247: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy264; goto yy52; yy248: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy265; goto yy52; yy249: rbs_skip(state); yych = peek(state); if (yych == 'c') goto yy266; goto yy52; yy250: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy268; goto yy52; yy251: rbs_skip(state); yych = peek(state); if (yych == 'c') goto yy269; goto yy52; yy252: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy270; goto yy52; yy253: rbs_skip(state); yych = peek(state); if (yych == '_') goto yy271; goto yy108; yy254: rbs_skip(state); yych = peek(state); if (yych == 'c') goto yy272; goto yy52; yy255: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy273; goto yy52; yy256: rbs_skip(state); yych = peek(state); if (yych == 'r') goto yy274; goto yy52; yy257: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy258; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy258; if (yych <= 'z') goto yy51; } } yy258: #line 76 "ext/rbs_extension/lexer.re" { return next_token(state, kEXTEND); } #line 2174 "ext/rbs_extension/lexer.c" yy259: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy275; goto yy52; yy260: rbs_skip(state); yych = peek(state); if (yych == 'c') goto yy277; goto yy52; yy261: rbs_skip(state); yych = peek(state); if (yych == 'a') goto yy278; goto yy52; yy262: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy263; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy263; if (yych <= 'z') goto yy51; } } yy263: #line 82 "ext/rbs_extension/lexer.re" { return next_token(state, kMODULE); } #line 2212 "ext/rbs_extension/lexer.c" yy264: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy279; goto yy52; yy265: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy281; goto yy52; yy266: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy267; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy267; if (yych <= 'z') goto yy51; } } yy267: #line 87 "ext/rbs_extension/lexer.re" { return next_token(state, kPUBLIC); } #line 2245 "ext/rbs_extension/lexer.c" yy268: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy283; goto yy52; yy269: rbs_skip(state); yych = peek(state); if (yych == 'k') goto yy284; goto yy52; yy270: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy285; goto yy52; yy271: rbs_skip(state); yych = peek(state); if (yych == '_') goto yy287; goto yy108; yy272: rbs_skip(state); yych = peek(state); if (yych == 'c') goto yy289; goto yy52; yy273: rbs_skip(state); yych = peek(state); if (yych == 'a') goto yy290; goto yy52; yy274: rbs_skip(state); yych = peek(state); if (yych == 'i') goto yy291; goto yy52; yy275: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy276; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy276; if (yych <= 'z') goto yy51; } } yy276: #line 79 "ext/rbs_extension/lexer.re" { return next_token(state, kINCLUDE); } #line 2303 "ext/rbs_extension/lexer.c" yy277: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy292; goto yy52; yy278: rbs_skip(state); yych = peek(state); if (yych == 'c') goto yy294; goto yy52; yy279: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy280; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy280; if (yych <= 'z') goto yy51; } } yy280: #line 85 "ext/rbs_extension/lexer.re" { return next_token(state, kPREPEND); } #line 2336 "ext/rbs_extension/lexer.c" yy281: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy282; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy282; if (yych <= 'z') goto yy51; } } yy282: #line 86 "ext/rbs_extension/lexer.re" { return next_token(state, kPRIVATE); } #line 2359 "ext/rbs_extension/lexer.c" yy283: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy295; goto yy52; yy284: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy296; goto yy52; yy285: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy286; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy286; if (yych <= 'z') goto yy51; } } yy286: #line 94 "ext/rbs_extension/lexer.re" { return next_token(state, kUNTYPED); } #line 2392 "ext/rbs_extension/lexer.c" yy287: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy107; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy288; if (yych <= 'Z') goto yy107; } else { if (yych == '`') goto yy288; if (yych <= 'z') goto yy107; } } yy288: #line 98 "ext/rbs_extension/lexer.re" { return next_token(state, k__TODO__); } #line 2415 "ext/rbs_extension/lexer.c" yy289: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy297; goto yy52; yy290: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy298; goto yy52; yy291: rbs_skip(state); yych = peek(state); if (yych == 't') goto yy299; goto yy52; yy292: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy293; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy293; if (yych <= 'z') goto yy51; } } yy293: #line 80 "ext/rbs_extension/lexer.re" { return next_token(state, kINSTANCE); } #line 2453 "ext/rbs_extension/lexer.c" yy294: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy300; goto yy52; yy295: rbs_skip(state); yych = peek(state); if (yych == 'n') goto yy302; goto yy52; yy296: rbs_skip(state); yych = peek(state); if (yych == 'd') goto yy304; goto yy52; yy297: rbs_skip(state); yych = peek(state); if (yych == 's') goto yy306; goto yy52; yy298: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy307; goto yy52; yy299: rbs_skip(state); yych = peek(state); if (yych == 'e') goto yy308; goto yy52; yy300: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy301; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy301; if (yych <= 'z') goto yy51; } } yy301: #line 81 "ext/rbs_extension/lexer.re" { return next_token(state, kINTERFACE); } #line 2506 "ext/rbs_extension/lexer.c" yy302: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy303; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy303; if (yych <= 'z') goto yy51; } } yy303: #line 89 "ext/rbs_extension/lexer.re" { return next_token(state, kSINGLETON); } #line 2529 "ext/rbs_extension/lexer.c" yy304: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy305; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy305; if (yych <= 'z') goto yy51; } } yy305: #line 93 "ext/rbs_extension/lexer.re" { return next_token(state, kUNCHECKED); } #line 2552 "ext/rbs_extension/lexer.c" yy306: rbs_skip(state); yych = peek(state); if (yych == 's') goto yy309; goto yy52; yy307: rbs_skip(state); yych = peek(state); if (yych == 'r') goto yy310; goto yy52; yy308: rbs_skip(state); yych = peek(state); if (yych == 'r') goto yy312; goto yy52; yy309: rbs_skip(state); yych = peek(state); if (yych == 'o') goto yy314; goto yy52; yy310: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy311; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy311; if (yych <= 'z') goto yy51; } } yy311: #line 69 "ext/rbs_extension/lexer.re" { return next_token(state, kATTRREADER); } #line 2595 "ext/rbs_extension/lexer.c" yy312: rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy313; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy313; if (yych <= 'z') goto yy51; } } yy313: #line 70 "ext/rbs_extension/lexer.re" { return next_token(state, kATTRWRITER); } #line 2618 "ext/rbs_extension/lexer.c" yy314: rbs_skip(state); yych = peek(state); if (yych != 'r') goto yy52; rbs_skip(state); yych = peek(state); if (yych <= '=') { if (yych <= '/') { if (yych == '!') goto yy104; } else { if (yych <= '9') goto yy51; if (yych >= '=') goto yy105; } } else { if (yych <= '^') { if (yych <= '@') goto yy315; if (yych <= 'Z') goto yy51; } else { if (yych == '`') goto yy315; if (yych <= 'z') goto yy51; } } yy315: #line 68 "ext/rbs_extension/lexer.re" { return next_token(state, kATTRACCESSOR); } #line 2644 "ext/rbs_extension/lexer.c" } #line 143 "ext/rbs_extension/lexer.re" }