Example #1
0
        /// <inheritdoc />
        public void Reset()
        {
            currentState = new GlobalBodyState(this);
            conditionalSymbols.Clear();
            ifDirectiveEvalResults.Clear();
            ifDirectiveIndents.Clear();

            offset                          = 0;
            line                            = 1;
            column                          = 1;
            isLineStart                     = true;
            currentChar                     = '\0';
            previousChar                    = '\0';
            currentIndent.Length            = 0;
            lineBeganInsideMultiLineComment = false;
            lineBeganInsideVerbatimString   = false;
        }
Example #2
0
 public void Reset()
 {
     curIndent    = 0;
     indentString = "";
     indentStack.Clear();
 }