public static MmlSemanticTreeSet Compile(MmlTokenSet tokenSet) { var b = new MmlSemanticTreeBuilder (tokenSet); b.Compile (); return b.result; }
public MmlTokenizer(MmlTokenizerSource source) { this.source = source; this.result = new MmlTokenSet (); }
public MmlSemanticTreeBuilder(MmlTokenSet tokenSet) { if (tokenSet == null) throw new ArgumentNullException ("tokenSet"); token_set = tokenSet; result = new MmlSemanticTreeSet () { BaseCount = tokenSet.BaseCount }; }