can_close method
can_close
Defines interface for CanClose method.
Returns
The boolean result.
def can_close(self, descriptor, reason, context):
...
Parameter | Type | Description |
---|---|---|
descriptor | BlockSyntaxDescriptor | The description. |
reason | BlockClosingReason | The reason. |
context | IBlockParsingContext | The context. |