MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / create_list_object

Method create_list_object

src/analysis/dfa.rs:701–709  ·  view source on GitHub ↗
(&mut self, ty: ast::Type)

Source from the content-addressed store, hash-verified

699 }
700
701 fn create_list_object(&mut self, ty: ast::Type) -> Symbol<T> {
702 let ctx = self.get_current_ctx();
703 Symbol {
704 r#type: Some(ty),
705 state: ObjectState::List,
706 id: ctx,
707 data: T::default(),
708 }
709 }
710
711 fn create_object_from_literal(&mut self, literal: &ast::Node) -> Result<Symbol<T>> {
712 let ctx = self.get_current_ctx();

Callers 1

get_rvalueMethod · 0.80

Calls 1

get_current_ctxMethod · 0.80

Tested by

no test coverage detected