@codearts/plugin / "@codearts/plugin" / InlineValueEvaluatableExpression
"@codearts/plugin".InlineValueEvaluatableExpression
Provide an inline value through an expression evaluation. If only a range is specified, the expression will be extracted from the underlying document. An optional expression can be used to override the extracted expression.
• new InlineValueEvaluatableExpression(range
, expression?
)
Creates a new InlineValueEvaluatableExpression object.
Name | Type | Description |
---|---|---|
range |
Range |
The range in the underlying document from which the evaluatable expression is extracted. |
expression? |
string |
If specified overrides the extracted expression. |
• Optional
Readonly
expression: string
If specified the expression overrides the extracted expression.
• Readonly
range: Range
The document range for which the inline value applies. The range is used to extract the evaluatable expression from the underlying document.