package c
import "github.com/azin-lang/Azin/internal/codegen/c"
Index
Types
type Transpiler
type Transpiler struct {
// contains filtered or unexported fields
}
func New
func New() *Transpiler
func (*Transpiler) FunctionIndex
func (t *Transpiler) FunctionIndex(
name string,
) (int, bool)
func (*Transpiler) RegisterForwardDeclaration
func (t *Transpiler) RegisterForwardDeclaration(
name string,
fn *ast.FuncStmt,
)
func (*Transpiler) RequireInclude
func (t *Transpiler) RequireInclude(
header string,
)
func (*Transpiler) SetEnum
func (t *Transpiler) SetEnum(name string)
func (*Transpiler) SetFunctionIndex
func (t *Transpiler) SetFunctionIndex(
name string,
index int,
)
func (*Transpiler) String
func (w *Transpiler) String() string
func (*Transpiler) Transpile
func (t *Transpiler) Transpile(
program *ast.Program,
) string
Directories