Merge pull request #714 from luoliwoshang/llcppg/ast/basiclit

llcppg/ast:basiclit
This commit is contained in:
xushiwei
2024-08-15 22:02:47 +08:00
committed by GitHub

View File

@@ -44,6 +44,22 @@ type PPD interface { // preprocessing directive
// =============================================================================
// Expressions (Types are also expressions)
type BasicLitKind uint
const (
IntLit BasicLitKind = iota
FloatLit
CharLit
StringLit
)
type BasicLit struct {
Kind BasicLitKind
Value string
}
func (*BasicLit) exprNode() {}
type TypeKind uint
const (