Ejemplo n.º 1
0
 private void SetCurrentGlobalVariableInfo(string globalVariableName)
 {
     currentGlobalVariableInfo = DTO.GlobalVariableInfoList.Find(global => global.Name == globalVariableName);
 }
Ejemplo n.º 2
0
        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;
        }