public override void Apply() { switch (Dependent) { case NounBuilder nounDependent: switch (Governor) { case NounBuilder nounGovernor: if (nounDependent.IsObjectOfPreposition) { PrepositionBuilder prepositionGoverningDependent = nounDependent.GoverningPreposition; PrepositionalPhraseBuilder phraseOfGoverningPreposition = prepositionGoverningDependent.ParentPrepositionalPhrase; phraseOfGoverningPreposition.Modify(nounGovernor); } break; default: break; } break; default: break; } }
internal PrepositionalPhraseProperties(PrepositionalPhraseBuilder ppb) : base(ppb) { Model = ppb; }