예제 #1
0
 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();
 }
예제 #2
0
 //    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;
 }