blockly > CodeGenerator > allNestedComments
CodeGenerator.allNestedComments() method
Recursively spider a tree of blocks, returning all their comments.
Signature:
allNestedComments(block: Block): string;
Parameters
Parameter | Type | Description |
---|---|---|
block | Block | The block from which to start spidering. |
Returns:
string
Concatenated list of comments.