public ASTParser(ASTListFactory factory) { Factory = factory; }
public static ASTParserBuilder ASTNode(ASTListFactory factory, string pn) => new ASTParserBuilder(factory, new NameParserGetter(pn));
public ASTParserBuilder(ASTListFactory factory, IParserGetter parserGetter) { Factory = factory; ParserGetter = parserGetter; }
// ASTParserBuilder public static ASTParserBuilder ASTNode(ASTListFactory factory, IParserGetter pg) => new ASTParserBuilder(factory, pg);