public StructGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, NamespaceMap namespaceMap, CommentGenerator commentGenerator) { this.typeData = typeData; this.nameLookup = nameLookup; this.namespaceMap = namespaceMap; this.commentGenerator = commentGenerator; }
public DelegateGenerator(IEnumerable <DelegateDeclaration> delegates, Dictionary <string, TypeDeclaration> typeData, NamespaceMap namespaceMap, NameLookup nameLookup) { this.delegates = delegates; this.typeData = typeData; this.namespaceMap = namespaceMap; this.nameLookup = nameLookup; }
public PInvokeGenerator(IEnumerable <CommandDeclaration> commands, IEnumerable <ExtensionDeclaration> extensions, NamespaceMap namespaceMap, NameLookup nameLookup) { this.extensions = extensions.ToDictionary(x => x.Name); this.commands = commands; this.namespaceMap = namespaceMap; this.nameLookup = nameLookup; }
public MarshalledStructGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, IEnumerable <IMemberPatternRule> patternRules, NamespaceMap namespaceMap) { this.typeData = typeData; this.nameLookup = nameLookup; this.patternRules = patternRules; this.namespaceMap = namespaceMap; }
public HandleExtensionsGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, IEnumerable <CommandDeclaration> commands, NamespaceMap namespaceMap, HandleGenerator handleGenerator) { this.typeData = typeData; this.nameLookup = nameLookup; this.commands = commands; this.namespaceMap = namespaceMap; this.handleGenerator = handleGenerator; }
public HandleGenerator(Dictionary <string, TypeDeclaration> typeData, NameLookup nameLookup, IEnumerable <CommandDeclaration> commands, IEnumerable <IMarshalValueRule> marshallingRules, IEnumerable <IMemberPatternRule> memberPatternRules, ParsedExpressionTokenCheck tokenCheck, NamespaceMap namespaceMap) { this.typeData = typeData; this.nameLookup = nameLookup; this.commands = commands.GroupBy(x => x.HandleTypeName).ToDictionary(x => x.Key, x => x.AsEnumerable()); this.marshallingRules = marshallingRules; this.memberPatternRules = memberPatternRules; this.tokenCheck = tokenCheck; this.namespaceMap = namespaceMap; }
public PInvokeGenerator(IEnumerable <CommandDeclaration> commands, NamespaceMap namespaceMap, NameLookup nameLookup) { this.commands = commands; this.namespaceMap = namespaceMap; this.nameLookup = nameLookup; }
public ExtensionConstantGenerator(IEnumerable <ExtensionInfo> extensions, NameLookup nameLookup, NamespaceMap namespaceMap) { this.extensions = extensions; this.nameLookup = nameLookup; this.namespaceMap = namespaceMap; }