SkipWhitespace() 공개 메소드

public SkipWhitespace ( ) : bool
리턴 bool
예제 #1
0
        public IEnumerable <_64TassToken> Tokenize(string inputLine)
        {
            currentState        = State.BeforeInstruction;
            intructionTokenType = _64TassTokenType.DontKnow;

            var scanner = new _64TassScanner(inputLine);

            while (scanner.SkipWhitespace())
            {
                yield return(GetNextToken(scanner));
            }
        }
예제 #2
0
        public IEnumerable<_64TassToken> Tokenize(string inputLine)
        {
            currentState = State.BeforeInstruction;
            intructionTokenType = _64TassTokenType.DontKnow;

            var scanner = new _64TassScanner(inputLine);

            while (scanner.SkipWhitespace())
            {
                yield return GetNextToken(scanner);
            }
        }