MCPcopy Create free account
hub / github.com/z7zmey/php-parser / printScalarString

Method printScalarString

printer/printer.go:576–581  ·  view source on GitHub ↗
(n node.Node)

Source from the content-addressed store, hash-verified

574}
575
576func (p *Printer) printScalarString(n node.Node) {
577 nn := n.(*scalar.String)
578 p.printFreeFloating(nn, freefloating.Start)
579 io.WriteString(p.w, nn.Value)
580 p.printFreeFloating(nn, freefloating.End)
581}
582
583func (p *Printer) printScalarEncapsedStringPart(n node.Node) {
584 nn := n.(*scalar.EncapsedStringPart)

Callers 1

printNodeMethod · 0.95

Calls 1

printFreeFloatingMethod · 0.95

Tested by

no test coverage detected