Files
argon-v2/data_types.go
T
2022-06-29 23:41:52 +01:00

71 lines
842 B
Go

package main
type opperator struct {
t int
vals []interface{}
line int
}
type variable struct {
variable string
line int
}
type funcCallType struct {
name string
args []interface{}
line int
}
type whileLoop struct {
condition interface{}
code []interface{}
}
type importType struct {
path interface{}
line int
}
type ifstatement struct {
condition interface{}
TRUE []interface{}
FALSE []interface{}
}
type setVariable struct {
TYPE string
variable string
value interface{}
line int
}
type setFunction struct {
name string
args []string
code []interface{}
line int
}
type returnType struct {
val any
line int
}
type breakType struct {
line int
}
type continueType struct {
line int
}
type itemsType struct {
vals []any
line int
}
type closeIndent struct {
line int
}