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));
 }
Beispiel #2
0
 public GMacDynamicCompiler()
 {
     RefResContext = new GMacRefResContextInfo();
 }
Beispiel #3
0
 public GMacTempSymbolCompiler()
 {
     CompiledMacros     = new Dictionary <string, AstMacro>();
     CompiledStructures = new Dictionary <string, AstStructure>();
     RefResContext      = new GMacRefResContextInfo();
 }