void OnIndex(Token token) { var number = token as NumberToken; System.Diagnostics.Debug.Assert(token.Type == TokenType.T_NUMBER); System.Diagnostics.Debug.Assert(number != null); var index = (int)number.Value; generator_.OnIndex(index); }
void OnIndex(Token token) { var number = token as NumberToken; System.Diagnostics.Debug.Assert(token.Type == TokenType.T_NUMBER); System.Diagnostics.Debug.Assert(number != null); var index = (int)number.Value; generator_.OnIndex(index); }