MiniQuake

src/miniquake/launch.ml

Package
miniquake.launch
Reachable
Yes

Imports

Declarations

appendPlusCommand

function appendPlusCommand(commands, args, startIndex)

Add state for append plus command.

ParameterTypeDefaultDescription
commandsdynamic—The commands input consumed by `appendPlusCommand`.
argsdynamic—Command-line arguments supplied by the host process.
startIndexdynamic—Zero-based index of the requested entry.

View source

commandName

function commandName(text)

Return command name derived from the active module state.

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.

View source

firstByte

function firstByte(text)

Return first byte for the active module state.

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.

View source

hasParm

function hasParm(options, name)

Report whether parm.

ParameterTypeDefaultDescription
optionsdynamic—The options input consumed by `hasParm`.
namedynamic—Stable name that identifies the requested object or option.

View source

integerOption

function integerOption(text, fallback, minimum, maximum)

Implements the `integerOption` operation for `miniquake.launch` (integer option).

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.
fallbackdynamic—Value to use when the requested input is unavailable or invalid.
minimumdynamic—Smallest accepted value.
maximumdynamic—Largest accepted value.

View source

parse

function parse(args)

Implements the `parse` operation for `miniquake.launch` (parse).

ParameterTypeDefaultDescription
argsdynamic—Command-line arguments supplied by the host process.

View source

startupText

function startupText(options)

Initialize state for startup text.

ParameterTypeDefaultDescription
optionsdynamic—The options input consumed by `startupText`.

View source

stripMapName

function stripMapName(name)

Convert map name into its canonical representation.

ParameterTypeDefaultDescription
namedynamic—Stable name that identifies the requested object or option.

View source

substring

function substring(text, offset, count)

Implements the `substring` operation for `miniquake.launch` (substring).

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.
offsetdynamic—Zero-based offset of the requested data.
countdynamic—Number of entries or units to process.

View source

words

function words(text)

Implements the `words` operation for `miniquake.launch` (words).

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.

View source