Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExpressionEval

Hierarchy

  • ExpressionCommon
    • ExpressionEval

Index

Properties

Private evaluator

evaluator: evaluator

Accessors

command

  • get command(): Promise<string>

count

  • get count(): number

flags

  • get flags(): string[]

Methods

clone

forEachFlag

  • forEachFlag(f: (name: string, payload: Promise<string>, idx: number) => void): void
  • Parameters

    • f: (name: string, payload: Promise<string>, idx: number) => void
        • (name: string, payload: Promise<string>, idx: number): void
        • Parameters

          • name: string
          • payload: Promise<string>
          • idx: number

          Returns void

    Returns void

getFlag

  • getFlag(flag: string): Promise<string>
  • Parameters

    • flag: string

    Returns Promise<string>

getPositionals

  • getPositionals(): Promise<string[]>

hasFlag

  • hasFlag(flag: string): boolean
  • Parameters

    • flag: string

    Returns boolean

Generated using TypeDoc