Home
last modified time | relevance | path

Searched refs:NODE_IDENTIFIER_EXPR (Results 1 – 5 of 5) sorted by relevance

/dports/lang/gravity/gravity-0.8.5/src/compiler/
H A Dgravity_semacheck2.c43 #define ISA_IDENTIFIER(n1) (((gnode_t *)n1)->tag == NODE_IDENTIFIER_EXPR)
394 case NODE_IDENTIFIER_EXPR: { in is_expression_valid()
480 …bool result = ((tag == NODE_IDENTIFIER_EXPR) || (tag == NODE_FILE_EXPR) || (tag == NODE_POSTFIX_EX… in check_assignment_expression()
668 …e_check = (NODE_ISA(node->cond, NODE_VARIABLE_DECL) || NODE_ISA(node->cond, NODE_IDENTIFIER_EXPR)); in visit_loop_stmt()
693 if (NODE_ISA(node->cond, NODE_IDENTIFIER_EXPR)) { in visit_loop_stmt()
1033 if (ISA(node->id, NODE_IDENTIFIER_EXPR)) { in visit_postfix_expr()
1047 …if (!ISA(subnode->expr, NODE_IDENTIFIER_EXPR)) {REPORT_ERROR(subnode, "Invalid enum expression.");… in visit_postfix_expr()
1088 if (ISA(node->id, NODE_IDENTIFIER_EXPR)) { in visit_postfix_expr()
1133 …if (!ISA(subnode->expr, NODE_IDENTIFIER_EXPR)) REPORT_ERROR(subnode->expr, "Invalid access express… in visit_postfix_expr()
H A Dgravity_visitor.c55 case NODE_IDENTIFIER_EXPR: VISIT(identifier_expr); in gvisit()
H A Dgravity_ast.c363 SETBASE(node, NODE_IDENTIFIER_EXPR, token); in gnode_identifier_expr_create()
486 if (NODE_ISA(node, NODE_IDENTIFIER_EXPR)) { in gnode_duplicate()
520 if (NODE_ISA(node, NODE_IDENTIFIER_EXPR)) return ((gnode_identifier_expr_t *)node)->value; in gnode_identifier()
H A Dgravity_ast.h30 …ARY_EXPR, NODE_UNARY_EXPR, NODE_FILE_EXPR, NODE_LIST_EXPR, NODE_LITERAL_EXPR, NODE_IDENTIFIER_EXPR, enumerator
H A Dgravity_codegen.c43 #define IS_IMPLICIT_SELF(_expr) (NODE_ISA(_expr, NODE_IDENTIFIER_EXPR) && …
235 if (NODE_ISA(node, NODE_IDENTIFIER_EXPR)) { in node2index()
298 if (node && NODE_ISA(node, NODE_IDENTIFIER_EXPR)) { in node_is_closure()
332 …if ((NODE_ISA(node, NODE_IDENTIFIER_EXPR) && ((gnode_identifier_expr_t *)node)->location.type == L… in compute_self_register()