private int? TryParseInteger() { Token token = this.NextToken(); if (token == null) return null; if (token.Type == TokenType.Integer) return Convert.ToInt32(token.Value); this.PushToken(token); return null; }