public abstract class MixedParser extends Object implements Parser
Includes a facility for optimizing a collection of executable segments, which combines adjacent segments of the same type into single segments, and creates all necessary programs.
Constructor and Description |
---|
MixedParser() |
Modifier and Type | Method and Description |
---|---|
Collection<ExecutableSegment> |
optimize(Collection<ExecutableSegment> segments,
ParsingContext parsingContext,
Executable executable) |
public Collection<ExecutableSegment> optimize(Collection<ExecutableSegment> segments, ParsingContext parsingContext, Executable executable) throws ParsingException, DocumentException
ParsingException
DocumentException
Copyright © 2009-2015 Three Crickets LLC.