Skip to content

Commit

Permalink
add ast
Browse files Browse the repository at this point in the history
  • Loading branch information
54L1M committed Jan 27, 2024
1 parent dd091c3 commit b00f06d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ast/ast.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package ast

type Node interface {
TokenLiteral() string
}

type Statement interface {
Node
statementNode()
}

type Expression interface {
Node
expressionNode()
}

0 comments on commit b00f06d

Please sign in to comment.