public override List <SymbolInfo> find_in_type(string name, bool no_search_in_extension_methods = false)
        {
            indefinite_definition_node idn = new indefinite_definition_node(name, this);

            return(new List <SymbolInfo> {
                new SymbolInfo(idn, access_level.al_public, symbol_kind.sk_indefinite)
            });
        }
Exemple #2
0
 public indefinite_reference(indefinite_definition_node idn, location loc)
     : base(idn.cont_class, loc)
 {
     _indefinite_def = idn;
 }
Exemple #3
0
        //public static List<type_node> get_indefinite_type_list(int count)
        //{
        //    List<type_node> rez = new List<type_node>(count);
        //    for (int i = 0; i < count; i++)
        //    {
        //        rez.Add(new indefinite_type_node());
        //    }
        //    return rez;
        //}

        public override SymbolInfo find_in_type(string name)
        {
            indefinite_definition_node idn = new indefinite_definition_node(name, this);
            return new SymbolInfo(idn, access_level.al_public, symbol_kind.sk_indefinite);
        }
Exemple #4
0
 public indefinite_reference(indefinite_definition_node idn, location loc)
     : base(idn.cont_class, loc)
 {
     _indefinite_def = idn;
 }
Exemple #5
0
        //public static List<type_node> get_indefinite_type_list(int count)
        //{
        //    List<type_node> rez = new List<type_node>(count);
        //    for (int i = 0; i < count; i++)
        //    {
        //        rez.Add(new indefinite_type_node());
        //    }
        //    return rez;
        //}

        public override SymbolInfo find_in_type(string name, bool no_search_in_extension_methods = false)
        {
            indefinite_definition_node idn = new indefinite_definition_node(name, this);
            return new SymbolInfo(idn, access_level.al_public, symbol_kind.sk_indefinite);
        }