A stack to manage ContextExpectations during AST traversal.
More...
#include <ContextExpectations.h>
A stack to manage ContextExpectations during AST traversal.
This class provides a stack-based mechanism to manage ContextExpectations as the parser traverses different contexts in the AST.
◆ canTakeObject()
| bool ExpectationsStack::canTakeObject |
( |
| ) |
const |
|
inline |
◆ canTakePrimitive()
| bool ExpectationsStack::canTakePrimitive |
( |
| ) |
const |
|
inline |
◆ pop()
| void ExpectationsStack::pop |
( |
| ) |
|
|
inline |
◆ push() [1/2]
| void ExpectationsStack::push |
( |
bool |
can_take_primitive, |
|
|
bool |
can_take_object |
|
) |
| |
|
inline |
◆ push() [2/2]
◆ top()
◆ default_expectations
◆ stack
The documentation for this class was generated from the following file: