Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

code flow misunderstanding?

after looking at JSON syntax ( just for curiosity)

ive noticed a different flow tags edges :

so what is the difference between :

enter image description here

vs

enter image description here

like image 734
Royi Namir Avatar asked Jul 20 '12 18:07

Royi Namir


1 Answers

I believe difference comes from lexical analysis, i.e. number and string are lexical "tokens" while value and array are grammar entities (productions).

like image 151
Kuba Wyrostek Avatar answered Oct 02 '22 05:10

Kuba Wyrostek