RawInlineExpression

class RawInlineExpression(val raw: String, context: Context) : Expression

An Expression wrapping the raw string of an inline function-call argument.

When evaluated, it delegates to ValueFactory.safeExpression, preserving the current eager evaluation behavior. The raw string, however, remains accessible so that consumers (for example, com.quarkdown.core.function.call.binding.RegularArgumentsBinder) can route the argument through a different parsing strategy when the target parameter type demands it, as is the case for com.quarkdown.core.function.value.data.Lambda-typed parameters.

Parameters

raw

raw source text of the inline argument

context

context used when the raw string is eventually parsed as an expression

Constructors

Link copied to clipboard
constructor(raw: String, context: Context)

Properties

Link copied to clipboard
val raw: String

Functions

Link copied to clipboard
open override fun <T> accept(visitor: ExpressionVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Chains two expressions together, which is used in ComposedExpressions.

Link copied to clipboard