|
|
@ -1,6 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Diagnostics; |
|
|
|
using System.Diagnostics; |
|
|
|
|
|
|
|
using System.Linq; |
|
|
|
|
|
|
|
|
|
|
|
namespace Cxxi |
|
|
|
namespace Cxxi |
|
|
|
{ |
|
|
|
{ |
|
|
@ -222,6 +223,12 @@ namespace Cxxi |
|
|
|
return Enums.Find(e => e.ItemsByName.ContainsKey(name)); |
|
|
|
return Enums.Find(e => e.ItemsByName.ContainsKey(name)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public IList<Function> GetFunctionOverloads(Function function) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return Functions.Where(fn => fn.Name == function.Name) |
|
|
|
|
|
|
|
.ToList(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool HasDeclarations |
|
|
|
public bool HasDeclarations |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|