public static LogicalOperator Create(string keyword) { var lop = new LogicalOperator(); lop.Stack.AddLast(Keyword.Create(keyword)); return(lop); }
public static LogicalOperator Create(string keyword) { var lop = new LogicalOperator(); lop.Stack.AddLast(Keyword.Create(keyword)); return lop; }
public static SearchCondition Create(SearchConditionBrackets br, LogicalOperator op, SearchCondition sc) { var nsc = new SearchCondition(); // TODO: add whitespaces here nsc.Stack.AddLast(br); nsc.Stack.AddLast(Whitespace.Create()); nsc.Stack.AddLast(op); nsc.Stack.AddLast(Whitespace.Create()); nsc.Stack.AddLast(sc); return(nsc); }