SynPat Module
Functions and values
Function or value |
Description
|
Full Usage:
SynPat.shouldBeParenthesizedInContext path pat
Parameters:
SyntaxVisitorPath
-
The pattern's ancestor nodes.
pat : SynPat
-
The pattern to check.
Returns: bool
True if the given pattern should be parenthesized in the given context, otherwise false.
|
Returns true if the given pattern should be parenthesized in the given context, otherwise false.
|