Skip to content

Commit ba96e17

Browse files
committedJul 20, 2024
[init] Update paths in file headers
1 parent 0af899e commit ba96e17

25 files changed

+25
-25
lines changed
 

‎cpp/grammar.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar.cc
3+
* \file xgrammar/grammar.cc
44
*/
55

66
#include <xgrammar/grammar.h>

‎cpp/grammar_ast.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar.h
3+
* \file xgrammar/grammar.h
44
* \brief The header for the support of grammar-guided generation.
55
*/
66

‎cpp/grammar_builder.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_builder.h
3+
* \file xgrammar/grammar_builder.h
44
* \brief The header for the building the BNF AST.
55
*/
66

‎cpp/grammar_functor.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_functor.cc
3+
* \file xgrammar/grammar_functor.cc
44
*/
55

66
#include "grammar_functor.h"

‎cpp/grammar_functor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_functor.h
3+
* \file xgrammar/grammar_functor.h
44
* \brief The header for the simplification of the BNF AST.
55
*/
66

‎cpp/grammar_parser.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_parser.cc
3+
* \file xgrammar/grammar_parser.cc
44
*/
55

66
#include "grammar_parser.h"

‎cpp/grammar_parser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_parser.h
3+
* \file xgrammar/grammar_parser.h
44
* \brief The header for the parser of BNF/EBNF grammar into BNF AST.
55
*/
66

‎cpp/grammar_serializer.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_serializer.cc
3+
* \file xgrammar/grammar_serializer.cc
44
*/
55

66
#include "grammar_serializer.h"

‎cpp/grammar_serializer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_serializer.h
3+
* \file xgrammar/grammar_serializer.h
44
* \brief The header for printing the AST of a BNF grammar.
55
*/
66

‎cpp/grammar_state_matcher.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_state_matcher.cc
3+
* \file xgrammar/grammar_state_matcher.cc
44
*/
55
// #define XGRAMMAR_ENABLE_LOG_DEBUG 1
66
#include <xgrammar/grammar.h>

‎cpp/grammar_state_matcher_base.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_state_matcher_base.h
3+
* \file xgrammar/grammar_state_matcher_base.h
44
* \brief The base class of GrammarStateMatcher. It implements a character-based matching automata.
55
*/
66
#ifndef XGRAMMAR_GRAMMAR_STATE_MATCHER_BASE_H_

‎cpp/grammar_state_matcher_preproc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_state_matcher_preproc.h
3+
* \file xgrammar/grammar_state_matcher_preproc.h
44
* \brief The header for the preprocessing of the grammar state matcher.
55
*/
66
#ifndef XGRAMMAR_GRAMMAR_STATE_MATCHER_PREPROC_H_

‎cpp/grammar_state_matcher_state.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_state_matcher_state.h
3+
* \file xgrammar/grammar_state_matcher_state.h
44
* \brief The header for the definition of the state used in the grammar state matcher.
55
*/
66
#ifndef XGRAMMAR_GRAMMAR_STATE_MATCHER_STATE_H_

‎cpp/json_schema_converter.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/json_schema_converter.cc
3+
* \file xgrammar/json_schema_converter.cc
44
*/
55
#include <picojson.h>
66
#include <xgrammar/support/logging.h>

‎cpp/support/dynamic_bitset.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file support/dynamic_bitset.h
3+
* \file xgrammar/support/dynamic_bitset.h
44
* \brief The header for utilities used in grammar-guided generation.
55
*/
66
#ifndef XGRAMMAR_SUPPORT_DYNAMIC_BITSET_H_

‎cpp/support/encoding.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file support/encoding.cc
3+
* \file xgrammar/support/encoding.cc
44
*/
55
#include <xgrammar/support/encoding.h>
66
#include <xgrammar/support/logging.h>

‎cpp/support/int_set.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/support.h
3+
* \file xgrammar/support/int_set.h
44
* \brief The header for utilities used in grammar-guided generation.
55
*/
66
#ifndef XGRAMMAR_SUPPORT_INT_SET_H_

‎cpp/support/logging.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file support/encoding.cc
3+
* \file xgrammar/support/logging.cc
44
*/
55
#include <xgrammar/support/logging.h>
66

‎cpp/support/utils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file support/utils.h
3+
* \file xgrammar/support/utils.h
44
* \brief Utility functions.
55
*/
66
#ifndef XGRAMMAR_SUPPORT_UTILS_H_

‎include/xgrammar/grammar.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar.h
3+
* \file xgrammar/grammar.h
44
* \brief The header for the support of grammar-guided generation.
55
*/
66

‎include/xgrammar/grammar_state_matcher.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/grammar_state_matcher.h
3+
* \file xgrammar/grammar_state_matcher.h
44
* \brief The header for the support of matching tokens to BNF grammar. This is the core
55
* logic of the grammar-guided generation.
66
*/

‎include/xgrammar/json_schema_converter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file grammar/json_grammar_converter.h
3+
* \file xgrammar/json_grammar_converter.h
44
* \brief The header for translating JSON schema to EBNF grammar.
55
*/
66

‎include/xgrammar/support/encoding.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file support/encoding.h
3+
* \file xgrammar/support/encoding.h
44
* \brief Encoding and decoding from/to UTF-8 and escape sequence to/from codepoints.
55
*/
66
#ifndef XGRAMMAR_SUPPORT_ENCODING_H_

‎include/xgrammar/support/logging.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file support/logging.h
3+
* \file xgrammar/support/logging.h
44
* \brief A logging library that supports logging at different levels.
55
*/
66
#ifndef XGRAMMAR_SUPPORT_LOGGING_H_

‎include/xgrammar/support/object.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Copyright (c) 2024 by Contributors
3-
* \file support/object.h
3+
* \file xgrammar/support/object.h
44
* \brief Utilities for creating objects.
55
*/
66
#ifndef XGRAMMAR_SUPPORT_OBJECT_H_

0 commit comments

Comments
 (0)
Please sign in to comment.