From 8969549527358472b42c3600b7fc5dca052621ed Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Sun, 10 Aug 2014 23:00:49 +0800 Subject: [PATCH] Update internals.md --- doc/internals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/internals.md b/doc/internals.md index f1889c2..a112fac 100644 --- a/doc/internals.md +++ b/doc/internals.md @@ -119,9 +119,9 @@ In this way the generation of array values or object members would be a single s rather than several pop/push operations in the direct implementation. This also makes the estimation of stack size more easier. -The final states diagram is shown below: +The states diagra is shown as follows: -States Diagram +![State Diagram](diagram/iterative-parser-states-diagram.png) Second, the iterative parser also keeps track of array's value count and object's member count in its internal stack, which may be different from a conventional implementation.