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