Beispiel #1
0
    private void  fromJSONPageData(JSONValue json_value, bool ignore_extras)
    {
        Debug.Assert(json_value != null);
        ClientMatchesJSON convert_classy = ClientMatchesJSON.from_json(json_value, ignore_extras, true);

        setPageData(convert_classy);
    }
Beispiel #2
0
 public void setPageData(ClientMatchesJSON new_value)
 {
     if (flagHasPageData)
     {
     }
     flagHasPageData = true;
     storePageData   = new_value;
 }
        protected void finish()
        {
            Debug.Assert(have_value);
            ClientMatchesJSON result = new ClientMatchesJSON();

            result.initValue();
            int count = value.Count;

            for (int num = 0; num < count; ++num)
            {
                result.appendValue(value[num]);
            }
            handle_result(result);
        }
 protected override void handle_result(ClientMatchesJSON result)
 {
     top.value.Add(result);
 }
        protected override void handle_result(ClientMatchesJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
 protected abstract void handle_result(ClientMatchesJSON new_result);