helper_method_include.go
func newHelperMethodInclude(ln *line, rslt *result, src *source, parent element, opts *Options) (*helperMethodInclude, error) {
	if len(ln.tokens) < 3 {
		return nil, fmt.Errorf("no template name is specified [file: %s][line: %d]", ln.fileName(), ln.no)
	}

	var pipeline string

	if len(ln.tokens) > 3 {
		pipeline = strings.Join(ln.tokens[3:], space)
	}

	e := &helperMethodInclude{
		elementBase:  newElementBase(ln, rslt, src, parent, opts),
		templateName: ln.tokens[2],
		pipeline:     pipeline,
	}

	return e, nil
}
func newHelperMethodInclude(ln *line, rslt *result, src *source, parent element, opts *Options) (*helperMethodInclude, error) {
	if len(ln.tokens) < 3 {
		return nil, fmt.Errorf("no template name is specified [file: %s][line: %d]", ln.fileName(), ln.no)
	}

	var pipeline string

	if len(ln.tokens) > 3 {
		pipeline = strings.Join(ln.tokens[3:], space)
	}

	e := &helperMethodInclude{
		elementBase:  newElementBase(ln, rslt, src, parent, opts),
		templateName: ln.tokens[2],
		pipeline:     pipeline,
	}

	return e, nil
}
// newHelperMethodInclude creates and returns a helper method include.