protected void type_name( DefinitionBase definition ) //throws RecognitionException, TokenStreamException { TypeReference tr = null; try { // for error handling tr=type_name_def(); definition.TypeReference = tr; } catch (RecognitionException ex) { reportError(ex); consume(); consumeUntil(tokenSet_6_); } }