summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/src/reference/groups.yml3
-rw-r--r--src/syntax/mod.rs17
2 files changed, 14 insertions, 6 deletions
diff --git a/docs/src/reference/groups.yml b/docs/src/reference/groups.yml
index cd85b820..86287cb1 100644
--- a/docs/src/reference/groups.yml
+++ b/docs/src/reference/groups.yml
@@ -1,3 +1,6 @@
+# This is responsible for the fact that certain math functions are grouped
+# together into one documentation page although they are not part of any scope.
+
- name: variants
display: Variants
functions: ["serif", "sans", "frak", "mono", "bb", "cal"]
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs
index c27547c4..d4aee9d3 100644
--- a/src/syntax/mod.rs
+++ b/src/syntax/mod.rs
@@ -10,9 +10,14 @@ mod reparser;
mod source;
mod span;
-pub use self::kind::*;
-pub use self::lexer::*;
-pub use self::node::*;
-pub use self::parser::*;
-pub use self::source::*;
-pub use self::span::*;
+pub use self::kind::SyntaxKind;
+pub use self::lexer::{is_ident, is_newline};
+pub use self::node::{ErrorPos, LinkedChildren, LinkedNode, SyntaxNode};
+pub use self::parser::{parse, parse_code};
+pub use self::source::{Source, SourceId};
+pub use self::span::{Span, Spanned};
+
+pub(crate) use self::lexer::{is_id_continue, is_id_start};
+
+use self::lexer::{split_newlines, LexMode, Lexer};
+use self::parser::{reparse_block, reparse_markup};