public bool testSpecificHomoCreate() { factory = new ASTFactory(); factory.setASTNodeType("MyAST"); AST t = factory.create(); factory.setASTNodeType("antlr.CommonAST"); // put it back return checkNode(t, typeof(MyAST), Token.INVALID_TYPE); }
public bool testSpecificHomoCreate() { factory = new ASTFactory(); factory.setASTNodeType("MyAST"); AST t = factory.create(); factory.setASTNodeType("antlr.CommonAST"); // put it back return(checkNode(t, typeof(MyAST), Token.INVALID_TYPE)); }
/// <summary> /// Specify the type of node to create during tree building. /// </summary> /// <param name="cl">Fully qualified AST Node type name.</param> public virtual void setASTNodeClass(string cl) { astFactory.setASTNodeType(cl); }
/*Specify the type of node to create during tree building */ public virtual void setASTNodeClass(string nodeType) { astFactory.setASTNodeType(nodeType); }