codewriter

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteAliasStatement added in v0.0.4

func WriteAliasStatement(alias *ast.Alias, colorer coloring.Colorer, indentation int)

func WriteCode

func WriteCode(program *ast.SourceFile, useColor bool) (string, error)

func WriteCodeUsingColorer added in v0.0.4

func WriteCodeUsingColorer(program *ast.SourceFile, colorer coloring.Colorer, indentation int) (string, error)

func WriteCustomTypeStatement added in v0.0.4

func WriteCustomTypeStatement(customTypeStatement *ast.CustomType, colorer coloring.Colorer, indentation int)

func WriteExpression added in v0.0.4

func WriteExpression(expression ast.Expression, colorer coloring.Colorer, indentation int)

func WriteFunctionParameterTypes

func WriteFunctionParameterTypes(functionParameters []ast.Type, colorer coloring.Colorer, indentation int)

func WriteRecordType added in v0.0.4

func WriteRecordType(recordType *ast.Record, colorer coloring.Colorer, indentation int)

func WriteStatementUsingColorer added in v0.0.4

func WriteStatementUsingColorer(expression ast.Expression, colorer coloring.Colorer, indentation int) error

func WriteType added in v0.0.4

func WriteType(astType ast.Type, colorer coloring.Colorer, addParen bool, indentation int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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