Home | History | Annotate | Download | only in js

Lines Matching full:clause

3813       // build initial set of resources from first clause
3945 // Break expression into clauses (clause e.g. 'tag:foo')
3951 // Get attribute and value from clause (e.g. attribute='tag', value='foo')
3953 var clause = {};
3955 clause.attr = parts[0].replace(/^\s+|\s+$/g,'');
3956 if (clause.attr) {
3957 if (clause.attr.charAt(0) == '+') {
3958 clause.attr = clause.attr.substring(1);
3959 } else if (clause.attr.charAt(0) == '-') {
3960 clause.negative = true;
3961 clause.attr = clause.attr.substring(1);
3966 clause.value = parts[1].replace(/^\s+|\s+$/g,'');
3969 clauses.push(clause);