Lines 1505-1511
Link Here
|
1505 |
isChunkStart = memberAlignment.checkChunkStart(TYPE, i, this.scribe.scanner.currentPosition); |
1505 |
isChunkStart = memberAlignment.checkChunkStart(TYPE, i, this.scribe.scanner.currentPosition); |
1506 |
format((TypeDeclaration)member, null, isChunkStart, i == 0); |
1506 |
format((TypeDeclaration)member, null, isChunkStart, i == 0); |
1507 |
} |
1507 |
} |
1508 |
if (isNextToken(TerminalTokens.TokenNameSEMICOLON)) { |
1508 |
while (isNextToken(TerminalTokens.TokenNameSEMICOLON)) { |
1509 |
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); |
1509 |
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); |
1510 |
this.scribe.printComment(CodeFormatter.K_UNKNOWN, Scribe.BASIC_TRAILING_COMMENT); |
1510 |
this.scribe.printComment(CodeFormatter.K_UNKNOWN, Scribe.BASIC_TRAILING_COMMENT); |
1511 |
} |
1511 |
} |
Lines 2021-2027
Link Here
|
2021 |
isChunkStart = memberAlignment.checkChunkStart(Alignment.CHUNK_TYPE, i, this.scribe.scanner.currentPosition); |
2021 |
isChunkStart = memberAlignment.checkChunkStart(Alignment.CHUNK_TYPE, i, this.scribe.scanner.currentPosition); |
2022 |
format((TypeDeclaration)member, typeDeclaration.scope, isChunkStart, i == 0); |
2022 |
format((TypeDeclaration)member, typeDeclaration.scope, isChunkStart, i == 0); |
2023 |
} |
2023 |
} |
2024 |
if (isNextToken(TerminalTokens.TokenNameSEMICOLON)) { |
2024 |
while (isNextToken(TerminalTokens.TokenNameSEMICOLON)) { |
2025 |
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); |
2025 |
this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); |
2026 |
this.scribe.printComment(CodeFormatter.K_UNKNOWN, Scribe.BASIC_TRAILING_COMMENT); |
2026 |
this.scribe.printComment(CodeFormatter.K_UNKNOWN, Scribe.BASIC_TRAILING_COMMENT); |
2027 |
} |
2027 |
} |