fromValidIdentifier static method
StartBlock
fromValidIdentifier(
- BlockTypeKeyword blockTypeKeyword,
- Iterable<
Identifierable> identifierables
Implementation
static StartBlock fromValidIdentifier(BlockTypeKeyword blockTypeKeyword, Iterable<Identifierable> identifierables) {
return StartBlock(
StartCurlyBracket(),
BlockType.fromBlockTypeKeyword(blockTypeKeyword),
ListOfWhiteSpace.fromIterable([Space()]),
ValidIdentifier.fromIterable(identifierables),
EndCurlyBracket(),
);
}