Lines Matching defs:state
44 antlr3ParserNewStreamDbg (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_DEBUG_EVENT_LISTENER dbg, pANTLR3_RECOGNIZER_SHARED_STATE state)
48 parser = antlr3ParserNewStream(sizeHint, tstream, state);
61 antlr3ParserNew (ANTLR3_UINT32 sizeHint, pANTLR3_RECOGNIZER_SHARED_STATE state)
76 parser->rec = antlr3BaseRecognizerNew(ANTLR3_TYPE_PARSER, sizeHint, state);
102 antlr3ParserNewStream (ANTLR3_UINT32 sizeHint, pANTLR3_TOKEN_STREAM tstream, pANTLR3_RECOGNIZER_SHARED_STATE state)
106 parser = antlr3ParserNew(sizeHint, state);
127 // state may already have been freed (and set to NULL therefore)
128 // so we ignore the state if we don't have it.
130 if (parser->rec->state != NULL)
132 if (parser->rec->state->following != NULL)
134 parser->rec->state->following->free(parser->rec->state->following);
135 parser->rec->state->following = NULL;