Class SMTLibTokenizer

java.lang.Object
org.sosy_lab.java_smt.basicimpl.SMTLibTokenizer
All Implemented Interfaces:
Iterable<String>

public final class SMTLibTokenizer extends Object implements Iterable<String>
Helper class for splitting up an SMT-LIB2 file into a string of commands.

This is not a full SMTLIB parser, but only provides basic support for SMTLIB commands.

Use this class as an Iterable, or the Iterator with iterator() to turn an SMT-LIB2 script into a string of input tokens efficiently. Alternatively, a ImmutableList of all tokens can be created with toImmutableList().