summaryrefslogtreecommitdiff
path: root/src/syntax/token.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/token.rs')
-rw-r--r--src/syntax/token.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/syntax/token.rs b/src/syntax/token.rs
index b7d4c4e2..4cb8501f 100644
--- a/src/syntax/token.rs
+++ b/src/syntax/token.rs
@@ -19,14 +19,15 @@ pub enum Token<'s> {
LeftBracket,
/// A right bracket ending a function invocation or body: `]`.
RightBracket,
+ /// A left brace indicating the start of content: `{`.
+ LeftBrace,
+ /// A right brace indicating the end of content: `}`.
+ RightBrace,
/// A left parenthesis in a function header: `(`.
LeftParen,
/// A right parenthesis in a function header: `)`.
RightParen,
- /// A left brace in a function header: `{`.
- LeftBrace,
- /// A right brace in a function header: `}`.
- RightBrace,
+
/// A double forward chevron in a function header: `>>`.
Chain,