예제 #1
0
 protected bool InitializeCompiler(string codeText, Func <string, LanguageCompilationLog, ParseTreeNode> parsingFunction, GMacRefResContextInfo scopeInfo)
 {
     return
         (scopeInfo.HasOpenedScopes
         ? InitializeCompiler(codeText, parsingFunction, scopeInfo.MainScope, scopeInfo.OpenedScopes)
         : InitializeCompiler(codeText, parsingFunction, scopeInfo.MainScope));
 }
예제 #2
0
 public GMacDynamicCompiler()
 {
     RefResContext = new GMacRefResContextInfo();
 }
예제 #3
0
 public GMacTempSymbolCompiler()
 {
     CompiledMacros     = new Dictionary <string, AstMacro>();
     CompiledStructures = new Dictionary <string, AstStructure>();
     RefResContext      = new GMacRefResContextInfo();
 }