From 8707bd51b0a3e13a6d161612c32db934ca213e89 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Thu, 26 May 2022 15:05:38 -0500 Subject: [PATCH] touchup --- src/lib/phrase-building/render-ap.ts | 2 +- src/lib/phrase-building/render-vp.ts | 4 ++-- src/library.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/phrase-building/render-ap.ts b/src/lib/phrase-building/render-ap.ts index df9b471..14862ce 100644 --- a/src/lib/phrase-building/render-ap.ts +++ b/src/lib/phrase-building/render-ap.ts @@ -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 { +export function renderAPSelection(ap: T.APSelection): T.Rendered { if (ap.type === "sandwich") { return renderSandwich(ap); } diff --git a/src/lib/phrase-building/render-vp.ts b/src/lib/phrase-building/render-vp.ts index 5eff791..16ba142 100644 --- a/src/lib/phrase-building/render-vp.ts +++ b/src/lib/phrase-building/render-vp.ts @@ -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); }); } diff --git a/src/library.ts b/src/library.ts index d282a23..f220446 100644 --- a/src/library.ts +++ b/src/library.ts @@ -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,