Documentation ¶
Index ¶
Constants ¶
View Source
const CommentSkipFile = "heph:fmt skip-file"
View Source
const ListMaxCombinedLength = 50
View Source
const ListMaxElemLength = 50
View Source
const ListMaxLineLength = 100
Variables ¶
View Source
var ErrSkip = errors.New("skip file")
Functions ¶
Types ¶
type Builder ¶
func (*Builder) LineLength ¶
func (*Builder) WriteString ¶
func (*Builder) WriteStringRaw ¶
type IfCond ¶
type IfCond struct { Cond syntax.Expr True []syntax.Stmt // contains filtered or unexported fields }
func (*IfCond) AllocComments ¶
func (e *IfCond) AllocComments()
type IfStmt ¶
func (*IfStmt) AllocComments ¶
func (s *IfStmt) AllocComments()
Click to show internal directories.
Click to hide internal directories.