itroduce trait for ast tokens

This commit is contained in:
Aleksey Kladov 2019-01-08 12:23:10 +03:00
parent 3f4be81912
commit fa6e0b0d38
12 changed files with 34 additions and 59 deletions

View file

@ -1,5 +1,5 @@
use crate::{
ast::{self, AstNode},
ast::{self, AstNode, AstToken},
string_lexing::{self, StringComponentKind},
yellow::{
SyntaxError,