예제 #1
0
        public CCodeGenerator(CGenModelInterpreter aMdlInterpreter,
                              CGenTokens aTok,
                              CCodeDomBuilder aDom,
                              FileInfo aModelInputFileInfo,
                              FileInfo aIdsInputFileInfo,
                              FileInfo aModelOutputFileInfo,
                              FileInfo aIdsOutputFileInfo)
        {
            this.ModelInterpreter = aMdlInterpreter;
            this.Tok            = aTok;
            this.CodeDomBuilder = aDom;

            this.ModelInputFileInfo       = aModelInputFileInfo;
            this.IdsInputFileInfoNullable = aIdsInputFileInfo;
            this.ModelOutputFileInfo      = aModelOutputFileInfo;
            this.IdsOutputFileInfo        = aIdsOutputFileInfo;

            this.Exp.ChainedExpanders.Add(new CIncludeModelExpander(this.ModelInterpreter));
            this.Exp.ChainedExpanders.Add(new CCrossReferenceExpander(this.ModelInterpreter));
        }
예제 #2
0
 public CCodeDomBuilder(CGenModelInterpreter aIdl, CGenTokens aTok)
 {
     this.Idl = aIdl;
     this.Tok = aTok;
 }
예제 #3
0
 public CGenModelInterpreter(CGenTokens aTok)
 {
     this.Tok = aTok;
 }