"use strict";
// -*- mode: js; indent-tabs-mode: nil; js-basic-offset: 4 -*-
//
// This file is part of Genie
//
// Copyright 2019-2020 The Board of Trustees of the Leland Stanford Junior University
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Author: Silei Xu <silei@cs.stanford.edu>
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const C = __importStar(require("../ast_manip"));
async function default_1($runtime, $ttUtils, $options, $locale, $grammar, $loader) {
    $grammar.declareSymbol("who_complete_table");
    $grammar.addRule("who_complete_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.declareSymbol("who_with_filtered_table");
    if (!$options.flags.always_filter) {
        $grammar.addRule("who_with_filtered_table", [new $runtime.NonTerminal("who_complete_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    }
    $grammar.addRule("who_with_filtered_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_with_filtered_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_with_filtered_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_with_filtered_table", [new $runtime.NonTerminal("who_two_with_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_with_filtered_table", [new $runtime.NonTerminal("who_two_which_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_with_filtered_table", [new $runtime.NonTerminal("who_two_clean_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.declareSymbol("who_one_with_filter_table");
    $grammar.declareSymbol("who_one_which_filter_table");
    $grammar.declareSymbol("who_one_clean_filter_table");
    $grammar.declareSymbol("who_two_with_filter_table");
    $grammar.declareSymbol("who_two_which_filter_table");
    $grammar.declareSymbol("who_two_clean_filter_table");
    if (!$loader.flags.nofilter) {
        $grammar.declareSymbol("who_one_with_filter_table");
        $grammar.addRule("who_one_with_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["with", "having"]), new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_with_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["with", "having"]), new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_one_which_filter_table");
        $grammar.addRule("who_one_which_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_which_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["which", "that"]), new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_which_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_which_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_which_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_which_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_one_clean_filter_table");
        $grammar.addRule("who_one_clean_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_clean_filter_table", [new $runtime.NonTerminal("thingpedia_who_question", undefined), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_two_with_filter_table");
        $grammar.addRule("who_two_with_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), "and", new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_with_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), new $runtime.Choice(["and having", "and with", ", with"]), new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_with_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["with", "having"]), new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_with_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), "and", new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_with_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), new $runtime.Choice(["and having", "and with", ", with"]), new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_with_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["with", "having"]), new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_two_which_filter_table");
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_with_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), "and", new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_which_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_which_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["which", "that"]), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_two_clean_filter_table");
        $grammar.addRule("who_two_clean_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["and", ""]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_clean_filter_table", [new $runtime.NonTerminal("who_one_clean_filter_table", undefined), new $runtime.Choice(["and", ""]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
    }
    $grammar.declareSymbol("who_verb_filtered_table");
    $grammar.addRule("who_verb_filtered_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_verb_filtered_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_verb_filtered_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_verb_filtered_table", [new $runtime.NonTerminal("who_two_be_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_verb_filtered_table", [new $runtime.NonTerminal("who_two_have_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.addRule("who_verb_filtered_table", [new $runtime.NonTerminal("who_two_verb_filter_table", undefined)], (($0) => { return $0; }), C.expressionKeyFn, { identity: (true) });
    $grammar.declareSymbol("who_one_be_filter_table");
    $grammar.declareSymbol("who_one_have_filter_table");
    $grammar.declareSymbol("who_one_verb_filter_table");
    $grammar.declareSymbol("who_two_be_filter_table");
    $grammar.declareSymbol("who_two_have_filter_table");
    $grammar.declareSymbol("who_two_verb_filter_table");
    $grammar.declareSymbol("whose_filtered_table");
    if (!$loader.flags.nofilter) {
        $grammar.declareSymbol("who_one_be_filter_table");
        if ($options.flags.turking) {
            $grammar.addRule("who_one_be_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        }
        $grammar.addRule("who_one_be_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_be_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_be_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        if ($options.flags.turking) {
            $grammar.addRule("who_one_be_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        }
        if (!$options.flags.turking) {
            $grammar.addRule("who_one_be_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["is", "are"]), new $runtime.Choice(["", "a", "the", "an"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        }
        if (!$options.flags.turking) {
            $grammar.addRule("who_one_be_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["is", "are"]), new $runtime.Choice(["", "a", "the", "an"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        }
        $grammar.declareSymbol("who_one_have_filter_table");
        $grammar.addRule("who_one_have_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["get", "have", "gets", "has"]), new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_one_have_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.Choice(["get", "have", "gets", "has"]), new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_one_verb_filter_table");
        $grammar.addRule("who_one_verb_filter_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_two_be_filter_table");
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npi_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("pvp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("preposition_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("apv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_be_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.Choice(["is", "are"]), new $runtime.NonTerminal("npv_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_two_have_filter_table");
        $grammar.addRule("who_two_have_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.Choice(["get", "have", "gets", "has"]), new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_have_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_have_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.Choice(["get", "have", "gets", "has"]), new $runtime.NonTerminal("with_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_have_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.Choice(["get", "have", "gets", "has"]), new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_have_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_have_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.Choice(["get", "have", "gets", "has"]), new $runtime.NonTerminal("npp_filter", ["functionName", 0, "functionName"])], ((table, $0, $1, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("who_two_verb_filter_table");
        $grammar.addRule("who_two_verb_filter_table", [new $runtime.NonTerminal("who_one_be_filter_table", undefined), "and", new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_verb_filter_table", [new $runtime.NonTerminal("who_one_have_filter_table", undefined), "and", new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.addRule("who_two_verb_filter_table", [new $runtime.NonTerminal("who_one_verb_filter_table", undefined), "and", new $runtime.NonTerminal("avp_filter", ["functionName", 0, "functionName"])], ((table, $0, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
        $grammar.declareSymbol("whose_filtered_table");
        $grammar.addRule("whose_filtered_table", [new $runtime.NonTerminal("who_complete_table", undefined), new $runtime.NonTerminal("whose_npp_filter", ["functionName", 0, "functionName"])], ((table, filter) => C.addFilter(table, filter)), C.expressionKeyFn, {});
    }
}
exports.default = default_1;
;
//# sourceMappingURL=who_questions.genie.js.map