FunctionCallPatterns

Patterns for block and inline function calls.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val blockFunctionCall: <Error class: unknown class>

An isolated function call. Function name prefixed by '.', followed by a sequence of arguments and an optional body, indented by at least 2 spaces or 1 tab like a list item body. This is a 'flag' pattern, meaning it does not capture any content, but instead detects the beginning of a function call and delegates the scanning to FunctionCallWalkerParser.

Link copied to clipboard
val expressionBlockFunctionCall: <Error class: unknown class>

Block function call variant for use in expression evaluation. Uses the same regex as blockFunctionCall (with allowsBody = true), but always produces a token: expression evaluation does not distinguish between block and inline function calls, so no rejection is needed.

Link copied to clipboard
val inlineFunctionCall: <Error class: unknown class>

Function name prefixed by '.', followed by a sequence of arguments. Can be preceeded by the beginning of the line, a whitespace or a symbol. This is a 'flag' pattern, meaning it does not capture any content, but instead detects the beginning of a function call and delegates the scanning to FunctionCallWalkerParser.