revert-complexity #7
|
@ -278,9 +278,13 @@ func (phrase Phrase) ToString (indent int, ownLine bool) (output string) {
|
||||||
output += "["
|
output += "["
|
||||||
|
|
||||||
switch phrase.kind {
|
switch phrase.kind {
|
||||||
case
|
case PhraseKindCase:
|
||||||
PhraseKindOperator,
|
output += ":"
|
||||||
PhraseKindAssign:
|
|
||||||
|
case PhraseKindAssign:
|
||||||
|
output += "="
|
||||||
|
|
||||||
|
case PhraseKindOperator:
|
||||||
|
|
||||||
switch phrase.operator {
|
switch phrase.operator {
|
||||||
case lexer.TokenKindColon:
|
case lexer.TokenKindColon:
|
||||||
|
|
Reference in New Issue
Block a user