Lines Matching refs:tre_ast_new_literal
154 tre_ast_new_literal(tre_mem_t mem, int code_min, int code_max, int position)
760 tre_ast_node_t *n = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
815 node = tre_ast_new_literal(ctx->mem, ASSERTION, ASSERT_AT_WB, -1);
818 node = tre_ast_new_literal(ctx->mem, ASSERTION, ASSERT_AT_WB_NEG, -1);
821 node = tre_ast_new_literal(ctx->mem, ASSERTION, ASSERT_AT_BOW, -1);
824 node = tre_ast_new_literal(ctx->mem, ASSERTION, ASSERT_AT_EOW, -1);
845 node = tre_ast_new_literal(ctx->mem, v, v, ctx->position++);
858 node = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
867 node = tre_ast_new_literal(ctx->mem, BACKREF, val, ctx->position++);
880 tmp1 = tre_ast_new_literal(ctx->mem, 0, '\n'-1, ctx->position++);
881 tmp2 = tre_ast_new_literal(ctx->mem, '\n'+1, TRE_CHAR_MAX, ctx->position++);
887 node = tre_ast_new_literal(ctx->mem, 0, TRE_CHAR_MAX, ctx->position++);
895 node = tre_ast_new_literal(ctx->mem, ASSERTION, ASSERT_AT_BOL, -1);
902 node = tre_ast_new_literal(ctx->mem, ASSERTION, ASSERT_AT_EOL, -1);
916 node = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
926 tmp1 = tre_ast_new_literal(ctx->mem, tre_toupper(wc), tre_toupper(wc), ctx->position);
927 tmp2 = tre_ast_new_literal(ctx->mem, tre_tolower(wc), tre_tolower(wc), ctx->position);
933 node = tre_ast_new_literal(ctx->mem, wc, wc, ctx->position);
984 ctx->n = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
1034 ctx->n = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
1112 c->left = tre_ast_new_literal(mem, TAG, tag_id, -1);
1143 c->right = tre_ast_new_literal(mem, TAG, tag_id, -1);
1744 *result = tre_ast_new_literal(mem, min, max, pos);
1974 tmp = tre_ast_new_literal(mem, EMPTY, -1, -1);
2798 tmp_ast_r = tre_ast_new_literal(mem, 0, 0, parse_ctx.position++);