Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aspizu/goboscript
/ cmd
Method
cmd
src/ast/list.rs:68–73 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
66
}
67
68
pub fn cmd(&self) -> Option<&Cmd> {
69
match &self.default {
70
Some(ListDefault::Cmd(cmd)) => Some(cmd),
71
_ => None,
72
}
73
}
74
75
pub fn array(&self) -> Option<&[(Value, Span)]> {
76
match &self.default {
Callers
1
list_declaration
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected