Example #1
0
 public ParsedComparisonExpression(ParsedComparisonCriteria criteria,
                                   ParsedElement left,
                                   ParsedElement right)
 {
     this.criteria = criteria;
     this.Left     = left;
     this.Right    = right;
 }
Example #2
0
        ParsedElement BuildElement(ParsedElements attrs, ParsedElement value)
        {
            if (value is ParsedElements)
            {
                foreach (var result2 in ((ParsedElements)value).Values)
                {
                    BuildElement(attrs, result2);
                }
            }
            else
            {
                if (value == null)
                {
                    throw new NullReferenceException();
                }

                attrs.Values.Add(value);
            }
            return(attrs);
        }
Example #3
0
 public NParsedAttributeColon(ParsedElement left, ParsedElement right)
 {
     Left  = left;
     Right = right;
 }
Example #4
0
 public NParsedAttributeAtomic(ParsedElement value)
 {
     Value = value;
 }
Example #5
0
 public NParsedAttributeBracket(ParsedElement item, ParsedElement parameter)
 {
     Item      = item;
     Parameter = parameter;
 }