mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Split out and/or operator handling from infix. (#3480)
This is also doing the parse node split, allowing lower reliance in formatter on the tokenized buffer (something that I may be touching more due to import handling).
This commit is contained in:
@@ -339,7 +339,10 @@ class NodeStack {
|
||||
case Parse::NodeKind::ReturnType:
|
||||
case Parse::NodeKind::SelfTypeNameExpr:
|
||||
case Parse::NodeKind::SelfValueNameExpr:
|
||||
case Parse::NodeKind::ShortCircuitOperand:
|
||||
case Parse::NodeKind::ShortCircuitOperandAnd:
|
||||
case Parse::NodeKind::ShortCircuitOperandOr:
|
||||
case Parse::NodeKind::ShortCircuitOperatorAnd:
|
||||
case Parse::NodeKind::ShortCircuitOperatorOr:
|
||||
case Parse::NodeKind::StructFieldValue:
|
||||
case Parse::NodeKind::StructLiteral:
|
||||
case Parse::NodeKind::StructFieldType:
|
||||
|
||||
Reference in New Issue
Block a user