Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A wrapper around an in-order collection of symbols. A Criteria is generated from the completion of a state machine that comprises a builder.

Code Block
// When the Shunting-yard alg encounters an embedded Criteria, it should add a open paren then add all the symbols from the criteria and finally add a closing paren
public class Criteria implements Symbol {
	public static Builder builder() {
		return new StartState(new Criteria());
	}
	private final List<Symbol> symbols = Lists.newArrayList();
	protected Criteria();
	protected void addSymbol(Symbol symbol);  
}

...