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

Function NewString

node/scalar/node_string.go:17–22  ·  view source on GitHub ↗

NewString node constructor

(Value string)

Source from the content-addressed store, hash-verified

15
16// NewString node constructor
17func NewString(Value string) *String {
18 return &String{
19 FreeFloating: nil,
20 Value: Value,
21 }
22}
23
24// SetPosition sets node position
25func (n *String) SetPosition(p *position.Position) {

Callers 2

ParseMethod · 0.92
ParseMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…