Home
last modified time | relevance | path

Searched refs:TOK_OP_OPEN_SQUAREBRACKET (Results 1 – 4 of 4) sorted by relevance

/dports/lang/gravity/gravity-0.8.5/src/compiler/
H A Dgravity_token.c107 case TOK_OP_OPEN_SQUAREBRACKET: return "["; in token_name()
313 (token == TOK_OP_OPEN_PARENTHESIS) || (token == TOK_OP_OPEN_SQUAREBRACKET) || in token_isprimary_expression()
H A Dgravity_token.h86TOK_OP_OPEN_SQUAREBRACKET, TOK_OP_CLOSED_SQUAREBRACKET, TOK_OP_OPEN_CURLYBRACE, TOK_OP_CLOSED_CURL… enumerator
H A Dgravity_parser.c535 parse_required(parser, TOK_OP_OPEN_SQUAREBRACKET); in parse_list_expression()
990 if (tok == TOK_OP_OPEN_SQUAREBRACKET) { in parse_postfix_expression()
1017 …if ((peek != TOK_OP_OPEN_SQUAREBRACKET) && (peek != TOK_OP_OPEN_PARENTHESIS) && (peek != TOK_OP_DO… in parse_postfix_expression()
1030 return parse_postfix_expression(parser, TOK_OP_OPEN_SQUAREBRACKET); in parse_postfix_subscript()
1175 …rules[TOK_OP_OPEN_SQUAREBRACKET] = RULE(PREC_CALL, parse_list_expression, parse_postfix_subscript); in init_grammer_rules()
H A Dgravity_lexer.c487 tok = TOK_OP_OPEN_SQUAREBRACKET; in lexer_scan_operator()