コード例 #1
0
 public Parser2(ModelDocument Model, String Project) : base()
 {
     m_Project = Project;
     m_Model   = Model;
     m_Context = new Context();
     m_Evaluators.AddLast(new CmdDecl());
     m_Evaluators.AddLast(new CmdFunctionDecl());
     m_Evaluators.AddLast(new CmdUsing());
     m_Evaluators.AddLast(new CmdInclude());
     m_Evaluators.AddLast(new CmdComment());
     m_Evaluators.AddLast(new CmdInvalid());
 }
コード例 #2
0
 public Parser(ModelDocument Model, String Project)
 {
     m_Project = Project;
     m_Model   = Model;
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="projFile"></param>
 /// <param name="root"></param>
 public Project(string projFile, ProjectItem root)
 {
     ProjectFile = projFile;
     Root        = root;
     m_Model     = new ModelDocument(projFile);
 }