summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/model/ValueArgument.scala
blob: f712869a4b7707c3abeb612a6edacce592ee30b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* NSC -- new Scala compiler
 * Copyright 2007-2013 LAMP/EPFL
 * @author Gilles Dubochet
 */

package scala.tools.nsc
package doc
package model


/** A value that is passed as an argument to a value parameter. */
trait ValueArgument {

  /** The parameter as argument to which this value is passed, if it is known. */
  def parameter: Option[ValueParam]

  /** The expression that calculates the value. */
  def value: TreeEntity

}