Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Fruit

Hierarchy

Index

Constructors

constructor

  • new Fruit(): Fruit
  • new Fruit(...args: any[]): Fruit

Properties

options

options: ConfigOptions

raw

raw: string

valid

valid: boolean = false

Accessors

__@toStringTag

  • get __@toStringTag(): string

Methods

absorb

  • absorb(prop: string, value: string): this
  • absorb(decl: decl): this
  • absorb(decls: Array<decl>): this

analyze

  • analyze(stem: Stem): void

parse

  • parse(value: string): Fruit | string

toResult

  • toResult(): Fruit | string

toString

  • toString(complete?: boolean): string
  • Parameters

    • Optional complete: boolean

    Returns string

Static absorb

Static config

Static parse

  • parse(value: string): Fruit | string

Static validate

  • validate(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Generated using TypeDoc