File tree 25 files changed +25
-25
lines changed
25 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar.cc
3
+ * \file xgrammar /grammar.cc
4
4
*/
5
5
6
6
#include < xgrammar/grammar.h>
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar.h
3
+ * \file xgrammar /grammar.h
4
4
* \brief The header for the support of grammar-guided generation.
5
5
*/
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_builder.h
3
+ * \file xgrammar /grammar_builder.h
4
4
* \brief The header for the building the BNF AST.
5
5
*/
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_functor.cc
3
+ * \file xgrammar /grammar_functor.cc
4
4
*/
5
5
6
6
#include " grammar_functor.h"
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_functor.h
3
+ * \file xgrammar /grammar_functor.h
4
4
* \brief The header for the simplification of the BNF AST.
5
5
*/
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_parser.cc
3
+ * \file xgrammar /grammar_parser.cc
4
4
*/
5
5
6
6
#include " grammar_parser.h"
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_parser.h
3
+ * \file xgrammar /grammar_parser.h
4
4
* \brief The header for the parser of BNF/EBNF grammar into BNF AST.
5
5
*/
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_serializer.cc
3
+ * \file xgrammar /grammar_serializer.cc
4
4
*/
5
5
6
6
#include " grammar_serializer.h"
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_serializer.h
3
+ * \file xgrammar /grammar_serializer.h
4
4
* \brief The header for printing the AST of a BNF grammar.
5
5
*/
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_state_matcher.cc
3
+ * \file xgrammar /grammar_state_matcher.cc
4
4
*/
5
5
// #define XGRAMMAR_ENABLE_LOG_DEBUG 1
6
6
#include < xgrammar/grammar.h>
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_state_matcher_base.h
3
+ * \file xgrammar /grammar_state_matcher_base.h
4
4
* \brief The base class of GrammarStateMatcher. It implements a character-based matching automata.
5
5
*/
6
6
#ifndef XGRAMMAR_GRAMMAR_STATE_MATCHER_BASE_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_state_matcher_preproc.h
3
+ * \file xgrammar /grammar_state_matcher_preproc.h
4
4
* \brief The header for the preprocessing of the grammar state matcher.
5
5
*/
6
6
#ifndef XGRAMMAR_GRAMMAR_STATE_MATCHER_PREPROC_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_state_matcher_state.h
3
+ * \file xgrammar /grammar_state_matcher_state.h
4
4
* \brief The header for the definition of the state used in the grammar state matcher.
5
5
*/
6
6
#ifndef XGRAMMAR_GRAMMAR_STATE_MATCHER_STATE_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /json_schema_converter.cc
3
+ * \file xgrammar /json_schema_converter.cc
4
4
*/
5
5
#include < picojson.h>
6
6
#include < xgrammar/support/logging.h>
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file support/dynamic_bitset.h
3
+ * \file xgrammar/ support/dynamic_bitset.h
4
4
* \brief The header for utilities used in grammar-guided generation.
5
5
*/
6
6
#ifndef XGRAMMAR_SUPPORT_DYNAMIC_BITSET_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file support/encoding.cc
3
+ * \file xgrammar/ support/encoding.cc
4
4
*/
5
5
#include < xgrammar/support/encoding.h>
6
6
#include < xgrammar/support/logging.h>
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /support.h
3
+ * \file xgrammar /support/int_set .h
4
4
* \brief The header for utilities used in grammar-guided generation.
5
5
*/
6
6
#ifndef XGRAMMAR_SUPPORT_INT_SET_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file support/encoding .cc
3
+ * \file xgrammar/ support/logging .cc
4
4
*/
5
5
#include < xgrammar/support/logging.h>
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file support/utils.h
3
+ * \file xgrammar/ support/utils.h
4
4
* \brief Utility functions.
5
5
*/
6
6
#ifndef XGRAMMAR_SUPPORT_UTILS_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar.h
3
+ * \file xgrammar /grammar.h
4
4
* \brief The header for the support of grammar-guided generation.
5
5
*/
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /grammar_state_matcher.h
3
+ * \file xgrammar /grammar_state_matcher.h
4
4
* \brief The header for the support of matching tokens to BNF grammar. This is the core
5
5
* logic of the grammar-guided generation.
6
6
*/
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file grammar /json_grammar_converter.h
3
+ * \file xgrammar /json_grammar_converter.h
4
4
* \brief The header for translating JSON schema to EBNF grammar.
5
5
*/
6
6
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file support/encoding.h
3
+ * \file xgrammar/ support/encoding.h
4
4
* \brief Encoding and decoding from/to UTF-8 and escape sequence to/from codepoints.
5
5
*/
6
6
#ifndef XGRAMMAR_SUPPORT_ENCODING_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file support/logging.h
3
+ * \file xgrammar/ support/logging.h
4
4
* \brief A logging library that supports logging at different levels.
5
5
*/
6
6
#ifndef XGRAMMAR_SUPPORT_LOGGING_H_
Original file line number Diff line number Diff line change 1
1
/* !
2
2
* Copyright (c) 2024 by Contributors
3
- * \file support/object.h
3
+ * \file xgrammar/ support/object.h
4
4
* \brief Utilities for creating objects.
5
5
*/
6
6
#ifndef XGRAMMAR_SUPPORT_OBJECT_H_
You can’t perform that action at this time.
0 commit comments