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