PhoenixmlDb.XQuery
DepthGuardListener
A parse listener that tracks ANTLR rule-invocation nesting depth and aborts the parse with a catchable once it exceeds . Fires as each rule is entered (before descending into its children) so the runaway recursion stops early. A plain exception is thrown deliberately: ANTLR's DefaultErrorStrategy only catches , so a non-recognition exception propagates straight out of module() rather than triggering error recovery that would resume the descent.
#DepthGuardListener
Namespace: PhoenixmlDb.XQuery.Parser.XQueryParserFacade
A parse listener that tracks ANTLR rule-invocation nesting depth and aborts the parse with a catchable once it exceeds . Fires as each rule is entered (before descending into its children) so the runaway recursion stops early. A plain exception is thrown deliberately: ANTLR's DefaultErrorStrategy only catches , so a non-recognition exception propagates straight out of module() rather than triggering error recovery that would resume the descent.
#Constructors
##ctor(Int32)
A parse listener that tracks ANTLR rule-invocation nesting depth and aborts the parse with a catchable once it exceeds . Fires as each rule is entered (before descending into its children) so the runaway recursion stops early. A plain exception is thrown deliberately: ANTLR's DefaultErrorStrategy only catches , so a non-recognition exception propagates straight out of module() rather than triggering error recovery that would resume the descent.