Lines Matching defs:kind
110 while (((tokenKind = lexer_.PeekToken().kind) != TokenType::END_OF_FILE) && ret) {
138 if (token.kind == TokenType::COMMENT_BLOCK) {
150 if (token.kind != TokenType::PACKAGE) {
158 if (token.kind != TokenType::ID) {
168 if (token.kind != TokenType::SEMICOLON) {
216 if (token.kind != TokenType::INTERFACE_TOKEN) {
223 if (token.kind != TokenType::ID) {
233 if (token.kind != TokenType::SEMICOLON) {
252 if (token.kind != TokenType::SUPPORT_DELEGATOR) {
259 if (token.kind != TokenType::ID) {
269 if (token.kind != TokenType::SEMICOLON) {
288 TokenType kind = token.kind;
293 if (token.kind != TokenType::ID) {
300 if (kind == TokenType::IMPORT) {
309 if (token.kind != TokenType::SEMICOLON) {
382 switch (token.kind) {
411 switch (token.kind) {
426 lexer_.SkipToken(token.kind);
436 if (token.kind != TokenType::BRACKETS_LEFT) {
438 lexer_.SkipToken(token.kind);
445 while (token.kind != TokenType::BRACKETS_RIGHT && token.kind != TokenType::END_OF_FILE) {
451 if (token.kind == TokenType::COMMA) {
457 if (token.kind == TokenType::BRACKETS_RIGHT) {
472 switch (token.kind) {
521 } else if (token.kind == TokenType::ID) {
536 if (token.kind != TokenType::ID) {
554 if (token.kind == TokenType::SEMICOLON) {
572 switch (attr.kind) {
645 if (token.kind != TokenType::BRACES_LEFT) {
653 while (token.kind != TokenType::BRACES_RIGHT && token.kind != TokenType::END_OF_FILE) {
661 if (token.kind != TokenType::BRACES_RIGHT) {
669 if (token.kind == TokenType::SEMICOLON) {
687 if (token.kind != TokenType::ID) {
700 if (token.kind != TokenType::SEMICOLON) {
728 if (token.kind == TokenType::ID && ast_->FindType(token.value) == nullptr) {
732 if (CheckBasicType(token) || CheckUserDefType(token) || token.kind == TokenType::LIST ||
733 token.kind == TokenType::MAP || token.kind == TokenType::SMQ) {
741 if (lexer_.PeekToken().kind != TokenType::BRACKETS_LEFT) {
749 switch (attr.kind) {
825 if (token.kind != TokenType::PARENTHESES_LEFT) {
833 if (token.kind == TokenType::PARENTHESES_RIGHT) {
839 while (token.kind != TokenType::PARENTHESES_RIGHT && token.kind != TokenType::END_OF_FILE) {
849 if (token.kind == TokenType::COMMA) {
852 if (token.kind == TokenType::PARENTHESES_RIGHT) {
859 if (token.kind == TokenType::PARENTHESES_RIGHT) {
877 if (token.kind != TokenType::ID) {
904 while (token.kind != TokenType::BRACKETS_RIGHT && token.kind != TokenType::END_OF_FILE) {
909 if (token.kind == TokenType::COMMA) {
916 if (token.kind != TokenType::BRACKETS_RIGHT) {
918 while (token.kind != TokenType::COMMA && token.kind != TokenType::PARENTHESES_RIGHT &&
919 token.kind != TokenType::END_OF_FILE) {
937 if (token.kind != TokenType::BRACKETS_LEFT) {
939 while (token.kind != TokenType::COMMA && token.kind != TokenType::PARENTHESES_RIGHT &&
940 token.kind != TokenType::END_OF_FILE) {
952 switch (token.kind) {
979 switch (token.kind) {
1003 while (lexer_.PeekToken().kind == TokenType::BRACKETS_LEFT) {
1011 switch (token.kind) {
1038 if (token.kind == TokenType::UNSIGNED) {
1054 switch (token.kind) {
1075 if (token.kind != TokenType::BRACKETS_RIGHT) {
1100 if (token.kind != TokenType::ANGLE_BRACKETS_LEFT) {
1113 if (token.kind != TokenType::ANGLE_BRACKETS_RIGHT) {
1134 if (token.kind != TokenType::ANGLE_BRACKETS_LEFT) {
1148 if (token.kind != TokenType::COMMA) {
1162 if (token.kind != TokenType::ANGLE_BRACKETS_RIGHT) {
1184 if (token.kind != TokenType::ANGLE_BRACKETS_LEFT) {
1197 if (token.kind != TokenType::ANGLE_BRACKETS_RIGHT) {
1212 switch (token.kind) {
1227 if (token.kind == TokenType::ID) {
1232 if (token.kind != TokenType::ID) {
1250 if (token.kind != TokenType::ID) {
1258 if (token.kind == TokenType::COLON || token.kind == TokenType::BRACES_LEFT) {
1266 if (token.kind != TokenType::BRACES_RIGHT) {
1274 if (token.kind != TokenType::SEMICOLON) {
1289 if (token.kind != TokenType::COLON) {
1316 if (token.kind != TokenType::BRACES_LEFT) {
1325 while (lexer_.PeekToken().kind == TokenType::ID) {
1330 if (token.kind == TokenType::ASSIGN) {
1341 if (token.kind == TokenType::COMMA) {
1346 if (token.kind != TokenType::BRACES_RIGHT) {
1359 if (token.kind != TokenType::ID) {
1367 if (token.kind == TokenType::COLON) {
1370 } else if (token.kind != TokenType::BRACES_LEFT) {
1379 if (token.kind != TokenType::BRACES_RIGHT) {
1386 if (token.kind != TokenType::SEMICOLON) {
1413 if (token.kind != TokenType::BRACES_LEFT) {
1423 while (token.kind != TokenType::BRACES_RIGHT && token.kind != TokenType::END_OF_FILE) {
1432 if (token.kind != TokenType::ID) {
1444 if (token.kind == TokenType::SEMICOLON) {
1450 if (token.kind != TokenType::BRACES_RIGHT) {
1463 if (token.kind != TokenType::ID) {
1471 if (token.kind != TokenType::BRACES_LEFT) {
1480 if (token.kind != TokenType::BRACES_RIGHT) {
1487 if (token.kind != TokenType::SEMICOLON) {
1500 while (token.kind != TokenType::BRACES_RIGHT && token.kind != TokenType::END_OF_FILE) {
1509 if (token.kind != TokenType::ID) {
1524 if (token.kind == TokenType::SEMICOLON) {
1530 if (token.kind != TokenType::BRACES_RIGHT) {
1558 switch (token.kind) {
1594 while (token.kind == TokenType::AND) {
1611 while (token.kind == TokenType::XOR) {
1628 while (token.kind == TokenType::OR) {
1645 while (token.kind == TokenType::LEFT_SHIFT || token.kind == TokenType::RIGHT_SHIFT) {
1647 BinaryOpKind op = (token.kind == TokenType::LEFT_SHIFT) ? BinaryOpKind::LSHIFT : BinaryOpKind::RSHIFT;
1663 while (token.kind == TokenType::ADD || token.kind == TokenType::SUB) {
1665 BinaryOpKind op = (token.kind == TokenType::ADD) ? BinaryOpKind::ADD : BinaryOpKind::SUB;
1682 token.kind == TokenType::STAR || token.kind == TokenType::SLASH || token.kind == TokenType::PERCENT_SIGN) {
1685 if (token.kind == TokenType::SLASH) {
1687 } else if (token.kind == TokenType::PERCENT_SIGN) {
1704 switch (token.kind) {
1711 if (token.kind == TokenType::SUB) {
1713 } else if (token.kind == TokenType::TILDE) {
1728 switch (token.kind) {
1733 if (token.kind != TokenType::PARENTHESES_RIGHT) {
1926 if (token.kind != TokenType::EXTENDS) {
1931 if (token.kind != TokenType::ID) {