private void SetCurrentGlobalVariableInfo(string globalVariableName) { currentGlobalVariableInfo = DTO.GlobalVariableInfoList.Find(global => global.Name == globalVariableName); }
private void InitHelpers() { addToProgram = true; lastCompiledAssign = null; isOperatorUnaryPrefix = false; isCompilingAssignmentTarget = false; isSelectorsFirstCompile = true; isCurrentCompiledTheMainProgram = true; lazyEvaluationJumpStack = new System.Collections.Generic.Stack<Jump>(); jumpStack = new System.Collections.Generic.Stack<Jump>(); conditionCount = 0; lineLengthList = SourceInfoUtils.FindLineLengths(Source); currentGlobalVariableInfo = null; currentUserDefinedFunctionInfo = null; }