Package-level declarations

Types

Link copied to clipboard
class FunctionCallGrammar(allowsBody: Boolean) : Grammar<WalkedFunctionCall>

Grammar that defines and parses a function call. The output object is WalkedFunctionCall, which will later be converted to a FunctionCall by BlockTokenParser.

Link copied to clipboard

Parser that walks through a function call and produces a WalkedFunctionCall.

Link copied to clipboard
data class WalkedFunctionArgument(val name: String?, val value: String)

Structured data produced by FunctionCallWalkerParser which represents a function call argument.

Link copied to clipboard
data class WalkedFunctionCall(val name: String, val arguments: List<WalkedFunctionArgument>, val bodyArgument: WalkedFunctionArgument?, var next: WalkedFunctionCall? = null)

Structured data produced by FunctionCallWalkerParser which represents a function call. This syntax-only information will later be converted to a FunctionCall by BlockTokenParser by injecting further context-aware information.