func ASTToString(a AST, options ...Option) string {
	tparams := true
	for _, o := range options {
		switch o {
		case NoTemplateParams:
			tparams = false
		}
	}

	ps := printState{tparams: tparams}
	a.print(&ps)
	return ps.buf.String()
}
func ASTToString(a AST, options ...Option) string {
	tparams := true
	for _, o := range options {
		switch o {
		case NoTemplateParams:
			tparams = false
		}
	}

	ps := printState{tparams: tparams}
	a.print(&ps)
	return ps.buf.String()
}
func ASTToString ( a AST , options ... Option ) string { tparams := true for _ , o := range options { switch o { case NoTemplateParams : tparams = false } } ps := printState { tparams : tparams } a . print ( & ps ) return ps . buf . String ( ) }
// ASTToString returns the demangled name of the AST.
ASTToString returns the demangled name of the AST .