Interface attribute

Datatype representing an attribute

Remark

Attributes can be specified with the ~ keyword

Example

This is an example with the reverse attribute

A + B * C ~r

Hierarchy

  • attribute

Properties

Properties

action: ((app: CLI, currentLine: number, char: string) => void)

Type declaration

    • (app: CLI, currentLine: number, char: string): void
    • The action the attribute performs, acting upon the CLI instance

      Parameters

      • app: CLI
      • currentLine: number
      • char: string

      Returns void

char: string

The attribute character

type: string

The attribute's type

Generated using TypeDoc