From 8ca02acb5a574c312dcb3842904b99b282d45883 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 28 Jan 2018 18:53:53 +0300 Subject: Generic params in structs --- src/syntax_kinds.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/syntax_kinds.rs') diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs index 23a0881b7..b6c281cd5 100644 --- a/src/syntax_kinds.rs +++ b/src/syntax_kinds.rs @@ -90,6 +90,9 @@ pub enum SyntaxKind { LITERAL, ALIAS, VISIBILITY, + TYPE_PARAM_LIST, + LIFETIME_PARAM, + TYPE_PARAM, // Technical SyntaxKinds: they appear temporally during parsing, // but never end up in the final tree @@ -187,6 +190,9 @@ impl SyntaxKind { LITERAL => &SyntaxInfo { name: "LITERAL" }, ALIAS => &SyntaxInfo { name: "ALIAS" }, VISIBILITY => &SyntaxInfo { name: "VISIBILITY" }, + TYPE_PARAM_LIST => &SyntaxInfo { name: "TYPE_PARAM_LIST" }, + LIFETIME_PARAM => &SyntaxInfo { name: "LIFETIME_PARAM" }, + TYPE_PARAM => &SyntaxInfo { name: "TYPE_PARAM" }, TOMBSTONE => &SyntaxInfo { name: "TOMBSTONE" }, EOF => &SyntaxInfo { name: "EOF" }, -- cgit v1.2.3