Class AsyncJSON.FrameStack
java.lang.Object
org.eclipse.jetty.util.ajax.AsyncJSON.FrameStack
- All Implemented Interfaces:
AsyncJSON.Context
- Enclosing class:
AsyncJSON
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidclear()intdepth()private voidgrow(int grow) private booleanisEmpty()private AsyncJSON.Framepeek()private voidpop()private voidpush(String name, AsyncJSON.State state, Object value) private voidpush(AsyncJSON.State state, Object value)
-
Field Details
-
stack
-
cursor
private int cursor
-
-
Constructor Details
-
FrameStack
private FrameStack()
-
-
Method Details
-
grow
private void grow(int grow) -
clear
private void clear() -
isEmpty
private boolean isEmpty() -
depth
public int depth()- Specified by:
depthin interfaceAsyncJSON.Context- Returns:
- the depth in the JSON structure
-
peek
-
push
-
push
-
pop
private void pop()
-