FunctionCall
A function call in Quarkdown source code.
Parameters
the range in the source code where this function call appears
the list of tokens (parts) that make up this function call
the result of parsing this function call
Constructors
Properties
The name of the last function in a chain of function calls.
Given a function call that may contain chained calls, e.g. .func1 param:{value1}::func2 param:{value2}
, which would be normally tokenized as a flat list of tokens, this property returns a sequence of (function name, tokens) pairs for each function in the chain.
Functions
Finds the argument at the given source index in this function call. Note that, by design, the range is between the argument's delimiters, excluding the parameter name if any.
Retrieves the documentation for a function call in the specified documentation directory.
Finds the parameter corresponding to the argument at the given source index in this function call. The argument can be either named or positional, and the lookup happens against the provided function documentation.
Finds the token within a function call that contains the specified index (relative to the source code the function call was tokenized from).
Returns the remainder of the parsing result, truncated to the specified index relative to the original source text.