BACnet.SchemaParser.Parser._at C# (CSharp) Method

_at() private method

Determines whether the next token has a certain type
private _at ( TokenType type ) : bool
type TokenType The type of token to check for
return bool
        private bool _at(TokenType type)
        {
            var token = _peek();
            return token.Type == type;
        }