Add type parsing stub
This commit is contained in:
parent
f4e5e1ea3d
commit
76c129f91c
|
@ -1,7 +1,9 @@
|
|||
package parser
|
||||
|
||||
import "git.tebibyte.media/sashakoshka/fspl/lexer"
|
||||
import "git.tebibyte.media/sashakoshka/fspl/entity"
|
||||
|
||||
var descriptionType = "Type"
|
||||
var startTokensType = []lexer.TokenKind {
|
||||
lexer.Ident,
|
||||
lexer.TypeIdent,
|
||||
|
@ -9,3 +11,7 @@ var startTokensType = []lexer.TokenKind {
|
|||
lexer.Int,
|
||||
lexer.LParen,
|
||||
}
|
||||
|
||||
func (this *Parser) parseType () (entity.Type, error) {
|
||||
// TODO
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue