MCPcopy
hub / github.com/Instagram/LibCST / And

Class And

libcst/_nodes/op.py:328–341  ·  view source on GitHub ↗

A boolean operator that can be used in a :class:`BooleanOperation` expression.

Source from the content-addressed store, hash-verified

326@add_slots
327@dataclass(frozen=True)
328class And(BaseBooleanOp):
329 """
330 A boolean operator that can be used in a :class:`BooleanOperation`
331 expression.
332 """
333
334 #: Any space that appears directly before this operator.
335 whitespace_before: BaseParenthesizableWhitespace = SimpleWhitespace.field(" ")
336
337 #: Any space that appears directly after this operator.
338 whitespace_after: BaseParenthesizableWhitespace = SimpleWhitespace.field(" ")
339
340 def _get_token(self) -> str:
341 return "and"
342
343
344@add_slots

Callers

nothing calls this directly

Calls 1

fieldMethod · 0.80

Tested by

no test coverage detected