Options
All
  • Public
  • Public/Protected
  • All
Menu

The set of Unixorn system calls.

Hierarchy

  • UnixornKernel

Index

Properties

clearScreen

clearScreen: () => void

Clear input and output that has been rendered to screen.

Type declaration

    • (): void
    • Returns void

commands

commands: () => UnixornCommand[]

Get the list of available commands.

Type declaration

deleteToEnd

deleteToEnd: () => void

Delete all characters after cursor.

Type declaration

    • (): void
    • Returns void

deleteToStart

deleteToStart: () => void

Delete all characters before cursor.

Type declaration

    • (): void
    • Returns void

execute

execute: (stmt: string[]) => void

Execute a statement.

Type declaration

    • (stmt: string[]): void
    • Parameters

      • stmt: string[]

      Returns void

keybindings

keybindings: () => UnixornKeybinding[]

Get the list of available keybindings.

Type declaration

moveCursorToEnd

moveCursorToEnd: () => void

Move the cursor to the end of the line.

Type declaration

    • (): void
    • Returns void

moveCursorToStart

moveCursorToStart: () => void

Move the cursor to the start of the line.

Type declaration

    • (): void
    • Returns void

parse

parse: (tokens: string[]) => string[][]

Split a list of tokens into a list of statements.

Type declaration

    • (tokens: string[]): string[][]
    • Parameters

      • tokens: string[]

      Returns string[][]

printErr

printErr: (text: string) => void

Print text to stderr.

Type declaration

    • (text: string): void
    • Parameters

      • text: string

      Returns void

printOut

printOut: (text: string) => void

Print text to stdout.

Type declaration

    • (text: string): void
    • Parameters

      • text: string

      Returns void

tokenize

tokenize: (programText: string) => string[]

Split the text of a program into a list of tokens.

Type declaration

    • (programText: string): string[]
    • Parameters

      • programText: string

      Returns string[]

visit

visit: (url: string) => void

Visit a URL.

Type declaration

    • (url: string): void
    • Parameters

      • url: string

      Returns void

Legend

  • Property

Generated using TypeDoc