This commit is contained in:
lingdocs 2022-05-26 15:05:38 -05:00
parent 2e3fe46c08
commit 8707bd51b0
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ import * as T from "../../types";
import { renderAdverbSelection } from "./render-ep";
import { renderSandwich } from "./render-sandwich";
export function renderAP(ap: T.APSelection): T.Rendered<T.APSelection> {
export function renderAPSelection(ap: T.APSelection): T.Rendered<T.APSelection> {
if (ap.type === "sandwich") {
return renderSandwich(ap);
}

View File

@ -23,7 +23,7 @@ import { renderEnglishVPBase } from "./english-vp-rendering";
import { personGender } from "../../lib/misc-helpers";
import { renderNPSelection } from "./render-np";
import { getObjectSelection, getSubjectSelection } from "./blocks-utils";
import { renderAP } from "./render-ap";
import { renderAPSelection } from "./render-ap";
// TODO: ISSUE GETTING SPLIT HEAD NOT MATCHING WITH FUTURE VERBS
@ -91,7 +91,7 @@ function renderVPBlocks(blocks: T.VPSBlockComplete[], config: {
selection,
};
}
return renderAP(block);
return renderAPSelection(block);
});
}

View File

@ -144,7 +144,7 @@ import {
compileVP,
} from "./lib/phrase-building/compile";
import {
renderAP,
renderAPSelection,
} from "./lib/phrase-building/render-ap";
import NPPicker from "./components/np-picker/NPPicker";
import EPExplorer from "./components/ep-explorer/EPExplorer";
@ -222,7 +222,7 @@ export {
renderNPSelection,
getEnglishFromRendered,
getPashtoFromRendered,
renderAP,
renderAPSelection,
// protobuf helpers
readDictionary,
writeDictionary,