block

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CompileBlock

func CompileBlock(block *ast.BlockStmt, pass *analysis.Pass) string

func CompileCaseClause

func CompileCaseClause(stmt *ast.CaseClause, pass *analysis.Pass) string

func CompileCaseClauseIntoIf

func CompileCaseClauseIntoIf(stmt *ast.CaseClause, index int) string

func CompileForStmt

func CompileForStmt(forStmt *ast.ForStmt, pass *analysis.Pass) string

func CompileIfStmt

func CompileIfStmt(stmt *ast.IfStmt, pass *analysis.Pass) string

func CompileIncDecStmt

func CompileIncDecStmt(stmt *ast.IncDecStmt, pass *analysis.Pass) string

func CompileReturnStmt

func CompileReturnStmt(returnStmt *ast.ReturnStmt, pass *analysis.Pass) string

func CompileStmt

func CompileStmt(n ast.Stmt, pass *analysis.Pass) string

func CompileSwitchStmt

func CompileSwitchStmt(stmt *ast.SwitchStmt, pass *analysis.Pass) string

func CompileValueSpec

func CompileValueSpec(valueSpec *ast.ValueSpec, pass *analysis.Pass, global bool) (string, string)

CompileValueSpec func go: var i gb.UINT8 = 0 c: UINT8 i = 0;

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL