You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: symbol.rs
    path of file: ./repos/kcl/kclvm/sema/src/core
    
    the code of the file until where you have to start completion: use std::sync::Arc;

use generational_arena::Arena;
use indexmap::{IndexMap, IndexSet};

use kclvm_error::{diagnostic::Range, Position};
use serde::Serialize;

use super::package::ModuleInfo;
use crate::{
    resolver::scope::NodeKey,
    ty::{Type, TypeKind, TypeRef},
};

pub trait Symbol {
    type SymbolData;
    type SemanticInfo;
    fn get_sema_info(&self) -> &Self::SemanticInfo;
    fn is_global(&self) -> bool;
    fn get_range(&self) -> Range;
    fn get_owner(&self) -> Option<SymbolRef>;
    fn get_definition(&self) -> Option<SymbolRef>;
    fn get_name(&self) -> String;
    fn get_id(&self) -> Option<SymbolRef>;
    fn get_attribute(
        &self,
        name: &str,
        data: &Self::SymbolData,
        module_info: Option<&ModuleInfo>,
    ) -> Option<SymbolRef>;
    fn has_attribute(
        &self,
        name: &str,
        data: &Self::SymbolData,
        module_info: Option<&ModuleInfo>,
    ) -> bool;

    fn get_al
    
    fn full_dump(&self, data: &Self::SymbolData) -> Option<String> {
        let mut output = format!("{{\n\"simple_info\": {},\n", self.simple_dump());
        output.push_str("\"additional_info\": {\n");
        let owner_symbol = data.get_symbol(self.owner)?;
        output.push_str(&format!("\"owner\": {},\n", owner_symbol.simple_dump()));

        if let Some(parent_schema) = self.for_host.as_ref() {
            let host_symbol = data.get_symbol(*parent_schema)?;
            output.push_str(&format!("\"for_host\": {},\n", host_symbol.simple_dump()));
        }
        output.push_str("\"parent_rules\": [\n");
        for (index, parent_rule) in self.parent_rules.iter().enumerate() {
            let parent_symbol = data.get_symbol(*parent_rule)?;
            output.push_str(&format!("{}", parent_symbol.simple_dump()));
            if index + 1 < self.parent_rules.len() {
                output.push_str(",\n")
            }
        }
        output.push_str("\n]\n}\n}");

        Some(output)
    }

    fn get_sema_info(&self) -> &Self::SemanticInfo {
        &self.sema_info
    }
}