Home > Net >  Space layered text (such as Python code) how to sort out a parent-child relationship
Space layered text (such as Python code) how to sort out a parent-child relationship

Time:11-16

Sprite, Foreground, Centre, "sb \ 45 points \ \ cpPass \ 0073. PNG", 361.75, 402.75
T, HitSound, 483768484, 348,
S, 4, 0848, 0.5
C, 4, 0848, 255255255
F, 0849, 2854, 2,0,0.7
F, 0132, 24142, 24,0.7, 0
Animation, Foreground, TopLeft, "sb, dialog, box, p. ng", 267.75, 391,30,60 LoopForever
T, HitSound, 483768484, 348,
C, 0812 4, 0, 0,
V, 4, 0812, 0.1094444, 0.055
F, 0812, 4832, 4, 0
F, 0130, 24135, 24, 0
Sample text as
Sprite and Animation belong to primary command
Two T, HitSound, 348, 483768484, respectively, are the two main command of command
So on
How can I clear these commands a parent-child relationship

CodePudding user response:

From the way you posted are not only separated by a space, and with the newline carriage returns to separate, even after the carriage returns, and a space is used to start the next layer,

CodePudding user response:

This knowledge, at the beginning of "compiler principle" in the most various kinds of lexical analysis technology have learned, you can find a book learn more complete concept of compiling technology principle,

CodePudding user response:

Is there not some simple method
  •  Tags:  
  • C#
  • Related