Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/prettier/prettier
/ getValue
Method
getValue
src/common/ast-path.js:98–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
96
// The value of the current property is always the final element of
97
// this.stack.
98
getValue() {
99
return
this.stack.at(-1);
100
}
101
102
getNode(count = 0) {
103
const
stackIndex = this.#getNodeStackIndex(count);
Callers
15
plugin-for-testing-debug-check.cjs
File · 0.80
print
Function · 0.80
print
Function · 0.80
plugin.cjs
File · 0.80
plugin.cjs
File · 0.80
print
Function · 0.80
print
Function · 0.80
makePlugin
Function · 0.80
ast-path.js
File · 0.80
print
Function · 0.80
printComment
Function · 0.80
print
Function · 0.80
Calls
1
at
Method · 0.80
Tested by
2
print
Function · 0.64
makePlugin
Function · 0.64