public SimplePhrase(ProseObject phraseClass, ProseObject[] pattern, ProseObject[] argNames, ProseObject[] value) { this.phraseClass = phraseClass; this.pattern = (ProseObject[]) pattern.Clone(); this.argNames = (ProseObject[]) argNames.Clone (); this.value = (ProseObject[]) value.Clone(); }
// This is reserved for subclasses who want to set value[] themselves and call // replaceWithValueAt in their own evaluate methods. public SimplePhrase(ProseObject phraseClass, ProseObject[] pattern) { this.phraseClass = phraseClass; this.pattern = (ProseObject[]) pattern.Clone(); this.value = null; }