TryWithBuilders Module
Type extensions
Type extension | Description |
Full Usage:
Ast.TryWithExpr(value, clauses)
Parameters:
WidgetBuilder<Expr>
-
The expression to try.
clauses : WidgetBuilder<MatchClauseNode> list
-
The match clauses for exception handling.
Returns: WidgetBuilder<Expr>
|
Extended Type:
|
Full Usage:
Ast.TryWithExpr(value, clauses)
Parameters:
WidgetBuilder<Constant>
-
The constant value to try.
clauses : WidgetBuilder<MatchClauseNode> list
-
The match clauses for exception handling.
Returns: WidgetBuilder<Expr>
|
Extended Type:
|
Full Usage:
Ast.TryWithExpr(value, clauses)
Parameters:
string
-
The string literal to try.
clauses : WidgetBuilder<MatchClauseNode> list
-
The match clauses for exception handling.
Returns: WidgetBuilder<Expr>
|
Extended Type:
|
Full Usage:
Ast.TryWithExpr(value, exceptionName, handler)
Parameters:
WidgetBuilder<Expr>
-
The expression to try.
exceptionName : string
-
The name to bind the exception to.
handler : WidgetBuilder<Expr>
-
The expression to handle the exception.
Returns: WidgetBuilder<Expr>
|
Extended Type:
|
Full Usage:
Ast.TryWithExpr(value, exceptionName, handler)
Parameters:
WidgetBuilder<Constant>
-
The constant value to try.
exceptionName : string
-
The name to bind the exception to.
handler : WidgetBuilder<Expr>
-
The expression to handle the exception.
Returns: WidgetBuilder<Expr>
|
Extended Type:
|
Full Usage:
Ast.TryWithExpr(value, exceptionName, handler)
Parameters:
string
-
The string literal to try.
exceptionName : string
-
The name to bind the exception to.
handler : WidgetBuilder<Expr>
-
The expression to handle the exception.
Returns: WidgetBuilder<Expr>
|
Extended Type:
|