Example #1
0
 public PatternElementInstance(PatternElementType type, string value)
 {
     ElementType   = type;
     InstanceValue = value;
 }
Example #2
0
 public PatternElementInstance(PatternElementType type, PatternInstance subPattern)
 {
     // Assert ElementType == PatternElementType.SubPattern
     ElementType = type;
     SubPattern  = subPattern;
 }
Example #3
0
 // Type Specific Constructors
 public PatternElement(PatternElementType type, string key, bool optional = false)
 {
     Type      = type;
     Key       = key;
     bOptional = optional;
 }