SynExpr Module
Functions and values
Function or value |
Description
|
Full Usage:
SynExpr.shouldBeParenthesizedInContext getSourceLineStr path expr
Parameters:
int -> string
-
A function for getting the text of a given source line.
path : SyntaxVisitorPath
-
The expression's ancestor nodes.
expr : SynExpr
-
The expression to check.
Returns: bool
True if the given expression should be parenthesized in the given context, otherwise false.
|
Returns true if the given expression should be parenthesized in the given context, otherwise false.
|