static int next ( ) throws Exception {
  in . nextToken ( ) ;
  return ( int ) in . nval ;
}

static int next ( ) throws Exception { in . nextToken ( ) ; return ( int ) in . nval ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters) (throws (type_identifier)) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (return_statement (cast_expression type: (integral_type) value: (field_access object: (identifier) field: (identifier))))))