/*Specify an object with support code (shared by * Parser and TreeParser. Normally, the programmer * does not play with this, using setASTNodeType instead. */ public virtual void setASTFactory(ASTFactory f) { astFactory = f; }
public static void initializeASTFactory( ASTFactory factory ) { factory.setMaxNodeType(71); }
private void initializeFactory() { if (astFactory == null) { astFactory = new ASTFactory("Solenoid.Expressions.SerializableNode"); } initializeASTFactory( astFactory ); }
/// <summary> /// Specify an object with support code (shared by Parser and TreeParser. /// Normally, the programmer does not play with this, using /// <see cref="setASTNodeClass"/> instead. /// </summary> /// <param name="f"></param> public virtual void setASTFactory(ASTFactory f) { astFactory = f; }