--- title: Comment Flow Through Load Stack --- flowchart TB subgraph SCANNER ["Scanner"] S1[scanLineComment
same-line comments] S2[scanComments
classify head/foot/line] S3[Comment struct
head, line, foot fields] S1 --> S3 S2 --> S3 end subgraph PARSER ["Parser"] P1[UnfoldComments
join to tokens by position] P2[Parser fields
HeadComment, LineComment, FootComment] P3[setEventComments
transfer to Event] P4[TAIL_COMMENT_EVENT
block-end foot comments] P1 --> P2 P2 --> P3 P2 --> P4 end subgraph COMPOSER ["Composer"] C1[node
basic transfer] C2[mapping
reassignment logic] C3[Node fields
HeadComment, LineComment, FootComment] C1 --> C3 C2 --> C3 end S3 --> P1 P3 --> C1 P4 --> C2