diff options
Diffstat (limited to 'src/parser/bounded_token_buffer.h')
-rw-r--r-- | src/parser/bounded_token_buffer.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/parser/bounded_token_buffer.h b/src/parser/bounded_token_buffer.h index 48db57df5..f190e82cf 100644 --- a/src/parser/bounded_token_buffer.h +++ b/src/parser/bounded_token_buffer.h @@ -1,27 +1,27 @@ -/********************* */ -/*! \file bounded_token_buffer.h - ** \verbatim - ** Top contributors (to current version): - ** Christopher L. Conway, Mathias Preiner, Morgan Deters - ** This file is part of the CVC4 project. - ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS - ** in the top-level source directory and their institutional affiliations. - ** All rights reserved. See the file COPYING in the top-level source - ** directory for licensing information.\endverbatim - ** - ** \brief An ANTLR3 bounded token stream. - ** - ** An ANTLR3 bounded token stream. The stream has a bounded - ** lookahead/behind k. Calling LT(i) with i > k or i < -k will raise - ** an exception. Only use this factory if you *know* that the grammar - ** has bounded lookahead (e.g., if you've set the k parameter in the - ** parser. - ** - ** NOTE: ANTLR3 puts "hidden" tokens into this buffer too, so - ** pathological inputs can exceed the k token lookahead, even if - ** your grammar really is LL(k). Be sure that irrelevant tokens - ** are SKIP()'d and not "hidden". - **/ +/****************************************************************************** + * Top contributors (to current version): + * Christopher L. Conway, Mathias Preiner, Morgan Deters + * + * This file is part of the cvc5 project. + * + * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS + * in the top-level source directory and their institutional affiliations. + * All rights reserved. See the file COPYING in the top-level source + * directory for licensing information. + * **************************************************************************** + * + * An ANTLR3 bounded token stream. + * + * The stream has a bounded lookahead/behind k. Calling LT(i) with i > k or + * i < k will raise an exception. Only use this factory if you *know* that the + * grammar has bounded lookahead (e.g., if you've set the k parameter in the + * parser. + * + * NOTE: ANTLR3 puts "hidden" tokens into this buffer too, so pathological + * inputs can exceed the k token lookahead, even if your grammar really + * is LL(k). Be sure that irrelevant tokens are SKIP()'d and not + * "hidden". + */ #include "cvc4parser_private.h" |