/// <summary> /// /// </summary> /// <param name="fileAnalysis">Create Linker for file. To other file can resolve symbol in this file</param> /// <param name="linker"></param> public DefineSymbolPhrase(string fileAnalysis, LinkerScopeCollection linker) { this.linker = linker ?? throw new ArgumentNullException(); this.currentFileAnalysis = fileAnalysis ?? throw new ArgumentNullException(); errorTable = new List <ErrorInformation>(); }
public SemeticAnalysis() { treeWalker = new ParseTreeWalker(); linker = new LinkerScopeCollection(); errorTable = new List <ErrorInformation>(); }