Package

com.xiaomi.duckling.dimension

numeral

Permalink

package numeral

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. numeral
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DoubleSideIntervalValue(left: Double, right: Double, leftType: IntervalType = IntervalType.Closed, rightType: IntervalType = IntervalType.Open) extends IntervalValue with Product with Serializable

    Permalink

    区间,默认左闭右开

  2. trait IntervalValue extends ResolvedValue

    Permalink
  3. case class NumeralData(value: Double, grain: Option[Int] = None, multipliable: Boolean = false, sequence: Option[String] = None, composable: Boolean = true, precision: Int = 0) extends Resolvable with Product with Serializable

    Permalink
  4. class NumeralOptions extends AnyRef

    Permalink

    数字解析的额外参数,控制一些可选行为

  5. type NumeralProd = PartialFunction[(NumeralOptions, List[Token]), Option[Token]]

    Permalink
  6. case class NumeralValue(n: Double, precision: Int = 0) extends IntervalValue with Product with Serializable

    Permalink
  7. case class OpenIntervalValue(start: Double, direction: IntervalDirection) extends IntervalValue with Product with Serializable

    Permalink

    开区间

  8. trait Rules extends DimRules

    Permalink

Value Members

  1. val CNDigit: String

    Permalink
  2. val CapitalCNDigit: String

    Permalink
  3. object Numeral extends Dimension with Rules with Product with Serializable

    Permalink
  4. object Predicates

    Permalink
  5. object Prods

    Permalink
  6. package fraction

    Permalink
  7. package interval

    Permalink
  8. package multiple

    Permalink
  9. def opt(nopt: NumeralProd): Production

    Permalink
  10. package seq

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped