Parse property declarations

For now this uses the syntax

    property<qualified type name> name;
This commit is contained in:
Simon Hausmann 2020-05-25 12:38:29 +02:00
parent 5accea4cdd
commit 32b99547f1
5 changed files with 54 additions and 0 deletions

View file

@ -34,6 +34,8 @@ fn fill_token_vec(stream: TokenStream, vec: &mut Vec<parser::Token>) {
';' => SyntaxKind::Semicolon,
'!' => SyntaxKind::Bang,
'.' => SyntaxKind::Dot,
'<' => SyntaxKind::LAngle,
'>' => SyntaxKind::RAngle,
_ => SyntaxKind::Error,
};
vec.push(parser::Token {