MCPcopy
hub / github.com/josdejong/mathjs / name

Method name

src/expression/node/AssignmentNode.js:94–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93 // readonly property name
94 get name () {
95 if (this.index) {
96 return (this.index.isObjectProperty())
97 ? this.index.getObjectProperty()
98 : ''
99 } else {
100 return this.object.name || ''
101 }
102 }
103
104 get type () { return name }
105 get isAssignmentNode () { return true }

Callers

nothing calls this directly

Calls 2

isObjectPropertyMethod · 0.80
getObjectPropertyMethod · 0.80

Tested by

no test coverage detected