/**
  * Parses the adaptation list of the given use statement or simply reads
  * the terminating semicolon, when no adaptation list exists.
  *
  * @param \PDepend\Source\AST\ASTTraitUseStatement $useStatement The parent use
  *
  * @return \PDepend\Source\AST\ASTTraitUseStatement
  * @since  1.0.0
  */
 private function parseOptionalTraitAdaptation(\PDepend\Source\AST\ASTTraitUseStatement $useStatement)
 {
     $this->consumeComments();
     if (Tokens::T_CURLY_BRACE_OPEN === $this->tokenizer->peek()) {
         $useStatement->addChild($this->parseTraitAdaptation());
     } else {
         $this->consumeToken(Tokens::T_SEMICOLON);
     }
     return $useStatement;
 }
 /**
  * testTraitUseStatementInTraitHasExpectedEndColumn
  *
  * @param \PDepend\Source\AST\ASTTraitUseStatement $stmt
  *
  * @return void
  * @depends testTraitUseStatementInTrait
  */
 public function testTraitUseStatementInTraitHasExpectedEndColumn($stmt)
 {
     $this->assertEquals(19, $stmt->getEndColumn());
 }