NewInlineVariable declares a variable name to be replaced by a checked expression.
(name string, definition *Ast)
| 53 | |
| 54 | // NewInlineVariable declares a variable name to be replaced by a checked expression. |
| 55 | func NewInlineVariable(name string, definition *Ast) *InlineVariable { |
| 56 | return NewInlineVariableWithAlias(name, name, definition) |
| 57 | } |
| 58 | |
| 59 | // NewInlineVariableWithAlias declares a variable name to be replaced by a checked expression. |
| 60 | // If the variable occurs more than once, the provided alias will be used to replace the expressions |