Searched refs:top_obj (Results 1 – 6 of 6) sorted by relevance
120 if (parser->top_obj == NULL) { in ucl_parse_csexp()121 parser->top_obj = st->obj; in ucl_parse_csexp()
2456 if (parser->top_obj == NULL) { in ucl_state_machine()2504 if (parser->top_obj == NULL) { in ucl_state_machine()2518 parser->top_obj = obj; in ucl_state_machine()2696 parser->top_obj, in ucl_state_machine()2708 parser->top_obj, in ucl_state_machine()2756 else if (parser->top_obj) { in ucl_state_machine()2757 ucl_attach_comment(parser, parser->top_obj, true); in ucl_state_machine()3080 if (parser->top_obj == NULL) { in ucl_parser_add_chunk_full()3085 parser->top_obj = ucl_object_new_full(UCL_OBJECT, priority); in ucl_parser_add_chunk_full()3123 if (parser == NULL || parser->top_obj == NULL) { in ucl_parser_insert_chunk()
258 ucl_object_t *top_obj; member
1298 if (ret && parser->top_obj == NULL) { in ucl_parse_msgpack()1299 parser->top_obj = parser->cur_obj; in ucl_parse_msgpack()
592 if (parser->state != UCL_STATE_ERROR && parser->top_obj != NULL) {593 return ucl_object_ref(parser->top_obj);612 if (parser->top_obj != NULL) {613 ucl_object_unref(parser->top_obj);
1005 if (parser && parser->top_obj) { in lua_ucl_parser_validate()1039 if (!ucl_object_validate (schema, parser->top_obj, &err)) { in lua_ucl_parser_validate()