(ast: AST, tcb: Context, scope: Scope)
| 31 | * correct identifiers in the current scope. |
| 32 | */ |
| 33 | export function tcbExpression(ast: AST, tcb: Context, scope: Scope): TcbExpr { |
| 34 | const translator = new TcbExpressionTranslator(tcb, scope); |
| 35 | return translator.translate(ast); |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Wraps an expression in an `unwrapSignal` call which extracts the signal's value. |
no test coverage detected
searching dependent graphs…