visitTernaryExpr method
Implementation
@override
String visitTernaryExpr(TernaryExpr expr) {
final condition = formatAST(expr.condition);
final thenBranch = formatAST(expr.thenBranch);
final elseBranch = formatAST(expr.elseBranch);
return '$condition ${_lexicon.ternaryThen} $thenBranch ${_lexicon.ternaryElse} $elseBranch';
}