code
stringlengths
3
10M
language
stringclasses
31 values
module ddmd.astcodegen; struct ASTCodegen { import ddmd.aggregate; import ddmd.aliasthis; import ddmd.arraytypes; import ddmd.attrib; import ddmd.cond; import ddmd.dclass; import ddmd.declaration; import ddmd.denum; import ddmd.dimport; import ddmd.dmodule; import ddmd.dstruct; import ddmd.dsymbol; import ddmd.dtemplate; import ddmd.dversion; import ddmd.expression; import ddmd.func; import ddmd.hdrgen; import ddmd.init; import ddmd.mtype; import ddmd.nspace; import ddmd.statement; import ddmd.staticassert; alias UserAttributeDeclaration = ddmd.attrib.UserAttributeDeclaration; alias MODconst = ddmd.mtype.MODconst; alias MODimmutable = ddmd.mtype.MODimmutable; alias MODshared = ddmd.mtype.MODshared; alias MODwild = ddmd.mtype.MODwild; alias Type = ddmd.mtype.Type; alias Tident = ddmd.mtype.Tident; alias Tfunction = ddmd.mtype.Tfunction; alias Parameter = ddmd.mtype.Parameter; alias Taarray = ddmd.mtype.Taarray; alias Tsarray = ddmd.mtype.Tsarray; alias STCconst = ddmd.declaration.STCconst; alias STCimmutable = ddmd.declaration.STCimmutable; alias STCshared = ddmd.declaration.STCshared; alias STCwild = ddmd.declaration.STCwild; alias STCin = ddmd.declaration.STCin; alias STCout = ddmd.declaration.STCout; alias STCref = ddmd.declaration.STCref; alias STClazy = ddmd.declaration.STClazy; alias STCscope = ddmd.declaration.STCscope; alias STCfinal = ddmd.declaration.STCfinal; alias STCauto = ddmd.declaration.STCauto; alias STCreturn = ddmd.declaration.STCreturn; alias STCmanifest = ddmd.declaration.STCmanifest; alias STCgshared = ddmd.declaration.STCgshared; alias STCtls = ddmd.declaration.STCtls; alias STCsafe = ddmd.declaration.STCsafe; alias STCsystem = ddmd.declaration.STCsystem; alias STCtrusted = ddmd.declaration.STCtrusted; alias STCnothrow = ddmd.declaration.STCnothrow; alias STCpure = ddmd.declaration.STCpure; alias STCproperty = ddmd.declaration.STCproperty; alias STCnogc = ddmd.declaration.STCnogc; alias STCdisable = ddmd.declaration.STCdisable; alias STCundefined = ddmd.declaration.STCundefined; alias STC_TYPECTOR = ddmd.declaration.STC_TYPECTOR; alias STCoverride = ddmd.declaration.STCoverride; alias STCabstract = ddmd.declaration.STCabstract; alias STCsynchronized = ddmd.declaration.STCsynchronized; alias STCdeprecated = ddmd.declaration.STCdeprecated; alias STCstatic = ddmd.declaration.STCstatic; alias STCextern = ddmd.declaration.STCextern; alias STCfuture = ddmd.declaration.STCfuture; alias STCalias = ddmd.declaration.STCalias; alias STClocal = ddmd.declaration.STClocal; alias Dsymbol = ddmd.dsymbol.Dsymbol; alias Dsymbols = ddmd.dsymbol.Dsymbols; alias PROTprivate = ddmd.dsymbol.PROTprivate; alias PROTpackage = ddmd.dsymbol.PROTpackage; alias PROTprotected = ddmd.dsymbol.PROTprotected; alias PROTpublic = ddmd.dsymbol.PROTpublic; alias PROTexport = ddmd.dsymbol.PROTexport; alias PROTundefined = ddmd.dsymbol.PROTundefined; alias Prot = ddmd.dsymbol.Prot; alias stcToBuffer = ddmd.hdrgen.stcToBuffer; alias linkageToChars = ddmd.hdrgen.linkageToChars; alias protectionToChars = ddmd.hdrgen.protectionToChars; }
D
module decs.meta; /// Mixin all required types that are required for library to work with user components. /// /// $(B T) are all components that will be used in application. mixin template DeclareComponents(T...) { mixin MakeStorages; mixin MakeEntitiesStorage!T; }
D
/** UDAs for decorating tests. */ module unit_threaded.runner.attrs; import unit_threaded.from; enum UnitTest; //opt-in to registration enum DontTest; //opt-out of registration enum Serial; //run tests in the module in one thread / serially alias SingleThreaded = Serial; ///Hide test. Not run by default but can be run. struct HiddenTest { string reason; } /// The suite fails if the test passes. struct ShouldFail { string reason; } /// The suite fails unless the test throws T struct ShouldFailWith(T: Throwable) { alias Type = T; string reason; } /// Associate a name with a unittest block. struct Name { string value; } /// Associates one or more tags with the test struct Tags { this(string[] values...) { this.values = values;} this(string[] values) { this.values = values; } this(string value) { this.values = [value]; } string[] values; } /** Automatically assign @Tags for each parameterized test e.g. --------------- @Values("foo", "bar") @AutoTags unittest { ... } // there are now two unit tests, one for "foo" with tag "foo" // and one for "bar" with tag "bar" --------------- */ enum AutoTags; /** Attachs these types to the a parametrized unit test. The attached template function will be instantiated with each type listed, e.g. ---------------- @Types!(int, byte) void testInit(T)() { T.init.shouldEqual(0); } ---------------- These would mean two testInit test runs. Normally this would be a template but I don't know how to write * the UDA code to filter a template out */ struct Types(T...) { alias types = T; enum length = T.length; } /** Used as a UDA for built-in unittests to enable value-parametrized tests. Example: ------- @Values(1, 2, 3) unittest { assert(getValue!int % 2 == 0); } ------- The example above results in unit_threaded running the unit tests 3 times, once for each value declared. See `getValue`. */ auto Values(T)(T[] values...) { return ValuesImpl!T(values.dup); } auto Values(R)(R values) if(from!"std.range.primitives".isInputRange!R) { import std.range.primitives: ElementType; import std.array: array; return ValuesImpl!(ElementType!R)(values.array); } struct ValuesImpl(T) { T[] values; } /** Retrieves the current test value of type T in a built-in unittest. See `Values`. */ T getValue(T, int index = 0)() { return ValueHolder!T.values[index]; } package struct ValueHolder(T) { static T[10] values; } enum Setup; enum Shutdown; struct Flaky { /// the number of times to run the test enum defaultRetries = 10; int retries = defaultRetries; }
D
INSTANCE Info_Mod_Bollok_Hi (C_INFO) { npc = Mod_10043_Orc_Bollok_OM; nr = 1; condition = Info_Mod_Bollok_Hi_Condition; information = Info_Mod_Bollok_Hi_Info; permanent = 0; important = 0; description = "Verstehst du unsere Sprache?"; }; FUNC INT Info_Mod_Bollok_Hi_Condition() { return 1; }; FUNC VOID Info_Mod_Bollok_Hi_Info() { AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_00"); //Verstehst du unsere Sprache? AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_01"); //(überrascht) Mensch sprechen ganz normal ... nicht wie andere, die plötzlich komisch verändert und mit Schwert sich gegenseitig angreifen. AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_02"); //Kannst du mir sagen, was passiert ist? AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_03"); //In dem großen finsteren Höhle hinten, wo früher Gachluk gewesen, plötzlich aufstehen Menschensklaven, die vorher tot, nun nicht mehr tot ... aber auch nicht lebend. AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_04"); //Andere sie genannt "Zombies", glaube ich. AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_05"); //Aha, die Leichname der Sklaven sind zu Untotendasein erwacht. AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_06"); //Was ist dann passiert? AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_07"); //Chef der Mine Kurgan sagen, dass viele Männer in Finsternis gehen, um "Zombies" zu schlagen mit Schwert. AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_08"); //Haben auch getan und gekämpft. Aber nicht alle überlebt und die, die wieder herauskamen, verändert. AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_09"); //Verändert? AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_10"); //Ja, finsterer Schatten auf Gesicht und haben angegriffen alle anderen. AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_11"); //Andere die verletzt und tot dann brachten auch in die Finsternis ... ebenfalls verändert und die tot als Zombies herausgekommen. AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_12"); //Bollok hat auch befürchtet, dass mich angreifen und umbringen ... aber nicht getan. AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_13"); //Danke für die Informationen. AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_14"); //Dann muss ich da wohl hin um die Wurzel des Übels zu finden. AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_15"); //Mensch seien starker und mutiger Krieger. Wünschen Glück auf Weg ... AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_16"); //Warte, bevor vergessen, Veränderte haben auch gebracht viel magisches Erz in Finsternis. AI_Output(self, hero, "Info_Mod_Bollok_Hi_18_17"); //Alles sehr sonderbar. AI_TurnAway (hero, self); AI_Output(hero, self, "Info_Mod_Bollok_Hi_15_18"); //(zu sich selbst) Ja, das klingt wirklich merkwürdig. AI_TurnToNpc (hero, self); }; INSTANCE Info_Mod_Bollok_EXIT (C_INFO) { npc = Mod_10043_Orc_Bollok_OM; nr = 1; condition = Info_Mod_Bollok_EXIT_Condition; information = Info_Mod_Bollok_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_Bollok_EXIT_Condition() { return 1; }; FUNC VOID Info_Mod_Bollok_EXIT_Info() { AI_StopProcessInfos (self); };
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010 by Rainer Schuetze, All Rights Reserved // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt module visuald.vdextensions; import sdk.port.base; import sdk.win32.oaidl; import sdk.win32.objbase; import sdk.win32.oleauto; import sdk.win32.wtypes; import sdk.vsi.textmgr; import sdk.vsi.vsshell; import stdext.com; import visuald.hierutil; import visuald.dpackage; import visuald.config; __gshared IVisualDHelper vdhelper; __gshared IVisualCHelper vchelper; interface IVisualDHelper : IUnknown { static const GUID iid = uuid("002a2de9-8bb6-484d-9910-7e4ad4084715"); int GetTextOptions(IVsTextView view, int* flags, int* tabsize, int* indentsize); } IVisualDHelper createDHelper() { if (!vdhelper) vdhelper = VsLocalCreateInstance!IVisualDHelper (&g_VisualDHelperCLSID, CLSCTX_INPROC_SERVER); return vdhelper; } interface IVisualCHelper : IUnknown { static const GUID iid = uuid("002a2de9-8bb6-484d-9911-7e4ad4084715"); int GetDCompileOptions(IVsHierarchy proj, VSITEMID itemid, BSTR* impPath, BSTR* stringImpPath, BSTR* versionids, BSTR* debugids, ref uint flags); int GetDCommandLine(IVsHierarchy proj, uint itemid, BSTR* cmdline); } IVisualCHelper createCHelper() { if (!vchelper) vchelper = VsLocalCreateInstance!IVisualCHelper (&g_VisualCHelperCLSID, CLSCTX_INPROC_SERVER); return vchelper; } int vdhelper_GetTextOptions(IVsTextView view, int* flags, int* tabsize, int* indentsize) { try { if (!createDHelper()) return S_FALSE; return vdhelper.GetTextOptions(view, flags, tabsize, indentsize); } catch(Throwable) { return E_FAIL; } } int vdhelper_GetDCompileOptions(IVsHierarchy proj, VSITEMID itemid, ProjectOptions opt) { try { if (!createCHelper()) return S_FALSE; BSTR versionids; BSTR debugids; BSTR impPath; BSTR stringImpPath; uint flags; // see ConfigureFlags!() int rc = vchelper.GetDCompileOptions(proj, itemid, &impPath, &stringImpPath, &versionids, &debugids, flags); if (rc != S_OK) return rc; opt.versionids = detachBSTR(versionids); opt.debugids = detachBSTR(debugids); opt.imppath = detachBSTR(impPath); opt.fileImppath = detachBSTR(stringImpPath); opt.useUnitTests = (flags & 1) != 0; opt.release = (flags & 2) == 0; opt.isX86_64 = (flags & 4) != 0; opt.cov = (flags & 8) != 0; opt.doDocComments = (flags & 16) != 0; opt.boundscheck = (flags & 32) != 0 ? 3 : 0; opt.errDeprecated = (flags & 128) != 0; opt.compiler = (flags & 0x4_00_00_00) != 0 ? Compiler.LDC : (flags & 64) != 0 ? Compiler.GDC : Compiler.DMD; opt.versionlevel = (flags >> 8) & 0xff; opt.debuglevel = (flags >> 16) & 0xff; opt.mscoff = true; return S_OK; } catch(Throwable) { return E_FAIL; } } int vdhelper_GetDCommandLine(IVsHierarchy proj, VSITEMID itemid, out string cmd) { try { if (!createCHelper()) return S_FALSE; BSTR cmdline; int rc = vchelper.GetDCommandLine(proj, itemid, &cmdline); if (rc != S_OK) return rc; cmd = detachBSTR(cmdline); return S_OK; } catch(Throwable) { return E_FAIL; } }
D
/****************************************************************************** The MiniD compiler. This is, unsurprisingly, the largest part of the implementation, although it has a very small public interface. License: Copyright (c) 2007 Jarrett Billingsley This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. ******************************************************************************/ module minid.compiler; import Float = tango.text.convert.Float; import Integer = tango.text.convert.Integer; import tango.core.Exception; import tango.text.Util; import utf = tango.text.convert.Utf; import tango.io.Stdout; import tango.io.protocol.model.IReader; import tango.io.protocol.Reader; import tango.io.FileConduit; import tango.io.UnicodeFile; import tango.io.FilePath; import Uni = tango.text.Unicode; import minid.types; import minid.opcodes; import minid.utils; //debug = REGPUSHPOP; //debug = VARACTIVATE; //debug = WRITECODE; /** Compile a source code file into a binary module. Takes the path to the source file and returns the compiled module, which can be loaded into a context. You shouldn't have to deal with this function that much. Most of the time the compilation of modules should be handled for you by the import system in MDContext. */ public MDModuleDef compileModule(char[] filename) { scope path = new FilePath(filename); return compileModule((new UnicodeFile!(dchar)(path, Encoding.Unknown)).read(), path.file); } /** Compile a module from a string containing the source code. Params: source = The source code as a string. name = The name which should be used as the source name in compiler error message. Takes the place of the filename when compiling from a source file. Returns: The compiled module. */ public MDModuleDef compileModule(dchar[] source, char[] name) { Token* tokens = Lexer.lex(name, source); return Module.parse(tokens).codeGen(); } /** Compile a list of statements into a function body which takes a variadic number of arguments. Kind of like a module without the module statement. Params: source = The source code as a string. name = The name to use as the source name for compilation errors. atEOF = (Optional) This parameter is useful for writing interactive interpreters. Try to call this function with this parameter set to an output, and if you catch any compilation exceptions, you can check this output to see if typing more could result in the code compiling correctly. That is, you can collect input from the user one line at a time, compiling each time they hit enter, and if the atEOF output is true, keep letting them input code and recompiling until it works. You can see the source of mdcl for an example of using this. Returns: The compiled function. */ public MDFuncDef compileStatements(dchar[] source, char[] name) { Token* tokens = Lexer.lex(name, source); List!(Statement) s; try { while(tokens.type != Token.Type.EOF) s.add(Statement.parse(tokens)); } catch(Object o) { if(tokens.type == Token.Type.EOF) { if(auto mdce = cast(MDCompileException)o) mdce.atEOF = true; } throw o; } Statement[] stmts = s.toArray(); FuncState fs = new FuncState(Location(utf.toString32(name), 1, 1), utf.toString32(name)); fs.mIsVararg = true; foreach(stmt; stmts) stmt.fold().codeGen(fs); if(stmts.length == 0) fs.codeI(1, Op.Ret, 0, 1); else fs.codeI(stmts[$ - 1].mEndLocation.line, Op.Ret, 0, 1); //fs.showMe(); Stdout.flush; return fs.toFuncDef(); } /** Compile a single expression into a function which returns the value of that expression when called. Params: source = The source code as a strng. name = The name to use as the source name for compilation errors. Returns: The compiled function. */ public MDFuncDef compileExpression(dchar[] source, char[] name) { Token* tokens = Lexer.lex(name, source); Expression e; try e = Expression.parse(tokens); catch(Object o) { if(tokens.type == Token.Type.EOF) { if(auto mdce = cast(MDCompileException)o) mdce.atEOF = true; } throw o; } if(tokens.type != Token.Type.EOF) throw new MDCompileException(tokens.location, "Extra unexpected code after expression"); FuncState fs = new FuncState(Location(utf.toString32(name), 1, 1), utf.toString32(name)); fs.mIsVararg = true; auto ret = (new ReturnStatement(e)).fold(); ret.codeGen(fs); fs.codeI(ret.mEndLocation.line, Op.Ret, 0, 1); return fs.toFuncDef(); } /** Parses a JSON string into a MiniD value and returns that value. Just like the MiniD baselib function. */ public MDValue loadJSON(dchar[] source) { Token* tokens = Lexer.lex("JSON", source, true); if(tokens.type == Token.Type.LBrace) return TableCtorExp.parseJSON(tokens); else return ArrayCtorExp.parseJSON(tokens); } struct Token { public static enum Type { As, Break, Case, Catch, Class, Continue, Coroutine, Default, Do, Else, False, Finally, For, Foreach, Function, Global, If, Import, In, Is, Local, Module, Namespace, Null, Return, Super, Switch, This, Throw, True, Try, Vararg, While, With, Yield, Add, AddEq, Inc, Sub, SubEq, Dec, Cat, CatEq, Cmp3, Mul, MulEq, DefaultEq, Div, DivEq, Mod, ModEq, LT, LE, Shl, ShlEq, GT, GE, Shr, ShrEq, UShr, UShrEq, And, AndEq, AndAnd, Or, OrEq, OrOr, Xor, XorEq, Assign, EQ, Dot, DotDot, Not, NE, LParen, RParen, LBracket, RBracket, LBrace, RBrace, Colon, Comma, Semicolon, Length, Question, Ident, CharLiteral, StringLiteral, IntLiteral, FloatLiteral, EOF } public static const dchar[][] tokenStrings = [ Type.As: "as", Type.Break: "break", Type.Case: "case", Type.Catch: "catch", Type.Class: "class", Type.Continue: "continue", Type.Coroutine: "coroutine", Type.Default: "default", Type.Do: "do", Type.Else: "else", Type.False: "false", Type.Finally: "finally", Type.For: "for", Type.Foreach: "foreach", Type.Function: "function", Type.Global: "global", Type.If: "if", Type.Import: "import", Type.In: "in", Type.Is: "is", Type.Local: "local", Type.Module: "module", Type.Namespace: "namespace", Type.Null: "null", Type.Return: "return", Type.Super: "super", Type.Switch: "switch", Type.This: "this", Type.Throw: "throw", Type.True: "true", Type.Try: "try", Type.Vararg: "vararg", Type.While: "while", Type.With: "with", Type.Yield: "yield", Type.Add: "+", Type.AddEq: "+=", Type.Inc: "++", Type.Sub: "-", Type.SubEq: "-=", Type.Dec: "--", Type.Cat: "~", Type.CatEq: "~=", Type.Cmp3: "<=>", Type.Mul: "*", Type.MulEq: "*=", Type.DefaultEq: "?=", Type.Div: "/", Type.DivEq: "/=", Type.Mod: "%", Type.ModEq: "%=", Type.LT: "<", Type.LE: "<=", Type.Shl: "<<", Type.ShlEq: "<<=", Type.GT: ">", Type.GE: ">=", Type.Shr: ">>", Type.ShrEq: ">>=", Type.UShr: ">>>", Type.UShrEq: ">>>=", Type.And: "&", Type.AndEq: "&=", Type.AndAnd: "&&", Type.Or: "|", Type.OrEq: "|=", Type.OrOr: "||", Type.Xor: "^", Type.XorEq: "^=", Type.Assign: "=", Type.EQ: "==", Type.Dot: ".", Type.DotDot: "..", Type.Not: "!", Type.NE: "!=", Type.LParen: "(", Type.RParen: ")", Type.LBracket: "[", Type.RBracket: "]", Type.LBrace: "{", Type.RBrace: "}", Type.Colon: ":", Type.Comma: ",", Type.Semicolon: ";", Type.Length: "#", Type.Question: "?", Type.Ident: "Identifier", Type.CharLiteral: "Char Literal", Type.StringLiteral: "String Literal", Type.IntLiteral: "Int Literal", Type.FloatLiteral: "Float Literal", Type.EOF: "<EOF>" ]; public static Type[dchar[]] stringToType; static this() { stringToType["as"] = Type.As; stringToType["break"] = Type.Break; stringToType["case"] = Type.Case; stringToType["catch"] = Type.Catch; stringToType["class"] = Type.Class; stringToType["continue"] = Type.Continue; stringToType["coroutine"] = Type.Coroutine; stringToType["default"] = Type.Default; stringToType["do"] = Type.Do; stringToType["else"] = Type.Else; stringToType["false"] = Type.False; stringToType["finally"] = Type.Finally; stringToType["for"] = Type.For; stringToType["foreach"] = Type.Foreach; stringToType["function"] = Type.Function; stringToType["global"] = Type.Global; stringToType["if"] = Type.If; stringToType["import"] = Type.Import; stringToType["in"] = Type.In; stringToType["is"] = Type.Is; stringToType["local"] = Type.Local; stringToType["module"] = Type.Module; stringToType["namespace"] = Type.Namespace; stringToType["null"] = Type.Null; stringToType["return"] = Type.Return; stringToType["super"] = Type.Super; stringToType["switch"] = Type.Switch; stringToType["this"] = Type.This; stringToType["throw"] = Type.Throw; stringToType["true"] = Type.True; stringToType["try"] = Type.Try; stringToType["vararg"] = Type.Vararg; stringToType["while"] = Type.While; stringToType["with"] = Type.With; stringToType["yield"] = Type.Yield; stringToType["("] = Type.LParen; stringToType[")"] = Type.RParen; stringToType["["] = Type.LBracket; stringToType["]"] = Type.RBracket; stringToType["{"] = Type.LBrace; stringToType["}"] = Type.RBrace; stringToType[":"] = Type.Colon; stringToType[","] = Type.Comma; stringToType[";"] = Type.Semicolon; stringToType["#"] = Type.Length; stringToType.rehash; } public char[] toString() { switch(type) { case Type.Ident: return "Identifier: " ~ utf.toString(stringValue); case Type.CharLiteral: return "Character Literal"; case Type.StringLiteral: return "String Literal"; case Type.IntLiteral: return "Integer Literal: " ~ Integer.toString(intValue); case Type.FloatLiteral: return "Float Literal: " ~ Float.toString(floatValue); default: return utf.toString(tokenStrings[cast(uint)type]); } } public Token* expect(Type t) { if(type != t) throw new MDCompileException(location, "'{}' expected; found '{}' instead", tokenStrings[t], tokenStrings[type]); return nextToken; } public bool isOpAssign() { switch(type) { case Token.Type.AddEq, Token.Type.SubEq, Token.Type.CatEq, Token.Type.MulEq, Token.Type.DivEq, Token.Type.ModEq, Token.Type.ShlEq, Token.Type.ShrEq, Token.Type.UShrEq, Token.Type.OrEq, Token.Type.XorEq, Token.Type.AndEq, Token.Type.DefaultEq: return true; default: return false; } } public Type type; union { public bool boolValue; public dchar[] stringValue; public int intValue; public mdfloat floatValue; } public Location location; public Token* nextToken; } class Lexer { protected static dchar[] mSource; protected static Location mLoc; protected static size_t mPosition; protected static dchar mCharacter; protected static dchar mLookaheadCharacter; protected static bool mHaveLookahead = false; protected static bool mIsJSON = false; public static Token* lex(char[] name, dchar[] source, bool isJSON = false) { mLoc = Location(utf.toString32(name), 1, 0); mSource = source; mPosition = 0; mIsJSON = isJSON; nextChar(); if(mCharacter == '#') { nextChar(); if(mCharacter != '!') throw new MDCompileException(mLoc, "Script line must start with \"#!\""); while(!isEOL()) nextChar(); } Token* firstToken = nextToken(); Token* t = firstToken; while(t.type != Token.Type.EOF) { Token* next = nextToken(); t.nextToken = next; t = t.nextToken; } return firstToken; } protected static bool isEOF() { return (mCharacter == '\0') || (mCharacter == dchar.init); } protected static bool isEOL() { return isNewline() || isEOF(); } protected static bool isWhitespace() { return (mCharacter == ' ') || (mCharacter == '\t') || (mCharacter == '\v') || (mCharacter == '\u000C') || isEOL(); } protected static bool isNewline() { return (mCharacter == '\r') || (mCharacter == '\n'); } protected static bool isBinaryDigit() { return (mCharacter == '0') || (mCharacter == '1'); } protected static bool isOctalDigit() { return (mCharacter >= '0') && (mCharacter <= '7'); } protected static bool isHexDigit() { return ((mCharacter >= '0') && (mCharacter <= '9')) || ((mCharacter >= 'a') && (mCharacter <= 'f')) || ((mCharacter >= 'A') && (mCharacter <= 'F')); } protected static bool isDecimalDigit() { return (mCharacter >= '0') && (mCharacter <= '9'); } protected static bool isAlpha() { return ((mCharacter >= 'a') && (mCharacter <= 'z')) || ((mCharacter >= 'A') && (mCharacter <= 'Z')); } protected static ubyte hexDigitToInt(dchar c) { assert((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'), "hexDigitToInt"); if(c >= '0' && c <= '9') return c - '0'; if(Uni.isUpper(c)) return c - 'A' + 10; else return c - 'a' + 10; } protected static dchar readChar() { if(mPosition >= mSource.length) return dchar.init; else return mSource[mPosition++]; } protected static dchar lookaheadChar() { assert(mHaveLookahead == false, "looking ahead too far"); mLookaheadCharacter = readChar(); mHaveLookahead = true; return mLookaheadCharacter; } protected static void nextChar() { mLoc.column++; if(mHaveLookahead) { mCharacter = mLookaheadCharacter; mHaveLookahead = false; } else { mCharacter = readChar(); } } protected static void nextLine() { while(isNewline() && !isEOF()) { dchar old = mCharacter; nextChar(); if(isNewline() && mCharacter != old) nextChar(); mLoc.line++; mLoc.column = 1; } } protected static bool readNumLiteral(bool prependPoint, out mdfloat fret, out int iret) { Location beginning = mLoc; dchar[100] buf; uint i = 0; void add(dchar c) { buf[i] = c; i++; } bool hasPoint = false; if(prependPoint) { hasPoint = true; add('.'); } else { if(mCharacter == '0') { nextChar(); switch(mCharacter) { case 'b', 'B': nextChar(); if(!isBinaryDigit() && mCharacter != '_') throw new MDCompileException(mLoc, "Binary digit expected, not '{}'", mCharacter); while(isBinaryDigit() || mCharacter == '_') { if(mCharacter != '_') add(mCharacter); nextChar(); } try iret = Integer.toInt(buf[0 .. i], 2); catch(IllegalArgumentException e) throw new MDCompileException(beginning, e.toString()); return true; case 'c', 'C': nextChar(); if(!isOctalDigit() && mCharacter != '_') throw new MDCompileException(mLoc, "Octal digit expected, not '{}'", mCharacter); while(isOctalDigit() || mCharacter == '_') { if(mCharacter != '_') add(mCharacter); nextChar(); } try iret = Integer.toInt(buf[0 .. i], 8); catch(IllegalArgumentException e) throw new MDCompileException(beginning, e.toString()); return true; case 'x', 'X': nextChar(); if(!isHexDigit() && mCharacter != '_') throw new MDCompileException(mLoc, "Hexadecimal digit expected, not '{}'", mCharacter); while(isHexDigit() || mCharacter == '_') { if(mCharacter != '_') add(mCharacter); nextChar(); } try iret = Integer.toInt(buf[0 .. i], 16); catch(IllegalArgumentException e) throw new MDCompileException(beginning, e.toString()); return true; default: add('0'); break; } } } while(hasPoint == false) { if(isDecimalDigit()) { add(mCharacter); nextChar(); } else if(mCharacter == '.') { if(lookaheadChar() == '.') { // next token is probably a .. break; } else { hasPoint = true; add(mCharacter); nextChar(); } } else if(mCharacter == '_') { //REACHABLE? nextChar(); continue; } else // this will still handle exponents on literals without a decimal point break; } if(hasPoint) { if(isDecimalDigit()) { add(mCharacter); nextChar(); } else if(mCharacter == '_') nextChar(); else throw new MDCompileException(mLoc, "Floating point literal '{}' must have at least one digit after decimal point", buf[0 .. i]); } bool hasExponent = false; while(true) { if(isDecimalDigit()) { add(mCharacter); nextChar(); } else if(mCharacter == 'e' || mCharacter == 'E') { hasExponent = true; add(mCharacter); nextChar(); if(mCharacter == '-' || mCharacter == '+') { add(mCharacter); nextChar(); } if(!isDecimalDigit() && mCharacter != '_') throw new MDCompileException(mLoc, "Exponent value expected in float literal '{}'", buf[0 .. i]); while(isDecimalDigit() || mCharacter == '_') { if(mCharacter != '_') add(mCharacter); nextChar(); } break; } else if(mCharacter == '_') { nextChar(); continue; } else break; } if(hasPoint == false && hasExponent == false) { try iret = Integer.toInt(buf[0 .. i], 10); catch(IllegalArgumentException e) throw new MDCompileException(beginning, e.toString()); return true; } else { try fret = Float.toFloat(utf.toString(buf[0 .. i])); catch(IllegalArgumentException e) throw new MDCompileException(beginning, e.toString()); return false; } } protected static dchar readEscapeSequence(Location beginning) { uint readHexDigits(uint num) { uint ret = 0; for(uint i = 0; i < num; i++) { if(isHexDigit() == false) throw new MDCompileException(mLoc, "Hexadecimal escape digits expected"); ret <<= 4; ret |= hexDigitToInt(mCharacter); nextChar(); } return ret; } dchar ret; assert(mCharacter == '\\', "escape seq - must start on backslash"); nextChar(); if(isEOF()) throw new MDCompileException(beginning, "Unterminated string or character literal"); switch(mCharacter) { case 'a': nextChar(); return '\a'; case 'b': nextChar(); return '\b'; case 'f': nextChar(); return '\f'; case 'n': nextChar(); return '\n'; case 'r': nextChar(); return '\r'; case 't': nextChar(); return '\t'; case 'v': nextChar(); return '\v'; case '\\': nextChar(); return '\\'; case '\"': nextChar(); return '\"'; case '\'': nextChar(); return '\''; case '/': if(mIsJSON) { nextChar(); return '/'; } goto default; case 'x': nextChar(); uint x = readHexDigits(2); if(x > 0x7F) throw new MDCompileException(mLoc, "Hexadecimal escape sequence too large"); ret = cast(dchar)x; break; case 'u': nextChar(); uint x = readHexDigits(4); if(x == 0xFFFE || x == 0xFFFF) throw new MDCompileException(mLoc, "Unicode escape '\\u{:x4}' is illegal", x); ret = cast(dchar)x; break; case 'U': nextChar(); uint x = readHexDigits(8); if(x == 0xFFFE || x == 0xFFFF) throw new MDCompileException(mLoc, "Unicode escape '\\U{:x8}' is illegal", x); if(isValidUniChar(cast(dchar)x) == false) throw new MDCompileException(mLoc, "Unicode escape '\\U{:x8}' too large", x); ret = cast(dchar)x; break; default: if(!isDecimalDigit()) throw new MDCompileException(mLoc, "Invalid string escape sequence '\\{}'", mCharacter); // Decimal char int numch = 0; int c = 0; do { c = 10 * c + (mCharacter - '0'); nextChar(); } while(++numch < 3 && isDecimalDigit()); if(c > 0x7F) throw new MDCompileException(mLoc, "Numeric escape sequence too large"); ret = cast(dchar)c; break; } return ret; } protected static dchar[] readStringLiteral(bool escape) { Location beginning = mLoc; uint i = 0; dchar[] buf = new dchar[100]; void add(dchar c) { if(i >= buf.length) buf.length = cast(uint)(buf.length * 1.5); buf[i] = c; i++; } dchar delimiter = mCharacter; // Skip opening quote nextChar(); while(mCharacter != delimiter) { if(isEOF()) throw new MDCompileException(beginning, "Unterminated string literal"); switch(mCharacter) { case '\r', '\n': add('\n'); nextLine(); break; case '\\': if(escape == false) goto default; add(readEscapeSequence(beginning)); continue; default: add(mCharacter); nextChar(); break; } } // Skip end quote nextChar(); return buf[0 .. i]; } protected static dchar readCharLiteral() { Location beginning = mLoc; dchar ret; assert(mCharacter == '\'', "char literal must start with single quote"); nextChar(); if(isEOF()) throw new MDCompileException(beginning, "Unterminated character literal"); switch(mCharacter) { case '\\': ret = readEscapeSequence(beginning); break; default: ret = mCharacter; nextChar(); break; } if(mCharacter != '\'') throw new MDCompileException(beginning, "Unterminated character literal"); nextChar(); return ret; } protected static Token* nextToken() { Token* token = new Token; Location tokenLoc; scope(exit) token.location = tokenLoc; while(true) { tokenLoc = mLoc; switch(mCharacter) { case '\r', '\n': nextLine(); continue; case '+': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.AddEq; } else if(mCharacter == '+') { nextChar(); token.type = Token.Type.Inc; } else token.type = Token.Type.Add; return token; case '-': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.SubEq; } else if(mCharacter == '-') { nextChar(); token.type = Token.Type.Dec; } else token.type = Token.Type.Sub; return token; case '~': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.CatEq; } else token.type = Token.Type.Cat; return token; case '*': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.MulEq; } else token.type = Token.Type.Mul; return token; case '/': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.DivEq; return token; } else if(mCharacter == '/') { while(!isEOL()) nextChar(); } else if(mCharacter == '*') { nextChar(); _commentLoop: while(true) { switch(mCharacter) { case '*': nextChar(); if(mCharacter == '/') { nextChar(); break _commentLoop; } continue; case '\r', '\n': nextLine(); continue; case '\0', dchar.init: throw new MDCompileException(tokenLoc, "Unterminated /* */ comment"); default: break; } nextChar(); } } else if(mCharacter == '+') { nextChar(); uint nesting = 1; _commentLoop2: while(true) { switch(mCharacter) { case '/': nextChar(); if(mCharacter == '+') { nextChar(); nesting++; } continue; case '+': nextChar(); if(mCharacter == '/') { nextChar(); nesting--; if(nesting == 0) break _commentLoop2; } continue; case '\r', '\n': nextLine(); continue; case '\0', dchar.init: throw new MDCompileException(tokenLoc, "Unterminated /+ +/ comment"); default: break; } nextChar(); } } else { token.type = Token.Type.Div; return token; } break; case '%': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.ModEq; } else token.type = Token.Type.Mod; return token; case '<': nextChar(); if(mCharacter == '=') { nextChar(); if(mCharacter == '>') { nextChar(); token.type = Token.Type.Cmp3; } else token.type = Token.Type.LE; } else if(mCharacter == '<') { nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.ShlEq; } else token.type = Token.Type.Shl; } else token.type = Token.Type.LT; return token; case '>': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.GE; } else if(mCharacter == '>') { nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.ShrEq; } else if(mCharacter == '>') { nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.UShrEq; } else token.type = Token.Type.UShr; } else token.type = Token.Type.Shr; } else token.type = Token.Type.GT; return token; case '&': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.AndEq; } else if(mCharacter == '&') { nextChar(); token.type = Token.Type.AndAnd; } else token.type = Token.Type.And; return token; case '|': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.OrEq; } else if(mCharacter == '|') { nextChar(); token.type = Token.Type.OrOr; } else token.type = Token.Type.Or; return token; case '^': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.XorEq; } else token.type = Token.Type.Xor; return token; case '=': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.EQ; } else token.type = Token.Type.Assign; return token; case '.': nextChar(); if(isDecimalDigit()) { int dummy; bool b = readNumLiteral(true, token.floatValue, dummy); assert(b == false, "literal must be float"); token.type = Token.Type.FloatLiteral; } else { if(mCharacter == '.') { nextChar(); token.type = Token.Type.DotDot; } else token.type = Token.Type.Dot; } return token; case '!': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.NE; } else token.type = Token.Type.Not; return token; case '?': nextChar(); if(mCharacter == '=') { nextChar(); token.type = Token.Type.DefaultEq; } else token.type = Token.Type.Question; return token; case '\"': token.stringValue = readStringLiteral(true); token.type = Token.Type.StringLiteral; return token; case '`': token.stringValue = readStringLiteral(false); token.type = Token.Type.StringLiteral; return token; case '@': nextChar(); if(mCharacter != '\"') throw new MDCompileException(tokenLoc, "'@' expected to be followed by '\"'"); token.stringValue = readStringLiteral(false); token.type = Token.Type.StringLiteral; return token; case '\'': token.intValue = readCharLiteral(); token.type = Token.Type.CharLiteral; return token; case '\0', dchar.init: token.type = Token.Type.EOF; return token; default: if(isWhitespace()) { nextChar(); continue; } else if(isDecimalDigit()) { mdfloat fval; int ival; bool isInt = readNumLiteral(false, fval, ival); if(isInt == false) { token.floatValue = fval; token.type = Token.Type.FloatLiteral; return token; } else { token.intValue = ival; token.type = Token.Type.IntLiteral; return token; } } else if(isAlpha() || mCharacter == '_') { dchar[] s; do { s ~= mCharacter; nextChar(); } while(isAlpha() || isDecimalDigit() || mCharacter == '_'); if(s.length >= 2 && s[0 .. 2] == "__") throw new MDCompileException(tokenLoc, "'{}': Identifiers starting with two underscores are reserved", s); Token.Type* t = (s in Token.stringToType); if(t is null) { token.type = Token.Type.Ident; token.stringValue = s; return token; } else { token.type = *t; return token; } } else { dchar[] s; s ~= mCharacter; nextChar(); Token.Type* t = (s in Token.stringToType); if(t is null) throw new MDCompileException(tokenLoc, "Invalid token '{}'", s); else token.type = *t; return token; } } } } } struct InstRef { InstRef* trueList; InstRef* falseList; uint pc; } enum ExpType { Null, True, False, Const, Var, NewGlobal, Indexed, Sliced, Vararg, Closure, Call, Yield, NeedsDest, Src } struct Exp { ExpType type; uint index; uint index2; uint index3; bool isTempReg; bool isTempReg2; bool isTempReg3; char[] toString() { static const char[][] typeNames = [ ExpType.Null: "Null", ExpType.True: "True", ExpType.False: "False", ExpType.Const: "Const", ExpType.Var: "Var", ExpType.NewGlobal: "NewGlobal", ExpType.Indexed: "Indexed", ExpType.Sliced: "Sliced", ExpType.Vararg: "Vararg", ExpType.Closure: "Closure", ExpType.Call: "Call", ExpType.Yield: "Yield", ExpType.NeedsDest: "NeedsDest", ExpType.Src: "Src" ]; return Stdout.layout.convert("{} ({}, {}, {}) : ({}, {}, {})", typeNames[cast(uint)type], index, index2, index3, isTempReg, isTempReg2, isTempReg3); } } class FuncState { struct Scope { protected Scope* enclosing; protected Scope* breakScope; protected Scope* continueScope; protected InstRef* breaks; protected InstRef* continues; protected uint varStart = 0; protected uint regStart = 0; protected bool hasUpval = false; } protected FuncState mParent; protected Scope* mScope; protected int mFreeReg = 0; protected Exp[] mExpStack; protected int mExpSP = 0; protected bool mIsVararg; protected FuncState[] mInnerFuncs; protected Location mLocation; protected MDValue[] mConstants; protected uint mNumParams; protected uint mStackSize; protected Instruction[] mCode; protected uint[] mLineInfo; protected dchar[] mGuessedName; protected bool mIsMethod; struct LocVarDesc { dchar[] name; Location location; uint reg; bool isActive; } protected LocVarDesc[] mLocVars; struct UpvalDesc { bool isUpvalue; uint index; dchar[] name; } protected UpvalDesc[] mUpvals; struct SwitchDesc { uint switchPC; int[MDValue] offsets; int defaultOffset = -1; SwitchDesc* prev; } // Switches are kept on this switch stack while being built.. protected SwitchDesc* mSwitch; // ..and are then transfered to this array when they are done. protected SwitchDesc*[] mSwitchTables; protected static ClassDef[] mCurrentClass; protected static uint mClassDefIndex = 0; public static void enterClass(ClassDef def) { if(mClassDefIndex >= mCurrentClass.length) mCurrentClass.length = mCurrentClass.length + 3; mCurrentClass[mClassDefIndex] = def; mClassDefIndex++; } public static void leaveClass() { assert(mClassDefIndex != 0, "Number of classes underflow"); mClassDefIndex--; } public static ClassDef currentClass() { assert(mClassDefIndex != 0); return mCurrentClass[mClassDefIndex - 1]; } public this(Location location, dchar[] guessedName, FuncState parent = null, bool isMethod = false) { mLocation = location; mGuessedName = guessedName; mIsMethod = isMethod; mParent = parent; mScope = new Scope; mExpStack = new Exp[10]; if(parent !is null) parent.mInnerFuncs ~= this; else { mNumParams = 1; insertLocal(new Identifier("this", mLocation)); activateLocals(1); } } public bool isMethod() { return mIsMethod; } public uint tagLocal(uint val) { if((val & ~Instruction.locMask) > MaxRegisters) throw new MDCompileException(mLocation, "Too many locals"); return (val & ~Instruction.locMask) | Instruction.locLocal; } public uint tagConst(uint val) { if((val & ~Instruction.locMask) >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants"); return (val & ~Instruction.locMask) | Instruction.locConst; } public uint tagUpval(uint val) { if((val & ~Instruction.locMask) >= MaxUpvalues) throw new MDCompileException(mLocation, "Too many upvalues"); return (val & ~Instruction.locMask) | Instruction.locUpval; } public uint tagGlobal(uint val) { if((val & ~Instruction.locMask) >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants"); return (val & ~Instruction.locMask) | Instruction.locGlobal; } public bool isLocalTag(uint val) { return ((val & Instruction.locMask) == Instruction.locLocal); } public bool isConstTag(uint val) { return ((val & Instruction.locMask) == Instruction.locConst); } public bool isUpvalTag(uint val) { return ((val & Instruction.locMask) == Instruction.locUpval); } public bool isGlobalTag(uint val) { return ((val & Instruction.locMask) == Instruction.locGlobal); } public uint resolveAssignmentConflicts(uint line, uint numVals) { uint numTemps = 0; for(int i = mExpSP - numVals + 1; i < mExpSP; i++) { Exp* index = &mExpStack[i]; uint reloc = uint.max; for(int j = mExpSP - numVals; j < i; j++) { Exp* e = &mExpStack[j]; if(e.index == index.index || e.index2 == index.index) { if(reloc == uint.max) { numTemps++; reloc = pushRegister(); if(isLocalTag(index.index)) codeR(line, Op.MoveLocal, reloc, index.index, 0); else codeR(line, Op.Move, reloc, index.index, 0); } if(e.index == index.index) e.index = reloc; if(e.index2 == index.index) e.index2 = reloc; } } } return numTemps; } public void popAssignmentConflicts(uint num) { mFreeReg -= num; } public void pushScope() { Scope* s = new Scope; s.breakScope = mScope.breakScope; s.continueScope = mScope.continueScope; s.varStart = mLocVars.length; s.regStart = mFreeReg; s.enclosing = mScope; mScope = s; } public void popScope(uint line) { Scope* s = mScope; assert(s !is null, "scope underflow"); mScope = mScope.enclosing; if(s.hasUpval) codeClose(line, s.regStart); deactivateLocals(s.varStart, s.regStart); delete s; } public void closeUpvals(uint line) { if(mScope.hasUpval) { codeClose(line); mScope.hasUpval = false; } } public void beginSwitch(uint line, uint srcReg) { SwitchDesc* sd = new SwitchDesc; sd.switchPC = codeR(line, Op.Switch, 0, srcReg, 0); sd.prev = mSwitch; mSwitch = sd; } public void endSwitch() { SwitchDesc* desc = mSwitch; assert(desc !is null, "endSwitch - no switch to end"); mSwitch = mSwitch.prev; mSwitchTables ~= desc; mCode[desc.switchPC].rt = mSwitchTables.length - 1; } public int* addCase(Location location, Expression v) { assert(mSwitch !is null); MDValue val; if(v.isNull()) val.setNull(); else if(v.isBool()) val = v.asBool(); else if(v.isInt()) val = v.asInt(); else if(v.isFloat()) val = v.asFloat(); else if(v.isChar()) val = v.asChar(); else if(v.isString()) val = v.asString(); else assert(false, "addCase invalid type: " ~ v.toString()); int* oldOffset = (val in mSwitch.offsets); if(oldOffset !is null) throw new MDCompileException(location, "Duplicate case value '{}'", val); mSwitch.offsets[val] = 0; return (val in mSwitch.offsets); } public void addDefault(Location location) { assert(mSwitch !is null); assert(mSwitch.defaultOffset == -1); mSwitch.defaultOffset = mCode.length - mSwitch.switchPC - 1; } public void setBreakable() { mScope.breakScope = mScope; } public void setContinuable() { mScope.continueScope = mScope; } protected int searchLocal(dchar[] name, out uint reg) { for(int i = mLocVars.length - 1; i >= 0; i--) { if(mLocVars[i].isActive && mLocVars[i].name == name) { reg = mLocVars[i].reg; return i; } } return -1; } public uint insertLocal(Identifier ident) { uint dummy; int index = searchLocal(ident.mName, dummy); if(index != -1) { throw new MDCompileException(ident.mLocation, "Local '{}' conflicts with previous definition at {}", ident.mName, mLocVars[index].location.toString()); } mLocVars.length = mLocVars.length + 1; with(mLocVars[$ - 1]) { name = ident.mName; location = ident.mLocation; reg = pushRegister(); isActive = false; } return mLocVars[$ - 1].reg; } public void activateLocals(uint num) { for(int i = mLocVars.length - 1; i >= cast(int)(mLocVars.length - num); i--) { debug(VARACTIVATE) Stdout.formatln("activating {} {} reg {}", mLocVars[i].name, mLocVars[i].location.toString(), mLocVars[i].reg); mLocVars[i].isActive = true; } } public void deactivateLocals(int varStart, int regTo) { for(int i = mLocVars.length - 1; i >= varStart; i--) { if(mLocVars[i].reg >= regTo && mLocVars[i].isActive) { debug(VARACTIVATE) Stdout.formatln("deactivating {} {} reg {}", mLocVars[i].name, mLocVars[i].location.toString(), mLocVars[i].reg); popRegister(mLocVars[i].reg); mLocVars[i].isActive = false; } } } public uint nextRegister() { return mFreeReg; } public uint pushRegister() { debug(REGPUSHPOP) Stdout.formatln("push ", mFreeReg); mFreeReg++; if(mFreeReg > MaxRegisters) throw new MDCompileException(mLocation, "Too many registers"); if(mFreeReg > mStackSize) mStackSize = mFreeReg; return mFreeReg - 1; } public void popRegister(uint r) { mFreeReg--; debug(REGPUSHPOP) Stdout.formatln("pop ", mFreeReg, ", ", r); assert(mFreeReg >= 0, "temp reg underflow"); assert(mFreeReg == r, "reg not freed in order"); } protected void printExpStack() { Stdout.formatln("Expression Stack"); Stdout.formatln("----------------"); for(int i = 0; i < mExpSP; i++) Stdout.formatln("{}: {}", i, mExpStack[i].toString()); Stdout.formatln(""); } protected Exp* pushExp() { if(mExpSP >= mExpStack.length) mExpStack.length = mExpStack.length * 2; Exp* ret = &mExpStack[mExpSP]; mExpSP++; ret.isTempReg = false; ret.isTempReg2 = false; ret.isTempReg3 = false; return ret; } protected Exp* popExp() { mExpSP--; assert(mExpSP >= 0, "exp stack underflow"); return &mExpStack[mExpSP]; } public void dup() { Exp* src = &mExpStack[mExpSP - 1]; Exp* e = pushExp(); *e = *src; } public void pushNull() { Exp* e = pushExp(); e.type = ExpType.Null; } public void pushBool(bool value) { Exp* e = pushExp(); if(value == true) e.type = ExpType.True; else e.type = ExpType.False; } public void pushInt(int value) { pushConst(codeIntConst(value)); } public void pushFloat(mdfloat value) { pushConst(codeFloatConst(value)); } public void pushString(dchar[] value) { pushConst(codeStringConst(value)); } public void pushChar(dchar value) { pushConst(codeCharConst(value)); } public void pushConst(uint index) { Exp* e = pushExp(); e.type = ExpType.Const; e.index = tagConst(index); } public void pushNewGlobal(Identifier name) { Exp* e = pushExp(); e.type = ExpType.NewGlobal; e.index = tagConst(codeStringConst(name.mName)); } public void pushThis() { Exp* e = pushExp(); e.type = ExpType.Var; e.index = tagLocal(0); } public void pushVar(Identifier name) { Exp* e = pushExp(); const Local = 0; const Upvalue = 1; const Global = 2; uint varType = Local; uint searchVar(FuncState s, bool isOriginal = true) { uint findUpval() { for(int i = 0; i < s.mUpvals.length; i++) { if(s.mUpvals[i].name == name.mName) { if((s.mUpvals[i].isUpvalue && varType == Upvalue) || (!s.mUpvals[i].isUpvalue && varType == Local)) return i; } } UpvalDesc ud; ud.name = name.mName; ud.isUpvalue = (varType == Upvalue); ud.index = tagLocal(e.index); s.mUpvals ~= ud; if(mUpvals.length >= MaxUpvalues) throw new MDCompileException(mLocation, "Too many upvalues in function"); return s.mUpvals.length - 1; } if(s is null) { varType = Global; return Global; } uint reg; int index = s.searchLocal(name.mName, reg); if(index == -1) { if(searchVar(s.mParent, false) == Global) return Global; e.index = tagUpval(findUpval()); varType = Upvalue; return Upvalue; } else { varType = Local; e.index = tagLocal(reg); if(isOriginal == false) { for(Scope* sc = s.mScope; sc !is null; sc = sc.enclosing) { if(sc.regStart <= reg) { sc.hasUpval = true; break; } } } return Local; } } if(searchVar(this) == Global) e.index = tagGlobal(codeStringConst(name.mName)); e.type = ExpType.Var; } public void pushVararg() { Exp* e = pushExp(); e.type = ExpType.Vararg; } public void pushTempReg(uint idx) { Exp* e = pushExp(); e.type = ExpType.Src; e.index = idx; e.isTempReg = true; } public void pushClosure(FuncState fs) { Exp* e = pushExp(); int index = -1; foreach(uint i, FuncState child; mInnerFuncs) { if(fs is child) { index = i; break; } } assert(index != -1, "fs is not a child proto"); e.type = ExpType.Closure; e.index = index; } public void freeExpTempRegs(Exp* e) { if(e.isTempReg3) { popRegister(e.index3); e.isTempReg3 = false; } if(e.isTempReg2) { popRegister(e.index2); e.isTempReg2 = false; } if(e.isTempReg) { popRegister(e.index); e.isTempReg = false; } } public void popToNothing() { if(mExpSP == 0) return; Exp* src = popExp(); if(src.type == ExpType.Call || src.type == ExpType.Yield) mCode[src.index].rt = 1; freeExpTempRegs(src); } public void popAssign(uint line) { Exp* src = popExp(); Exp* dest = popExp(); switch(dest.type) { case ExpType.Var: moveTo(line, dest.index, src); break; case ExpType.NewGlobal: toSource(line, src); codeR(line, Op.NewGlobal, 0, src.index, dest.index); freeExpTempRegs(src); freeExpTempRegs(dest); break; case ExpType.Indexed: toSource(line, src); codeR(line, Op.IndexAssign, dest.index, dest.index2, src.index); freeExpTempRegs(src); freeExpTempRegs(dest); break; case ExpType.Sliced: toSource(line, src); codeR(line, Op.SliceAssign, dest.index, src.index, 0); freeExpTempRegs(src); freeExpTempRegs(dest); break; } } public void popMoveTo(uint line, uint dest) { Exp* src = popExp(); moveTo(line, dest, src); } public void moveTo(uint line, uint dest, Exp* src) { switch(src.type) { case ExpType.Null: codeR(line, Op.LoadNull, dest, 0, 0); break; case ExpType.True: codeR(line, Op.LoadBool, dest, 1, 0); break; case ExpType.False: codeR(line, Op.LoadBool, dest, 0, 0); break; case ExpType.Const: if(isLocalTag(dest)) codeR(line, Op.LoadConst, dest, src.index, 0); else codeR(line, Op.Move, dest, src.index, 0); break; case ExpType.Var: if(dest != src.index) { if(isLocalTag(dest) && isLocalTag(src.index)) codeR(line, Op.MoveLocal, dest, src.index, 0); else codeR(line, Op.Move, dest, src.index, 0); } break; case ExpType.Indexed: codeR(line, Op.Index, dest, src.index, src.index2); freeExpTempRegs(src); break; case ExpType.Sliced: codeR(line, Op.Slice, dest, src.index, 0); freeExpTempRegs(src); break; case ExpType.Vararg: if(isLocalTag(dest)) codeI(line, Op.Vararg, dest, 2); else { assert(!isConstTag(dest), "moveTo vararg dest is const"); uint tempReg = pushRegister(); codeI(line, Op.Vararg, tempReg, 2); codeR(line, Op.Move, dest, tempReg, 0); popRegister(tempReg); } break; case ExpType.Closure: codeI(line, Op.Closure, dest, src.index); foreach(ref UpvalDesc ud; mInnerFuncs[src.index].mUpvals) codeR(line, Op.Move, ud.isUpvalue ? 1 : 0, ud.index, 0); break; case ExpType.Call, ExpType.Yield: mCode[src.index].rt = 2; if(dest != src.index2) { if(isLocalTag(dest) && isLocalTag(src.index2)) codeR(line, Op.MoveLocal, dest, src.index2, 0); else codeR(line, Op.Move, dest, src.index2, 0); } freeExpTempRegs(src); break; case ExpType.NeedsDest: mCode[src.index].rd = dest; break; case ExpType.Src: if(dest != src.index) { if(isLocalTag(dest) && isLocalTag(src.index)) codeR(line, Op.MoveLocal, dest, src.index, 0); else codeR(line, Op.Move, dest, src.index, 0); } freeExpTempRegs(src); break; default: assert(false, "moveTo switch"); } } public void popToRegisters(uint line, uint reg, int num) { Exp* src = popExp(); switch(src.type) { case ExpType.Vararg: codeI(line, Op.Vararg, reg, num + 1); break; case ExpType.Call, ExpType.Yield: assert(src.index2 == reg, "pop to regs - trying to pop func call or yield to different reg"); mCode[src.index].rt = num + 1; freeExpTempRegs(src); break; default: assert(false, "pop to regs switch"); } } public void pushBinOp(uint line, Op type, uint rs, uint rt) { Exp* dest = pushExp(); dest.type = ExpType.NeedsDest; dest.index = codeR(line, type, 0, rs, rt); } public void popReflexOp(uint line, Op type, uint rd, uint rs, uint rt = 0) { Exp* dest = pushExp(); dest.type = ExpType.NeedsDest; dest.index = codeR(line, type, rd, rs, rt); popAssign(line); } public void popUnOp(uint line, Op type) { Exp* src = popExp(); toSource(line, src); uint pc = codeR(line, type, 0, src.index, 0); freeExpTempRegs(src); Exp* dest = pushExp(); dest.type = ExpType.NeedsDest; dest.index = pc; } public void pushCall(uint line, uint firstReg, uint numRegs) { Exp* e = pushExp(); e.type = ExpType.Call; e.index = codeR(line, Op.Call, firstReg, numRegs, 0); e.index2 = firstReg; e.isTempReg2 = true; } public void pushYield(uint line, uint firstReg, uint numRegs) { Exp* e = pushExp(); e.type = ExpType.Yield; e.index = codeR(line, Op.Yield, firstReg, numRegs, 0); e.index2 = firstReg; } public void makeTailcall() { assert(mCode[$ - 1].opcode == Op.Call, "need call to make tailcall"); mCode[$ - 1].opcode = Op.Tailcall; } public void popMoveFromReg(uint line, uint srcReg) { codeMoveFromReg(line, popExp(), srcReg); } public void codeMoveFromReg(uint line, Exp* dest, uint srcReg) { switch(dest.type) { case ExpType.Var: if(dest.index != srcReg) { if(isLocalTag(dest.index)) codeR(line, Op.MoveLocal, dest.index, srcReg, 0); else codeR(line, Op.Move, dest.index, srcReg, 0); } break; case ExpType.NewGlobal: codeR(line, Op.NewGlobal, 0, srcReg, dest.index); break; case ExpType.Indexed: codeR(line, Op.IndexAssign, dest.index, dest.index2, srcReg); freeExpTempRegs(dest); break; case ExpType.Sliced: codeR(line, Op.SliceAssign, dest.index, srcReg, 0); freeExpTempRegs(dest); break; default: assert(false); } } public void popField(uint line, Identifier field) { pushString(field.mName); popIndex(line); } public void popIndex(uint line) { assert(mExpSP > 1, "pop index from nothing"); Exp* index = popExp(); Exp* e = &mExpStack[mExpSP - 1]; toSource(line, e); toSource(line, index); e.index2 = index.index; e.isTempReg2 = index.isTempReg; e.type = ExpType.Indexed; } public void pushSlice(uint line, uint reg) { Exp* e = pushExp(); e.index = pushRegister(); assert(e.index == reg, "push slice reg wrong"); e.isTempReg = true; e.index2 = pushRegister(); e.isTempReg2 = true; e.index3 = pushRegister(); e.isTempReg3 = true; e.type = ExpType.Sliced; } public void popSource(uint line, out Exp n) { n = *popExp(); toSource(line, &n); } public void pushSource(uint line) { dup(); topToSource(line, false); } public void topToSource(uint line, bool cleanup = true) { toSource(line, &mExpStack[mExpSP - 1], cleanup); } protected void toSource(uint line, Exp* e, bool cleanup = true) { Exp temp; temp.type = ExpType.Src; switch(e.type) { case ExpType.Null: temp.index = tagConst(codeNullConst()); break; case ExpType.True: temp.index = tagConst(codeBoolConst(true)); break; case ExpType.False: temp.index = tagConst(codeBoolConst(false)); break; case ExpType.Const: temp.index = e.index; break; case ExpType.Var: temp.index = e.index; break; case ExpType.Indexed: if(cleanup) freeExpTempRegs(e); temp.index = pushRegister(); temp.isTempReg = true; codeR(line, Op.Index, temp.index, e.index, e.index2); break; case ExpType.Sliced: if(cleanup) freeExpTempRegs(e); temp.index = pushRegister(); temp.isTempReg = true; codeR(line, Op.Slice, temp.index, e.index, 0); break; case ExpType.NeedsDest: temp.index = pushRegister(); mCode[e.index].rd = temp.index; temp.isTempReg = true; break; case ExpType.Call, ExpType.Yield: mCode[e.index].rt = 2; temp.index = e.index2; temp.isTempReg = e.isTempReg2; break; case ExpType.Closure: temp.index = pushRegister(); codeI(line, Op.Closure, temp.index, e.index); foreach(ref UpvalDesc ud; mInnerFuncs[e.index].mUpvals) codeR(line, Op.Move, ud.isUpvalue ? 1 : 0, ud.index, 0); temp.isTempReg = true; break; case ExpType.Src: temp = *e; break; case ExpType.Vararg: temp.index = pushRegister(); codeI(line, Op.Vararg, temp.index, 2); temp.isTempReg = true; break; default: assert(false, "toSource switch"); } *e = temp; } public void codeClose(uint line) { if(mScope.hasUpval) codeI(line, Op.Close, mScope.regStart, 0); } public void codeClose(uint line, uint reg) { codeI(line, Op.Close, reg, 0); } public void patchJumpToHere(InstRef* src) { mCode[src.pc].imm = mCode.length - src.pc - 1; } public void patchSwitchJumpToHere(int* offset) { assert(mSwitch !is null); *offset = mCode.length - mSwitch.switchPC - 1; } public void patchJumpTo(InstRef* src, InstRef* dest) { mCode[src.pc].imm = dest.pc - src.pc - 1; } public InstRef* getLabel() { InstRef* l = new InstRef; l.pc = mCode.length; return l; } public void invertJump(InstRef* i) { mCode[i.pc].rd = !mCode[i.pc].rd; } public void patchContinues(InstRef* dest) { for(InstRef* c = mScope.continues; c !is null; ) { patchJumpTo(c, dest); InstRef* next = c.trueList; delete c; c = next; } } public void patchBreaksToHere() { for(InstRef* c = mScope.breaks; c !is null; ) { patchJumpToHere(c); InstRef* next = c.trueList; delete c; c = next; } } public void patchContinuesToHere() { for(InstRef* c = mScope.continues; c !is null; ) { patchJumpToHere(c); InstRef* next = c.trueList; delete c; c = next; } } public void patchTrueToHere(InstRef* i) { for(InstRef* t = i.trueList; t !is null; ) { patchJumpToHere(t); InstRef* next = t.trueList; delete t; t = next; } i.trueList = null; } public void patchFalseToHere(InstRef* i) { for(InstRef* f = i.falseList; f !is null; ) { patchJumpToHere(f); InstRef* next = f.falseList; delete f; f = next; } i.falseList = null; } public void codeJump(uint line, InstRef* dest) { codeJ(line, Op.Jmp, true, dest.pc - mCode.length - 1); } public InstRef* makeJump(uint line, Op type = Op.Jmp, bool isTrue = true) { InstRef* i = new InstRef; i.pc = codeJ(line, type, isTrue, 0); return i; } public InstRef* makeFor(uint line, uint baseReg) { InstRef* i = new InstRef; i.pc = codeJ(line, Op.For, baseReg, 0); return i; } public InstRef* makeForLoop(uint line, uint baseReg) { InstRef* i = new InstRef; i.pc = codeJ(line, Op.ForLoop, baseReg, 0); return i; } public InstRef* codeCatch(uint line, out uint checkReg) { InstRef* i = new InstRef; i.pc = codeI(line, Op.PushCatch, mFreeReg, 0); checkReg = mFreeReg; return i; } public InstRef* codeFinally(uint line) { InstRef* i = new InstRef; i.pc = codeI(line, Op.PushFinally, 0, 0); return i; } public void codeContinue(Location location) { if(mScope.continueScope is null) throw new MDCompileException(location, "No continuable control structure"); if(mScope.continueScope.hasUpval) codeClose(location.line, mScope.continueScope.regStart); InstRef* i = new InstRef; i.pc = codeJ(location.line, Op.Jmp, 1, 0); i.trueList = mScope.continueScope.continues; mScope.continueScope.continues = i; } public void codeBreak(Location location) { if(mScope.breakScope is null) throw new MDCompileException(location, "No breakable control structure"); if(mScope.breakScope.hasUpval) codeClose(location.line, mScope.breakScope.regStart); InstRef* i = new InstRef; i.pc = codeJ(location.line, Op.Jmp, 1, 0); i.trueList = mScope.breakScope.breaks; mScope.breakScope.breaks = i; } public int codeStringConst(dchar[] c) { foreach(uint i, MDValue v; mConstants) if(v.isString() && v.as!(MDString)() == c) return i; MDValue v = c; mConstants ~= v; if(mConstants.length >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants in function"); return mConstants.length - 1; } public int codeBoolConst(bool b) { foreach(uint i, MDValue v; mConstants) if(v.isBool() && v.as!(bool)() == b) return i; MDValue v = b; mConstants ~= v; if(mConstants.length >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants in function"); return mConstants.length - 1; } public int codeIntConst(int x) { foreach(uint i, MDValue v; mConstants) if(v.isInt() && v.as!(int)() == x) return i; MDValue v = x; mConstants ~= v; if(mConstants.length >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants in function"); return mConstants.length - 1; } public int codeCharConst(dchar x) { foreach(uint i, MDValue v; mConstants) if(v.isChar() && v.as!(dchar)() == x) return i; MDValue v = x; mConstants ~= v; if(mConstants.length >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants in function"); return mConstants.length - 1; } public int codeFloatConst(mdfloat x) { foreach(uint i, MDValue v; mConstants) if(v.isFloat() && v.as!(mdfloat)() == x) return i; MDValue v = x; mConstants ~= v; if(mConstants.length >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants in function"); return mConstants.length - 1; } public int codeNullConst() { foreach(uint i, MDValue v; mConstants) if(v.isNull()) return i; MDValue v; v.setNull(); mConstants ~= v; if(mConstants.length >= MaxConstants) throw new MDCompileException(mLocation, "Too many constants in function"); return mConstants.length - 1; } public void codeNulls(uint line, uint reg, uint num) { codeI(line, Op.LoadNulls, reg, num); } public uint codeR(uint line, Op opcode, ushort dest, ushort src1, ushort src2) { Instruction i; i.opcode = opcode; i.rd = dest; i.rs = src1; i.rt = src2; debug(WRITECODE) Stdout.formatln(i.toString()); mLineInfo ~= line; mCode ~= i; return mCode.length - 1; } public uint codeI(uint line, Op opcode, ushort dest, uint imm) { Instruction i; i.opcode = opcode; i.rd = dest; i.uimm = imm; debug(WRITECODE) Stdout.formatln(i.toString()); mLineInfo ~= line; mCode ~= i; return mCode.length - 1; } public uint codeJ(uint line, Op opcode, ushort dest, int offs) { Instruction i; i.opcode = opcode; i.rd = dest; i.imm = offs; debug(WRITECODE) Stdout.formatln(i.toString()); mLineInfo ~= line; mCode ~= i; return mCode.length - 1; } public void showMe(uint tab = 0) { Stdout.formatln("{}Function at {} (guessed name: {})", repeat("\t", tab), mLocation.toString(), mGuessedName); Stdout.formatln("{}Num params: {} Vararg: {} Stack size: {}", repeat("\t", tab), mNumParams, mIsVararg, mStackSize); foreach(uint i, FuncState s; mInnerFuncs) { Stdout.formatln("{}Inner Func {}", repeat("\t", tab + 1), i); s.showMe(tab + 1); } foreach(uint i, ref SwitchDesc* t; mSwitchTables) { Stdout.formatln("{}Switch Table {}", repeat("\t", tab + 1), i); foreach(k, v; t.offsets) Stdout.formatln("{}{} => {}", repeat("\t", tab + 2), k.toString(), v); Stdout.formatln("{}Default: {}", repeat("\t", tab + 2), t.defaultOffset); } foreach(v; mLocVars) Stdout.formatln("{}Local {} (at {}, reg {})", repeat("\t", tab + 1), v.name, v.location.toString(), v.reg); foreach(i, u; mUpvals) Stdout.formatln("{}Upvalue {}: {} : {} ({})", repeat("\t", tab + 1), i, u.name, u.index, u.isUpvalue ? "upval" : "local"); foreach(i, c; mConstants) { switch(c.type) { case MDValue.Type.Null: Stdout.formatln("{}Const {}: null", repeat("\t", tab + 1), i); break; case MDValue.Type.Bool: Stdout.formatln("{}Const {}: {}", repeat("\t", tab + 1), i, c.as!(bool)()); break; case MDValue.Type.Int: Stdout.formatln("{}Const {}: {}", repeat("\t", tab + 1), i, c.as!(int)()); break; case MDValue.Type.Float: Stdout.formatln("{}Const {}: {:6}f", repeat("\t", tab + 1), i, c.as!(mdfloat)()); break; case MDValue.Type.Char: Stdout.formatln("{}Const {}: '{}'", repeat("\t", tab + 1), i, c.as!(dchar)()); break; case MDValue.Type.String: Stdout.formatln("{}Const {}: \"{}\"", repeat("\t", tab + 1), i, c.as!(dchar[])()); break; default: assert(false); } } foreach(i, inst; mCode) Stdout.formatln("{}[{,3}:{,4}] {}", repeat("\t", tab + 1), i, mLineInfo[i], inst.toString()); } protected MDFuncDef toFuncDef() { MDFuncDef ret = new MDFuncDef(); ret.mIsVararg = mIsVararg; ret.mLocation = mLocation; ret.mGuessedName = mGuessedName; ret.mInnerFuncs.length = mInnerFuncs.length; for(int i = 0; i < mInnerFuncs.length; i++) ret.mInnerFuncs[i] = mInnerFuncs[i].toFuncDef(); ret.mConstants = mConstants; ret.mNumParams = mNumParams; ret.mNumUpvals = mUpvals.length; ret.mStackSize = mStackSize + 1; ret.mCode = mCode; ret.mLineInfo = mLineInfo; ret.mLocVarDescs.length = mLocVars.length; for(int i = 0; i < mLocVars.length; i++) { with(mLocVars[i]) { ret.mLocVarDescs[i].name = name; ret.mLocVarDescs[i].location = location; ret.mLocVarDescs[i].reg = reg; } } ret.mUpvalNames.length = mUpvals.length; for(int i = 0; i < mUpvals.length; i++) ret.mUpvalNames[i] = mUpvals[i].name; ret.mSwitchTables.length = mSwitchTables.length; for(int i = 0; i < mSwitchTables.length; i++) { with(*mSwitchTables[i]) { ret.mSwitchTables[i].offsets = offsets; ret.mSwitchTables[i].defaultOffset = defaultOffset; } } return ret; } } class ClassDef { protected Location mLocation; protected Location mEndLocation; protected Identifier mName; protected Expression mBaseClass; protected FuncDef[] mMethods; struct Field { dchar[] name; Expression initializer; } protected Field[] mFields; public this(Identifier name, Expression baseClass, FuncDef[] methods, Field[] fields, Location location, Location endLocation) { mName = name; mBaseClass = baseClass; mMethods = methods; mFields = fields; mLocation = location; mEndLocation = endLocation; if(mName is null) mName = new Identifier("<literal at " ~ utf.toString32(mLocation.toString()) ~ ">", mLocation); } public static void parseBody(Location location, ref Token* t, out FuncDef[] oMethods, out Field[] oFields, out Location oEndLocation) { t = t.expect(Token.Type.LBrace); FuncDef[dchar[]] methods; void addMethod(FuncDef m) { dchar[] name = m.mName.mName; if(name in methods) throw new MDCompileException(m.mLocation, "Redeclaration of method '{}'", name); methods[name] = m; } Expression[dchar[]] fields; void addField(Identifier name, Expression v) { if(name.mName in fields) throw new MDCompileException(name.mLocation, "Redeclaration of field '{}'", name.mName); fields[name.mName] = v; } while(t.type != Token.Type.RBrace) { switch(t.type) { case Token.Type.This: Location ctorLocation = t.location; Identifier name = new Identifier("constructor", t.location); t = t.nextToken; bool isVararg; auto params = FuncDef.parseParams(t, isVararg); CompoundStatement funcBody = CompoundStatement.parse(t); addMethod(new FuncDef(ctorLocation, funcBody.mEndLocation, params, isVararg, funcBody, name)); break; case Token.Type.Function: addMethod(FuncDef.parseSimple(t)); break; case Token.Type.Ident: Identifier id = Identifier.parse(t); Expression v; if(t.type == Token.Type.Assign) { t = t.nextToken; v = Expression.parse(t); } else v = new NullExp(id.mLocation); t = t.expect(Token.Type.Semicolon); addField(id, v); break; case Token.Type.EOF: throw new MDCompileException(t.location, "Class at {} is missing its closing brace", location.toString()); default: throw new MDCompileException(t.location, "Class method or field expected, not '{}'", t.toString()); } } oMethods = methods.values; oFields.length = fields.length; uint i = 0; foreach(name, initializer; fields) { oFields[i].name = name; oFields[i].initializer = initializer; i++; } t.expect(Token.Type.RBrace); oEndLocation = t.location; t = t.nextToken; } public static Expression parseBaseClass(ref Token* t) { Expression baseClass; if(t.type == Token.Type.Colon) { t = t.nextToken; baseClass = Expression.parse(t); } else baseClass = new NullExp(t.location); return baseClass; } public void codeGen(FuncState s) { /* A class declaration/literal actually gets rewritten as a call to a function literal. This allows super calls to work correctly within the methods, by making this class available as an upvalue to those methods. class A : B { this() { super(); } function fork() { super.fork(); } } is rewritten as: (function <class A>() { local __class; __class = class A : B { this() { __class.super.constructor(with this); } function fork() { __class.super.fork(with this); } }; return __class; })(); */ Expression classExp = new class(this) Expression { private ClassDef mOuter; this(ClassDef _outer) { super(mLocation, mEndLocation); mOuter = _outer; } override void codeGen(FuncState s) { mBaseClass.codeGen(s); Exp base; s.popSource(mLocation.line, base); s.freeExpTempRegs(&base); uint destReg = s.pushRegister(); uint nameConst = s.tagConst(s.codeStringConst(mName.mName)); s.codeR(mLocation.line, Op.Class, destReg, nameConst, base.index); FuncState.enterClass(mOuter); foreach(Field field; mFields) { uint index = s.tagConst(s.codeStringConst(field.name)); field.initializer.codeGen(s); Exp val; s.popSource(field.initializer.mEndLocation.line, val); s.codeR(field.initializer.mEndLocation.line, Op.IndexAssign, destReg, index, val.index); s.freeExpTempRegs(&val); } foreach(FuncDef method; mMethods) { uint index = s.tagConst(s.codeStringConst(method.mName.mName)); method.codeGen(s, true); Exp val; s.popSource(method.mEndLocation.line, val); s.codeR(method.mEndLocation.line, Op.IndexAssign, destReg, index, val.index); s.freeExpTempRegs(&val); } FuncState.leaveClass(); s.pushTempReg(destReg); } }; Identifier __class = new Identifier("__class", mLocation); Expression __classExp = new IdentExp(mLocation, __class); CompoundStatement funcBody = new CompoundStatement(mLocation, mEndLocation, [ cast(Statement)new DeclarationStatement(mLocation, mLocation, new VarDecl(mLocation, mLocation, Declaration.Protection.Local, [new Identifier("__class", mLocation)], null)), new ExpressionStatement(mLocation, mEndLocation, new Assignment(mLocation, mEndLocation, [__classExp], classExp)), new ReturnStatement(__classExp) ]); FuncLiteralExp func = new FuncLiteralExp(mLocation, mEndLocation, new FuncDef(mLocation, mEndLocation, null, false, funcBody, mName)); (new CallExp(mLocation, mEndLocation, func, null, null)).codeGen(s); } public ClassDef fold() { mBaseClass = mBaseClass.fold(); foreach(ref field; mFields) field.initializer = field.initializer.fold(); foreach(ref method; mMethods) method = method.fold(); return this; } public bool hasBase() { return !mBaseClass.isNull(); } } class FuncDef { protected Location mLocation; protected Location mEndLocation; struct Param { Identifier name; Expression defValue; } protected Param[] mParams; protected bool mIsVararg; protected Statement mBody; protected Identifier mName; public this(Location location, Location endLocation, Param[] params, bool isVararg, Statement funcBody, Identifier name) { mLocation = location; mEndLocation = endLocation; mParams = params; mIsVararg = isVararg; mBody = funcBody; mName = name; } public static FuncDef parseSimple(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Function); Identifier name = Identifier.parse(t); bool isVararg; Param[] params = parseParams(t, isVararg); CompoundStatement funcBody = CompoundStatement.parse(t); return new FuncDef(location, funcBody.mEndLocation, params, isVararg, funcBody, name); } public static FuncDef parseLiteral(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Function); Identifier name; if(t.type == Token.Type.Ident) name = Identifier.parse(t); else name = new Identifier("<literal at " ~ utf.toString32(location.toString()) ~ ">", location); bool isVararg; Param[] params = parseParams(t, isVararg); Statement funcBody; if(t.type == Token.Type.LBrace) funcBody = CompoundStatement.parse(t); else funcBody = new ReturnStatement(Expression.parse(t)); return new FuncDef(location, funcBody.mEndLocation, params, isVararg, funcBody, name); } public static Param[] parseParams(ref Token* t, out bool isVararg) { Param[] ret = new Param[1]; ret[0].name = new Identifier("this", t.location); t = t.expect(Token.Type.LParen); if(t.type == Token.Type.Vararg) { isVararg = true; t = t.nextToken; } else if(t.type != Token.Type.RParen) { while(true) { if(t.type == Token.Type.Vararg) { isVararg = true; t = t.nextToken; break; } Identifier name = Identifier.parse(t); Expression defValue = null; if(t.type == Token.Type.Assign) { t = t.nextToken; defValue = Expression.parse(t); } ret.length = ret.length + 1; ret[$ - 1].name = name; ret[$ - 1].defValue = defValue; if(t.type == Token.Type.RParen) break; t = t.expect(Token.Type.Comma); } } t = t.expect(Token.Type.RParen); return ret; } public void codeGen(FuncState s, bool isMethod = false) { FuncState fs = new FuncState(mLocation, mName.mName, s, isMethod); fs.mIsVararg = mIsVararg; fs.mNumParams = mParams.length; foreach(p; mParams) fs.insertLocal(p.name); fs.activateLocals(mParams.length); foreach(p; mParams) if(p.defValue !is null) (new OpEqExp(p.name.mLocation, p.name.mLocation, Op.CondMove, new IdentExp(p.name.mLocation, p.name), p.defValue)).codeGen(fs); mBody.codeGen(fs); fs.codeI(mBody.mEndLocation.line, Op.Ret, 0, 1); fs.popScope(mBody.mEndLocation.line); s.pushClosure(fs); } public FuncDef fold() { foreach(ref p; mParams) if(p.defValue !is null) p.defValue = p.defValue.fold(); mBody = mBody.fold(); return this; } } class NamespaceDef { protected Location mLocation; protected Location mEndLocation; protected Identifier mName; protected Expression mParent; struct Field { dchar[] name; Expression initializer; } protected Field[] mFields; public this(Location location, Location endLocation, Identifier name, Expression parent, Field[] fields) { mLocation = location; mEndLocation = endLocation; mName = name; mParent = parent; mFields = fields; } public static NamespaceDef parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Namespace); Identifier name = Identifier.parse(t); Expression parent; if(t.type == Token.Type.Colon) { t = t.nextToken; parent = Expression.parse(t); } else parent = new NullExp(t.location); t = t.expect(Token.Type.LBrace); Expression[dchar[]] fields; void addField(Identifier name, Expression v) { if(name.mName in fields) throw new MDCompileException(name.mLocation, "Redeclaration of member '{}'", name.mName); fields[name.mName] = v; } while(t.type != Token.Type.RBrace) { switch(t.type) { case Token.Type.Function: FuncDef fd = FuncDef.parseSimple(t); addField(fd.mName, new FuncLiteralExp(fd.mLocation, fd.mEndLocation, fd)); break; case Token.Type.Ident: Identifier id = Identifier.parse(t); Expression v; if(t.type == Token.Type.Assign) { t = t.nextToken; v = Expression.parse(t); } else v = new NullExp(id.mLocation); t = t.expect(Token.Type.Semicolon); addField(id, v); break; case Token.Type.EOF: throw new MDCompileException(t.location, "Namespace at {} is missing its closing brace", location.toString()); default: throw new MDCompileException(t.location, "Namespace member expected, not '{}'", t.toString()); } } Field[] fieldsArray = new Field[fields.length]; uint i = 0; foreach(name, initializer; fields) { fieldsArray[i].name = name; fieldsArray[i].initializer = initializer; i++; } t.expect(Token.Type.RBrace); Location endLocation = t.location; t = t.nextToken; return new NamespaceDef(location, endLocation, name, parent, fieldsArray); } public void codeGen(FuncState s) { mParent.codeGen(s); Exp parent; s.popSource(mLocation.line, parent); s.freeExpTempRegs(&parent); uint destReg = s.pushRegister(); uint nameConst = s.tagConst(s.codeStringConst(mName.mName)); s.codeR(mLocation.line, Op.Namespace, destReg, nameConst, parent.index); foreach(field; mFields) { uint index = s.tagConst(s.codeStringConst(field.name)); field.initializer.codeGen(s); Exp val; s.popSource(field.initializer.mEndLocation.line, val); s.codeR(field.initializer.mEndLocation.line, Op.IndexAssign, destReg, index, val.index); s.freeExpTempRegs(&val); } s.pushTempReg(destReg); } public NamespaceDef fold() { foreach(ref field; mFields) field.initializer = field.initializer.fold(); return this; } } class Module { protected Location mLocation; protected Location mEndLocation; protected ModuleDeclaration mModDecl; protected Statement[] mStatements; public this(Location location, Location endLocation, ModuleDeclaration modDecl, Statement[] statements) { mLocation = location; mEndLocation = endLocation; mModDecl = modDecl; mStatements = statements; } public static Module parse(ref Token* t) { Location location = t.location; ModuleDeclaration modDecl = ModuleDeclaration.parse(t); List!(Statement) statements; while(t.type != Token.Type.EOF) statements.add(Statement.parse(t)); t.expect(Token.Type.EOF); return new Module(location, t.location, modDecl, statements.toArray()); } public MDModuleDef codeGen() { MDModuleDef def = new MDModuleDef(); def.mName = Identifier.toLongString(mModDecl.mNames); FuncState fs = new FuncState(mLocation, "module " ~ mModDecl.mNames[$ - 1].mName); fs.mIsVararg = true; try { foreach(ref s; mStatements) { s = s.fold(); s.codeGen(fs); } fs.codeI(mEndLocation.line, Op.Ret, 0, 1); } finally { //showMe(); fs.showMe(); Stdout.flush; //fs.printExpStack(); } assert(fs.mExpSP == 0, "module - not all expressions have been popped"); def.mFunc = fs.toFuncDef(); return def; } public void showMe() { Stdout.formatln("module {}", Identifier.toLongString(mModDecl.mNames)); } } class ModuleDeclaration { protected Identifier[] mNames; public this(Identifier[] names) { mNames = names; } public static ModuleDeclaration parse(ref Token* t) { t = t.expect(Token.Type.Module); Identifier[] names; names ~= Identifier.parse(t); while(t.type == Token.Type.Dot) { t = t.nextToken; names ~= Identifier.parse(t); } t = t.expect(Token.Type.Semicolon); return new ModuleDeclaration(names); } } abstract class Statement { protected Location mLocation; protected Location mEndLocation; public this(Location location, Location endLocation) { mLocation = location; mEndLocation = endLocation; } public static Statement parse(ref Token* t, bool needScope = true) { Location location = t.location; switch(t.type) { case Token.Type.CharLiteral, Token.Type.Dec, Token.Type.False, Token.Type.FloatLiteral, Token.Type.Ident, Token.Type.Inc, Token.Type.IntLiteral, Token.Type.LBracket, Token.Type.LParen, Token.Type.Null, Token.Type.StringLiteral, Token.Type.Super, Token.Type.This, Token.Type.True, Token.Type.Vararg, Token.Type.Yield: return ExpressionStatement.parse(t); case Token.Type.Local, Token.Type.Global, Token.Type.Function, Token.Type.Class, Token.Type.Namespace: return DeclarationStatement.parse(t); case Token.Type.Import: return ImportStatement.parse(t); case Token.Type.LBrace: CompoundStatement s = CompoundStatement.parse(t); if(needScope) return new ScopeStatement(s.mLocation, s.mEndLocation, s); else return s; case Token.Type.If: return IfStatement.parse(t); case Token.Type.While: return WhileStatement.parse(t); case Token.Type.Do: return DoWhileStatement.parse(t); case Token.Type.For: return ForStatement.parse(t); case Token.Type.Foreach: return ForeachStatement.parse(t); case Token.Type.Switch: return SwitchStatement.parse(t); case Token.Type.Continue: return ContinueStatement.parse(t); case Token.Type.Break: return BreakStatement.parse(t); case Token.Type.Return: return ReturnStatement.parse(t); case Token.Type.Try: return TryCatchStatement.parse(t); case Token.Type.Throw: return ThrowStatement.parse(t); case Token.Type.Semicolon: throw new MDCompileException(t.location, "Empty statements ( ';' ) are not allowed"); default: throw new MDCompileException(t.location, "Statement expected, not '{}'", t.toString()); } } public void codeGen(FuncState s) { assert(false, "no codegen routine"); } public Statement fold() { return this; } } class ImportStatement : Statement { protected Expression mExpr; protected Identifier[] mSymbols; public this(Location location, Location endLocation, Expression expr, Identifier[] symbols) { super(location, endLocation); mExpr = expr; mSymbols = symbols; } public static ImportStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Import); Expression expr; if(t.type == Token.Type.LParen) { t = t.nextToken; expr = Expression.parse(t); t = t.expect(Token.Type.RParen); } else { Identifier[] names; names ~= Identifier.parse(t); while(t.type == Token.Type.Dot) { t = t.nextToken; names ~= Identifier.parse(t); } expr = new StringExp(location, Identifier.toLongString(names)); } Identifier[] symbols; if(t.type == Token.Type.Colon) { t = t.nextToken; symbols ~= Identifier.parse(t); while(t.type == Token.Type.Comma) { t = t.nextToken; symbols ~= Identifier.parse(t); } } t.expect(Token.Type.Semicolon); Location endLocation = t.location; t = t.nextToken; return new ImportStatement(location, endLocation, expr, symbols); } public override void codeGen(FuncState s) { foreach(i, sym; mSymbols) { foreach(sym2; mSymbols[0 .. i]) { if(sym.mName == sym2.mName) { throw new MDCompileException(sym.mLocation, "Variable '{}' conflicts with previous definition at {}", sym.mName, sym2.mLocation.toString()); } } } uint firstReg = s.nextRegister(); foreach(sym; mSymbols) s.pushRegister(); uint importReg = s.nextRegister(); mExpr.codeGen(s); Exp src; s.popSource(mLocation.line, src); assert(s.nextRegister() == importReg, "bad import regs"); s.codeR(mLocation.line, Op.Import, importReg, src.index, 0); for(int reg = firstReg + mSymbols.length - 1; reg >= firstReg; reg--) s.popRegister(reg); foreach(i, sym; mSymbols) { s.codeR(mLocation.line, Op.Index, firstReg + i, importReg, s.tagConst(s.codeStringConst(sym.mName))); s.insertLocal(sym); } s.activateLocals(mSymbols.length); } } class ScopeStatement : Statement { protected Statement mStatement; public this(Location location, Location endLocation, Statement statement) { super(location, endLocation); mStatement = statement; } public override void codeGen(FuncState s) { s.pushScope(); mStatement.codeGen(s); s.popScope(mEndLocation.line); } public override Statement fold() { mStatement = mStatement.fold(); return this; } } class ExpressionStatement : Statement { protected Expression mExpr; public this(Location location, Location endLocation, Expression expr) { super(location, endLocation); mExpr = expr; } public static ExpressionStatement parse(ref Token* t) { Location location = t.location; Expression exp = Expression.parseStatement(t); t.expect(Token.Type.Semicolon); Location endLocation = t.location; t = t.nextToken; return new ExpressionStatement(location, endLocation, exp); } public override void codeGen(FuncState s) { int freeRegCheck = s.mFreeReg; mExpr.codeGen(s); s.popToNothing(); assert(s.mFreeReg == freeRegCheck, "not all regs freed"); } public override Statement fold() { mExpr = mExpr.fold(); return this; } } class DeclarationStatement : Statement { protected Declaration mDecl; public this(Location location, Location endLocation, Declaration decl) { super(location, endLocation); mDecl = decl; } public static DeclarationStatement parse(ref Token* t) { Location location = t.location; Declaration decl = Declaration.parse(t); return new DeclarationStatement(location, decl.mEndLocation, decl); } public override void codeGen(FuncState s) { mDecl.codeGen(s); } public override Statement fold() { mDecl = mDecl.fold(); return this; } } abstract class Declaration { enum Protection { Local, Global } protected Location mLocation; protected Location mEndLocation; protected Protection mProtection; public this(Location location, Location endLocation, Protection protection) { mLocation = location; mEndLocation = endLocation; mProtection = protection; } public static Declaration parse(ref Token* t) { Location location = t.location; if(t.type == Token.Type.Local || t.type == Token.Type.Global) { if(t.nextToken.type == Token.Type.Ident) { VarDecl ret = VarDecl.parse(t); t = t.expect(Token.Type.Semicolon); return ret; } else if(t.nextToken.type == Token.Type.Function) return FuncDecl.parse(t); else if(t.nextToken.type == Token.Type.Class) return ClassDecl.parse(t); else if(t.nextToken.type == Token.Type.Namespace) return NamespaceDecl.parse(t); else throw new MDCompileException(location, "Illegal token '{}' after '{}'", t.nextToken.toString(), t.toString()); } else if(t.type == Token.Type.Function) return FuncDecl.parse(t); else if(t.type == Token.Type.Class) return ClassDecl.parse(t); else if(t.type == Token.Type.Namespace) return NamespaceDecl.parse(t); else throw new MDCompileException(location, "Declaration expected, not '{}'", t.toString()); } public void codeGen(FuncState s) { assert(false, "no declaration codegen routine"); } public Declaration fold() { return this; } } class ClassDecl : Declaration { protected ClassDef mDef; public this(Location location, Protection protection, ClassDef def) { super(location, def.mEndLocation, protection); mDef = def; } public static ClassDecl parse(ref Token* t) { Location location = t.location; Protection protection = Protection.Local; if(t.type == Token.Type.Global) { protection = Protection.Global; t = t.nextToken; } else if(t.type == Token.Type.Local) t = t.nextToken; t = t.expect(Token.Type.Class); Identifier name = Identifier.parse(t); Expression baseClass = ClassDef.parseBaseClass(t); FuncDef[] methods; ClassDef.Field[] fields; Location endLocation; ClassDef.parseBody(location, t, methods, fields, endLocation); ClassDef def = new ClassDef(name, baseClass, methods, fields, location, endLocation); return new ClassDecl(location, protection, def); } public override void codeGen(FuncState s) { if(mProtection == Protection.Local) { s.insertLocal(mDef.mName); s.activateLocals(1); s.pushVar(mDef.mName); } else { assert(mProtection == Protection.Global); s.pushNewGlobal(mDef.mName); } mDef.codeGen(s); s.popAssign(mEndLocation.line); } public override Declaration fold() { mDef = mDef.fold(); return this; } } class VarDecl : Declaration { protected Identifier[] mNames; protected Expression mInitializer; public this(Location location, Location endLocation, Protection protection, Identifier[] names, Expression initializer) { super(location, endLocation, protection); mNames = names; mInitializer = initializer; } public static VarDecl parse(ref Token* t) { Location location = t.location; Protection protection = Protection.Local; if(t.type == Token.Type.Global) { protection = Protection.Global; t = t.nextToken; } else t = t.expect(Token.Type.Local); Identifier[] names; names ~= Identifier.parse(t); while(t.type == Token.Type.Comma) { t = t.nextToken; names ~= Identifier.parse(t); } Location endLocation = names[$ - 1].mLocation; Expression initializer; if(t.type == Token.Type.Assign) { t = t.nextToken; initializer = Expression.parse(t); endLocation = initializer.mEndLocation; } return new VarDecl(location, endLocation, protection, names, initializer); } public override void codeGen(FuncState s) { // Check for name conflicts within the definition foreach(uint i, Identifier n; mNames) { foreach(Identifier n2; mNames[0 .. i]) { if(n.mName == n2.mName) { throw new MDCompileException(n.mLocation, "Variable '{}' conflicts with previous definition at {}", n.mName, n2.mLocation.toString()); } } } if(mProtection == Protection.Global) { if(mInitializer) { if(mNames.length == 1) { s.pushNewGlobal(mNames[0]); mInitializer.codeGen(s); s.popAssign(mInitializer.mEndLocation.line); } else { mInitializer.checkMultRet(); foreach(Identifier n; mNames) s.pushNewGlobal(n); uint reg = s.nextRegister(); mInitializer.codeGen(s); s.popToRegisters(mEndLocation.line, reg, mNames.length); for(int r = reg + mNames.length - 1; r >= reg; r--) s.popMoveFromReg(mEndLocation.line, r); } } else { foreach(Identifier n; mNames) { s.pushNewGlobal(n); s.pushNull(); s.popAssign(n.mLocation.line); } } } else { assert(mProtection == Protection.Local); if(mInitializer) { if(mNames.length == 1) { uint destReg = s.nextRegister(); mInitializer.codeGen(s); s.popMoveTo(mLocation.line, destReg); s.insertLocal(mNames[0]); } else { uint destReg = s.nextRegister(); mInitializer.checkMultRet(); mInitializer.codeGen(s); s.popToRegisters(mLocation.line, destReg, mNames.length); s.insertLocal(mNames[0]); foreach(Identifier n; mNames[1 .. $]) s.insertLocal(n); } } else { uint reg = s.nextRegister(); foreach(Identifier n; mNames) s.insertLocal(n); s.codeNulls(mLocation.line, reg, mNames.length); } s.activateLocals(mNames.length); } } public override VarDecl fold() { if(mInitializer) mInitializer = mInitializer.fold(); return this; } } class FuncDecl : Declaration { protected FuncDef mDef; public this(Location location, Protection protection, FuncDef def) { super(location, def.mEndLocation, protection); mDef = def; } public static FuncDecl parse(ref Token* t, bool simple = false) { Location location = t.location; Protection protection = Protection.Local; if(t.type == Token.Type.Global) { protection = Protection.Global; t = t.nextToken; } else if(t.type == Token.Type.Local) t = t.nextToken; FuncDef def = FuncDef.parseSimple(t); return new FuncDecl(location, protection, def); } public override void codeGen(FuncState s) { if(mProtection == Protection.Local) { s.insertLocal(mDef.mName); s.activateLocals(1); s.pushVar(mDef.mName); } else { assert(mProtection == Protection.Global); s.pushNewGlobal(mDef.mName); } mDef.codeGen(s); s.popAssign(mEndLocation.line); } public override Declaration fold() { mDef = mDef.fold(); return this; } } class NamespaceDecl : Declaration { protected NamespaceDef mDef; public this(Location location, Protection protection, NamespaceDef def) { super(location, def.mEndLocation, protection); mDef = def; } public static NamespaceDecl parse(ref Token* t) { Location location = t.location; Protection protection = Protection.Local; if(t.type == Token.Type.Global) { protection = Protection.Global; t = t.nextToken; } else if(t.type == Token.Type.Local) t = t.nextToken; NamespaceDef def = NamespaceDef.parse(t); return new NamespaceDecl(location, protection, def); } public override void codeGen(FuncState s) { if(mProtection == Protection.Local) { s.insertLocal(mDef.mName); s.activateLocals(1); s.pushVar(mDef.mName); } else { assert(mProtection == Protection.Global); s.pushNewGlobal(mDef.mName); } mDef.codeGen(s); s.popAssign(mEndLocation.line); } public override Declaration fold() { mDef = mDef.fold(); return this; } } class Identifier { protected dchar[] mName; protected Location mLocation; public this(dchar[] name, Location location) { mName = name; mLocation = location; } public int opCmp(Object o) { //USED? Identifier other = cast(Identifier)o; assert(other); return typeid(typeof(mName)).compare(&mName, &other.mName); } public static Identifier parse(ref Token* t) { t.expect(Token.Type.Ident); Identifier id = new Identifier(t.stringValue, t.location); t = t.nextToken; return id; } public static dchar[] toLongString(Identifier[] idents) { dchar[][] strings = new dchar[][idents.length]; foreach(i, ident; idents) strings[i] = ident.mName; return join(strings, "."d); } public char[] toString() { return utf.toString(mName); } } class CompoundStatement : Statement { protected Statement[] mStatements; public this(Location location, Location endLocation, Statement[] statements) { super(location, endLocation); mStatements = statements; } public static CompoundStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.LBrace); List!(Statement) statements; while(t.type != Token.Type.RBrace) statements.add(Statement.parse(t)); t.expect(Token.Type.RBrace); Location endLocation = t.location; t = t.nextToken; return new CompoundStatement(location, endLocation, statements.toArray()); } public override void codeGen(FuncState s) { foreach(Statement st; mStatements) st.codeGen(s); } public override CompoundStatement fold() { foreach(ref statement; mStatements) statement = statement.fold(); return this; } } class IfStatement : Statement { protected Expression mCondition; protected Statement mIfBody; protected Statement mElseBody; public this(Location location, Location endLocation, Expression condition, Statement ifBody, Statement elseBody) { super(location, endLocation); mCondition = condition; mIfBody = ifBody; mElseBody = elseBody; } public static IfStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.If); t = t.expect(Token.Type.LParen); Expression condition = Expression.parse(t); t = t.expect(Token.Type.RParen); Statement ifBody = Statement.parse(t); Statement elseBody; Location endLocation = ifBody.mEndLocation; if(t.type == Token.Type.Else) { t = t.nextToken; elseBody = Statement.parse(t); endLocation = elseBody.mEndLocation; } return new IfStatement(location, endLocation, condition, ifBody, elseBody); } public override void codeGen(FuncState s) { InstRef* i = mCondition.codeCondition(s); s.invertJump(i); s.pushScope(); s.patchTrueToHere(i); mIfBody.codeGen(s); if(mElseBody) { s.popScope(mIfBody.mEndLocation.line); InstRef* j = s.makeJump(mElseBody.mLocation.line); s.patchFalseToHere(i); s.patchJumpToHere(i); s.pushScope(); mElseBody.codeGen(s); s.popScope(mEndLocation.line); s.patchJumpToHere(j); delete j; } else { s.popScope(mIfBody.mEndLocation.line); s.patchFalseToHere(i); s.patchJumpToHere(i); } delete i; } public override Statement fold() { mCondition = mCondition.fold(); mIfBody = mIfBody.fold(); if(mElseBody) mElseBody = mElseBody.fold(); if(mCondition.isConstant) { if(mCondition.isTrue) return mIfBody; else { if(mElseBody) return mElseBody; else return new CompoundStatement(mLocation, mEndLocation, null); } } return this; } } class WhileStatement : Statement { protected Expression mCondition; protected Statement mBody; public this(Location location, Location endLocation, Expression condition, Statement whileBody) { super(location, endLocation); mCondition = condition; mBody = whileBody; } public static WhileStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.While); t = t.expect(Token.Type.LParen); Expression condition = Expression.parse(t); t = t.expect(Token.Type.RParen); Statement whileBody = Statement.parse(t, false); return new WhileStatement(location, whileBody.mEndLocation, condition, whileBody); } public override void codeGen(FuncState s) { InstRef* beginLoop = s.getLabel(); if(mCondition.isConstant && mCondition.isTrue) { s.pushScope(); s.setBreakable(); s.setContinuable(); mBody.codeGen(s); s.patchContinues(beginLoop); s.codeJump(mEndLocation.line, beginLoop); s.patchBreaksToHere(); s.popScope(mEndLocation.line); } else { InstRef* cond = mCondition.codeCondition(s); s.invertJump(cond); s.pushScope(); s.patchTrueToHere(cond); s.setBreakable(); s.setContinuable(); mBody.codeGen(s); s.patchContinues(beginLoop); s.closeUpvals(mEndLocation.line); s.codeJump(mEndLocation.line, beginLoop); s.patchBreaksToHere(); s.popScope(mEndLocation.line); s.patchFalseToHere(cond); s.patchJumpToHere(cond); delete cond; } delete beginLoop; } public override Statement fold() { mCondition = mCondition.fold(); mBody = mBody.fold(); if(mCondition.isConstant) { if(!mCondition.isTrue) return new CompoundStatement(mLocation, mEndLocation, null); } return this; } } class DoWhileStatement : Statement { protected Statement mBody; protected Expression mCondition; public this(Location location, Location endLocation, Statement doBody, Expression condition) { super(location, endLocation); mBody = doBody; mCondition = condition; } public static DoWhileStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Do); Statement doBody = Statement.parse(t, false); t = t.expect(Token.Type.While); t = t.expect(Token.Type.LParen); Expression condition = Expression.parse(t); t.expect(Token.Type.RParen); Location endLocation = t.location; t = t.nextToken; return new DoWhileStatement(location, endLocation, doBody, condition); } public override void codeGen(FuncState s) { InstRef* beginLoop = s.getLabel(); if(mCondition.isConstant && mCondition.isTrue) { s.pushScope(); s.setBreakable(); s.setContinuable(); mBody.codeGen(s); s.patchContinuesToHere(); s.codeJump(mEndLocation.line, beginLoop); s.patchBreaksToHere(); s.popScope(mEndLocation.line); } else { s.pushScope(); s.setBreakable(); s.setContinuable(); mBody.codeGen(s); s.closeUpvals(mCondition.mLocation.line); s.patchContinuesToHere(); InstRef* cond = mCondition.codeCondition(s); s.invertJump(cond); s.patchTrueToHere(cond); s.codeJump(mEndLocation.line, beginLoop); s.patchBreaksToHere(); s.popScope(mEndLocation.line); s.patchFalseToHere(cond); s.patchJumpToHere(cond); delete cond; } delete beginLoop; } public override Statement fold() { mBody = mBody.fold(); mCondition = mCondition.fold(); if(mCondition.isConstant) { if(!mCondition.isTrue) return mBody; } return this; } } class ForStatement : Statement { struct ForInitializer { bool isDecl = false; union { Expression init; VarDecl decl; } } protected ForInitializer[] mInit; protected VarDecl mInitDecl; protected Expression mCondition; protected Expression[] mIncrement; protected Statement mBody; public this(Location location, Location endLocation, ForInitializer[] init, Expression cond, Expression[] inc, Statement forBody) { super(location, endLocation); mInit = init; mCondition = cond; mIncrement = inc; mBody = forBody; } public static Statement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.For); t = t.expect(Token.Type.LParen); ForInitializer[] init; void parseInitializer() { init.length = init.length + 1; if(t.type == Token.Type.Local) { init[$ - 1].isDecl = true; init[$ - 1].decl = VarDecl.parse(t); } else init[$ - 1].init = Expression.parseStatement(t); } if(t.type == Token.Type.Semicolon) t = t.nextToken; else { if(t.type == Token.Type.Ident && t.nextToken.type == Token.Type.Colon) { Identifier index = Identifier.parse(t); t = t.expect(Token.Type.Colon); Expression lo = Expression.parse(t); t = t.expect(Token.Type.DotDot); Expression hi = Expression.parse(t); Expression step; if(t.type == Token.Type.Comma) { t = t.nextToken; step = Expression.parse(t); } else step = new IntExp(location, 1); t = t.expect(Token.Type.RParen); Statement forBody = Statement.parse(t); return new NumericForStatement(location, forBody.mEndLocation, index, lo, hi, step, forBody); } parseInitializer(); while(t.type == Token.Type.Comma) { t = t.nextToken; parseInitializer(); } t = t.expect(Token.Type.Semicolon); } Expression condition; if(t.type == Token.Type.Semicolon) t = t.nextToken; else { condition = Expression.parse(t); t = t.expect(Token.Type.Semicolon); } Expression[] increment; if(t.type == Token.Type.RParen) t = t.nextToken; else { increment ~= Expression.parseStatement(t); while(t.type == Token.Type.Comma) { t = t.nextToken; increment ~= Expression.parseStatement(t); } t = t.expect(Token.Type.RParen); } Statement forBody = Statement.parse(t, false); return new ForStatement(location, forBody.mEndLocation, init, condition, increment, forBody); } public override void codeGen(FuncState s) { s.pushScope(); s.setBreakable(); s.setContinuable(); foreach(init; mInit) { if(init.isDecl) init.decl.codeGen(s); else { init.init.codeGen(s); s.popToNothing(); } } InstRef* beginLoop = s.getLabel(); InstRef* cond; if(mCondition) { cond = mCondition.codeCondition(s); s.invertJump(cond); s.patchTrueToHere(cond); } mBody.codeGen(s); s.closeUpvals(mLocation.line); s.patchContinuesToHere(); foreach(inc; mIncrement) { inc.codeGen(s); s.popToNothing(); } s.codeJump(mEndLocation.line, beginLoop); delete beginLoop; s.patchBreaksToHere(); s.popScope(mEndLocation.line); if(mCondition) { s.patchFalseToHere(cond); s.patchJumpToHere(cond); delete cond; } } public override Statement fold() { foreach(ref init; mInit) { if(init.isDecl) init.decl = init.decl.fold(); else init.init = init.init.fold(); } if(mCondition) mCondition = mCondition.fold(); foreach(ref inc; mIncrement) inc = inc.fold(); mBody = mBody.fold(); if(mCondition && mCondition.isConstant) { if(mCondition.isTrue) mCondition = null; else { if(mInit.length > 0) { Statement[] inits; foreach(init; mInit) { if(init.isDecl) inits ~= new DeclarationStatement(init.decl.mLocation, init.decl.mEndLocation, init.decl); else inits ~= new ExpressionStatement(init.init.mLocation, init.init.mEndLocation, init.init); } return new ScopeStatement(mLocation, mEndLocation, new CompoundStatement(mLocation, mEndLocation, inits)); } else return new CompoundStatement(mLocation, mEndLocation, null); } } return this; } } class NumericForStatement : Statement { Identifier mIndex; Expression mLo; Expression mHi; Expression mStep; Statement mBody; public this(Location location, Location endLocation, Identifier index, Expression lo, Expression hi, Expression step, Statement loopBody) { super(location, endLocation); mIndex = index; mLo = lo; mHi = hi; mStep = step; mBody = loopBody; } public override void codeGen(FuncState s) { uint baseReg = s.nextRegister(); uint loIndex; uint hi; uint step; s.pushScope(); s.setBreakable(); s.setContinuable(); loIndex = s.nextRegister(); mLo.codeGen(s); s.popMoveTo(mLo.mLocation.line, loIndex); s.pushRegister(); hi = s.nextRegister(); mHi.codeGen(s); s.popMoveTo(mHi.mLocation.line, hi); s.pushRegister(); step = s.nextRegister(); mStep.codeGen(s); s.popMoveTo(mStep.mLocation.line, step); s.pushRegister(); InstRef* beginJump = s.makeFor(mLocation.line, baseReg); InstRef* beginLoop = s.getLabel(); s.insertLocal(mIndex); s.activateLocals(1); mBody.codeGen(s); s.closeUpvals(mEndLocation.line); s.patchContinuesToHere(); s.patchJumpToHere(beginJump); delete beginJump; InstRef* gotoBegin = s.makeForLoop(mEndLocation.line, baseReg); s.patchJumpTo(gotoBegin, beginLoop); delete beginLoop; delete gotoBegin; s.patchBreaksToHere(); s.popScope(mEndLocation.line); s.popRegister(step); s.popRegister(hi); s.popRegister(loIndex); } public override Statement fold() { mLo = mLo.fold(); mHi = mHi.fold(); mStep = mStep.fold(); if(mLo.isConstant) if(!mLo.isInt) throw new MDCompileException(mLo.mLocation, "Low value of a numeric for loop must be an integer"); if(mHi.isConstant) if(!mHi.isInt) throw new MDCompileException(mHi.mLocation, "High value of a numeric for loop must be an integer"); if(mStep.isConstant) { if(!mStep.isInt) throw new MDCompileException(mStep.mLocation, "Step value of a numeric for loop must be an integer"); if(mStep.asInt() == 0) throw new MDCompileException(mStep.mLocation, "Step value of a numeric for loop may not be 0"); } mBody = mBody.fold(); return this; } } class ForeachStatement : Statement { protected Identifier[] mIndices; protected Expression[] mContainer; protected Statement mBody; public this(Location location, Location endLocation, Identifier[] indices, Expression[] container, Statement foreachBody) { super(location, endLocation); mIndices = indices; mContainer = container; mBody = foreachBody; } private static Identifier dummyIndex(Location l) { static uint counter = 0; return new Identifier("__dummy"d ~ Integer.toString32(counter++), l); } public static ForeachStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Foreach); t = t.expect(Token.Type.LParen); Identifier[] indices; indices ~= Identifier.parse(t); while(t.type == Token.Type.Comma) { t = t.nextToken; indices ~= Identifier.parse(t); } if(indices.length == 1) indices = dummyIndex(indices[0].mLocation) ~ indices; t = t.expect(Token.Type.Semicolon); Expression[] container; container ~= Expression.parse(t); while(t.type == Token.Type.Comma) { t = t.nextToken; container ~= Expression.parse(t); } if(container.length > 3) throw new MDCompileException(location, "'foreach' may have a maximum of three container expressions"); t = t.expect(Token.Type.RParen); Statement foreachBody = Statement.parse(t); return new ForeachStatement(location, foreachBody.mEndLocation, indices, container, foreachBody); } public override void codeGen(FuncState s) { s.pushScope(); s.setBreakable(); s.setContinuable(); uint baseReg = s.nextRegister(); uint generator; uint invState; uint control; if(mContainer.length == 3) { generator = s.nextRegister(); mContainer[0].codeGen(s); s.popMoveTo(mContainer[0].mLocation.line, generator); s.pushRegister(); invState = s.nextRegister(); mContainer[1].codeGen(s); s.popMoveTo(mContainer[1].mLocation.line, invState); s.pushRegister(); control = s.nextRegister(); mContainer[2].codeGen(s); s.popMoveTo(mContainer[2].mLocation.line, control); s.pushRegister(); } else if(mContainer.length == 2) { generator = s.nextRegister(); mContainer[0].codeGen(s); s.popMoveTo(mContainer[0].mLocation.line, generator); s.pushRegister(); invState = s.nextRegister(); mContainer[1].codeGen(s); if(mContainer[1].isMultRet()) { s.popToRegisters(mContainer[1].mLocation.line, invState, 2); s.pushRegister(); control = s.pushRegister(); } else { s.popMoveTo(mContainer[1].mLocation.line, invState); s.pushRegister(); control = s.pushRegister(); s.codeNulls(mContainer[1].mLocation.line, control, 1); } } else { generator = s.nextRegister(); mContainer[0].codeGen(s); if(mContainer[0].isMultRet()) { s.popToRegisters(mContainer[0].mLocation.line, generator, 3); s.pushRegister(); invState = s.pushRegister(); control = s.pushRegister(); } else { s.popMoveTo(mContainer[0].mLocation.line, generator); s.pushRegister(); invState = s.pushRegister(); control = s.pushRegister(); s.codeNulls(mContainer[0].mLocation.line, invState, 2); } } InstRef* beginJump = s.makeJump(mLocation.line); InstRef* beginLoop = s.getLabel(); foreach(Identifier i; mIndices) s.insertLocal(i); s.activateLocals(mIndices.length); mBody.codeGen(s); s.patchJumpToHere(beginJump); delete beginJump; s.closeUpvals(mEndLocation.line); s.patchContinuesToHere(); s.codeI(mEndLocation.line, Op.Foreach, baseReg, mIndices.length); InstRef* gotoBegin = s.makeJump(mEndLocation.line, Op.Je); s.patchJumpTo(gotoBegin, beginLoop); delete beginLoop; delete gotoBegin; s.patchBreaksToHere(); s.popScope(mEndLocation.line); s.popRegister(control); s.popRegister(invState); s.popRegister(generator); } public override Statement fold() { foreach(ref c; mContainer) c = c.fold(); mBody = mBody.fold(); return this; } } class SwitchStatement : Statement { protected Expression mCondition; protected CaseStatement[] mCases; protected DefaultStatement mDefault; public this(Location location, Location endLocation, Expression condition, CaseStatement[] cases, DefaultStatement caseDefault) { super(location, endLocation); mCondition = condition; mCases = cases; mDefault = caseDefault; } public static SwitchStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Switch); t = t.expect(Token.Type.LParen); Expression condition = Expression.parse(t); t = t.expect(Token.Type.RParen); t = t.expect(Token.Type.LBrace); List!(CaseStatement) cases; while(t.type == Token.Type.Case) cases.add(CaseStatement.parse(t)); if(cases.length == 0) throw new MDCompileException(location, "Switch statement must have at least one case statement"); DefaultStatement caseDefault; if(t.type == Token.Type.Default) caseDefault = DefaultStatement.parse(t); t.expect(Token.Type.RBrace); Location endLocation = t.location; t = t.nextToken; return new SwitchStatement(location, endLocation, condition, cases.toArray(), caseDefault); } public override void codeGen(FuncState s) { struct Case { Expression expr; CaseStatement stmt; } List!(Case) constCases; List!(Case) dynCases; foreach(caseStmt; mCases) { foreach(cond; caseStmt.mConditions) { if(cond.isConstant) constCases.add(Case(cond, caseStmt)); else dynCases.add(Case(cond, caseStmt)); } } s.pushScope(); s.setBreakable(); mCondition.codeGen(s); Exp src; s.popSource(mLocation.line, src); foreach(c; dynCases) { c.expr.codeGen(s); Exp cond; s.popSource(mLocation.line, cond); s.codeR(mLocation.line, Op.SwitchCmp, 0, src.index, cond.index); c.stmt.addDynJump(s.makeJump(mLocation.line, Op.Je, true)); s.freeExpTempRegs(&cond); } s.beginSwitch(mLocation.line, src.index); s.freeExpTempRegs(&src); foreach(c; constCases) c.stmt.addConstJump(s.addCase(c.expr.mLocation, c.expr)); foreach(c; mCases) c.codeGen(s); if(mDefault) mDefault.codeGen(s); s.endSwitch(); s.patchBreaksToHere(); s.popScope(mEndLocation.line); } public override Statement fold() { mCondition = mCondition.fold(); foreach(ref c; mCases) c = c.fold(); if(mDefault) mDefault = mDefault.fold(); return this; } } class CaseStatement : Statement { protected Expression[] mConditions; protected Statement mBody; protected List!(InstRef*) mDynJumps; protected List!(int*) mConstJumps; public this(Location location, Location endLocation, Expression[] conditions, Statement caseBody) { super(location, endLocation); mConditions = conditions; mBody = caseBody; } public static CaseStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Case); List!(Expression) conditions; conditions.add(Expression.parse(t)); while(t.type == Token.Type.Comma) { t = t.nextToken; conditions.add(Expression.parse(t)); } t = t.expect(Token.Type.Colon); List!(Statement) statements; while(t.type != Token.Type.Case && t.type != Token.Type.Default && t.type != Token.Type.RBrace) statements.add(Statement.parse(t)); Location endLocation = t.location; Statement caseBody = new CompoundStatement(location, endLocation, statements.toArray()); caseBody = new ScopeStatement(location, endLocation, caseBody); return new CaseStatement(location, endLocation, conditions.toArray(), caseBody); } public void addDynJump(InstRef* i) { mDynJumps.add(i); } public void addConstJump(int* i) { mConstJumps.add(i); } public override void codeGen(FuncState s) { foreach(ref j; mDynJumps) { s.patchJumpToHere(j); delete j; } foreach(ref j; mConstJumps) { s.patchSwitchJumpToHere(j); j = null; } mBody.codeGen(s); } public override CaseStatement fold() { foreach(ref cond; mConditions) cond = cond.fold(); mBody = mBody.fold(); return this; } } class DefaultStatement : Statement { protected Statement mBody; public this(Location location, Location endLocation, Statement defaultBody) { super(location, endLocation); mBody = defaultBody; } public static DefaultStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Default); t = t.expect(Token.Type.Colon); List!(Statement) statements; while(t.type != Token.Type.Case && t.type != Token.Type.Default && t.type != Token.Type.RBrace) statements.add(Statement.parse(t)); Location endLocation = t.location; Statement defaultBody = new CompoundStatement(location, endLocation, statements.toArray()); defaultBody = new ScopeStatement(location, endLocation, defaultBody); return new DefaultStatement(location, endLocation, defaultBody); } public override void codeGen(FuncState s) { s.addDefault(mLocation); mBody.codeGen(s); } public override DefaultStatement fold() { mBody = mBody.fold(); return this; } } class ContinueStatement : Statement { public this(Location location, Location endLocation) { super(location, endLocation); } public static ContinueStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Continue); t.expect(Token.Type.Semicolon); Location endLocation = t.location; t = t.nextToken; return new ContinueStatement(location, endLocation); } public override void codeGen(FuncState s) { s.codeContinue(mLocation); } } class BreakStatement : Statement { public this(Location location, Location endLocation) { super(location, endLocation); } public static BreakStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Break); t.expect(Token.Type.Semicolon); Location endLocation = t.location; t = t.nextToken; return new BreakStatement(location, endLocation); } public override void codeGen(FuncState s) { s.codeBreak(mLocation); } } class ReturnStatement : Statement { protected Expression[] mExprs; public this(Location location, Location endLocation, Expression[] exprs) { super(location, endLocation); mExprs = exprs; } public this(Expression value) { super(value.mLocation, value.mEndLocation); mExprs ~= value; } public static ReturnStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Return); if(t.type == Token.Type.Semicolon) { Location endLocation = t.location; t = t.nextToken; return new ReturnStatement(location, endLocation, null); } else { List!(Expression) exprs; exprs.add(Expression.parse(t)); while(t.type == Token.Type.Comma) { t = t.nextToken; exprs.add(Expression.parse(t)); } t.expect(Token.Type.Semicolon); Location endLocation = t.location; t = t.nextToken; return new ReturnStatement(location, endLocation, exprs.toArray()); } } public override void codeGen(FuncState s) { if(mExprs.length == 0) s.codeI(mLocation.line, Op.Ret, 0, 1); else { uint firstReg = s.nextRegister(); if(mExprs.length == 1 && cast(CallExp)mExprs[0]) { mExprs[0].codeGen(s); s.popToRegisters(mEndLocation.line, firstReg, -1); s.makeTailcall(); } else { Expression.codeGenListToNextReg(s, mExprs); if(mExprs[$ - 1].isMultRet()) s.codeI(mEndLocation.line, Op.Ret, firstReg, 0); else s.codeI(mEndLocation.line, Op.Ret, firstReg, mExprs.length + 1); } } } public override Statement fold() { foreach(ref exp; mExprs) exp = exp.fold(); return this; } } class TryCatchStatement : Statement { protected Statement mTryBody; protected Identifier mCatchVar; protected Statement mCatchBody; protected Statement mFinallyBody; public this(Location location, Location endLocation, Statement tryBody, Identifier catchVar, Statement catchBody, Statement finallyBody) { super(location, endLocation); mTryBody = tryBody; mCatchVar = catchVar; mCatchBody = catchBody; mFinallyBody = finallyBody; } public static TryCatchStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Try); Statement tryBody = Statement.parse(t); tryBody = new ScopeStatement(tryBody.mLocation, tryBody.mEndLocation, tryBody); Identifier catchVar; Statement catchBody; Location endLocation; if(t.type == Token.Type.Catch) { t = t.nextToken; t = t.expect(Token.Type.LParen); catchVar = Identifier.parse(t); t = t.expect(Token.Type.RParen); catchBody = Statement.parse(t); catchBody = new ScopeStatement(catchBody.mLocation, catchBody.mEndLocation, catchBody); endLocation = catchBody.mEndLocation; } Statement finallyBody; if(t.type == Token.Type.Finally) { t = t.nextToken; finallyBody = Statement.parse(t); finallyBody = new ScopeStatement(finallyBody.mLocation, finallyBody.mEndLocation, finallyBody); endLocation = finallyBody.mEndLocation; } if(catchBody is null && finallyBody is null) throw new MDCompileException(location, "Try statement must be followed by a catch, finally, or both"); return new TryCatchStatement(location, endLocation, tryBody, catchVar, catchBody, finallyBody); } public override void codeGen(FuncState s) { if(mFinallyBody) { InstRef* pushFinally = s.codeFinally(mLocation.line); if(mCatchBody) { uint checkReg1; InstRef* pushCatch = s.codeCatch(mLocation.line, checkReg1); mTryBody.codeGen(s); s.codeI(mTryBody.mEndLocation.line, Op.PopCatch, 0, 0); s.codeI(mTryBody.mEndLocation.line, Op.PopFinally, 0, 0); InstRef* jumpOverCatch = s.makeJump(mTryBody.mEndLocation.line); s.patchJumpToHere(pushCatch); delete pushCatch; s.pushScope(); uint checkReg2 = s.insertLocal(mCatchVar); assert(checkReg1 == checkReg2, "catch var register is not right"); s.activateLocals(1); mCatchBody.codeGen(s); s.popScope(mCatchBody.mEndLocation.line); s.codeI(mCatchBody.mEndLocation.line, Op.PopFinally, 0, 0); s.patchJumpToHere(jumpOverCatch); delete jumpOverCatch; s.patchJumpToHere(pushFinally); delete pushFinally; mFinallyBody.codeGen(s); s.codeI(mFinallyBody.mEndLocation.line, Op.EndFinal, 0, 0); } else { mTryBody.codeGen(s); s.codeI(mTryBody.mEndLocation.line, Op.PopFinally, 0, 0); s.patchJumpToHere(pushFinally); delete pushFinally; mFinallyBody.codeGen(s); s.codeI(mFinallyBody.mEndLocation.line, Op.EndFinal, 0, 0); } } else { assert(mCatchBody); uint checkReg1; InstRef* pushCatch = s.codeCatch(mLocation.line, checkReg1); mTryBody.codeGen(s); s.codeI(mTryBody.mEndLocation.line, Op.PopCatch, 0, 0); InstRef* jumpOverCatch = s.makeJump(mTryBody.mEndLocation.line); s.patchJumpToHere(pushCatch); delete pushCatch; s.pushScope(); uint checkReg2 = s.insertLocal(mCatchVar); assert(checkReg1 == checkReg2, "catch var register is not right"); s.activateLocals(1); mCatchBody.codeGen(s); s.popScope(mCatchBody.mEndLocation.line); s.patchJumpToHere(jumpOverCatch); delete jumpOverCatch; } } public override Statement fold() { mTryBody = mTryBody.fold(); if(mCatchBody) mCatchBody = mCatchBody.fold(); if(mFinallyBody) mFinallyBody = mFinallyBody.fold(); return this; } } class ThrowStatement : Statement { protected Expression mExp; public this(Location location, Location endLocation, Expression exp) { super(location, endLocation); mExp = exp; } public static ThrowStatement parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Throw); Expression exp = Expression.parse(t); t.expect(Token.Type.Semicolon); Location endLocation = t.location; t = t.nextToken; return new ThrowStatement(location, endLocation, exp); } public override void codeGen(FuncState s) { mExp.codeGen(s); Exp src; s.popSource(mLocation.line, src); s.codeR(mEndLocation.line, Op.Throw, 0, src.index, 0); s.freeExpTempRegs(&src); } public override Statement fold() { mExp = mExp.fold(); return this; } } abstract class Expression { protected Location mLocation; protected Location mEndLocation; public this(Location location, Location endLocation) { mLocation = location; mEndLocation = endLocation; } public static Expression parse(ref Token* t) { return CondExp.parse(t); } public static Expression parseStatement(ref Token* t) { Location location = t.location; Expression exp; if(t.type == Token.Type.Inc) { t = t.nextToken; exp = PrimaryExp.parse(t); exp = new OpEqExp(location, location, Op.AddEq, exp, new IntExp(location, 1)); } else if(t.type == Token.Type.Dec) { t = t.nextToken; exp = PrimaryExp.parse(t); exp = new OpEqExp(location, location, Op.SubEq, exp, new IntExp(location, 1)); } else { exp = PrimaryExp.parse(t); if(t.isOpAssign()) exp = OpEqExp.parse(t, exp); else if(t.type == Token.Type.Assign || t.type == Token.Type.Comma) exp = Assignment.parse(t, exp); else if(t.type == Token.Type.Inc) { t = t.nextToken; exp = new OpEqExp(location, location, Op.AddEq, exp, new IntExp(location, 1)); } else if(t.type == Token.Type.Dec) { t = t.nextToken; exp = new OpEqExp(location, location, Op.SubEq, exp, new IntExp(location, 1)); } else if(t.type == Token.Type.OrOr) exp = OrOrExp.parse(t, exp); else if(t.type == Token.Type.AndAnd) exp = AndAndExp.parse(t, exp); } exp.checkToNothing(); return exp; } public static Expression[] parseArguments(ref Token* t) { List!(Expression) args; args.add(Expression.parse(t)); while(t.type == Token.Type.Comma) { t = t.nextToken; args.add(Expression.parse(t)); } return args.toArray(); } public static void codeGenListToNextReg(FuncState s, Expression[] exprs) { if(exprs.length == 0) return; else if(exprs.length == 1) { uint firstReg = s.nextRegister(); exprs[0].codeGen(s); if(exprs[0].isMultRet()) s.popToRegisters(exprs[0].mEndLocation.line, firstReg, -1); else s.popMoveTo(exprs[0].mEndLocation.line, firstReg); } else { uint firstReg = s.nextRegister(); exprs[0].codeGen(s); s.popMoveTo(exprs[0].mEndLocation.line, firstReg); s.pushRegister(); uint lastReg = firstReg; foreach(uint i, Expression e; exprs[1 .. $]) { lastReg = s.nextRegister(); e.codeGen(s); // has to be -2 because i _is not the index in the array_ but the _index in the slice_ if(i == exprs.length - 2 && e.isMultRet()) s.popToRegisters(e.mEndLocation.line, lastReg, -1); else s.popMoveTo(e.mEndLocation.line, lastReg); s.pushRegister(); } for(int i = lastReg; i >= cast(int)firstReg; i--) s.popRegister(i); } } public void codeGen(FuncState s) { assert(false, "unimplemented codeGen: " ~ this.classinfo.name); } public InstRef* codeCondition(FuncState s) { assert(false, "unimplemented codeCondition: " ~ this.classinfo.name); } public void checkToNothing() { //REACHABLE? throw new MDCompileException(mLocation, "Expression cannot exist on its own"); } public void checkMultRet() { if(isMultRet() == false) throw new MDCompileException(mLocation, "Expression cannot be the source of a multi-target assignment"); } public bool isMultRet() { return false; } public bool isConstant() { return false; } public bool isNull() { return false; } public bool isBool() { return false; } public bool asBool() { assert(false); } public bool isInt() { return false; } public int asInt() { assert(false); } public bool isFloat() { return false; } public mdfloat asFloat() { assert(false); } public bool isChar() { return false; } public dchar asChar() { assert(false); } public bool isString() { return false; } public dchar[] asString() { assert(false); } public bool isTrue() { return false; } public Expression fold() { return this; } } class Assignment : Expression { protected Expression[] mLHS; protected Expression mRHS; public this(Location location, Location endLocation, Expression[] lhs, Expression rhs) { super(location, endLocation); mLHS = lhs; mRHS = rhs; } public static Assignment parse(ref Token* t, Expression firstLHS) { Location location = t.location; Expression[] lhs; Expression rhs; lhs ~= firstLHS; while(t.type == Token.Type.Comma) { t = t.nextToken; lhs ~= PrimaryExp.parse(t); } t = t.expect(Token.Type.Assign); rhs = Expression.parse(t); foreach(exp; lhs) if(cast(ThisExp)exp) throw new MDCompileException(exp.mLocation, "'this' cannot be the target of an assignment"); return new Assignment(location, rhs.mEndLocation, lhs, rhs); } public override void codeGen(FuncState s) { if(mLHS.length == 1) { mLHS[0].codeGen(s); mRHS.codeGen(s); s.popAssign(mEndLocation.line); } else { mRHS.checkMultRet(); foreach(Expression dest; mLHS) dest.codeGen(s); uint numTemps = s.resolveAssignmentConflicts(mLHS[$ - 1].mLocation.line, mLHS.length); uint RHSReg = s.nextRegister(); mRHS.codeGen(s); s.popToRegisters(mEndLocation.line, RHSReg, mLHS.length); s.popAssignmentConflicts(numTemps); for(int reg = RHSReg + mLHS.length - 1; reg >= RHSReg; reg--) s.popMoveFromReg(mEndLocation.line, reg); } } public override InstRef* codeCondition(FuncState s) { //REACHABLE? throw new MDCompileException(mLocation, "Assignments cannot be used as a condition"); } public override void checkToNothing() { // OK } public override Expression fold() { foreach(ref exp; mLHS) exp = exp.fold(); mRHS = mRHS.fold(); return this; } } class OpEqExp : Expression { protected Expression mLHS; protected Expression mRHS; protected Op mType; public this(Location location, Location endLocation, Op type, Expression left, Expression right) { super(location, endLocation); mLHS = left; mRHS = right; mType = type; } public static Expression parse(ref Token* t, Expression exp1) { Expression exp2; Location location = t.location; Op type; switch(t.type) { case Token.Type.AddEq: type = Op.AddEq; goto _commonParse; case Token.Type.SubEq: type = Op.SubEq; goto _commonParse; case Token.Type.MulEq: type = Op.MulEq; goto _commonParse; case Token.Type.DivEq: type = Op.DivEq; goto _commonParse; case Token.Type.ModEq: type = Op.ModEq; goto _commonParse; case Token.Type.ShlEq: type = Op.ShlEq; goto _commonParse; case Token.Type.ShrEq: type = Op.ShrEq; goto _commonParse; case Token.Type.UShrEq: type = Op.UShrEq; goto _commonParse; case Token.Type.OrEq: type = Op.OrEq; goto _commonParse; case Token.Type.XorEq: type = Op.XorEq; goto _commonParse; case Token.Type.AndEq: type = Op.AndEq; goto _commonParse; case Token.Type.DefaultEq: type = Op.CondMove; _commonParse: t = t.nextToken; exp2 = Expression.parse(t); exp1 = new OpEqExp(location, exp2.mEndLocation, type, exp1, exp2); break; case Token.Type.CatEq: t = t.nextToken; exp2 = Expression.parse(t); exp1 = new CatEqExp(location, exp2.mEndLocation, exp1, exp2); break; default: assert(false, "OpEqExp parse switch"); break; } return exp1; } public override void codeGen(FuncState s) { mLHS.codeGen(s); s.pushSource(mLHS.mEndLocation.line); Exp src1; s.popSource(mLHS.mEndLocation.line, src1); mRHS.codeGen(s); Exp src2; s.popSource(mEndLocation.line, src2); s.freeExpTempRegs(&src2); s.freeExpTempRegs(&src1); s.popReflexOp(mEndLocation.line, mType, src1.index, src2.index); } public override InstRef* codeCondition(FuncState s) { switch(mType) { case Op.AddEq: throw new MDCompileException(mLocation, "'+=' cannot be used as a condition"); case Op.SubEq: throw new MDCompileException(mLocation, "'-=' cannot be used as a condition"); case Op.MulEq: throw new MDCompileException(mLocation, "'*=' cannot be used as a condition"); case Op.DivEq: throw new MDCompileException(mLocation, "'/=' cannot be used as a condition"); case Op.ModEq: throw new MDCompileException(mLocation, "'%=' cannot be used as a condition"); case Op.ShlEq: throw new MDCompileException(mLocation, "'<<=' cannot be used as a condition"); case Op.ShrEq: throw new MDCompileException(mLocation, "'>>=' cannot be used as a condition"); case Op.UShrEq: throw new MDCompileException(mLocation, "'>>>=' cannot be used as a condition"); case Op.OrEq: throw new MDCompileException(mLocation, "'|=' cannot be used as a condition"); case Op.XorEq: throw new MDCompileException(mLocation, "'^=' cannot be used as a condition"); case Op.AndEq: throw new MDCompileException(mLocation, "'&=' cannot be used as a condition"); case Op.CondMove: throw new MDCompileException(mLocation, "'?=' cannot be used as a condition"); } } public override void checkToNothing() { // OK } public override Expression fold() { mLHS = mLHS.fold(); mRHS = mRHS.fold(); return this; } } class CatEqExp : Expression { protected Expression mLHS; protected Expression mRHS; protected Expression[] mOps; protected bool mCollapsed = false; public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation); mLHS = left; mRHS = right; } public override void codeGen(FuncState s) { assert(mCollapsed is true, "CatEqExp codeGen not collapsed"); assert(mOps.length >= 1, "CatEqExp codeGen not enough ops"); mLHS.codeGen(s); s.pushSource(mLHS.mEndLocation.line); Exp src1; s.popSource(mLHS.mEndLocation.line, src1); uint firstReg = s.nextRegister(); Expression.codeGenListToNextReg(s, mOps); s.freeExpTempRegs(&src1); if(mOps[$ - 1].isMultRet()) s.popReflexOp(mEndLocation.line, Op.CatEq, src1.index, firstReg, 0); else s.popReflexOp(mEndLocation.line, Op.CatEq, src1.index, firstReg, mOps.length + 1); } public override Expression fold() { mLHS = mLHS.fold(); mRHS = mRHS.fold(); CatExp catExp = cast(CatExp)mRHS; if(catExp) mOps = catExp.mOps; else mOps = [mRHS]; mCollapsed = true; return this; } public override InstRef* codeCondition(FuncState s) { throw new MDCompileException(mLocation, "'~=' cannot be used as a condition"); } public override void checkToNothing() { // OK } } class CondExp : Expression { protected Expression mCond; protected Expression mOp1; protected Expression mOp2; public this(Location location, Location endLocation, Expression cond, Expression op1, Expression op2) { super(location, endLocation); mCond = cond; mOp1 = op1; mOp2 = op2; } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; Expression exp3; exp1 = OrOrExp.parse(t); while(t.type == Token.Type.Question) { t = t.nextToken; exp2 = Expression.parse(t); t = t.expect(Token.Type.Colon); exp3 = CondExp.parse(t); exp1 = new CondExp(location, exp3.mEndLocation, exp1, exp2, exp3); location = t.location; } return exp1; } public override void codeGen(FuncState s) { uint temp = s.pushRegister(); InstRef* c = mCond.codeCondition(s); s.invertJump(c); s.patchTrueToHere(c); mOp1.codeGen(s); s.popMoveTo(mOp1.mEndLocation.line, temp); InstRef* i = s.makeJump(mOp1.mEndLocation.line, Op.Jmp); s.patchJumpToHere(c); delete c; mOp2.codeGen(s); s.popMoveTo(mEndLocation.line, temp); s.patchJumpToHere(i); delete i; s.pushTempReg(temp); } public override InstRef* codeCondition(FuncState s) { InstRef* c = mCond.codeCondition(s); s.invertJump(c); s.patchTrueToHere(c); InstRef* left = mOp1.codeCondition(s); s.invertJump(left); s.patchTrueToHere(left); InstRef* trueJump = s.makeJump(mOp1.mEndLocation.line, Op.Jmp, true); s.patchFalseToHere(c); s.patchJumpToHere(c); delete c; InstRef* right = mOp2.codeCondition(s); InstRef* i; for(i = right; i.falseList !is null; i = i.falseList) {} i.falseList = left; for(i = right; i.trueList !is null; i = i.trueList) {} i.trueList = trueJump; return right; } public override void checkToNothing() { // OK } public override Expression fold() { mCond = mCond.fold(); mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mCond.isConstant) { if(mCond.isTrue()) return mOp1; else return mOp2; } return this; } } abstract class BinaryExp : Expression { protected Expression mOp1; protected Expression mOp2; protected Op mType; public this(Location location, Location endLocation, Op type, Expression left, Expression right) { super(location, endLocation); mType = type; mOp1 = left; mOp2 = right; } public override void codeGen(FuncState s) { mOp1.codeGen(s); Exp src1; s.popSource(mOp1.mEndLocation.line, src1); mOp2.codeGen(s); Exp src2; s.popSource(mEndLocation.line, src2); s.freeExpTempRegs(&src2); s.freeExpTempRegs(&src1); s.pushBinOp(mEndLocation.line, mType, src1.index, src2.index); } public override InstRef* codeCondition(FuncState s) { uint temp = s.pushRegister(); codeGen(s); s.popMoveTo(mEndLocation.line, temp); s.codeR(mEndLocation.line, Op.IsTrue, 0, temp, 0); InstRef* ret = s.makeJump(mEndLocation.line, Op.Je); s.popRegister(temp); return ret; } } class OrOrExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.Or, left, right); } public static Expression parse(ref Token* t, Expression exp1 = null) { Location location = t.location; Expression exp2; if(exp1 is null) exp1 = AndAndExp.parse(t); while(t.type == Token.Type.OrOr) { t = t.nextToken; exp2 = AndAndExp.parse(t); exp1 = new OrOrExp(location, exp2.mEndLocation, exp1, exp2); location = t.location; } return exp1; } public override void codeGen(FuncState s) { uint temp = s.pushRegister(); mOp1.codeGen(s); s.popMoveTo(mOp1.mEndLocation.line, temp); s.codeR(mOp1.mEndLocation.line, Op.IsTrue, 0, temp, 0); InstRef* i = s.makeJump(mOp1.mEndLocation.line, Op.Je); mOp2.codeGen(s); s.popMoveTo(mEndLocation.line, temp); s.patchJumpToHere(i); delete i; s.pushTempReg(temp); } public override InstRef* codeCondition(FuncState s) { InstRef* left = mOp1.codeCondition(s); s.patchFalseToHere(left); InstRef* right = mOp2.codeCondition(s); InstRef* t; for(t = right; t.trueList !is null; t = t.trueList) {} t.trueList = left; return right; } public override void checkToNothing() { // OK } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant) { if(mOp1.isTrue()) return mOp1; else return mOp2; } return this; } } class AndAndExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.And, left, right); } public static Expression parse(ref Token* t, Expression exp1 = null) { Location location = t.location; Expression exp2; if(exp1 is null) exp1 = OrExp.parse(t); while(t.type == Token.Type.AndAnd) { t = t.nextToken; exp2 = OrExp.parse(t); exp1 = new AndAndExp(location, exp2.mEndLocation, exp1, exp2); location = t.location; } return exp1; } public override void codeGen(FuncState s) { uint temp = s.pushRegister(); mOp1.codeGen(s); s.popMoveTo(mOp1.mEndLocation.line, temp); s.codeR(mOp1.mEndLocation.line, Op.IsTrue, 0, temp, 0); InstRef* i = s.makeJump(mOp1.mEndLocation.line, Op.Je, false); mOp2.codeGen(s); s.popMoveTo(mEndLocation.line, temp); s.patchJumpToHere(i); delete i; s.pushTempReg(temp); } public override InstRef* codeCondition(FuncState s) { InstRef* left = mOp1.codeCondition(s); s.invertJump(left); s.patchTrueToHere(left); InstRef* right = mOp2.codeCondition(s); InstRef* f; for(f = right; f.falseList !is null; f = f.falseList) {} f.falseList = left; return right; } public override void checkToNothing() { // OK } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant) { if(mOp1.isTrue()) return mOp2; else return mOp1; } return this; } } class OrExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.Or, left, right); } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = XorExp.parse(t); while(t.type == Token.Type.Or) { t = t.nextToken; exp2 = XorExp.parse(t); exp1 = new OrExp(location, exp2.mEndLocation, exp1, exp2); location = t.location; } return exp1; } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { if(!mOp1.isInt || !mOp2.isInt) throw new MDCompileException(mLocation, "Bitwise Or must be performed on integers"); return new IntExp(mLocation, mOp1.asInt() | mOp2.asInt()); } return this; } } class XorExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.Xor, left, right); } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = AndExp.parse(t); while(t.type == Token.Type.Xor) { t = t.nextToken; exp2 = AndExp.parse(t); exp1 = new XorExp(location, exp2.mEndLocation, exp1, exp2); location = t.location; } return exp1; } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { if(!mOp1.isInt || !mOp2.isInt) throw new MDCompileException(mLocation, "Bitwise Xor must be performed on integers"); return new IntExp(mLocation, mOp1.asInt() ^ mOp2.asInt()); } return this; } } class AndExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.And, left, right); } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = EqualExp.parse(t); while(t.type == Token.Type.And) { t = t.nextToken; exp2 = EqualExp.parse(t); exp1 = new AndExp(location, exp2.mEndLocation, exp1, exp2); location = t.location; } return exp1; } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { if(!mOp1.isInt || !mOp2.isInt) throw new MDCompileException(mLocation, "Bitwise And must be performed on integers"); return new IntExp(mLocation, mOp1.asInt() & mOp2.asInt()); } return this; } } class EqualExp : BinaryExp { protected bool mIsTrue; public this(bool isTrue, Location location, Location endLocation, Op type, Expression left, Expression right) { super(location, endLocation, type, left, right); mIsTrue = isTrue; } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = CmpExp.parse(t); while(true) { bool isTrue = false; switch(t.type) { case Token.Type.EQ, Token.Type.NE: isTrue = (t.type == Token.Type.EQ); t = t.nextToken; exp2 = CmpExp.parse(t); exp1 = new EqualExp(isTrue, location, exp2.mEndLocation, Op.Cmp, exp1, exp2); continue; case Token.Type.Not: if(t.nextToken.type != Token.Type.Is) break; t = t.nextToken.nextToken; goto _doIs; case Token.Type.Is: isTrue = true; t = t.nextToken; _doIs: exp2 = CmpExp.parse(t); exp1 = new EqualExp(isTrue, location, exp2.mEndLocation, Op.Is, exp1, exp2); continue; default: break; } break; } return exp1; } public override void codeGen(FuncState s) { uint temp = s.pushRegister(); InstRef* i = codeCondition(s); s.pushBool(false); s.popMoveTo(mEndLocation.line, temp); InstRef* j = s.makeJump(mEndLocation.line, Op.Jmp); s.patchJumpToHere(i); delete i; s.pushBool(true); s.popMoveTo(mEndLocation.line, temp); s.patchJumpToHere(j); delete j; s.pushTempReg(temp); } public override InstRef* codeCondition(FuncState s) { mOp1.codeGen(s); Exp src1; s.popSource(mOp1.mEndLocation.line, src1); mOp2.codeGen(s); Exp src2; s.popSource(mEndLocation.line, src2); s.freeExpTempRegs(&src2); s.freeExpTempRegs(&src1); s.codeR(mEndLocation.line, mType, 0, src1.index, src2.index); return s.makeJump(mEndLocation.line, Op.Je, mIsTrue); } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { if(mOp1.isNull && mOp2.isNull) return new BoolExp(mLocation, mIsTrue ? true : false); if(mOp1.isBool && mOp2.isBool) return new BoolExp(mLocation, mIsTrue ? mOp1.asBool() == mOp2.asBool() : mOp1.asBool() != mOp2.asBool()); if(mOp1.isInt && mOp2.isInt) return new BoolExp(mLocation, mIsTrue ? mOp1.asInt() == mOp2.asInt() : mOp1.asInt() != mOp2.asInt()); if((mOp1.isInt || mOp1.isFloat) && (mOp2.isInt || mOp2.isFloat)) return new BoolExp(mLocation, mIsTrue ? mOp1.asFloat() == mOp2.asFloat() : mOp1.asFloat() != mOp2.asFloat()); if(mOp1.isChar && mOp2.isChar) return new BoolExp(mLocation, mIsTrue ? mOp1.asChar() == mOp2.asChar() : mOp1.asChar() != mOp2.asChar()); if(mOp1.isString && mOp2.isString) return new BoolExp(mLocation, mIsTrue ? mOp1.asString() == mOp2.asString() : mOp1.asString() != mOp2.asString()); throw new MDCompileException(mLocation, "Cannot compare different types"); } return this; } } class CmpExp : BinaryExp { protected Token.Type mCmpType; public this(Token.Type type, Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.Cmp, left, right); mCmpType = type; assert(mCmpType == Token.Type.LT || mCmpType == Token.Type.LE || mCmpType == Token.Type.GT || mCmpType == Token.Type.GE, "invalid cmp type"); } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = ShiftExp.parse(t); while(true) { Token.Type type = t.type; switch(type) { case Token.Type.LT, Token.Type.LE, Token.Type.GT, Token.Type.GE: t = t.nextToken; exp2 = ShiftExp.parse(t); exp1 = new CmpExp(type, location, exp2.mEndLocation, exp1, exp2); continue; case Token.Type.As: t = t.nextToken; exp2 = ShiftExp.parse(t); exp1 = new AsExp(location, exp2.mEndLocation, exp1, exp2); continue; case Token.Type.In: t = t.nextToken; exp2 = ShiftExp.parse(t); exp1 = new InExp(location, exp2.mEndLocation, exp1, exp2); continue; case Token.Type.Not: if(t.nextToken.type != Token.Type.In) break; t = t.nextToken.nextToken; exp2 = ShiftExp.parse(t); exp1 = new NotInExp(location, exp2.mEndLocation, exp1, exp2); continue; case Token.Type.Cmp3: t = t.nextToken; exp2 = ShiftExp.parse(t); exp1 = new Cmp3Exp(location, exp2.mEndLocation, exp1, exp2); continue; default: break; } break; } return exp1; } public override void codeGen(FuncState s) { uint temp = s.pushRegister(); InstRef* i = codeCondition(s); s.pushBool(false); s.popMoveTo(mEndLocation.line, temp); InstRef* j = s.makeJump(mEndLocation.line, Op.Jmp); s.patchJumpToHere(i); delete i; s.pushBool(true); s.popMoveTo(mEndLocation.line, temp); s.patchJumpToHere(j); delete j; s.pushTempReg(temp); } public override InstRef* codeCondition(FuncState s) { mOp1.codeGen(s); Exp src1; s.popSource(mOp1.mEndLocation.line, src1); mOp2.codeGen(s); Exp src2; s.popSource(mEndLocation.line, src2); s.freeExpTempRegs(&src2); s.freeExpTempRegs(&src1); s.codeR(mEndLocation.line, Op.Cmp, 0, src1.index, src2.index); switch(mCmpType) { case Token.Type.LT: return s.makeJump(mEndLocation.line, Op.Jlt, true); case Token.Type.LE: return s.makeJump(mEndLocation.line, Op.Jle, true); case Token.Type.GT: return s.makeJump(mEndLocation.line, Op.Jle, false); case Token.Type.GE: return s.makeJump(mEndLocation.line, Op.Jlt, false); default: assert(false); } } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { int cmpVal = 0; if(mOp1.isNull && mOp2.isNull) cmpVal = 0; else if(mOp1.isInt && mOp2.isInt) cmpVal = Compare3(mOp1.asInt(), mOp2.asInt()); else if((mOp1.isInt || mOp1.isFloat) && (mOp2.isInt || mOp2.isFloat)) cmpVal = Compare3(mOp1.asFloat(), mOp2.asFloat()); else if(mOp1.isChar && mOp2.isChar) cmpVal = Compare3(mOp1.asChar, mOp2.asChar); else if(mOp1.isString && mOp2.isString) cmpVal = dcmp(mOp1.asString(), mOp2.asString()); else throw new MDCompileException(mLocation, "Invalid compile-time comparison"); switch(mCmpType) { case Token.Type.LT: return new BoolExp(mLocation, cmpVal < 0); case Token.Type.LE: return new BoolExp(mLocation, cmpVal <= 0); case Token.Type.GT: return new BoolExp(mLocation, cmpVal > 0); case Token.Type.GE: return new BoolExp(mLocation, cmpVal >= 0); default: assert(false, "CmpExp fold"); } } return this; } } class AsExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { if(left.isConstant() || right.isConstant()) throw new MDCompileException(location, "Neither argument of an 'as' expression may be a constant"); super(location, endLocation, Op.As, left, right); } } class InExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.In, left, right); } } class NotInExp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.NotIn, left, right); } } class Cmp3Exp : BinaryExp { public this(Location location, Location endLocation, Expression left, Expression right) { super(location, endLocation, Op.Cmp3, left, right); } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { int cmpVal = 0; if(mOp1.isNull && mOp2.isNull) cmpVal = 0; else if(mOp1.isInt && mOp2.isInt) cmpVal = Compare3(mOp1.asInt(), mOp2.asInt()); else if((mOp1.isInt || mOp1.isFloat) && (mOp2.isInt || mOp2.isFloat)) cmpVal = Compare3(mOp1.asFloat(), mOp2.asFloat()); else if(mOp1.isChar && mOp2.isChar) cmpVal = Compare3(mOp1.asChar(), mOp2.asChar()); else if(mOp1.isString && mOp2.isString) cmpVal = dcmp(mOp1.asString(), mOp2.asString()); else throw new MDCompileException(mLocation, "Invalid compile-time comparison"); return new IntExp(mLocation, cmpVal); } return this; } } class ShiftExp : BinaryExp { public this(Location location, Location endLocation, Token.Type type, Expression left, Expression right) { Op t; switch(type) { case Token.Type.Shl: t = Op.Shl; break; case Token.Type.Shr: t = Op.Shr; break; case Token.Type.UShr: t = Op.UShr; break; default: assert(false, "ShiftExp ctor type switch"); } super(location, endLocation, t, left, right); } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = AddExp.parse(t); while(true) { Token.Type type = t.type; switch(t.type) { case Token.Type.Shl, Token.Type.Shr, Token.Type.UShr: t = t.nextToken; exp2 = AddExp.parse(t); exp1 = new ShiftExp(location, exp2.mEndLocation, type, exp1, exp2); continue; default: break; } break; } return exp1; } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { if(!mOp1.isInt || !mOp2.isInt) throw new MDCompileException(mLocation, "Bitshifting must be performed on integers"); switch(mType) { case Op.Shl: return new IntExp(mLocation, mOp1.asInt() << mOp2.asInt()); case Op.Shr: return new IntExp(mLocation, mOp1.asInt() >> mOp2.asInt()); case Op.UShr: return new IntExp(mLocation, mOp1.asInt() >>> mOp2.asInt()); default: assert(false, "ShiftExp fold"); } } return this; } } class AddExp : BinaryExp { public this(Location location, Location endLocation, Token.Type type, Expression left, Expression right) { Op t; switch(type) { case Token.Type.Add: t = Op.Add; break; case Token.Type.Sub: t = Op.Sub; break; default: assert(false, "BaseAddExp ctor type switch"); } super(location, endLocation, t, left, right); } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = MulExp.parse(t); while(true) { Token.Type type = t.type; switch(t.type) { case Token.Type.Add, Token.Type.Sub: t = t.nextToken; exp2 = MulExp.parse(t); exp1 = new AddExp(location, exp2.mEndLocation, type, exp1, exp2); continue; case Token.Type.Cat: t = t.nextToken; exp2 = MulExp.parse(t); exp1 = new CatExp(location, exp2.mEndLocation, type, exp1, exp2); continue; default: break; } break; } return exp1; } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { if(mOp1.isInt && mOp2.isInt) { if(mType == Op.Add) return new IntExp(mLocation, mOp1.asInt() + mOp2.asInt()); else { assert(mType == Op.Sub, "AddExp fold 1"); return new IntExp(mLocation, mOp1.asInt() - mOp2.asInt()); } } if((mOp1.isInt || mOp1.isFloat) && (mOp2.isInt || mOp2.isFloat)) { if(mType == Op.Add) return new FloatExp(mLocation, mOp1.asFloat() + mOp2.asFloat()); else { assert(mType == Op.Sub, "AddExp fold 2"); return new FloatExp(mLocation, mOp1.asFloat() - mOp2.asFloat()); } } throw new MDCompileException(mLocation, "Addition and Subtraction must be performed on numbers"); } return this; } } class CatExp : BinaryExp { protected Expression[] mOps; protected bool mCollapsed = false; public this(Location location, Location endLocation, Token.Type type, Expression left, Expression right) { super(location, endLocation, Op.Cat, left, right); } public override void codeGen(FuncState s) { assert(mCollapsed is true, "CatExp codeGen not collapsed"); assert(mOps.length >= 2, "CatExp codeGen not enough ops"); uint firstReg = s.nextRegister(); Expression.codeGenListToNextReg(s, mOps); if(mOps[$ - 1].isMultRet()) s.pushBinOp(mEndLocation.line, Op.Cat, firstReg, 0); else s.pushBinOp(mEndLocation.line, Op.Cat, firstReg, mOps.length + 1); } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); assert(mCollapsed is false, "repeated CatExp fold"); mCollapsed = true; CatExp l = cast(CatExp)mOp1; if(l) mOps = l.mOps ~ mOps; else mOps = mOp1 ~ mOps; mOps ~= mOp2; mEndLocation = mOps[$ - 1].mEndLocation; for(int i = 0; i < mOps.length - 1; i++) { if(mOps[i].isConstant && mOps[i + 1].isConstant) { if(mOps[i].isString && mOps[i + 1].isString) { mOps[i] = new StringExp(mLocation, mOps[i].asString() ~ mOps[i + 1].asString()); mOps = mOps[0 .. i + 1] ~ mOps[i + 2 .. $]; i--; } else if(mOps[i].isChar && mOps[i + 1].isChar) { dchar[] s = new dchar[2]; s[0] = mOps[i].asChar(); s[1] = mOps[i + 1].asChar(); mOps[i] = new StringExp(mLocation, s); mOps = mOps[0 .. i + 1] ~ mOps[i + 2 .. $]; i--; } else if(mOps[i].isString && mOps[i + 1].isChar) { mOps[i] = new StringExp(mLocation, mOps[i].asString() ~ mOps[i + 1].asChar()); mOps = mOps[0 .. i + 1] ~ mOps[i + 2 .. $]; i--; } else if(mOps[i].isChar && mOps[i + 1].isString) { mOps[i] = new StringExp(mLocation, mOps[i].asChar() ~ mOps[i + 1].asString()); mOps = mOps[0 .. i + 1] ~ mOps[i + 2 .. $]; i--; } } } if(mOps.length == 1) return mOps[0]; return this; } } class MulExp : BinaryExp { public this(Location location, Location endLocation, Token.Type type, Expression left, Expression right) { Op t; switch(type) { case Token.Type.Mul: t = Op.Mul; break; case Token.Type.Div: t = Op.Div; break; case Token.Type.Mod: t = Op.Mod; break; default: assert(false, "BaseMulExp ctor type switch"); } super(location, endLocation, t, left, right); } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp1; Expression exp2; exp1 = UnaryExp.parse(t); while(true) { Token.Type type = t.type; switch(t.type) { case Token.Type.Mul, Token.Type.Div, Token.Type.Mod: t = t.nextToken; exp2 = UnaryExp.parse(t); exp1 = new MulExp(location, exp2.mEndLocation, type, exp1, exp2); continue; default: break; } break; } return exp1; } public override Expression fold() { mOp1 = mOp1.fold(); mOp2 = mOp2.fold(); if(mOp1.isConstant && mOp2.isConstant) { if(mOp1.isInt && mOp2.isInt) { switch(mType) { case Op.Mul: return new IntExp(mLocation, mOp1.asInt() * mOp2.asInt()); case Op.Mod: if(mOp2.asInt == 0) throw new MDCompileException(mLocation, "Modulo by 0"); return new IntExp(mLocation, mOp1.asInt() % mOp2.asInt()); case Op.Div: if(mOp2.asInt == 0) throw new MDCompileException(mLocation, "Division by 0"); return new IntExp(mLocation, mOp1.asInt() / mOp2.asInt()); default: assert(false, "MulExp fold 1"); } } if((mOp1.isInt || mOp1.isFloat) && (mOp2.isInt || mOp2.isFloat)) { switch(mType) { case Op.Mul: return new FloatExp(mLocation, mOp1.asFloat() * mOp2.asFloat()); case Op.Mod: if(mOp2.asFloat() == 0.0) throw new MDCompileException(mLocation, "Modulo by 0"); return new FloatExp(mLocation, mOp1.asFloat() % mOp2.asFloat()); case Op.Div: if(mOp2.asFloat() == 0.0) throw new MDCompileException(mLocation, "Division by 0"); return new FloatExp(mLocation, mOp1.asFloat() / mOp2.asFloat()); default: assert(false, "MulExp fold 2"); } } throw new MDCompileException(mLocation, "Multiplication, Division, and Modulo must be performed on numbers"); } return this; } } abstract class UnaryExp : Expression { protected Expression mOp; public this(Location location, Location endLocation, Expression operand) { super(location, endLocation); mOp = operand; } public static Expression parse(ref Token* t) { Location location = t.location; Expression exp; switch(t.type) { case Token.Type.Sub: t = t.nextToken; exp = UnaryExp.parse(t); exp = new NegExp(location, exp.mEndLocation, exp); break; case Token.Type.Not: t = t.nextToken; exp = UnaryExp.parse(t); exp = new NotExp(location, exp.mEndLocation, exp); break; case Token.Type.Cat: t = t.nextToken; exp = UnaryExp.parse(t); exp = new ComExp(location, exp.mEndLocation, exp); break; case Token.Type.Length: t = t.nextToken; exp = UnaryExp.parse(t); exp = new LengthExp(location, exp.mEndLocation, exp); break; case Token.Type.Coroutine: t = t.nextToken; exp = UnaryExp.parse(t); exp = new CoroutineExp(location, exp.mEndLocation, exp); break; default: exp = PrimaryExp.parse(t); break; } assert(exp !is null); return exp; } public override InstRef* codeCondition(FuncState s) { uint temp = s.nextRegister(); codeGen(s); s.popMoveTo(mEndLocation.line, temp); s.codeR(mEndLocation.line, Op.IsTrue, 0, temp, 0); InstRef* ret = s.makeJump(mEndLocation.line, Op.Je); return ret; } } class NegExp : UnaryExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public override void codeGen(FuncState s) { mOp.codeGen(s); s.popUnOp(mEndLocation.line, Op.Neg); } public override Expression fold() { mOp = mOp.fold(); if(mOp.isConstant) { if(mOp.isInt) { (cast(IntExp)mOp).mValue = -mOp.asInt(); return mOp; } if(mOp.isFloat) { (cast(FloatExp)mOp).mValue = -mOp.asFloat(); return mOp; } throw new MDCompileException(mLocation, "Negation must be performed on numbers"); } return this; } } class NotExp : UnaryExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public override void codeGen(FuncState s) { mOp.codeGen(s); s.popUnOp(mEndLocation.line, Op.Not); } public override Expression fold() { mOp = mOp.fold(); if(mOp.isConstant) return new BoolExp(mLocation, !mOp.isTrue); CmpExp cmpExp = cast(CmpExp)mOp; if(cmpExp) { switch(cmpExp.mCmpType) { case Token.Type.LT: cmpExp.mCmpType = Token.Type.GE; break; case Token.Type.LE: cmpExp.mCmpType = Token.Type.GT; break; case Token.Type.GT: cmpExp.mCmpType = Token.Type.LE; break; case Token.Type.GE: cmpExp.mCmpType = Token.Type.LT; break; } return cmpExp; } EqualExp equalExp = cast(EqualExp)mOp; if(equalExp) { equalExp.mIsTrue = !equalExp.mIsTrue; return equalExp; } return this; } } class ComExp : UnaryExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public override void codeGen(FuncState s) { mOp.codeGen(s); s.popUnOp(mEndLocation.line, Op.Com); } public override Expression fold() { mOp = mOp.fold(); if(mOp.isConstant) { if(mOp.isInt) { (cast(IntExp)mOp).mValue = ~mOp.asInt(); return mOp; } throw new MDCompileException(mLocation, "Bitwise complement must be performed on integers"); } return this; } } class LengthExp : UnaryExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public override void codeGen(FuncState s) { mOp.codeGen(s); s.popUnOp(mEndLocation.line, Op.Length); } public override Expression fold() { mOp = mOp.fold(); if(mOp.isConstant) { if(mOp.isString) return new IntExp(mLocation, mOp.asString().length); throw new MDCompileException(mLocation, "Length must be performed on a string"); } return this; } } class CoroutineExp : UnaryExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public override void codeGen(FuncState s) { mOp.codeGen(s); s.popUnOp(mEndLocation.line, Op.Coroutine); } public override Expression fold() { mOp = mOp.fold(); return this; } } abstract class PostfixExp : UnaryExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public static Expression parse(ref Token* t, Expression exp) { while(true) { Location location = t.location; switch(t.type) { case Token.Type.Dot: t = t.nextToken; if(t.type == Token.Type.Ident) { IdentExp ie = new IdentExp(t.location, Identifier.parse(t)); exp = new DotExp(location, ie.mEndLocation, exp, ie); } else if(t.type == Token.Type.Super) { Location endLocation = t.location; t = t.nextToken; exp = new DotSuperExp(location, endLocation, exp); } else { t.expect(Token.Type.Class); Location endLocation = t.location; t = t.nextToken; exp = new DotClassExp(location, endLocation, exp); } continue; case Token.Type.LParen: t = t.nextToken; Expression context; Expression[] args; if(t.type == Token.Type.With) { t = t.nextToken; args = Expression.parseArguments(t); context = args[0]; args = args[1 .. $]; } else if(t.type != Token.Type.RParen) args = Expression.parseArguments(t); t.expect(Token.Type.RParen); Location endLocation = t.location; t = t.nextToken; exp = new CallExp(location, endLocation, exp, context, args); continue; case Token.Type.LBracket: t = t.nextToken; Expression loIndex; Expression hiIndex; Location endLocation; if(t.type == Token.Type.DotDot) { loIndex = new NullExp(t.location); t = t.nextToken; if(t.type == Token.Type.RBracket) { // a[ .. ] hiIndex = new NullExp(t.location); endLocation = t.location; t = t.nextToken; } else { // a[ .. 0] hiIndex = Expression.parse(t); t.expect(Token.Type.RBracket); endLocation = t.location; t = t.nextToken; } exp = new SliceExp(location, endLocation, exp, loIndex, hiIndex); } else { loIndex = Expression.parse(t); if(t.type == Token.Type.DotDot) { t = t.nextToken; if(t.type == Token.Type.RBracket) { // a[0 .. ] hiIndex = new NullExp(t.location); endLocation = t.location; t = t.nextToken; } else { // a[0 .. 0] hiIndex = Expression.parse(t); t.expect(Token.Type.RBracket); endLocation = t.location; t = t.nextToken; } exp = new SliceExp(location, endLocation, exp, loIndex, hiIndex); } else { // a[0] t.expect(Token.Type.RBracket); endLocation = t.location; t = t.nextToken; exp = new IndexExp(location, endLocation, exp, loIndex); } } continue; default: return exp; } } } } class DotExp : PostfixExp { protected IdentExp mIdent; public this(Location location, Location endLocation, Expression operand, IdentExp ident) { super(location, endLocation, operand); mIdent = ident; } public override void codeGen(FuncState s) { mOp.codeGen(s); s.topToSource(mEndLocation.line); s.popField(mEndLocation.line, mIdent.mIdent); } public override Expression fold() { mOp = mOp.fold(); return this; } } class DotSuperExp : PostfixExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public override void codeGen(FuncState s) { mOp.codeGen(s); s.popUnOp(mEndLocation.line, Op.Super); } public override Expression fold() { mOp = mOp.fold(); return this; } } class DotClassExp : PostfixExp { public this(Location location, Location endLocation, Expression operand) { super(location, endLocation, operand); } public override void codeGen(FuncState s) { mOp.codeGen(s); s.popUnOp(mEndLocation.line, Op.ClassOf); } public override Expression fold() { mOp = mOp.fold(); return this; } } class CallExp : PostfixExp { protected Expression mContext; protected Expression[] mArgs; public this(Location location, Location endLocation, Expression operand, Expression context, Expression[] args) { super(location, endLocation, operand); mContext = context; mArgs = args; } public override void codeGen(FuncState s) { DotExp dotExp = cast(DotExp)mOp; if(dotExp !is null && mContext is null) { Identifier methodName = dotExp.mIdent.mIdent; uint funcReg = s.nextRegister(); dotExp.mOp.codeGen(s); Exp src; s.popSource(mOp.mEndLocation.line, src); s.freeExpTempRegs(&src); assert(s.nextRegister() == funcReg); s.pushRegister(); uint thisReg = s.pushRegister(); Expression.codeGenListToNextReg(s, mArgs); s.codeR(mOp.mEndLocation.line, Op.Method, funcReg, src.index, s.codeStringConst(methodName.mName)); s.popRegister(thisReg); if(mArgs.length == 0) s.pushCall(mEndLocation.line, funcReg, 2); else if(mArgs[$ - 1].isMultRet()) s.pushCall(mEndLocation.line, funcReg, 0); else s.pushCall(mEndLocation.line, funcReg, mArgs.length + 2); } else { uint funcReg = s.nextRegister(); mOp.codeGen(s); Exp src; s.popSource(mOp.mEndLocation.line, src); s.freeExpTempRegs(&src); assert(s.nextRegister() == funcReg); s.pushRegister(); uint thisReg = s.pushRegister(); if(mContext) { mContext.codeGen(s); s.popMoveTo(mOp.mEndLocation.line, thisReg); } Expression.codeGenListToNextReg(s, mArgs); s.codeR(mOp.mEndLocation.line, Op.Precall, funcReg, src.index, (mContext is null) ? 1 : 0); s.popRegister(thisReg); if(mArgs.length == 0) s.pushCall(mEndLocation.line, funcReg, 2); else if(mArgs[$ - 1].isMultRet()) s.pushCall(mEndLocation.line, funcReg, 0); else s.pushCall(mEndLocation.line, funcReg, mArgs.length + 2); } } public void checkToNothing() { // OK } public bool isMultRet() { return true; } public override Expression fold() { mOp = mOp.fold(); foreach(ref arg; mArgs) arg = arg.fold(); return this; } } class IndexExp : PostfixExp { protected Expression mIndex; public this(Location location, Location endLocation, Expression operand, Expression index) { super(location, endLocation, operand); mIndex = index; } public override void codeGen(FuncState s) { mOp.codeGen(s); s.topToSource(mEndLocation.line); mIndex.codeGen(s); s.popIndex(mEndLocation.line); } public override Expression fold() { mOp = mOp.fold(); mIndex = mIndex.fold(); if(mOp.isConstant && mIndex.isConstant) { if(!mOp.isString || !mIndex.isInt) throw new MDCompileException(mLocation, "Can only index strings with integers at compile time"); int idx = mIndex.asInt(); if(idx < 0) idx += mOp.asString.length; if(idx < 0 || idx >= mOp.asString.length) throw new MDCompileException(mLocation, "Invalid string index"); return new CharExp(mLocation, mOp.asString[idx]); } return this; } } class SliceExp : PostfixExp { protected Expression mLoIndex; protected Expression mHiIndex; public this(Location location, Location endLocation, Expression operand, Expression loIndex, Expression hiIndex) { super(location, endLocation, operand); mLoIndex = loIndex; mHiIndex = hiIndex; } public override void codeGen(FuncState s) { uint reg = s.nextRegister(); Expression.codeGenListToNextReg(s, [mOp, mLoIndex, mHiIndex]); s.pushSlice(mEndLocation.line, reg); } public override Expression fold() { mOp = mOp.fold(); mLoIndex = mLoIndex.fold(); mHiIndex = mHiIndex.fold(); if(mOp.isConstant && mLoIndex.isConstant && mHiIndex.isConstant) { if(!mOp.isString || !mLoIndex.isInt || !mHiIndex.isInt) throw new MDCompileException(mLocation, "Can only slice strings with integers at compile time"); dchar[] str = mOp.asString(); int l = mLoIndex.asInt(); int h = mHiIndex.asInt(); if(l < 0) l += str.length; if(h < 0) h += str.length; if(l < 0 || l >= str.length || h < 0 || h >= str.length || l > h) throw new MDCompileException(mLocation, "Invalid slice indices"); return new StringExp(mLocation, str[l .. h]); } return this; } } class PrimaryExp : Expression { public this(Location location) { super(location, location); } public this(Location location, Location endLocation) { super(location, endLocation); } public static Expression parse(ref Token* t) { Expression exp; Location location = t.location; switch(t.type) { case Token.Type.Ident: exp = IdentExp.parse(t); break; case Token.Type.This: exp = ThisExp.parse(t); break; case Token.Type.Null: exp = NullExp.parse(t); break; case Token.Type.True, Token.Type.False: exp = BoolExp.parse(t); break; case Token.Type.Vararg: exp = VarargExp.parse(t); break; case Token.Type.CharLiteral: exp = CharExp.parse(t); break; case Token.Type.IntLiteral: exp = IntExp.parse(t); break; case Token.Type.FloatLiteral: exp = FloatExp.parse(t); break; case Token.Type.StringLiteral: exp = StringExp.parse(t); break; case Token.Type.Function: exp = FuncLiteralExp.parse(t); break; case Token.Type.Class: exp = ClassLiteralExp.parse(t); break; case Token.Type.LParen: exp = ParenExp.parse(t); break; case Token.Type.LBrace: exp = TableCtorExp.parse(t); break; case Token.Type.LBracket: exp = ArrayCtorExp.parse(t); break; case Token.Type.Namespace: exp = NamespaceCtorExp.parse(t); break; case Token.Type.Yield: exp = YieldExp.parse(t); break; case Token.Type.Super: exp = SuperCallExp.parse(t); break; default: throw new MDCompileException(location, "Expression expected, not '{}'", t.toString()); } return PostfixExp.parse(t, exp); } public static MDValue parseJSON(ref Token* t) { MDValue ret; Location location = t.location; switch(t.type) { case Token.Type.Null: ret = NullExp.parseJSON(t); break; case Token.Type.True, Token.Type.False: ret = BoolExp.parseJSON(t); break; case Token.Type.IntLiteral: ret = IntExp.parseJSON(t); break; case Token.Type.FloatLiteral: ret = FloatExp.parseJSON(t); break; case Token.Type.StringLiteral: ret = StringExp.parseJSON(t); break; case Token.Type.LBrace: ret = TableCtorExp.parseJSON(t); break; case Token.Type.LBracket: ret = ArrayCtorExp.parseJSON(t); break; default: throw new MDCompileException(location, "Expression expected, not '{}'", t.toString()); } return ret; } public override InstRef* codeCondition(FuncState s) { uint temp = s.pushRegister(); codeGen(s); s.popMoveTo(mEndLocation.line, temp); s.codeR(mEndLocation.line, Op.IsTrue, 0, temp, 0); InstRef* ret = s.makeJump(mEndLocation.line, Op.Je); s.popRegister(temp); return ret; } } class IdentExp : PrimaryExp { protected Identifier mIdent; public this(Location location, Identifier ident) { super(location); mIdent = ident; } public static IdentExp parse(ref Token* t) { Location location = t.location; return new IdentExp(location, Identifier.parse(t)); } public override void codeGen(FuncState s) { s.pushVar(mIdent); } public InstRef* codeCondition(FuncState s) { codeGen(s); Exp reg; s.popSource(mEndLocation.line, reg); s.codeR(mEndLocation.line, Op.IsTrue, 0, reg.index, 0); InstRef* ret = s.makeJump(mEndLocation.line, Op.Je); s.freeExpTempRegs(&reg); return ret; } char[] toString() { return "Ident " ~ utf.toString(mIdent.mName); } } class ThisExp : PrimaryExp { public this(Location location) { super(location); } public static ThisExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.This); return new ThisExp(location); } public override void codeGen(FuncState s) { s.pushThis(); } public InstRef* codeCondition(FuncState s) { codeGen(s); Exp reg; s.popSource(mEndLocation.line, reg); s.codeR(mEndLocation.line, Op.IsTrue, 0, reg.index, 0); InstRef* ret = s.makeJump(mEndLocation.line, Op.Je); s.freeExpTempRegs(&reg); return ret; } char[] toString() { return "this"; } } class NullExp : PrimaryExp { public this(Location location) { super(location); } public static NullExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Null); return new NullExp(location); } public static MDValue parseJSON(ref Token* t) { t = t.expect(Token.Type.Null); return MDValue.nullValue; } public override void codeGen(FuncState s) { s.pushNull(); } public override bool isConstant() { return true; } public override bool isTrue() { return false; } public override bool isNull() { return true; } } class BoolExp : PrimaryExp { protected bool mValue; public this(Location location, bool value) { super(location); mValue = value; } public static BoolExp parse(ref Token* t) { scope(success) t = t.nextToken; if(t.type == Token.Type.True) return new BoolExp(t.location, true); else if(t.type == Token.Type.False) return new BoolExp(t.location, false); else throw new MDCompileException(t.location, "'true' or 'false' expected, not '{}'", t.toString()); } public static MDValue parseJSON(ref Token* t) { scope(success) t = t.nextToken; if(t.type == Token.Type.True) return MDValue(true); else if(t.type == Token.Type.False) return MDValue(false); else throw new MDCompileException(t.location, "'true' or 'false' expected, not '{}'", t.toString()); } public override void codeGen(FuncState s) { s.pushBool(mValue); } public override bool isConstant() { return true; } public override bool isTrue() { return mValue; } public override bool isBool() { return true; } public override bool asBool() { return mValue; } } class VarargExp : PrimaryExp { public this(Location location) { super(location); } public static VarargExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Vararg); return new VarargExp(location); } public override void codeGen(FuncState s) { if(s.mIsVararg == false) throw new MDCompileException(mLocation, "'vararg' cannot be used in a non-variadic function"); s.pushVararg(); } public InstRef* codeCondition(FuncState s) { throw new MDCompileException(mLocation, "Cannot use 'vararg' as a condition"); } public bool isMultRet() { return true; } } class CharExp : PrimaryExp { protected dchar mValue; public this(Location location, dchar value) { super(location); mValue = value; } public static CharExp parse(ref Token* t) { scope(success) t = t.nextToken; if(t.type == Token.Type.CharLiteral) return new CharExp(t.location, t.intValue); else throw new MDCompileException(t.location, "Character literal expected, not '{}'", t.toString()); } public override void codeGen(FuncState s) { s.pushChar(mValue); } public override bool isConstant() { return true; } public override bool isTrue() { return (mValue != 0); } public override bool isChar() { return true; } public override dchar asChar() { return mValue; } } class IntExp : PrimaryExp { protected int mValue; public this(Location location, int value) { super(location); mValue = value; } public static IntExp parse(ref Token* t) { scope(success) t = t.nextToken; if(t.type == Token.Type.IntLiteral) return new IntExp(t.location, t.intValue); else throw new MDCompileException(t.location, "Integer literal expected, not '{}'", t.toString()); } public static MDValue parseJSON(ref Token* t) { scope(success) t = t.nextToken; if(t.type == Token.Type.IntLiteral) return MDValue(t.intValue); else throw new MDCompileException(t.location, "Integer literal expected, not '{}'", t.toString()); } public override void codeGen(FuncState s) { s.pushInt(mValue); } public override bool isConstant() { return true; } public override bool isTrue() { return (mValue != 0); } public override bool isInt() { return true; } public override int asInt() { return mValue; } public override mdfloat asFloat() { return cast(mdfloat)mValue; } } class FloatExp : PrimaryExp { protected mdfloat mValue; public this(Location location, mdfloat value) { super(location); mValue = value; } public static FloatExp parse(ref Token* t) { t.expect(Token.Type.FloatLiteral); scope(success) t = t.nextToken; return new FloatExp(t.location, t.floatValue); } public static MDValue parseJSON(ref Token* t) { t.expect(Token.Type.FloatLiteral); scope(success) t = t.nextToken; return MDValue(t.floatValue); } public override void codeGen(FuncState s) { s.pushFloat(mValue); } public override bool isConstant() { return true; } public override bool isTrue() { return (mValue != 0.0); } public override bool isFloat() { return true; } public override mdfloat asFloat() { return mValue; } } class StringExp : PrimaryExp { protected dchar[] mValue; public this(Location location, dchar[] value) { super(location); mValue = value; } public static StringExp parse(ref Token* t) { t.expect(Token.Type.StringLiteral); scope(success) t = t.nextToken; return new StringExp(t.location, t.stringValue); } public static MDValue parseJSON(ref Token* t) { t.expect(Token.Type.StringLiteral); scope(success) t = t.nextToken; return MDValue(t.stringValue); } public override void codeGen(FuncState s) { s.pushString(mValue); } public override bool isConstant() { return true; } public override bool isTrue() { return true; } public override bool isString() { return true; } public override dchar[] asString() { return mValue; } } class FuncLiteralExp : PrimaryExp { protected FuncDef mDef; public this(Location location, Location endLocation, FuncDef def) { super(location, endLocation); mDef = def; } public static FuncLiteralExp parse(ref Token* t) { Location location = t.location; FuncDef def = FuncDef.parseLiteral(t); return new FuncLiteralExp(location, def.mEndLocation, def); } public override void codeGen(FuncState s) { mDef.codeGen(s); } public InstRef* codeCondition(FuncState s) { throw new MDCompileException(mLocation, "Cannot use a function literal as a condition"); } public override FuncLiteralExp fold() { mDef = mDef.fold(); return this; } } class ClassLiteralExp : PrimaryExp { protected ClassDef mDef; public this(Location location, Location endLocation, Identifier name, Expression baseClass, FuncDef[] methods, ClassDef.Field[] fields) { super(location, endLocation); mDef = new ClassDef(name, baseClass, methods, fields, location, endLocation); } public static ClassLiteralExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Class); Identifier name; if(t.type == Token.Type.Ident) name = Identifier.parse(t); Expression baseClass = ClassDef.parseBaseClass(t); FuncDef[] methods; ClassDef.Field[] fields; Location endLocation; ClassDef.parseBody(location, t, methods, fields, endLocation); return new ClassLiteralExp(location, endLocation, name, baseClass, methods, fields); } public override void codeGen(FuncState s) { mDef.codeGen(s); } public InstRef* codeCondition(FuncState s) { throw new MDCompileException(mLocation, "Cannot use a class literal as a condition"); } public override Expression fold() { mDef = mDef.fold(); return this; } } class ParenExp : PrimaryExp { protected Expression mExp; public this(Location location, Location endLocation, Expression exp) { super(location, endLocation); mExp = exp; } public static Expression parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.LParen); Expression exp = Expression.parse(t); t.expect(Token.Type.RParen); Location endLocation = t.location; t = t.nextToken; if(exp.isMultRet()) return new ParenExp(location, endLocation, exp); else return exp; } public override void codeGen(FuncState s) { assert(mExp.isMultRet(), "ParenExp codeGen not multret"); uint reg = s.nextRegister(); mExp.codeGen(s); s.popMoveTo(mLocation.line, reg); uint checkReg = s.pushRegister(); assert(reg == checkReg, "ParenExp codeGen wrong regs"); s.pushTempReg(reg); } public override InstRef* codeCondition(FuncState s) { uint temp = s.nextRegister(); mExp.codeGen(s); s.popMoveTo(mEndLocation.line, temp); s.codeR(mEndLocation.line, Op.IsTrue, 0, temp, 0); InstRef* ret = s.makeJump(mEndLocation.line, Op.Je); return ret; } } class TableCtorExp : PrimaryExp { protected Expression[2][] mFields; public this(Location location, Location endLocation, Expression[2][] fields) { super(location, endLocation); if(fields.length > 0) mEndLocation = fields[$ - 1][1].mEndLocation; mFields = fields; } public static TableCtorExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.LBrace); Expression[2][] fields = new Expression[2][8]; uint i = 0; void addPair(Expression k, Expression v) { if(i >= fields.length) fields.length = fields.length * 2; fields[i][0] = k; fields[i][1] = v; i++; } if(t.type != Token.Type.RBrace) { bool lastWasFunc = false; void parseField() { Expression k; Expression v; lastWasFunc = false; switch(t.type) { case Token.Type.LBracket: t = t.nextToken; k = Expression.parse(t); t = t.expect(Token.Type.RBracket); t = t.expect(Token.Type.Assign); v = Expression.parse(t); break; case Token.Type.Function: FuncDef fd = FuncDef.parseSimple(t); k = new StringExp(fd.mLocation, fd.mName.mName); v = new FuncLiteralExp(fd.mLocation, fd.mEndLocation, fd); lastWasFunc = true; break; default: Identifier id = Identifier.parse(t); t = t.expect(Token.Type.Assign); k = new StringExp(id.mLocation, id.mName); v = Expression.parse(t); break; } addPair(k, v); } parseField(); while(t.type != Token.Type.RBrace) { if(lastWasFunc) { if(t.type == Token.Type.Comma) t = t.nextToken; } else t = t.expect(Token.Type.Comma); parseField(); } } fields.length = i; t.expect(Token.Type.RBrace); Location endLocation = t.location; t = t.nextToken; return new TableCtorExp(location, endLocation, fields); } public static MDValue parseJSON(ref Token* t) { t = t.expect(Token.Type.LBrace); MDTable ret = new MDTable(); if(t.type != Token.Type.RBrace) { void parseField() { MDValue k = StringExp.parseJSON(t); t = t.expect(Token.Type.Colon); MDValue v = PrimaryExp.parseJSON(t); ret[k] = v; } parseField(); while(t.type != Token.Type.RBrace) { t = t.expect(Token.Type.Comma); parseField(); } } t.expect(Token.Type.RBrace); t = t.nextToken; return MDValue(ret); } public override void codeGen(FuncState s) { uint destReg = s.pushRegister(); s.codeI(mLocation.line, Op.NewTable, destReg, 0); foreach(Expression[2] field; mFields) { field[0].codeGen(s); Exp idx; s.popSource(field[0].mEndLocation.line, idx); field[1].codeGen(s); Exp val; s.popSource(field[1].mEndLocation.line, val); s.codeR(field[1].mEndLocation.line, Op.IndexAssign, destReg, idx.index, val.index); s.freeExpTempRegs(&val); s.freeExpTempRegs(&idx); } s.pushTempReg(destReg); } public InstRef* codeCondition(FuncState s) { throw new MDCompileException(mLocation, "Cannot use a table constructor as a condition"); } public override Expression fold() { foreach(ref field; mFields) { field[0] = field[0].fold(); field[1] = field[1].fold(); } return this; } } class ArrayCtorExp : PrimaryExp { protected Expression[] mFields; protected const uint maxFields = Instruction.arraySetFields * Instruction.rtMax; public this(Location location, Location endLocation, Expression[] fields) { super(location, endLocation); if(fields.length > 0) mEndLocation = fields[$ - 1].mEndLocation; mFields = fields; } public static ArrayCtorExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.LBracket); List!(Expression) fields; if(t.type != Token.Type.RBracket) { fields.add(Expression.parse(t)); while(t.type != Token.Type.RBracket) { t = t.expect(Token.Type.Comma); fields.add(Expression.parse(t)); } } t.expect(Token.Type.RBracket); Location endLocation = t.location; t = t.nextToken; return new ArrayCtorExp(location, endLocation, fields.toArray()); } public static MDValue parseJSON(ref Token* t) { t = t.expect(Token.Type.LBracket); MDArray ret = new MDArray(0); if(t.type != Token.Type.RBracket) { ret ~= PrimaryExp.parseJSON(t); while(t.type != Token.Type.RBracket) { t = t.expect(Token.Type.Comma); ret ~= PrimaryExp.parseJSON(t); } } t.expect(Token.Type.RBracket); t = t.nextToken; return MDValue(ret); } public override void codeGen(FuncState s) { if(mFields.length > maxFields) throw new MDCompileException(mLocation, "Array constructor has too many fields (more than {})", maxFields); uint min(uint a, uint b) { return (a > b) ? b : a; } uint destReg = s.pushRegister(); if(mFields.length > 0 && mFields[$ - 1].isMultRet()) s.codeI(mLocation.line, Op.NewArray, destReg, mFields.length - 1); else s.codeI(mLocation.line, Op.NewArray, destReg, mFields.length); if(mFields.length > 0) { int index = 0; int fieldsLeft = mFields.length; uint block = 0; while(fieldsLeft > 0) { uint numToDo = min(fieldsLeft, Instruction.arraySetFields); Expression.codeGenListToNextReg(s, mFields[index .. index + numToDo]); fieldsLeft -= numToDo; if(fieldsLeft == 0 && mFields[$ - 1].isMultRet()) s.codeR(mEndLocation.line, Op.SetArray, destReg, 0, block); else s.codeR(mFields[index + numToDo - 1].mEndLocation.line, Op.SetArray, destReg, numToDo + 1, block); index += numToDo; block++; } } s.pushTempReg(destReg); } public InstRef* codeCondition(FuncState s) { throw new MDCompileException(mLocation, "Cannot use an array constructor as a condition"); } public override Expression fold() { foreach(ref field; mFields) field = field.fold(); return this; } } class NamespaceCtorExp : PrimaryExp { protected NamespaceDef mDef; public this(Location location, Location endLocation, NamespaceDef def) { super(location, endLocation); mDef = def; } public static NamespaceCtorExp parse(ref Token* t) { Location location = t.location; NamespaceDef def = NamespaceDef.parse(t); return new NamespaceCtorExp(location, def.mEndLocation, def); } public override void codeGen(FuncState s) { mDef.codeGen(s); } public InstRef* codeCondition(FuncState s) { throw new MDCompileException(mLocation, "Cannot use namespace constructor as a condition"); } public override Expression fold() { mDef = mDef.fold(); return this; } } class YieldExp : PrimaryExp { protected Expression[] mArgs; public this(Location location, Location endLocation, Expression[] args) { super(location, endLocation); mArgs = args; } public static YieldExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Yield); t = t.expect(Token.Type.LParen); Expression[] args; if(t.type != Token.Type.RParen) args = Expression.parseArguments(t); t.expect(Token.Type.RParen); Location endLocation = t.location; t = t.nextToken; return new YieldExp(location, endLocation, args); } public override void codeGen(FuncState s) { uint firstReg = s.nextRegister(); Expression.codeGenListToNextReg(s, mArgs); if(mArgs.length == 0) s.pushYield(mEndLocation.line, firstReg, 1); else if(mArgs[$ - 1].isMultRet()) s.pushYield(mEndLocation.line, firstReg, 0); else s.pushYield(mEndLocation.line, firstReg, mArgs.length + 1); } public void checkToNothing() { // OK } public bool isMultRet() { return true; } public override Expression fold() { foreach(ref arg; mArgs) arg = arg.fold(); return this; } } class SuperCallExp : PrimaryExp { protected IdentExp mMethod; protected Expression[] mArgs; public this(Location location, Location endLocation, IdentExp method, Expression[] args) { super(location, endLocation); mMethod = method; mArgs = args; } public static SuperCallExp parse(ref Token* t) { Location location = t.location; t = t.expect(Token.Type.Super); IdentExp method; if(t.type == Token.Type.Dot) { t = t.nextToken; method = IdentExp.parse(t); } t = t.expect(Token.Type.LParen); Expression[] args; if(t.type != Token.Type.RParen) args = Expression.parseArguments(t); t.expect(Token.Type.RParen); Location endLocation = t.location; t = t.nextToken; return new SuperCallExp(location, endLocation, method, args); } public override void codeGen(FuncState s) { if(!s.isMethod()) throw new MDCompileException(mLocation, "'super' calls may only appear in class methods"); ClassDef def = FuncState.currentClass(); assert(def !is null, "SuperCallExp null def"); if(!def.hasBase()) throw new MDCompileException(mLocation, "'super' calls may not be used in classes which have no base classes"); IdentExp method = mMethod; if(method is null) method = new IdentExp(mLocation, new Identifier("constructor", mLocation)); // rewrite super(1, 2, 3) as super.constructor(1, 2, 3) // rewrite super.method(1, 2, 3) as __class.super.method(with this, 1, 2, 3); ThisExp _this = new ThisExp(mLocation); IdentExp _class = new IdentExp(mLocation, new Identifier("__class", mLocation)); DotSuperExp sup = new DotSuperExp(mLocation, mEndLocation, _class); DotExp dot = new DotExp(mLocation, mEndLocation, sup, method); CallExp call = new CallExp(mLocation, mEndLocation, dot, _this, mArgs); call.codeGen(s); } public void checkToNothing() { // OK } public bool isMultRet() { return true; } public override Expression fold() { foreach(ref arg; mArgs) arg = arg.fold(); return this; } }
D
/************************************************************************* ** Skeleton Prototype ** *************************************************************************/ PROTOTYPE Mst_Default_Skeleton(C_Npc) { name = "Szkielet"; guild = GIL_SKELETON; //REAL ID IN INSTANZEN! level = 23; //---------------------------------------------------------- attribute[ATR_STRENGTH] = 135; attribute[ATR_DEXTERITY] = 30; attribute[ATR_HITPOINTS_MAX] = 350; attribute[ATR_HITPOINTS] = 350; attribute[ATR_MANA_MAX] = 200; attribute[ATR_MANA] = 200; protection[PROT_BLUNT] = 65; protection[PROT_EDGE] = 90; protection[PROT_POINT] = 120; //SN:besonders resistent gegen Pfeile protection[PROT_FIRE] = 50; protection[PROT_FLY] = 45; protection[PROT_MAGIC] = 50; //---------------------------------------------------------- damagetype = DAM_EDGE; // damage [DAM_INDEX_BLUNT] = 0; // damage [DAM_INDEX_EDGE] = 0; // damage [DAM_INDEX_POINT] = 0; // damage [DAM_INDEX_FIRE] = 0; // damage [DAM_INDEX_FLY] = 0; // damage [DAM_INDEX_MAGIC] = 0; //---------------------------------------------------------- fight_tactic = FAI_SKELETON; //---------------------------------------------------------- senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL; senses_range = 3000; Npc_SetAivar(self, AIV_MM_Behaviour, HUNTER); Npc_SetAivar(self, AIV_MM_PercRange, 2000); Npc_SetAivar(self, AIV_MM_DrohRange, 1500); Npc_SetAivar(self, AIV_MM_AttackRange, 1500); Npc_SetAivar(self, AIV_MM_DrohTime, 0); Npc_SetAivar(self, AIV_MM_FollowTime, 5); Npc_SetAivar(self, AIV_MM_FollowInWater, FALSE); Npc_SetAivar(self, AIV_MM_SPECREACTTODAMAGE, TRUE); //------------------------------------------------------------- start_aistate = ZS_MM_AllScheduler; }; /************************************************************************* ** Skeleton Prototype ** *************************************************************************/ PROTOTYPE Mst_Default_SkeletonWarrior(C_Npc) { name = "Szkielet wojownik"; guild = GIL_SKELETON; //REAL ID IN INSTANZEN! level = 25; //---------------------------------------------------------- attribute[ATR_STRENGTH] = 180; attribute[ATR_DEXTERITY] = 30; attribute[ATR_HITPOINTS_MAX] = 500; attribute[ATR_HITPOINTS] = 500; attribute[ATR_MANA_MAX] = 200; attribute[ATR_MANA] = 200; protection[PROT_BLUNT] = 65; protection[PROT_EDGE] = 100; protection[PROT_POINT] = 150; //SN:besonders resistent gegen Pfeile protection[PROT_FIRE] = 50; protection[PROT_FLY] = 55; protection[PROT_MAGIC] = 60; //---------------------------------------------------------- damagetype = DAM_EDGE; // damage [DAM_INDEX_BLUNT] = 0; // damage [DAM_INDEX_EDGE] = 0; // damage [DAM_INDEX_POINT] = 0; // damage [DAM_INDEX_FIRE] = 0; // damage [DAM_INDEX_FLY] = 0; // damage [DAM_INDEX_MAGIC] = 0; //---------------------------------------------------------- fight_tactic = FAI_SKELETON; //---------------------------------------------------------- senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL; senses_range = 3000; Npc_SetAivar(self, AIV_MM_Behaviour, HUNTER); Npc_SetAivar(self, AIV_MM_PercRange, 2000); Npc_SetAivar(self, AIV_MM_DrohRange, 1500); Npc_SetAivar(self, AIV_MM_AttackRange, 1500); Npc_SetAivar(self, AIV_MM_DrohTime, 0); Npc_SetAivar(self, AIV_MM_FollowTime, 5); Npc_SetAivar(self, AIV_MM_FollowInWater, FALSE); Npc_SetAivar(self, AIV_MM_SPECREACTTODAMAGE, TRUE); //------------------------------------------------------------- start_aistate = ZS_MM_AllScheduler; //Npc_SetAivar(Npc_SetAivar,AIV_MM_RestStart, OnlyRoutine); }; PROTOTYPE Mst_Default_SkeletonRanger(C_Npc) { name = "Szkielet łucznik"; guild = GIL_TPL; level = 25; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONRANGER); flags = NPC_FLAG_INSTANTDEATH; //---------------------------------------------------------- attribute[ATR_STRENGTH] = 85; attribute[ATR_DEXTERITY] = 80; attribute[ATR_HITPOINTS_MAX] = 250; attribute[ATR_HITPOINTS] = 250; attribute[ATR_MANA_MAX] = 200; attribute[ATR_MANA] = 200; protection[PROT_BLUNT] = 65; protection[PROT_EDGE] = 100; protection[PROT_POINT] = 150; //SN:besonders resistent gegen Pfeile protection[PROT_FIRE] = 50; protection[PROT_FLY] = 55; protection[PROT_MAGIC] = 60; //---------------------------------------------------------- // damagetype = DAM_FIRE; // damage [DAM_INDEX_BLUNT] = 0; // damage [DAM_INDEX_EDGE] = 0; // damage [DAM_INDEX_POINT] = 0; // damage [DAM_INDEX_FIRE] = 0; // damage [DAM_INDEX_FLY] = 0; // damage [DAM_INDEX_MAGIC] = 0; //---------------------------------------------------------- fight_tactic = FAI_HUMAN_RANGED; //---------------------------------------------------------- senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL; senses_range = 3000; Npc_SetAivar(self, AIV_MM_Behaviour, HUNTER); Npc_SetAivar(self, AIV_MM_PercRange, 2000); Npc_SetAivar(self, AIV_MM_DrohRange, 1500); Npc_SetAivar(self, AIV_MM_AttackRange, 1500); Npc_SetAivar(self, AIV_MM_DrohTime, 0); Npc_SetAivar(self, AIV_MM_FollowTime, 5); Npc_SetAivar(self, AIV_MM_FollowInWater, FALSE); Npc_SetTalentValue(self, NPC_TALENT_BOW, 80); Npc_SetTalentSkill(self, NPC_TALENT_BOW, 1); //------------------------------------------------------------- start_aistate = ZS_MM_Ranger; CreateInvItems (self, ItAt_Kosc, 1); //Npc_SetAivar(Npc_SetAivar,AIV_MM_RestStart, OnlyRoutine); }; //------------------------------------------------------------- func void Set_Skeleton_Visuals() { Mdl_SetVisual(self, "HumanS.mds"); Mdl_ApplyOverlayMds(self, "humans_skeleton.mds"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self, "Ske_Body", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, -1); }; //------------------------------------------------------------- func void Set_SkeletonWarrior_Visuals() { Mdl_SetVisual(self, "HumanS.mds"); Mdl_ApplyOverlayMds(self, "humans_skeleton.mds"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self, "Ske_Body3", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, -1); }; //------------------------------------------------------------- func void Set_SkeletonScout_Visuals() { Mdl_SetVisual (self, "HumanS.mds"); Mdl_ApplyOverlayMds (self, "humans_skeleton.mds"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self, "Ske_Body2", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, -1); }; //------------------------------------------------------------- func void Set_SkeletonMage_Visuals() { Mdl_SetVisual (self, "HumanS.mds"); Mdl_ApplyOverlayMds (self, "humans_skeleton.mds"); Mdl_ApplyOverlayMds (self, "humans_skeleton_fly.mds"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self, "Ske_Fly_Body", 01, DEFAULT, "", 01, DEFAULT, -1); }; /************************************************************************* ** Skeleton ** *************************************************************************/ INSTANCE Skeleton(Mst_Default_Skeleton) { Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETON); Set_Skeleton_Visuals(); Npc_SetToFightMode(self, ItMw_1H_Sword_Old_01); CreateInvItems(self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** SkeletonSH - für die Gruft unter den Stonehenge (SH) ** *************************************************************************/ INSTANCE SkeletonSH(Mst_Default_Skeleton) { Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETON); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); Set_Skeleton_Visuals(); Npc_SetToFightMode(self, ItMw_1H_Axe_Old_01); attribute[ATR_STRENGTH] = 85; //SN: da Waffe nicht zum Schaden addiert wird! senses_range = 1000; Npc_SetAivar(self, AIV_MM_Behaviour, HUNTER); Npc_SetAivar(self, AIV_MM_PercRange, 1000); Npc_SetAivar(self, AIV_MM_DrohRange, 1000); Npc_SetAivar(self, AIV_MM_AttackRange, 1000); Npc_SetAivar(self, AIV_MM_DrohTime, 0); Npc_SetAivar(self, AIV_MM_FollowTime, 5); Npc_SetAivar(self, AIV_MM_FollowInWater, FALSE); CreateInvItems(self, ItAt_Kosc, 1); B_SetMonsterLevel(); }; /************************************************************************* ** Skeleton Scout ** *************************************************************************/ INSTANCE SkeletonScout(Mst_Default_Skeleton) { name = "Szkielet zwiadowca"; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONSCOUT); Set_SkeletonScout_Visuals(); Npc_SetToFightMode(self, ItMw_1H_Scythe_01); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self,AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** Skeleton Warrior ** *************************************************************************/ INSTANCE SkeletonWarrior(Mst_Default_SkeletonWarrior) { name = "Szkielet wojownik"; Set_SkeletonWarrior_Visuals(); level = 30; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONWARRIOR); Npc_SetToFightMode(self, ItMw_1H_Axe_Old_01); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** Skeleton Warrior 2H Axe ** *************************************************************************/ INSTANCE Skeleton2HAxeWarrior (Mst_Default_SkeletonWarrior) { name = "Szkielet wojownik"; Set_SkeletonScout_Visuals(); level = 40; attribute[ATR_STRENGTH] = 200; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONWARRIOR); EquipItem(self, ItMw_2H_Axe_Old_01); Npc_SetTalentSkill(self,NPC_TALENT_2H,2); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** Skeleton Warrior 2H Swd ** *************************************************************************/ INSTANCE Skeleton2HSwdWarrior (Mst_Default_SkeletonWarrior) { name = "Szkielet wojownik"; Set_SkeletonWarrior_Visuals(); level = 40; attribute[ATR_STRENGTH] = 200; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONWARRIOR); EquipItem(self, ItMw_2H_Sword_Old_01); Npc_SetTalentSkill(self, NPC_TALENT_2H, 2); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; INSTANCE SkeletonMDIntroduceDuals (Mst_Default_SkeletonWarrior) { name = "Szkielet wojownik"; Set_SkeletonScout_Visuals(); level = 50; attribute[ATR_HITPOINTS_MAX] = 550; attribute[ATR_HITPOINTS] = 550; attribute[ATR_STRENGTH] = 150;//Balance-Fix(200) Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONWARRIOR); EquipItem (self, ItMw_Dual_01_Right); Npc_SetTalentSkill(self,NPC_TALENT_2H,3); Mdl_ApplyOverlayMds (self, "humans_2hst3.mds"); start_aistate = ZS_MM_MDOpenDoor; attribute[ATR_STRENGTH] = attribute[ATR_STRENGTH] + 70; //SN: da Waffe nicht zum Schaden addiert wird! CreateInvItems (self, ItAt_Kosc, 1); CreateInvItem (self, ItMw_Dual_01_Left ); Npc_SetAivar(self,AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; INSTANCE SkeletonDual1(Mst_Default_SkeletonWarrior) { name = "Szkielet wojownik"; Set_SkeletonScout_Visuals(); level = 40; attribute[ATR_STRENGTH] = 150;//Balance-Fix(200) Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONWARRIOR); EquipItem(self, ItMw_Dual_01_Right); Npc_SetTalentSkill(self,NPC_TALENT_2H,3); Mdl_ApplyOverlayMds(self, "humans_2hst3.mds"); start_aistate = ZS_MM_DualEquip; fight_tactic = FAI_HUMAN_MASTER; CreateInvItems(self, ItAt_Kosc, 1); CreateInvItem(self, ItMw_Dual_01_Left); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** Skeleton Mage ** *************************************************************************/ INSTANCE SkeletonMage(Mst_Default_Skeleton) { Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONMAGE); Set_SkeletonMage_Visuals(); name = "Szkielet mag"; guild = GIL_DEMON; // "fliegende" Gilde nötig, damit es nicht Watet/Schwimmt/... ! level = 50; protection[PROT_BLUNT] = 50; protection[PROT_EDGE] = 80; protection[PROT_POINT] = 50; protection[PROT_FIRE] = 50; protection[PROT_FLY] = 80; protection[PROT_MAGIC] = 100; attribute[ATR_HITPOINTS_MAX] = 400; attribute[ATR_HITPOINTS] = 400; fight_tactic = FAI_HUMAN_MAGE; CreateInvItem(self, ItArRuneThunderbolt); CreateInvItems(self, ItArScrollSummonSkeletons, 5); CreateInvItems(self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** Skeleton Mage im Nebelturm ** *************************************************************************/ INSTANCE SkeletonMage_fogtower(Mst_Default_Skeleton) { Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONMAGE); Set_SkeletonMage_Visuals(); name = "Szkielet maga z Wieży Mgieł"; guild = GIL_DEMON; // "fliegende" Gilde nötig, damit es nicht Watet/Schwimmt/... ! level = 50; protection[PROT_BLUNT] = 50; protection[PROT_EDGE] = 80; protection[PROT_POINT] = 50; protection[PROT_FIRE] = 50; protection[PROT_FLY] = 80; protection[PROT_MAGIC] = 100; attribute[ATR_HITPOINTS_MAX] = 400; attribute[ATR_HITPOINTS] = 400; fight_tactic = FAI_HUMAN_MAGE; CreateInvItem(self, ItArRuneThunderbolt); CreateInvItems(self, ItArScrollSummonSkeletons, 5); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** Summoned Skeleton ** *************************************************************************/ INSTANCE SummonedByPC_Skeleton (Mst_Default_Skeleton) { Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETON); //----------------------------------------- Set_Skeleton_Visuals(); //----------------------------------------- Npc_SetToFightMode(self, ItMw_1H_Sword_Old_01); attribute[ATR_STRENGTH] = attribute[ATR_STRENGTH] + 10; //SN: da Waffe nicht zum Schaden addiert wird! senses = SENSE_HEAR | SENSE_SEE; start_aistate = ZS_MM_SummonedByPC; Npc_SetAivar(self, AIV_MM_DistToMaster, 300); Npc_SetAivar(self, AIV_MM_TimeLooseHP, 5); Party_AddNpc(self); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); level = 0; }; INSTANCE SummonedByNPC_Skeleton (Mst_Default_Skeleton) { Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETON); //----------------------------------------- Set_Skeleton_Visuals(); Npc_SetToFightMode (self, ItMw_1H_Sword_Old_01); attribute[ATR_STRENGTH] = attribute[ATR_STRENGTH] + 10; //SN: da Waffe nicht zum Schaden addiert wird! CreateInvItems (self, ItAt_Kosc, 1); //----------------------------------------- start_aistate = ZS_MM_Summoned; Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; /************************************************************************* ** Summoned Skeleton Warrior ** *************************************************************************/ INSTANCE SummonedByPC_SkeletonWarrior (Mst_Default_SkeletonWarrior) { name = "Szkielet wojownik"; level = 0; attribute[ATR_STRENGTH] = 120; senses = SENSE_HEAR | SENSE_SEE; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONWARRIOR); //------------------------------------------ Set_SkeletonWarrior_Visuals(); //------------------------------------------ EquipItem (self, ItMw_2H_Axe_Old_01); Npc_SetTalentSkill(self,NPC_TALENT_2H,2); start_aistate = ZS_MM_SummonedByPC; Npc_SetAivar(self, AIV_MM_DistToMaster, 300); Npc_SetAivar(self, AIV_MM_TimeLooseHP, 5); Party_AddNpc(self); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; INSTANCE SummonedByNPC_SkeletonWarrior (Mst_Default_SkeletonWarrior) { name = "Szkielet wojownik"; level = 35; attribute[ATR_STRENGTH] = 120; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONWARRIOR); //------------------------------------------ Set_SkeletonWarrior_Visuals(); EquipItem (self, ItMw_2H_Axe_Old_01); Npc_SetTalentSkill(self, NPC_TALENT_2H, 2); CreateInvItems (self, ItAt_Kosc, 1); //------------------------------------------ start_aistate = ZS_MM_Summoned; Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; func void Set_DarkWarrior_Visuals() { Mdl_SetVisual (self, "HumanS.mds"); Mdl_ApplyOverlayMds (self, "humans_skeleton.mds"); //Mdl_SetVisualBody (self, "Ske_Body", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, PAL_ARMOR_OLD_H); Mdl_SetVisualBody (self, "Ske_Body", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, PAL_ARMOR_A_H); // CreateInvItem (self,PAL_ARMOR_OLD_H); // AI_EquipArmor (self,); }; INSTANCE ArtifactGuardian (Mst_Default_SkeletonWarrior) { name = "Strażnik artefaktu"; level = 30; attribute[ATR_STRENGTH] = 100; npctype = npctype_main; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETONLORD); //------------------------------------------ Set_DarkWarrior_Visuals(); EquipItem(self,ItMw_2H_Sword_Light_Rusty_05); Npc_SetTalentSkill (self, NPC_TALENT_2H,2); attribute[ATR_HITPOINTS_MAX] = 300; attribute[ATR_HITPOINTS] = 300; protection[PROT_BLUNT] = 0; protection[PROT_EDGE] = 0; protection[PROT_POINT] = 20; //------------------------------------------ start_aistate = ZS_MM_GotoHeroAndTalk; Npc_SetAivar(self, AIV_MM_TALKEDAFTERATTACK, 0); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; INSTANCE Cave_Statue (Mst_Default_Skeleton) { name = ""; level = 30; attribute[ATR_STRENGTH] = 70; npctype = npctype_main; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_CAVESTATUE); //------------------------------------------ Set_DarkWarrior_Visuals(); EquipItem(self,ItMw_2H_Sword_Light_Rusty_05); Npc_SetTalentSkill (self, NPC_TALENT_2H,2); attribute[ATR_HITPOINTS_MAX] = 200; attribute[ATR_HITPOINTS] = 200; protection[PROT_BLUNT] = 0; protection[PROT_EDGE] = 0; protection[PROT_POINT] = 20; //------------------------------------------ start_aistate = ZS_MM_Statue; Npc_SetAivar(self,AIV_MM_TALKEDAFTERATTACK, 0); Npc_SetAivar(self,AIV_MM_DAYTORESPAWN, 999); CreateInvItems (self, ItAt_Kosc, 1); B_SetMonsterLevel(); }; // ************************************ // // S k e l e t o n R a n g e r s // // ************************************ Instance MIS_CRYSTAL_SkeletonFireRanger(Mst_Default_SkeletonRanger) { Set_SkeletonScout_Visuals(); name = "Strażnik"; CreateInvItems (self, ItRw_Bow_Ske_02, 1); CreateInvItems (self, ItAmFireArrow, 15); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); attribute[ATR_HITPOINTS_MAX] = 360; attribute[ATR_HITPOINTS] = 360; protection[PROT_BLUNT] = 0; protection[PROT_EDGE] = 0; protection[PROT_POINT] = 0; level = 30; Npc_SetTalentValue(self, NPC_TALENT_BOW, 40); Npc_SetTalentSkill(self, NPC_TALENT_BOW, 2); }; Instance SkeletonRanger(Mst_Default_SkeletonRanger) { Set_SkeletonScout_Visuals(); CreateInvItems (self, ItRw_Bow_Ske_01, 1); CreateInvItems (self, ItAmArrow, 15); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; Instance SkeletonFireRanger(Mst_Default_SkeletonRanger) { level = 50; Set_SkeletonScout_Visuals(); CreateInvItems (self, ItRw_Bow_Ske_02, 1); CreateInvItems (self, ItAmFireArrow, 15); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); Npc_SetTalentValue(self, NPC_TALENT_BOW, 100); Npc_SetTalentSkill(self, NPC_TALENT_BOW, 2); }; Instance SkeletonIceRanger(Mst_Default_SkeletonRanger) { level = 50; Set_SkeletonScout_Visuals(); CreateInvItems (self, ItRw_Bow_Ske_03, 1); CreateInvItems (self, ItAmIceArrow, 15); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); Npc_SetTalentValue(self, NPC_TALENT_BOW, 60); Npc_SetTalentSkill(self, NPC_TALENT_BOW, 1); }; Instance SkeletonPoisonRanger(Mst_Default_SkeletonRanger) { level = 40; Set_SkeletonScout_Visuals(); CreateInvItems (self, ItRw_Bow_Ske_04, 1); CreateInvItems (self, ItAmPoisonArrow, 15); Npc_SetAivar(self,AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); Npc_SetTalentValue(self, NPC_TALENT_BOW, 100); Npc_SetTalentSkill(self, NPC_TALENT_BOW, 2); }; INSTANCE MD_WaveSpawn_R(Mst_Default_Skeleton) { name = "Poddany Truana"; start_aistate = ZS_MM_MDWAVE; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETON_MDWAVE); var int rnd; damagetype = 0; // damage [DAM_INDEX_BLUNT] = 0; // damage [DAM_INDEX_EDGE] = 0; damage [DAM_INDEX_POINT] = 1; // damage [DAM_INDEX_FIRE] = 0; // damage [DAM_INDEX_FLY] = 0; damage [DAM_INDEX_MAGIC] = 5+(2*MD_FinalBattle_Wave); // Fix tak na odmulenie ;) // 8:50 PM 10/15/2012 orc Npc_SetAivar(self, AIV_MM_PercRange, 4000); Npc_SetAivar(self, AIV_MM_DrohRange, 3500); Npc_SetAivar(self, AIV_MM_AttackRange, 2500); Npc_SetAivar(self, AIV_MM_DrohTime, 0); Npc_SetAivar(self, AIV_MM_FollowTime, 20); if(MD_FinalBattle_Wave <= 3) { Set_Skeleton_Visuals(); rnd=hlp_random(3); if(!rnd) { Npc_SetToFightMode(self, ItMw_1H_Sword_Old_01); } else if(rnd==1) { Npc_SetToFightMode(self, ItMw_1H_Axe_Old_01); } else { Npc_SetToFightMode(self, ItMw_1H_Scythe_01); }; } else if(MD_FinalBattle_Wave <= 6) { Set_SkeletonScout_Visuals(); rnd=hlp_random(3); if(!rnd) { Npc_SetToFightMode(self, ItMw_1H_Sword_Old_01); } else if(rnd==1) { Npc_SetToFightMode(self, ItMw_1H_Axe_Old_01); } else { Npc_SetToFightMode(self, ItMw_1H_Scythe_01); }; } else if(MD_FinalBattle_Wave <= 10) { Set_SkeletonWarrior_Visuals(); rnd=hlp_random(2); if(!rnd) { EquipItem(self, ItMw_2H_Axe_Old_01); Npc_SetTalentSkill(self, NPC_TALENT_2H, 2); } else { EquipItem(self, ItMw_2H_Sword_Old_01); Npc_SetTalentSkill(self, NPC_TALENT_2H, 2); }; } else if(MD_FinalBattle_Wave <= 11)//mage { Set_SkeletonMage_Visuals(); guild = GIL_DEMON; // "fliegende" Gilde nötig, damit es nicht Watet/Schwimmt/... ! protection[PROT_BLUNT] = 50; protection[PROT_EDGE] = 80; protection[PROT_POINT] = 50; protection[PROT_FIRE] = 50; protection[PROT_FLY] = 0; protection[PROT_MAGIC] = 50; fight_tactic = FAI_HUMAN_MAGE; CreateInvItem(self, ItArRuneThunderbolt); CreateInvItems(self, ItArScrollSummonSkeletons, 1); } else { Set_DarkWarrior_Visuals(); EquipItem(self, ItMw_Dual_01_Right); Npc_SetTalentSkill(self,NPC_TALENT_2H,3); Mdl_ApplyOverlayMds (self, "humans_2hst3.mds"); start_aistate = ZS_MM_MDWAVE; CreateInvItem(self, ItMw_Dual_01_Left ); }; //ATT's attribute[ATR_STRENGTH] = 20 + (3*MD_FinalBattle_Wave); //SN: da Waffe nicht zum Schaden addiert wird! attribute[ATR_HITPOINTS_MAX] = attribute[ATR_HITPOINTS_MAX] + 12*MD_FinalBattle_Wave; //SN: da Waffe nicht zum Schaden addiert wird! attribute[ATR_HITPOINTS] = attribute[ATR_HITPOINTS] + 12*MD_FinalBattle_Wave; //SN: da Waffe nicht zum Schaden addiert wird! if(MD_FinalBattle_Wave<=10)&&(MD_FinalBattle_Wave>6) { attribute[ATR_STRENGTH] = 2*MD_FinalBattle_Wave; }; level = 10+(5*MD_FinalBattle_Wave); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; INSTANCE MD_WaveSpawn_L(Mst_Default_Skeleton) { name = "Poddany Truana"; start_aistate = ZS_MM_MDWAVE; Npc_SetAivar(self, AIV_MM_REAL_ID, ID_SKELETON_MDWAVE); var int rnd; damagetype = 0; // damage [DAM_INDEX_BLUNT] = 0; // damage [DAM_INDEX_EDGE] = 0; damage [DAM_INDEX_POINT] = 1; // damage [DAM_INDEX_FIRE] = 0; // damage [DAM_INDEX_FLY] = 0; damage [DAM_INDEX_MAGIC] = 5+(2*MD_FinalBattle_Wave); // Fix tak na odmulenie ;) // 8:50 PM 10/15/2012 orc Npc_SetAivar(self, AIV_MM_PercRange, 4000); Npc_SetAivar(self, AIV_MM_DrohRange, 3500); Npc_SetAivar(self, AIV_MM_AttackRange, 2500); Npc_SetAivar(self, AIV_MM_DrohTime, 0); Npc_SetAivar(self, AIV_MM_FollowTime, 20); if(MD_FinalBattle_Wave <= 3) { Set_Skeleton_Visuals(); rnd=hlp_random(3); if(!rnd) { Npc_SetToFightMode(self, ItMw_1H_Sword_Old_01); } else if(rnd==1) { Npc_SetToFightMode(self, ItMw_1H_Axe_Old_01); } else { Npc_SetToFightMode(self, ItMw_1H_Scythe_01); }; } else if(MD_FinalBattle_Wave <= 6) { Set_SkeletonScout_Visuals(); rnd=hlp_random(3); if(!rnd) { Npc_SetToFightMode(self, ItMw_1H_Sword_Old_01); } else if(rnd==1) { Npc_SetToFightMode(self, ItMw_1H_Axe_Old_01); } else { Npc_SetToFightMode(self, ItMw_1H_Scythe_01); }; } else if(MD_FinalBattle_Wave <= 10) { Set_SkeletonWarrior_Visuals(); rnd=hlp_random(2); if(!rnd) { EquipItem(self, ItMw_2H_Axe_Old_01); Npc_SetTalentSkill(self,NPC_TALENT_2H,2); } else { EquipItem(self, ItMw_2H_Sword_Old_01); Npc_SetTalentSkill(self,NPC_TALENT_2H,2); }; } else if(MD_FinalBattle_Wave<=11)//mage { Set_SkeletonMage_Visuals(); guild = GIL_DEMON; // "fliegende" Gilde nötig, damit es nicht Watet/Schwimmt/... ! protection[PROT_BLUNT] = 50; protection[PROT_EDGE] = 80; protection[PROT_POINT] = 50; protection[PROT_FIRE] = 50; protection[PROT_FLY] = 0; protection[PROT_MAGIC] = 50; fight_tactic = FAI_HUMAN_MAGE; CreateInvItem(self, ItArRuneThunderbolt); CreateInvItems(self, ItArScrollSummonSkeletons, 1); } else { Set_DarkWarrior_Visuals(); EquipItem(self, ItMw_Dual_01_Right); Npc_SetTalentSkill(self,NPC_TALENT_2H,3); Mdl_ApplyOverlayMds(self, "humans_2hst3.mds"); start_aistate = ZS_MM_MDWAVE; CreateInvItem (self, ItMw_Dual_01_Left ); }; //ATT's attribute[ATR_STRENGTH] = 20 + (3*MD_FinalBattle_Wave); //SN: da Waffe nicht zum Schaden addiert wird! attribute[ATR_HITPOINTS_MAX] = attribute[ATR_HITPOINTS_MAX] + 12*MD_FinalBattle_Wave; //SN: da Waffe nicht zum Schaden addiert wird! attribute[ATR_HITPOINTS] = attribute[ATR_HITPOINTS] + 12*MD_FinalBattle_Wave; //SN: da Waffe nicht zum Schaden addiert wird! if(MD_FinalBattle_Wave<=10)&&(MD_FinalBattle_Wave>6) { attribute[ATR_STRENGTH] = 2*MD_FinalBattle_Wave; }; level = 10+(5*MD_FinalBattle_Wave); CreateInvItems (self, ItAt_Kosc, 1); Npc_SetAivar(self, AIV_MM_DAYTORESPAWN, 999); B_SetMonsterLevel(); }; func void ZS_MM_MDOpenDoor() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_MDOpenDoor"); Npc_PercEnable(self, PERC_ASSESSDAMAGE, B_MM_ReactToDamage); Npc_PercEnable(self, PERC_ASSESSMAGIC, B_AssessMagic); Npc_PercEnable(self, PERC_OBSERVEINTRUDER,B_MM_NoReact); Npc_PercEnable (self, PERC_ASSESSENEMY, B_MM_NoReact); AI_AlignToWP(self); AI_EquipArmor(self, ItMw_Dual_01_Left); }; func int ZS_MM_MDOpenDoor_loop() { //PrintDebugNpc(PD_MST_LOOP,"ZS_MM_MDOpenDoor_loop"); AI_UseMob (self,"DOOR",1); // AI_UseMob (self,"DOOR",-1); return loop_end; }; func void ZS_MM_MDOpenDoor_end() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_MDOpenDoor_end"); AI_GotoWp(SELF, "KOMNATA_PRZEMIANY_SKEL2"); AI_StartState(self, ZS_MM_AllScheduler, 1, ""); self.start_aistate = ZS_MM_AllScheduler; }; func void ZS_MM_Ranger() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_Ranger"); Npc_PercEnable(self, PERC_ASSESSDAMAGE, B_MM_ReactToDamage); Npc_PercEnable(self, PERC_ASSESSMAGIC, B_AssessMagic); Npc_PercEnable(self, PERC_OBSERVEINTRUDER,B_MM_NoReact); Npc_PercEnable(self, PERC_ASSESSENEMY, B_MM_NoReact); AI_AlignToWP(self); // To chyba nie powinno być tutaj :) //AI_EquipArmor(self, ItMw_Dual_01_Left); //CreateInvItem (self, ItMw_Dual_01_Left ); }; func int ZS_MM_Ranger_loop() { //PrintDebugNpc(PD_MST_LOOP,"ZS_MM_Ranger_loop"); if(npc_getdisttoplayer(self)>1800) { AI_TUrnToNpc(self,hero); AI_Wait(self,1); return loop_continue; } else { return loop_end; }; }; func void ZS_MM_Ranger_end() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_Ranger_end"); Npc_SetTarget(self,hero); AI_StartState(self,ZS_Attack,1,""); self.start_aistate = ZS_Attack; }; func void ZS_MM_DualEquip() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_MDOpenDoor"); Npc_PercEnable(self, PERC_ASSESSDAMAGE, B_MM_ReactToDamage); Npc_PercEnable(self, PERC_ASSESSMAGIC, B_AssessMagic); Npc_PercEnable(self, PERC_OBSERVEINTRUDER,B_MM_NoReact); Npc_PercEnable(self, PERC_ASSESSENEMY, B_MM_NoReact); AI_AlignToWP(self); AI_EquipArmor(self, ItMw_Dual_01_Left); }; func int ZS_MM_DualEquip_loop() { //PrintDebugNpc(PD_MST_LOOP,"ZS_MM_MDOpenDoor_loop"); return loop_end; }; func void ZS_MM_DualEquip_end() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_MDOpenDoor_end"); AI_StartState(self, ZS_MM_AllScheduler, 1, ""); self.start_aistate = ZS_MM_AllScheduler; }; func void ZS_MM_Statue() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_Statue"); Npc_PercEnable(self, PERC_ASSESSDAMAGE, B_MM_ReactToDamage); Npc_PercEnable(self, PERC_ASSESSMAGIC, B_AssessMagic); Npc_PercEnable(self, PERC_OBSERVEINTRUDER,B_MM_NoReact); Npc_PercEnable(self, PERC_ASSESSENEMY, B_MM_NoReact); AI_AlignToWP(self); }; var int RAISESTATUES; func int ZS_MM_Statue_loop() { //PrintDebugNpc(PD_MST_LOOP,"ZS_MM_Statue_loop"); // Ork: Troche hakierskie, ale da rade raczej if (RAISESTATUES > 0 && RAISESTATUES < 5 && Npc_GetStateTime(self) != 0) { // Ork: Przywracam, ale zmieniam efekt, bo tam chyba był problem z Alphapolys kiedy ten uruchamial sie 4x naraz :) Wld_PlayEffect("spellFX_LifeDrain_INCOME", self, self, 1,0 , DAM_MAGIC, TRUE); //Projetil = TRUE (trifft alle) Wld_PlayEffect("RED_FACE", self, self, 0,0 , DAM_MAGIC, TRUE); Wld_PlayEffect("RED_EYE_R", self, self, 0,0 , DAM_MAGIC, TRUE); Wld_PlayEffect("RED_EYE_L", self, self, 0,0 , DAM_MAGIC, TRUE); //AI_WaitMS(self,Hlp_Random(800)); // desynchronize RAISESTATUES = RAISESTATUES+1; // az dobije do 5 Npc_SetStateTime(self,0); }; if(RAISESTATUES>=5) { Npc_SetStateTime(self,0); RAISESTATUES = -1; return LOOP_CONTINUE; }; if(RAISESTATUES == -1 && Npc_GetStateTime(self) > 4) { self.name = "Żywy posąg"; return LOOP_END; // Now, attack }; Ai_Wait(self,1); return LOOP_CONTINUE; }; func void ZS_MM_Statue_end() { //Ork: Troche zmieniam //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_Statue_end"); AI_TurnToNpc(self,hero); AI_ReadyMeleeWeapon(self); Ai_Wait(self, 0.3); Npc_SetTarget(self,hero); AI_StartState(self, ZS_Attack, 1, ""); self.start_aistate = ZS_Attack; }; func void ZS_MM_MDWAVE() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_MDWAVE"); Npc_PercEnable(self, PERC_ASSESSDAMAGE, B_MM_NoReact);//B_MM_ReactToDamage); Npc_PercEnable(self, PERC_ASSESSMAGIC, B_MM_NoReact);//B_AssessMagic); Npc_PercEnable(self, PERC_OBSERVEINTRUDER,B_MM_NoReact); Npc_PercEnable(self, PERC_ASSESSENEMY, B_MM_NoReact); AI_AlignToWP(self); Wld_PlayEffect("spellFX_KATRAKANAT_DEMON_SPAWN", self, self, 0,0 , DAM_MAGIC, TRUE); if(MD_FinalBattle_Wave==12) { AI_EquipArmor(self, ItMw_Dual_01_Left); //CreateInvItem (self, ItMw_Dual_01_Left ); }; if(Hlp_StrCmp(self.wp,"MD_PATH_SPAWNA_01")) { AI_GotoWp(SELF,"MD_PATH_SPAWNA_03"); var c_npc rod; rod = hlp_getnpc(roderic); Npc_SetTarget(self,rod); AI_StartState(self,ZS_Attack,1,""); } else { AI_GotoWp(SELF,"MD_PATH_SPAWNB_03"); Npc_SetTarget(self,hero); AI_StartState(self, ZS_Attack, 1, ""); }; }; func int ZS_MM_MDWAVE_loop() { //PrintDebugNpc(PD_MST_LOOP,"ZS_MM_MDWAVE_loop"); return loop_end; }; func void ZS_MM_MDWAVE_end() { //PrintDebugNpc(PD_MST_FRAME,"ZS_MM_MDWAVE_end"); };
D
/** Copyright: © 2013 Simon Kérouack. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Simon Kérouack */ module core.logger.mongo; public import core.logger.logger; import std.conv, std.stdio; import vibe.db.mongo.mongo; /+ Log in a mongo database +/ class MongoLogger { public { this(string host, ushort port, string database, string collection = "logs") { auto client = connectMongoDB(host, port); auto db = client.getDatabase(database); coll = db[collection]; } void log(LogData log) { coll.insert(["LogLevel": EnumValueAsString(log.level), "Time": log.time.toISOExtString(), "Hostname": log.hostname, "ProcessId": text(log.pid), "ThreadId": text(log.threadid), "FiberId": text(log.fiberid), "File": log.file, "Line": text(log.line), "Version": log.ver, "Category": log.category, "Text": log.txt ]); } } private { MongoCollection coll; } }
D
/Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/LTMorphingLabel.build/Objects-normal/x86_64/LTMorphingLabel+Anvil.o : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Sparkle.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Pixelate.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Evaporate.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTEasing.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Anvil.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Fall.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Burn.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTCharacterLimbo.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingEffect.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTStringDiffResult.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTCharacterDiffResult.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTEmitterView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Target\ Support\ Files/LTMorphingLabel/LTMorphingLabel-umbrella.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/LTMorphingLabel.build/unextended-module.modulemap /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/LTMorphingLabel.build/Objects-normal/x86_64/LTMorphingLabel+Anvil~partial.swiftmodule : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Sparkle.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Pixelate.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Evaporate.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTEasing.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Anvil.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Fall.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Burn.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTCharacterLimbo.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingEffect.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTStringDiffResult.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTCharacterDiffResult.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTEmitterView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Target\ Support\ Files/LTMorphingLabel/LTMorphingLabel-umbrella.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/LTMorphingLabel.build/unextended-module.modulemap /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/LTMorphingLabel.build/Objects-normal/x86_64/LTMorphingLabel+Anvil~partial.swiftdoc : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Sparkle.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Pixelate.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Evaporate.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTEasing.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Anvil.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Fall.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Burn.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTCharacterLimbo.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingEffect.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTStringDiffResult.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTCharacterDiffResult.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTEmitterView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Target\ Support\ Files/LTMorphingLabel/LTMorphingLabel-umbrella.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/LTMorphingLabel.build/unextended-module.modulemap
D
/Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/AFError.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Alamofire.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/MultipartFormData.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Notifications.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Request.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Response.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Result.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/SessionDelegate.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/SessionManager.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/TaskDelegate.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Timeline.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response~partial.swiftmodule : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/AFError.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Alamofire.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/MultipartFormData.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Notifications.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Request.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Response.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Result.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/SessionDelegate.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/SessionManager.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/TaskDelegate.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Timeline.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response~partial.swiftdoc : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/AFError.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Alamofire.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/MultipartFormData.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Notifications.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Request.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Response.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Result.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/SessionDelegate.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/SessionManager.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/TaskDelegate.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Timeline.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
dependencies: /Users/christianmeyer/Cpp/ch5/P5_1/P5_1/person.cpp \ /Users/christianmeyer/Cpp/ch5/P5_1/P5_1/person.h
D
// Written in the D programming language. /** This module implements a variety of type constructors, i.e., templates that allow construction of new, useful general-purpose types. Source: $(PHOBOSSRC std/_typecons.d) Macros: WIKI = Phobos/StdVariant Synopsis: ---- // value tuples alias Coord = Tuple!(float, "x", float, "y", float, "z"); Coord c; c[1] = 1; // access by index c.z = 1; // access by given name alias DicEntry = Tuple!(string, string); // names can be omitted // Rebindable references to const and immutable objects void bar() { const w1 = new Widget, w2 = new Widget; w1.foo(); // w1 = w2 would not work; can't rebind const object auto r = Rebindable!(const Widget)(w1); // invoke method as if r were a Widget object r.foo(); // rebind r to refer to another object r = w2; } ---- Copyright: Copyright the respective authors, 2008- License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(WEB erdani.org, Andrei Alexandrescu), $(WEB bartoszmilewski.wordpress.com, Bartosz Milewski), Don Clugston, Shin Fujishiro, Kenji Hara */ module std.typecons; import std.traits, std.range; import std.typetuple : TypeTuple, allSatisfy; debug(Unique) import std.stdio; /** Encapsulates unique ownership of a resource. Resource of type T is deleted at the end of the scope, unless it is transferred. The transfer can be explicit, by calling $(D release), or implicit, when returning Unique from a function. The resource can be a polymorphic class object, in which case Unique behaves polymorphically too. Example: */ struct Unique(T) { static if (is(T:Object)) alias RefT = T; else alias RefT = T*; public: /+ Doesn't work yet /** The safe constructor. It creates the resource and guarantees unique ownership of it (unless the constructor of $(D T) publishes aliases of $(D this)), */ this(A...)(A args) { _p = new T(args); } +/ /** Constructor that takes an rvalue. It will ensure uniqueness, as long as the rvalue isn't just a view on an lvalue (e.g., a cast) Typical usage: ---- Unique!(Foo) f = new Foo; ---- */ this(RefT p) { debug(Unique) writeln("Unique constructor with rvalue"); _p = p; } /** Constructor that takes an lvalue. It nulls its source. The nulling will ensure uniqueness as long as there are no previous aliases to the source. */ this(ref RefT p) { _p = p; debug(Unique) writeln("Unique constructor nulling source"); p = null; assert(p is null); } /+ Doesn't work yet /** Constructor that takes a Unique of a type that is convertible to our type: Disallow construction from lvalue (force the use of release on the source Unique) If the source is an rvalue, null its content, so the destrutctor doesn't delete it Typically used by the compiler to return $(D Unique) of derived type as $(D Unique) of base type. Example: ---- Unique!(Base) create() { Unique!(Derived) d = new Derived; return d; // Implicit Derived->Base conversion } ---- */ this(U)(ref Unique!(U) u) = null; this(U)(Unique!(U) u) { _p = u._p; u._p = null; } +/ ~this() { debug(Unique) writeln("Unique destructor of ", (_p is null)? null: _p); delete _p; _p = null; } bool isEmpty() const { return _p is null; } /** Returns a unique rvalue. Nullifies the current contents */ Unique release() { debug(Unique) writeln("Release"); auto u = Unique(_p); assert(_p is null); debug(Unique) writeln("return from Release"); return u; } /** Forwards member access to contents */ RefT opDot() { return _p; } /+ doesn't work yet! /** Postblit operator is undefined to prevent the cloning of $(D Unique) objects */ this(this) = null; +/ private: RefT _p; } /+ doesn't work yet unittest { writeln("Unique class"); class Bar { ~this() { writefln(" Bar destructor"); } int val() const { return 4; } } alias UBar = Unique!(Bar); UBar g(UBar u) { return u; } auto ub = UBar(new Bar); assert(!ub.isEmpty); assert(ub.val == 4); // should not compile // auto ub3 = g(ub); writeln("Calling g"); auto ub2 = g(ub.release); assert(ub.isEmpty); assert(!ub2.isEmpty); } unittest { writeln("Unique struct"); struct Foo { ~this() { writefln(" Bar destructor"); } int val() const { return 3; } } alias UFoo = Unique!(Foo); UFoo f(UFoo u) { writeln("inside f"); return u; } auto uf = UFoo(new Foo); assert(!uf.isEmpty); assert(uf.val == 3); // should not compile // auto uf3 = f(uf); writeln("Unique struct: calling f"); auto uf2 = f(uf.release); assert(uf.isEmpty); assert(!uf2.isEmpty); } +/ /** Tuple of values, for example $(D Tuple!(int, string)) is a record that stores an $(D int) and a $(D string). $(D Tuple) can be used to bundle values together, notably when returning multiple values from a function. If $(D obj) is a tuple, the individual members are accessible with the syntax $(D obj[0]) for the first field, $(D obj[1]) for the second, and so on. The choice of zero-based indexing instead of one-base indexing was motivated by the ability to use value tuples with various compile-time loop constructs (e.g. type tuple iteration), all of which use zero-based indexing. Example: ---- Tuple!(int, int) point; // assign coordinates point[0] = 5; point[1] = 6; // read coordinates auto x = point[0]; auto y = point[1]; ---- Tuple members can be named. It is legal to mix named and unnamed members. The method above is still applicable to all fields. Example: ---- alias Entry = Tuple!(int, "index", string, "value"); Entry e; e.index = 4; e.value = "Hello"; assert(e[1] == "Hello"); assert(e[0] == 4); ---- Tuples with named fields are distinct types from tuples with unnamed fields, i.e. each naming imparts a separate type for the tuple. Two tuple differing in naming only are still distinct, even though they might have the same structure. Example: ---- Tuple!(int, "x", int, "y") point1; Tuple!(int, int) point2; assert(!is(typeof(point1) == typeof(point2))); // passes ---- */ template Tuple(Specs...) { import std.typetuple : staticMap; // Parse (type,name) pairs (FieldSpecs) out of the specified // arguments. Some fields would have name, others not. template parseSpecs(Specs...) { static if (Specs.length == 0) { alias parseSpecs = TypeTuple!(); } else static if (is(Specs[0])) { static if (is(typeof(Specs[1]) : string)) { alias parseSpecs = TypeTuple!(FieldSpec!(Specs[0 .. 2]), parseSpecs!(Specs[2 .. $])); } else { alias parseSpecs = TypeTuple!(FieldSpec!(Specs[0]), parseSpecs!(Specs[1 .. $])); } } else { static assert(0, "Attempted to instantiate Tuple with an " ~"invalid argument: "~ Specs[0].stringof); } } template FieldSpec(T, string s = "") { alias Type = T; alias name = s; } alias fieldSpecs = parseSpecs!Specs; // Used with staticMap. alias extractType(alias spec) = spec.Type; alias extractName(alias spec) = spec.name; // Generates named fields as follows: // alias name_0 = Identity!(field[0]); // alias name_1 = Identity!(field[1]); // : // NOTE: field[k] is an expression (which yields a symbol of a // variable) and can't be aliased directly. string injectNamedFields() { string decl = ""; foreach (i, name; staticMap!(extractName, fieldSpecs)) { import std.string : format; decl ~= format("alias _%s = Identity!(field[%s]);", i, i); if (name.length != 0) { decl ~= format("alias %s = _%s;", name, i); } } return decl; } // Returns Specs for a subtuple this[from .. to] preserving field // names if any. alias sliceSpecs(size_t from, size_t to) = staticMap!(expandSpec, fieldSpecs[from .. to]); template expandSpec(alias spec) { static if (spec.name.length == 0) { alias expandSpec = TypeTuple!(spec.Type); } else { alias expandSpec = TypeTuple!(spec.Type, spec.name); } } enum areCompatibleTuples(Tup1, Tup2, string op) = isTuple!Tup2 && is(typeof( { Tup1 tup1 = void; Tup2 tup2 = void; static assert(tup1.field.length == tup2.field.length); foreach (i, _; Tup1.Types) { auto lhs = typeof(tup1.field[i]).init; auto rhs = typeof(tup2.field[i]).init; auto result = mixin("lhs "~op~" rhs"); } })); enum areBuildCompatibleTuples(Tup1, Tup2) = isTuple!Tup2 && is(typeof( { static assert(Tup1.Types.length == Tup2.Types.length); foreach (i, _; Tup1.Types) static assert(isBuildable!(Tup1.Types[i], Tup2.Types[i])); })); /+ Returns $(D true) iff a $(D T) can be initialized from a $(D U). +/ enum isBuildable(T, U) = is(typeof( { U u = U.init; T t = u; })); /+ Helper for partial instanciation +/ template isBuildableFrom(U) { enum isBuildableFrom(T) = isBuildable!(T, U); } struct Tuple { /** * The type of the tuple's components. */ alias Types = staticMap!(extractType, fieldSpecs); /** * Use $(D t.expand) for a tuple $(D t) to expand it into its * components. The result of $(D expand) acts as if the tuple components * were listed as a list of values. (Ordinarily, a $(D Tuple) acts as a * single value.) * * Examples: * ---- * auto t = tuple(1, " hello ", 2.3); * writeln(t); // Tuple!(int, string, double)(1, " hello ", 2.3) * writeln(t.expand); // 1 hello 2.3 * ---- */ Types expand; mixin(injectNamedFields()); static if (is(Specs)) { // This is mostly to make t[n] work. alias expand this; } else { @property ref inout(Tuple!Types) _Tuple_super() inout @trusted { foreach (i, _; Types) // Rely on the field layout { static assert(typeof(return).init.tupleof[i].offsetof == expand[i].offsetof); } return *cast(typeof(return)*) &(field[0]); } // This is mostly to make t[n] work. alias _Tuple_super this; } // backwards compatibility alias field = expand; /** * Constructor taking one value for each field. */ this(Types values) { field[] = values[]; } /** * Constructor taking a compatible array. * * Examples: * ---- * int[2] ints; * Tuple!(int, int) t = ints; * ---- */ this(U, size_t n)(U[n] values) if (n == Types.length && allSatisfy!(isBuildableFrom!U, Types)) { foreach (i, _; Types) { field[i] = values[i]; } } /** * Constructor taking a compatible tuple. */ this(U)(U another) if (areBuildCompatibleTuples!(typeof(this), U)) { field[] = another.field[]; } /** * Comparison for equality. */ bool opEquals(R)(R rhs) if (areCompatibleTuples!(typeof(this), R, "==")) { return field[] == rhs.field[]; } /// ditto bool opEquals(R)(R rhs) const if (areCompatibleTuples!(typeof(this), R, "==")) { return field[] == rhs.field[]; } /** * Comparison for ordering. */ int opCmp(R)(R rhs) if (areCompatibleTuples!(typeof(this), R, "<")) { foreach (i, Unused; Types) { if (field[i] != rhs.field[i]) { return field[i] < rhs.field[i] ? -1 : 1; } } return 0; } /// ditto int opCmp(R)(R rhs) const if (areCompatibleTuples!(typeof(this), R, "<")) { foreach (i, Unused; Types) { if (field[i] != rhs.field[i]) { return field[i] < rhs.field[i] ? -1 : 1; } } return 0; } /** * Assignment from another tuple. Each element of the source must be * implicitly assignable to the respective element of the target. */ void opAssign(R)(auto ref R rhs) if (areCompatibleTuples!(typeof(this), R, "=")) { import std.algorithm : swap; static if (is(R : Tuple!Types) && !__traits(isRef, rhs)) { if (__ctfe) { // Cannot use swap at compile time field[] = rhs.field[]; } else { // Use swap-and-destroy to optimize rvalue assignment swap!(Tuple!Types)(this, rhs); } } else { // Do not swap; opAssign should be called on the fields. field[] = rhs.field[]; } } /** * Takes a slice of the tuple. * * Examples: * ---- * Tuple!(int, string, float, double) a; * a[1] = "abc"; * a[2] = 4.5; * auto s = a.slice!(1, 3); * static assert(is(typeof(s) == Tuple!(string, float))); * assert(s[0] == "abc" && s[1] == 4.5); * ---- */ @property ref Tuple!(sliceSpecs!(from, to)) slice(size_t from, size_t to)() @trusted if (from <= to && to <= Types.length) { return *cast(typeof(return)*) &(field[from]); } /** * Converts to string. */ static if (allSatisfy!(isPrintable, Types)) string toString() { enum header = typeof(this).stringof ~ "(", footer = ")", separator = ", "; Appender!string w; w.put(header); foreach (i, Unused; Types) { static if (i > 0) { w.put(separator); } // TODO: Change this once toString() works for shared objects. static if (is(Unused == class) && is(Unused == shared)) formattedWrite(w, "%s", field[i].stringof); else { import std.format : FormatSpec, formatElement; FormatSpec!char f; // "%s" formatElement(w, field[i], f); } } w.put(footer); return w.data; } } } private enum bool isPrintable(T) = is(typeof({ import std.format : formattedWrite; Appender!string w; formattedWrite(w, "%s", T.init); })); private alias Identity(alias T) = T; /** Return a copy of a Tuple with its fields in reverse order. */ ReverseTupleType!T reverse(T)(T t) if (isTuple!T) { import std.typetuple : Reverse; // @@@BUG@@@ Cannot be an internal function due to forward reference issues. // @@@BUG@@@ 9929 Need 'this' when calling template with expanded tuple // return tuple(Reverse!(t.expand)); typeof(return) result; auto tup = t.expand; result.expand = Reverse!tup; return result; } /// unittest { auto tup = tuple(1, "2"); assert(tup.reverse == tuple("2", 1)); } /* Get a Tuple type with the reverse specification of Tuple T. */ private template ReverseTupleType(T) if (isTuple!T) { static if (is(T : Tuple!A, A...)) alias ReverseTupleType = Tuple!(ReverseTupleSpecs!A); } /* Reverse the Specs of a Tuple. */ private template ReverseTupleSpecs(T...) { static if (T.length > 1) { static if (is(typeof(T[$-1]) : string)) { alias ReverseTupleSpecs = TypeTuple!(T[$-2], T[$-1], ReverseTupleSpecs!(T[0 .. $-2])); } else { alias ReverseTupleSpecs = TypeTuple!(T[$-1], ReverseTupleSpecs!(T[0 .. $-1])); } } else { alias ReverseTupleSpecs = T; } } unittest { { Tuple!(int, "a", int, "b") nosh; static assert(nosh.length == 2); nosh.a = 5; nosh.b = 6; assert(nosh.a == 5); assert(nosh.b == 6); } { Tuple!(short, double) b; static assert(b.length == 2); b[1] = 5; auto a = Tuple!(int, real)(b); assert(a[0] == 0 && a[1] == 5); a = Tuple!(int, real)(1, 2); assert(a[0] == 1 && a[1] == 2); auto c = Tuple!(int, "a", double, "b")(a); assert(c[0] == 1 && c[1] == 2); } { Tuple!(int, real) nosh; nosh[0] = 5; nosh[1] = 0; assert(nosh[0] == 5 && nosh[1] == 0); assert(nosh.toString() == "Tuple!(int, real)(5, 0)", nosh.toString()); Tuple!(int, int) yessh; nosh = yessh; } { Tuple!(int, string) t; t[0] = 10; t[1] = "str"; assert(t[0] == 10 && t[1] == "str"); assert(t.toString() == `Tuple!(int, string)(10, "str")`, t.toString()); } { Tuple!(int, "a", double, "b") x; static assert(x.a.offsetof == x[0].offsetof); static assert(x.b.offsetof == x[1].offsetof); x.b = 4.5; x.a = 5; assert(x[0] == 5 && x[1] == 4.5); assert(x.a == 5 && x.b == 4.5); } // indexing { Tuple!(int, real) t; static assert(is(typeof(t[0]) == int)); static assert(is(typeof(t[1]) == real)); int* p0 = &t[0]; real* p1 = &t[1]; t[0] = 10; t[1] = -200.0L; assert(*p0 == t[0]); assert(*p1 == t[1]); } // slicing { Tuple!(int, "x", real, "y", double, "z", string) t; t[0] = 10; t[1] = 11; t[2] = 12; t[3] = "abc"; auto a = t.slice!(0, 3); assert(a.length == 3); assert(a.x == t.x); assert(a.y == t.y); assert(a.z == t.z); auto b = t.slice!(2, 4); assert(b.length == 2); assert(b.z == t.z); assert(b[1] == t[3]); } // nesting { Tuple!(Tuple!(int, real), Tuple!(string, "s")) t; static assert(is(typeof(t[0]) == Tuple!(int, real))); static assert(is(typeof(t[1]) == Tuple!(string, "s"))); static assert(is(typeof(t[0][0]) == int)); static assert(is(typeof(t[0][1]) == real)); static assert(is(typeof(t[1].s) == string)); t[0] = tuple(10, 20.0L); t[1].s = "abc"; assert(t[0][0] == 10); assert(t[0][1] == 20.0L); assert(t[1].s == "abc"); } // non-POD { static struct S { int count; this(this) { ++count; } ~this() { --count; } void opAssign(S rhs) { count = rhs.count; } } Tuple!(S, S) ss; Tuple!(S, S) ssCopy = ss; assert(ssCopy[0].count == 1); assert(ssCopy[1].count == 1); ssCopy[1] = ssCopy[0]; assert(ssCopy[1].count == 2); } // bug 2800 { static struct R { Tuple!(int, int) _front; @property ref Tuple!(int, int) front() { return _front; } @property bool empty() { return _front[0] >= 10; } void popFront() { ++_front[0]; } } foreach (a; R()) { static assert(is(typeof(a) == Tuple!(int, int))); assert(0 <= a[0] && a[0] < 10); assert(a[1] == 0); } } // Construction with compatible elements { auto t1 = Tuple!(int, double)(1, 1); // 8702 auto t8702a = tuple(tuple(1)); auto t8702b = Tuple!(Tuple!(int))(Tuple!(int)(1)); } // Construction with compatible tuple { Tuple!(int, int) x; x[0] = 10; x[1] = 20; Tuple!(int, "a", double, "b") y = x; assert(y.a == 10); assert(y.b == 20); // incompatible static assert(!__traits(compiles, Tuple!(int, int)(y))); } // 6275 { const int x = 1; auto t1 = tuple(x); alias T = Tuple!(const(int)); auto t2 = T(1); } // 9431 { alias T = Tuple!(int[1][]); auto t = T([[10]]); } // 7666 { auto tup = tuple(1, "2"); assert(tup.reverse == tuple("2", 1)); } { Tuple!(int, "x", string, "y") tup = tuple(1, "2"); auto rev = tup.reverse; assert(rev == tuple("2", 1)); assert(rev.x == 1 && rev.y == "2"); } { Tuple!(wchar, dchar, int, "x", string, "y", char, byte, float) tup; tup = tuple('a', 'b', 3, "4", 'c', cast(byte)0x0D, 0.00); auto rev = tup.reverse; assert(rev == tuple(0.00, cast(byte)0x0D, 'c', "4", 3, 'b', 'a')); assert(rev.x == 3 && rev.y == "4"); } } unittest { // opEquals { struct Equ1 { bool opEquals(Equ1) { return true; } } auto tm1 = tuple(Equ1.init); const tc1 = tuple(Equ1.init); static assert( is(typeof(tm1 == tm1))); static assert(!is(typeof(tm1 == tc1))); static assert(!is(typeof(tc1 == tm1))); static assert(!is(typeof(tc1 == tc1))); struct Equ2 { bool opEquals(const Equ2) const { return true; } } auto tm2 = tuple(Equ2.init); const tc2 = tuple(Equ2.init); static assert( is(typeof(tm2 == tm2))); static assert( is(typeof(tm2 == tc2))); static assert( is(typeof(tc2 == tm2))); static assert( is(typeof(tc2 == tc2))); struct Equ3 { bool opEquals(T)(T) { return true; } } auto tm3 = tuple(Equ3.init); // bugzilla 8686 const tc3 = tuple(Equ3.init); static assert( is(typeof(tm3 == tm3))); static assert( is(typeof(tm3 == tc3))); static assert(!is(typeof(tc3 == tm3))); static assert(!is(typeof(tc3 == tc3))); struct Equ4 { bool opEquals(T)(T) const { return true; } } auto tm4 = tuple(Equ4.init); const tc4 = tuple(Equ4.init); static assert( is(typeof(tm4 == tm4))); static assert( is(typeof(tm4 == tc4))); static assert( is(typeof(tc4 == tm4))); static assert( is(typeof(tc4 == tc4))); } // opCmp { struct Cmp1 { int opCmp(Cmp1) { return 0; } } auto tm1 = tuple(Cmp1.init); const tc1 = tuple(Cmp1.init); static assert( is(typeof(tm1 < tm1))); static assert(!is(typeof(tm1 < tc1))); static assert(!is(typeof(tc1 < tm1))); static assert(!is(typeof(tc1 < tc1))); struct Cmp2 { int opCmp(const Cmp2) const { return 0; } } auto tm2 = tuple(Cmp2.init); const tc2 = tuple(Cmp2.init); static assert( is(typeof(tm2 < tm2))); static assert( is(typeof(tm2 < tc2))); static assert( is(typeof(tc2 < tm2))); static assert( is(typeof(tc2 < tc2))); struct Cmp3 { int opCmp(T)(T) { return 0; } } auto tm3 = tuple(Cmp3.init); const tc3 = tuple(Cmp3.init); static assert( is(typeof(tm3 < tm3))); static assert( is(typeof(tm3 < tc3))); static assert(!is(typeof(tc3 < tm3))); static assert(!is(typeof(tc3 < tc3))); struct Cmp4 { int opCmp(T)(T) const { return 0; } } auto tm4 = tuple(Cmp4.init); const tc4 = tuple(Cmp4.init); static assert( is(typeof(tm4 < tm4))); static assert( is(typeof(tm4 < tc4))); static assert( is(typeof(tc4 < tm4))); static assert( is(typeof(tc4 < tc4))); } { int[2] ints = [ 1, 2 ]; Tuple!(int, int) t = ints; assert(t[0] == 1 && t[1] == 2); Tuple!(long, uint) t2 = ints; assert(t2[0] == 1 && t2[1] == 2); } } @safe unittest { auto t1 = Tuple!(int, "x", string, "y")(1, "a"); assert(t1.x == 1); assert(t1.y == "a"); void foo(Tuple!(int, string) t2) {} foo(t1); Tuple!(int, int)[] arr; arr ~= tuple(10, 20); // OK arr ~= Tuple!(int, "x", int, "y")(10, 20); // NG -> OK static assert(is(typeof(Tuple!(int, "x", string, "y").tupleof) == typeof(Tuple!(int, string ).tupleof))); } unittest { // Bugzilla 10686 immutable Tuple!(int) t1; auto r1 = t1[0]; // OK immutable Tuple!(int, "x") t2; auto r2 = t2[0]; // error } unittest { import std.exception : assertCTFEable; // Bugzilla 10218 assertCTFEable!( { auto t = tuple(1); t = tuple(2); // assignment }); } unittest { class Foo{} Tuple!(immutable(Foo)[]) a; } unittest { //Test non-assignable static struct S { int* p; } alias IS = immutable S; static assert(!isAssignable!IS); auto s = IS.init; alias TIS = Tuple!IS; TIS a = tuple(s); TIS b = a; alias TISIS = Tuple!(IS, IS); TISIS d = tuple(s, s); IS[2] ss; TISIS e = TISIS(ss); } /** Returns a $(D Tuple) object instantiated and initialized according to the arguments. Example: ---- auto value = tuple(5, 6.7, "hello"); assert(value[0] == 5); assert(value[1] == 6.7); assert(value[2] == "hello"); ---- */ Tuple!T tuple(T...)(T args) { return typeof(return)(args); } /** Returns $(D true) if and only if $(D T) is an instance of the $(D Tuple) struct template. */ template isTuple(T) { static if (is(Unqual!T Unused : Tuple!Specs, Specs...)) { enum isTuple = true; } else { enum isTuple = false; } } unittest { static assert(isTuple!(Tuple!())); static assert(isTuple!(Tuple!(int))); static assert(isTuple!(Tuple!(int, real, string))); static assert(isTuple!(Tuple!(int, "x", real, "y"))); static assert(isTuple!(Tuple!(int, Tuple!(real), string))); static assert(isTuple!(const Tuple!(int))); static assert(isTuple!(immutable Tuple!(int))); static assert(!isTuple!(int)); static assert(!isTuple!(const int)); struct S {} static assert(!isTuple!(S)); } /** $(D Rebindable!(T)) is a simple, efficient wrapper that behaves just like an object of type $(D T), except that you can reassign it to refer to another object. For completeness, $(D Rebindable!(T)) aliases itself away to $(D T) if $(D T) is a non-const object type. However, $(D Rebindable!(T)) does not compile if $(D T) is a non-class type. Regular $(D const) object references cannot be reassigned: ---- class Widget { int x; int y() const { return x; } } const a = new Widget; a.y(); // fine a.x = 5; // error! can't modify const a a = new Widget; // error! can't modify const a ---- However, $(D Rebindable!(Widget)) does allow reassignment, while otherwise behaving exactly like a $(D const Widget): ---- auto a = Rebindable!(const Widget)(new Widget); a.y(); // fine a.x = 5; // error! can't modify const a a = new Widget; // fine ---- You may want to use $(D Rebindable) when you want to have mutable storage referring to $(D const) objects, for example an array of references that must be sorted in place. $(D Rebindable) does not break the soundness of D's type system and does not incur any of the risks usually associated with $(D cast). */ template Rebindable(T) if (is(T == class) || is(T == interface) || isDynamicArray!T) { static if (!is(T X == const U, U) && !is(T X == immutable U, U)) { alias Rebindable = T; } else static if (isDynamicArray!T) { alias Rebindable = const(ElementEncodingType!T)[]; } else { struct Rebindable { private union { T original; U stripped; } void opAssign(T another) pure nothrow { stripped = cast(U) another; } void opAssign(Rebindable another) pure nothrow { stripped = another.stripped; } static if (is(T == const U)) { // safely assign immutable to const void opAssign(Rebindable!(immutable U) another) pure nothrow { stripped = another.stripped; } } this(T initializer) pure nothrow { opAssign(initializer); } @property ref inout(T) get() inout pure nothrow { return original; } alias get this; } } } /** Convenience function for creating a $(D Rebindable) using automatic type inference. */ Rebindable!T rebindable(T)(T obj) if (is(T == class) || is(T == interface) || isDynamicArray!T) { typeof(return) ret; ret = obj; return ret; } /** This function simply returns the $(D Rebindable) object passed in. It's useful in generic programming cases when a given object may be either a regular $(D class) or a $(D Rebindable). */ Rebindable!T rebindable(T)(Rebindable!T obj) { return obj; } unittest { interface CI { const int foo(); } class C : CI { int foo() const { return 42; } @property int bar() const { return 23; } } Rebindable!(C) obj0; static assert(is(typeof(obj0) == C)); Rebindable!(const(C)) obj1; static assert(is(typeof(obj1.get) == const(C)), typeof(obj1.get).stringof); static assert(is(typeof(obj1.stripped) == C)); obj1 = new C; assert(obj1.get !is null); obj1 = new const(C); assert(obj1.get !is null); Rebindable!(immutable(C)) obj2; static assert(is(typeof(obj2.get) == immutable(C))); static assert(is(typeof(obj2.stripped) == C)); obj2 = new immutable(C); assert(obj1.get !is null); // test opDot assert(obj2.foo() == 42); assert(obj2.bar == 23); interface I { final int foo() const { return 42; } } Rebindable!(I) obj3; static assert(is(typeof(obj3) == I)); Rebindable!(const I) obj4; static assert(is(typeof(obj4.get) == const I)); static assert(is(typeof(obj4.stripped) == I)); static assert(is(typeof(obj4.foo()) == int)); obj4 = new class I {}; Rebindable!(immutable C) obj5i; Rebindable!(const C) obj5c; obj5c = obj5c; obj5c = obj5i; obj5i = obj5i; static assert(!__traits(compiles, obj5i = obj5c)); // Test the convenience functions. auto obj5convenience = rebindable(obj5i); assert(obj5convenience is obj5i); auto obj6 = rebindable(new immutable(C)); static assert(is(typeof(obj6) == Rebindable!(immutable C))); assert(obj6.foo() == 42); auto obj7 = rebindable(new C); CI interface1 = obj7; auto interfaceRebind1 = rebindable(interface1); assert(interfaceRebind1.foo() == 42); const interface2 = interface1; auto interfaceRebind2 = rebindable(interface2); assert(interfaceRebind2.foo() == 42); auto arr = [1,2,3,4,5]; const arrConst = arr; assert(rebindable(arr) == arr); assert(rebindable(arrConst) == arr); // Issue 7654 immutable(char[]) s7654; Rebindable!(typeof(s7654)) r7654 = s7654; foreach (T; TypeTuple!(char, wchar, char, int)) { static assert(is(Rebindable!(immutable(T[])) == immutable(T)[])); static assert(is(Rebindable!(const(T[])) == const(T)[])); static assert(is(Rebindable!(T[]) == T[])); } // Issue 12046 static assert(!__traits(compiles, Rebindable!(int[1]))); static assert(!__traits(compiles, Rebindable!(const int[1]))); } /** Order the provided members to minimize size while preserving alignment. Returns a declaration to be mixed in. Example: --- struct Banner { mixin(alignForSize!(byte[6], double)(["name", "height"])); } --- Alignment is not always optimal for 80-bit reals, nor for structs declared as align(1). */ string alignForSize(E...)(string[] names...) { // Sort all of the members by .alignof. // BUG: Alignment is not always optimal for align(1) structs // or 80-bit reals or 64-bit primitives on x86. // TRICK: Use the fact that .alignof is always a power of 2, // and maximum 16 on extant systems. Thus, we can perform // a very limited radix sort. // Contains the members with .alignof = 64,32,16,8,4,2,1 assert(E.length == names.length, "alignForSize: There should be as many member names as the types"); string[7] declaration = ["", "", "", "", "", "", ""]; foreach (i, T; E) { auto a = T.alignof; auto k = a>=64? 0 : a>=32? 1 : a>=16? 2 : a>=8? 3 : a>=4? 4 : a>=2? 5 : 6; declaration[k] ~= T.stringof ~ " " ~ names[i] ~ ";\n"; } auto s = ""; foreach (decl; declaration) s ~= decl; return s; } unittest { enum x = alignForSize!(int[], char[3], short, double[5])("x", "y","z", "w"); struct Foo { int x; } enum y = alignForSize!(ubyte, Foo, cdouble)("x", "y", "z"); enum passNormalX = x == "double[5] w;\nint[] x;\nshort z;\nchar[3] y;\n"; enum passNormalY = y == "cdouble z;\nFoo y;\nubyte x;\n"; enum passAbnormalX = x == "int[] x;\ndouble[5] w;\nshort z;\nchar[3] y;\n"; enum passAbnormalY = y == "Foo y;\ncdouble z;\nubyte x;\n"; // ^ blame http://d.puremagic.com/issues/show_bug.cgi?id=231 static assert(passNormalX || passAbnormalX && double.alignof <= (int[]).alignof); static assert(passNormalY || passAbnormalY && double.alignof <= int.alignof); } /** Defines a value paired with a distinctive "null" state that denotes the absence of a value. If default constructed, a $(D Nullable!T) object starts in the null state. Assigning it renders it non-null. Calling $(D nullify) can nullify it again. Example: ---- Nullable!int a; assert(a.isNull); a = 5; assert(!a.isNull); assert(a == 5); ---- Practically $(D Nullable!T) stores a $(D T) and a $(D bool). */ struct Nullable(T) { private T _value; private bool _isNull = true; /** Constructor initializing $(D this) with $(D value). */ this(inout T value) inout { _value = value; _isNull = false; } /** Returns $(D true) if and only if $(D this) is in the null state. */ @property bool isNull() const pure nothrow @safe { return _isNull; } /** Forces $(D this) to the null state. */ void nullify()() { .destroy(_value); _isNull = true; } /** Assigns $(D value) to the internally-held state. If the assignment succeeds, $(D this) becomes non-null. */ void opAssign()(T value) { _value = value; _isNull = false; } /** Gets the value. $(D this) must not be in the null state. This function is also called for the implicit conversion to $(D T). */ @property ref inout(T) get() inout pure nothrow @safe { enum message = "Called `get' on null Nullable!" ~ T.stringof ~ "."; assert(!isNull, message); return _value; } /** Implicitly converts to $(D T). $(D this) must not be in the null state. */ alias get this; } unittest { import std.exception : assertThrown; Nullable!int a; assert(a.isNull); assertThrown!Throwable(a.get); a = 5; assert(!a.isNull); assert(a == 5); assert(a != 3); assert(a.get != 3); a.nullify(); assert(a.isNull); a = 3; assert(a == 3); a *= 6; assert(a == 18); a = a; assert(a == 18); a.nullify(); assertThrown!Throwable(a += 2); } unittest { auto k = Nullable!int(74); assert(k == 74); k.nullify(); assert(k.isNull); } unittest { static int f(in Nullable!int x) { return x.isNull ? 42 : x.get; } Nullable!int a; assert(f(a) == 42); a = 8; assert(f(a) == 8); a.nullify(); assert(f(a) == 42); } unittest { import std.exception : assertThrown; static struct S { int x; } Nullable!S s; assert(s.isNull); s = S(6); assert(s == S(6)); assert(s != S(0)); assert(s.get != S(0)); s.x = 9190; assert(s.x == 9190); s.nullify(); assertThrown!Throwable(s.x = 9441); } unittest { // Ensure Nullable can be used in pure/nothrow/@safe environment. function() pure nothrow @safe { Nullable!int n; assert(n.isNull); n = 4; assert(!n.isNull); assert(n == 4); n.nullify(); assert(n.isNull); }(); } unittest { // Ensure Nullable can be used when the value is not pure/nothrow/@safe static struct S { int x; this(this) @system {} } Nullable!S s; assert(s.isNull); s = S(5); assert(!s.isNull); assert(s.x == 5); s.nullify(); assert(s.isNull); } unittest { // Bugzilla 9404 alias N = Nullable!int; void foo(N a) { N b; b = a; // `N b = a;` works fine } N n; foo(n); } unittest { //Check nullable immutable is constructable { auto a1 = Nullable!(immutable int)(); auto a2 = Nullable!(immutable int)(1); auto i = a2.get; } //Check immutable nullable is constructable { auto a1 = immutable (Nullable!int)(); auto a2 = immutable (Nullable!int)(1); auto i = a2.get; } } unittest { alias NInt = Nullable!int; //Construct tests { //from other Nullable null NInt a1; NInt b1 = a1; assert(b1.isNull); //from other Nullable non-null NInt a2 = NInt(1); NInt b2 = a2; assert(b2 == 1); //Construct from similar nullable auto a3 = immutable(NInt)(); NInt b3 = a3; assert(b3.isNull); } //Assign tests { //from other Nullable null NInt a1; NInt b1; b1 = a1; assert(b1.isNull); //from other Nullable non-null NInt a2 = NInt(1); NInt b2; b2 = a2; assert(b2 == 1); //Construct from similar nullable auto a3 = immutable(NInt)(); NInt b3 = a3; b3 = a3; assert(b3.isNull); } } unittest { //Check nullable is nicelly embedable in a struct static struct S1 { Nullable!int ni; } static struct S2 //inspired from 9404 { Nullable!int ni; this(S2 other) { ni = other.ni; } void opAssign(S2 other) { ni = other.ni; } } foreach (S; TypeTuple!(S1, S2)) { S a; S b = a; S c; c = a; } } unittest { // Bugzilla 10268 import std.json; JSONValue value = null; auto na = Nullable!JSONValue(value); struct S1 { int val; } struct S2 { int* val; } struct S3 { immutable int* val; } { auto sm = S1(1); immutable si = immutable S1(1); static assert( __traits(compiles, { auto x1 = Nullable!S1(sm); })); static assert( __traits(compiles, { auto x2 = immutable Nullable!S1(sm); })); static assert( __traits(compiles, { auto x3 = Nullable!S1(si); })); static assert( __traits(compiles, { auto x4 = immutable Nullable!S1(si); })); } auto nm = 10; immutable ni = 10; { auto sm = S2(&nm); immutable si = immutable S2(&ni); static assert( __traits(compiles, { auto x = Nullable!S2(sm); })); static assert(!__traits(compiles, { auto x = immutable Nullable!S2(sm); })); static assert(!__traits(compiles, { auto x = Nullable!S2(si); })); static assert( __traits(compiles, { auto x = immutable Nullable!S2(si); })); } { auto sm = S3(&ni); immutable si = immutable S3(&ni); static assert( __traits(compiles, { auto x = Nullable!S3(sm); })); static assert( __traits(compiles, { auto x = immutable Nullable!S3(sm); })); static assert( __traits(compiles, { auto x = Nullable!S3(si); })); static assert( __traits(compiles, { auto x = immutable Nullable!S3(si); })); } } unittest { // Bugzila 10357 import std.datetime; Nullable!SysTime time = SysTime(0); } /** Just like $(D Nullable!T), except that the null state is defined as a particular value. For example, $(D Nullable!(uint, uint.max)) is an $(D uint) that sets aside the value $(D uint.max) to denote a null state. $(D Nullable!(T, nullValue)) is more storage-efficient than $(D Nullable!T) because it does not need to store an extra $(D bool). */ struct Nullable(T, T nullValue) { private T _value = nullValue; /** Constructor initializing $(D this) with $(D value). */ this(T value) { _value = value; } /** Returns $(D true) if and only if $(D this) is in the null state. */ @property bool isNull() const { return _value == nullValue; } /** Forces $(D this) to the null state. */ void nullify()() { _value = nullValue; } /** Assigns $(D value) to the internally-held state. No null checks are made. Note that the assignment may leave $(D this) in the null state. */ void opAssign()(T value) { _value = value; } /** Gets the value. $(D this) must not be in the null state. This function is also called for the implicit conversion to $(D T). */ @property ref inout(T) get() inout { //@@@6169@@@: We avoid any call that might evaluate nullValue's %s, //Because it might messup get's purity and safety inference. enum message = "Called `get' on null Nullable!(" ~ T.stringof ~ ",nullValue)."; assert(!isNull, message); return _value; } /** Implicitly converts to $(D T). Gets the value. $(D this) must not be in the null state. */ alias get this; } unittest { import std.exception : assertThrown; Nullable!(int, int.min) a; assert(a.isNull); assertThrown!Throwable(a.get); a = 5; assert(!a.isNull); assert(a == 5); static assert(a.sizeof == int.sizeof); } unittest { auto a = Nullable!(int, int.min)(8); assert(a == 8); a.nullify(); assert(a.isNull); } unittest { static int f(in Nullable!(int, int.min) x) { return x.isNull ? 42 : x.get; } Nullable!(int, int.min) a; assert(f(a) == 42); a = 8; assert(f(a) == 8); a.nullify(); assert(f(a) == 42); } unittest { // Ensure Nullable can be used in pure/nothrow/@safe environment. function() pure nothrow @safe { Nullable!(int, int.min) n; assert(n.isNull); n = 4; assert(!n.isNull); assert(n == 4); n.nullify(); assert(n.isNull); }(); } unittest { // Ensure Nullable can be used when the value is not pure/nothrow/@safe static struct S { int x; bool opEquals(const S s) const @system { return s.x == x; } } Nullable!(S, S(711)) s; assert(s.isNull); s = S(5); assert(!s.isNull); assert(s.x == 5); s.nullify(); assert(s.isNull); } unittest { //Check nullable is nicelly embedable in a struct static struct S1 { Nullable!(int, 0) ni; } static struct S2 //inspired from 9404 { Nullable!(int, 0) ni; this(S2 other) { ni = other.ni; } void opAssign(S2 other) { ni = other.ni; } } foreach (S; TypeTuple!(S1, S2)) { S a; S b = a; S c; c = a; } } /** Just like $(D Nullable!T), except that the object refers to a value sitting elsewhere in memory. This makes assignments overwrite the initially assigned value. Internally $(D NullableRef!T) only stores a pointer to $(D T) (i.e., $(D Nullable!T.sizeof == (T*).sizeof)). */ struct NullableRef(T) { private T* _value; /** Constructor binding $(D this) with $(D value). */ this(T* value) pure nothrow @safe { _value = value; } /** Binds the internal state to $(D value). */ void bind(T* value) pure nothrow @safe { _value = value; } /** Returns $(D true) if and only if $(D this) is in the null state. */ @property bool isNull() const pure nothrow @safe { return _value is null; } /** Forces $(D this) to the null state. */ void nullify() pure nothrow @safe { _value = null; } /** Assigns $(D value) to the internally-held state. */ void opAssign()(T value) if (isAssignable!T) //@@@9416@@@ { enum message = "Called `opAssign' on null NullableRef!" ~ T.stringof ~ "."; assert(!isNull, message); *_value = value; } /** Gets the value. $(D this) must not be in the null state. This function is also called for the implicit conversion to $(D T). */ @property ref inout(T) get() inout pure nothrow @safe { enum message = "Called `get' on null NullableRef!" ~ T.stringof ~ "."; assert(!isNull, message); return *_value; } /** Implicitly converts to $(D T). $(D this) must not be in the null state. */ alias get this; } unittest { import std.exception : assertThrown; int x = 5, y = 7; auto a = NullableRef!(int)(&x); assert(!a.isNull); assert(a == 5); assert(x == 5); a = 42; assert(x == 42); assert(!a.isNull); assert(a == 42); a.nullify(); assert(x == 42); assert(a.isNull); assertThrown!Throwable(a.get); assertThrown!Throwable(a = 71); a.bind(&y); assert(a == 7); y = 135; assert(a == 135); } unittest { static int f(in NullableRef!int x) { return x.isNull ? 42 : x.get; } int x = 5; auto a = NullableRef!int(&x); assert(f(a) == 5); a.nullify(); assert(f(a) == 42); } unittest { // Ensure NullableRef can be used in pure/nothrow/@safe environment. function() pure nothrow @safe { auto storage = new int; *storage = 19902; NullableRef!int n; assert(n.isNull); n.bind(storage); assert(!n.isNull); assert(n == 19902); n = 2294; assert(n == 2294); assert(*storage == 2294); n.nullify(); assert(n.isNull); }(); } unittest { // Ensure NullableRef can be used when the value is not pure/nothrow/@safe static struct S { int x; this(this) @system {} bool opEquals(const S s) const @system { return s.x == x; } } auto storage = S(5); NullableRef!S s; assert(s.isNull); s.bind(&storage); assert(!s.isNull); assert(s.x == 5); s.nullify(); assert(s.isNull); } unittest { //Check nullable is nicelly embedable in a struct static struct S1 { NullableRef!int ni; } static struct S2 //inspired from 9404 { NullableRef!int ni; this(S2 other) { ni = other.ni; } void opAssign(S2 other) { ni = other.ni; } } foreach (S; TypeTuple!(S1, S2)) { S a; S b = a; S c; c = a; } } /** $(D BlackHole!Base) is a subclass of $(D Base) which automatically implements all abstract member functions in $(D Base) as do-nothing functions. Each auto-implemented function just returns the default value of the return type without doing anything. The name came from $(WEB search.cpan.org/~sburke/Class-_BlackHole-0.04/lib/Class/_BlackHole.pm, Class::_BlackHole) Perl module by Sean M. Burke. Example: -------------------- abstract class C { int m_value; this(int v) { m_value = v; } int value() @property { return m_value; } abstract real realValue() @property; abstract void doSomething(); } void main() { auto c = new BlackHole!C(42); writeln(c.value); // prints "42" // Abstract functions are implemented as do-nothing: writeln(c.realValue); // prints "NaN" c.doSomething(); // does nothing } -------------------- See_Also: AutoImplement, generateEmptyFunction */ alias BlackHole(Base) = AutoImplement!(Base, generateEmptyFunction, isAbstractFunction); unittest { import std.math : isNaN; // return default { interface I_1 { real test(); } auto o = new BlackHole!I_1; assert(o.test().isNaN); // NaN } // doc example { static class C { int m_value; this(int v) { m_value = v; } int value() @property { return m_value; } abstract real realValue() @property; abstract void doSomething(); } auto c = new BlackHole!C(42); assert(c.value == 42); assert(c.realValue.isNaN); // NaN c.doSomething(); } // Bugzilla 12058 interface Foo { inout(Object) foo() inout; } BlackHole!Foo o; } /** $(D WhiteHole!Base) is a subclass of $(D Base) which automatically implements all abstract member functions as throw-always functions. Each auto-implemented function fails with throwing an $(D Error) and does never return. Useful for trapping use of not-yet-implemented functions. The name came from $(WEB search.cpan.org/~mschwern/Class-_WhiteHole-0.04/lib/Class/_WhiteHole.pm, Class::_WhiteHole) Perl module by Michael G Schwern. Example: -------------------- class C { abstract void notYetImplemented(); } void main() { auto c = new WhiteHole!C; c.notYetImplemented(); // throws an Error } -------------------- See_Also: AutoImplement, generateAssertTrap */ alias WhiteHole(Base) = AutoImplement!(Base, generateAssertTrap, isAbstractFunction); // / ditto class NotImplementedError : Error { this(string method) { super(method ~ " is not implemented"); } } unittest { import std.exception : assertThrown; // nothrow { interface I_1 { void foo(); void bar() nothrow; } auto o = new WhiteHole!I_1; assertThrown!NotImplementedError(o.foo()); assertThrown!NotImplementedError(o.bar()); } // doc example { static class C { abstract void notYetImplemented(); } auto c = new WhiteHole!C; try { c.notYetImplemented(); assert(0); } catch (Error e) {} } } /** $(D AutoImplement) automatically implements (by default) all abstract member functions in the class or interface $(D Base) in specified way. Params: how = template which specifies _how functions will be implemented/overridden. Two arguments are passed to $(D how): the type $(D Base) and an alias to an implemented function. Then $(D how) must return an implemented function body as a string. The generated function body can use these keywords: $(UL $(LI $(D a0), $(D a1), &hellip;: arguments passed to the function;) $(LI $(D args): a tuple of the arguments;) $(LI $(D self): an alias to the function itself;) $(LI $(D parent): an alias to the overridden function (if any).) ) You may want to use templated property functions (instead of Implicit Template Properties) to generate complex functions: -------------------- // Prints log messages for each call to overridden functions. string generateLogger(C, alias fun)() @property { import std.traits; enum qname = C.stringof ~ "." ~ __traits(identifier, fun); string stmt; stmt ~= q{ struct Importer { import std.stdio; } }; stmt ~= `Importer.writeln$(LPAREN)"Log: ` ~ qname ~ `(", args, ")"$(RPAREN);`; static if (!__traits(isAbstractFunction, fun)) { static if (is(ReturnType!fun == void)) stmt ~= q{ parent(args); }; else stmt ~= q{ auto r = parent(args); Importer.writeln("--> ", r); return r; }; } return stmt; } -------------------- what = template which determines _what functions should be implemented/overridden. An argument is passed to $(D what): an alias to a non-final member function in $(D Base). Then $(D what) must return a boolean value. Return $(D true) to indicate that the passed function should be implemented/overridden. -------------------- // Sees if fun returns something. enum bool hasValue(alias fun) = !is(ReturnType!(fun) == void); -------------------- Note: Generated code is inserted in the scope of $(D std.typecons) module. Thus, any useful functions outside $(D std.typecons) cannot be used in the generated code. To workaround this problem, you may $(D import) necessary things in a local struct, as done in the $(D generateLogger()) template in the above example. BUGS: $(UL $(LI Variadic arguments to constructors are not forwarded to super.) $(LI Deep interface inheritance causes compile error with messages like "Error: function std.typecons._AutoImplement!(Foo)._AutoImplement.bar does not override any function". [$(BUGZILLA 2525), $(BUGZILLA 3525)] ) $(LI The $(D parent) keyword is actually a delegate to the super class' corresponding member function. [$(BUGZILLA 2540)] ) $(LI Using alias template parameter in $(D how) and/or $(D what) may cause strange compile error. Use template tuple parameter instead to workaround this problem. [$(BUGZILLA 4217)] ) ) */ class AutoImplement(Base, alias how, alias what = isAbstractFunction) : Base { private alias autoImplement_helper_ = AutoImplement_Helper!("autoImplement_helper_", "Base", Base, how, what); mixin(autoImplement_helper_.code); } /* * Code-generating stuffs are encupsulated in this helper template so that * namespace pollusion, which can cause name confliction with Base's public * members, should be minimized. */ private template AutoImplement_Helper(string myName, string baseName, Base, alias generateMethodBody, alias cherrypickMethod) { private static: //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Internal stuffs //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // this would be deprecated by std.typelist.Filter template staticFilter(alias pred, lst...) { static if (lst.length > 0) { alias tail = staticFilter!(pred, lst[1 .. $]); // static if (pred!(lst[0])) alias staticFilter = TypeTuple!(lst[0], tail); else alias staticFilter = tail; } else alias staticFilter = TypeTuple!(); } // Returns function overload sets in the class C, filtered with pred. template enumerateOverloads(C, alias pred) { template Impl(names...) { static if (names.length > 0) { alias methods = staticFilter!(pred, MemberFunctionsTuple!(C, names[0])); alias next = Impl!(names[1 .. $]); static if (methods.length > 0) alias Impl = TypeTuple!(OverloadSet!(names[0], methods), next); else alias Impl = next; } else alias Impl = TypeTuple!(); } alias enumerateOverloads = Impl!(__traits(allMembers, C)); } //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Target functions //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Add a non-final check to the cherrypickMethod. enum bool canonicalPicker(fun.../+[BUG 4217]+/) = !__traits(isFinalFunction, fun[0]) && cherrypickMethod!(fun); /* * A tuple of overload sets, each item of which consists of functions to be * implemented by the generated code. */ alias targetOverloadSets = enumerateOverloads!(Base, canonicalPicker); /* * A tuple of the super class' constructors. Used for forwarding * constructor calls. */ static if (__traits(hasMember, Base, "__ctor")) alias ctorOverloadSet = OverloadSet!("__ctor", __traits(getOverloads, Base, "__ctor")); else alias ctorOverloadSet = OverloadSet!("__ctor"); // empty //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Type information //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// /* * The generated code will be mixed into AutoImplement, which will be * instantiated in this module's scope. Thus, any user-defined types are * out of scope and cannot be used directly (i.e. by their names). * * We will use FuncInfo instances for accessing return types and parameter * types of the implemented functions. The instances will be populated to * the AutoImplement's scope in a certain way; see the populate() below. */ // Returns the preferred identifier for the FuncInfo instance for the i-th // overloaded function with the name. template INTERNAL_FUNCINFO_ID(string name, size_t i) { import std.string : format; enum string INTERNAL_FUNCINFO_ID = format("F_%s_%s", name, i); } /* * Insert FuncInfo instances about all the target functions here. This * enables the generated code to access type information via, for example, * "autoImplement_helper_.F_foo_1". */ template populate(overloads...) { static if (overloads.length > 0) { mixin populate!(overloads[0].name, overloads[0].contents); mixin populate!(overloads[1 .. $]); } } template populate(string name, methods...) { static if (methods.length > 0) { mixin populate!(name, methods[0 .. $ - 1]); // alias target = methods[$ - 1]; enum ith = methods.length - 1; mixin("alias " ~ INTERNAL_FUNCINFO_ID!(name, ith) ~ " = FuncInfo!target;"); } } public mixin populate!(targetOverloadSets); public mixin populate!( ctorOverloadSet ); //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Code-generating policies //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// /* Common policy configurations for generating constructors and methods. */ template CommonGeneratingPolicy() { // base class identifier which generated code should use enum string BASE_CLASS_ID = baseName; // FuncInfo instance identifier which generated code should use template FUNCINFO_ID(string name, size_t i) { enum string FUNCINFO_ID = myName ~ "." ~ INTERNAL_FUNCINFO_ID!(name, i); } } /* Policy configurations for generating constructors. */ template ConstructorGeneratingPolicy() { mixin CommonGeneratingPolicy; /* Generates constructor body. Just forward to the base class' one. */ string generateFunctionBody(ctor.../+[BUG 4217]+/)() @property { enum varstyle = variadicFunctionStyle!(typeof(&ctor[0])); static if (varstyle & (Variadic.c | Variadic.d)) { // the argptr-forwarding problem //pragma(msg, "Warning: AutoImplement!(", Base, ") ", // "ignored variadic arguments to the constructor ", // FunctionTypeOf!(typeof(&ctor[0])) ); } return "super(args);"; } } /* Policy configurations for genearting target methods. */ template MethodGeneratingPolicy() { mixin CommonGeneratingPolicy; /* Geneartes method body. */ string generateFunctionBody(func.../+[BUG 4217]+/)() @property { return generateMethodBody!(Base, func); // given } } //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Generated code //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// alias ConstructorGenerator = MemberFunctionGenerator!(ConstructorGeneratingPolicy!()); alias MethodGenerator = MemberFunctionGenerator!(MethodGeneratingPolicy!()); public enum string code = ConstructorGenerator.generateCode!( ctorOverloadSet ) ~ "\n" ~ MethodGenerator.generateCode!(targetOverloadSets); debug (SHOW_GENERATED_CODE) { pragma(msg, "-------------------- < ", Base, " >"); pragma(msg, code); pragma(msg, "--------------------"); } } //debug = SHOW_GENERATED_CODE; version(unittest) import core.vararg; unittest { // no function to implement { interface I_1 {} auto o = new BlackHole!I_1; } // parameters { interface I_3 { void test(int, in int, out int, ref int, lazy int); } auto o = new BlackHole!I_3; } // use of user-defined type { struct S {} interface I_4 { S test(); } auto o = new BlackHole!I_4; } // overloads { interface I_5 { void test(string); real test(real); int test(); } auto o = new BlackHole!I_5; } // constructor forwarding { static class C_6 { this(int n) { assert(n == 42); } this(string s) { assert(s == "Deeee"); } this(...) {} } auto o1 = new BlackHole!C_6(42); auto o2 = new BlackHole!C_6("Deeee"); auto o3 = new BlackHole!C_6(1, 2, 3, 4); } // attributes { interface I_7 { ref int test_ref(); int test_pure() pure; int test_nothrow() nothrow; int test_property() @property; int test_safe() @safe; int test_trusted() @trusted; int test_system() @system; int test_pure_nothrow() pure nothrow; } auto o = new BlackHole!I_7; } // storage classes { interface I_8 { void test_const() const; void test_immutable() immutable; void test_shared() shared; void test_shared_const() shared const; } auto o = new BlackHole!I_8; } /+ // deep inheritance { // XXX [BUG 2525,3525] // NOTE: [r494] func.c(504-571) FuncDeclaration::semantic() interface I { void foo(); } interface J : I {} interface K : J {} static abstract class C_9 : K {} auto o = new BlackHole!C_9; }+/ } version(unittest) { // Issue 10647 private string generateDoNothing(C, alias fun)() @property { string stmt; static if (is(ReturnType!fun == void)) stmt ~= ""; else { string returnType = ReturnType!fun.stringof; stmt ~= "return "~returnType~".init;"; } return stmt; } private template isAlwaysTrue(alias fun) { enum isAlwaysTrue = true; } // Do nothing template private template DoNothing(Base) { alias DoNothing = AutoImplement!(Base, generateDoNothing, isAlwaysTrue); } // A class to be overridden private class Foo{ void bar(int a) { } } } unittest { auto foo = new DoNothing!Foo(); foo.bar(13); } /* Used by MemberFunctionGenerator. */ package template OverloadSet(string nam, T...) { enum string name = nam; alias contents = T; } /* Used by MemberFunctionGenerator. */ package template FuncInfo(alias func, /+[BUG 4217 ?]+/ T = typeof(&func)) { alias RT = ReturnType!T; alias PT = ParameterTypeTuple!T; } package template FuncInfo(Func) { alias RT = ReturnType!Func; alias PT = ParameterTypeTuple!Func; } /* General-purpose member function generator. -------------------- template GeneratingPolicy() { // [optional] the name of the class where functions are derived enum string BASE_CLASS_ID; // [optional] define this if you have only function types enum bool WITHOUT_SYMBOL; // [optional] Returns preferred identifier for i-th parameter. template PARAMETER_VARIABLE_ID(size_t i); // Returns the identifier of the FuncInfo instance for the i-th overload // of the specified name. The identifier must be accessible in the scope // where generated code is mixed. template FUNCINFO_ID(string name, size_t i); // Returns implemented function body as a string. When WITHOUT_SYMBOL is // defined, the latter is used. template generateFunctionBody(alias func); template generateFunctionBody(string name, FuncType); } -------------------- */ package template MemberFunctionGenerator(alias Policy) { private static: //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Internal stuffs //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// import std.string; enum CONSTRUCTOR_NAME = "__ctor"; // true if functions are derived from a base class enum WITH_BASE_CLASS = __traits(hasMember, Policy, "BASE_CLASS_ID"); // true if functions are specified as types, not symbols enum WITHOUT_SYMBOL = __traits(hasMember, Policy, "WITHOUT_SYMBOL"); // preferred identifier for i-th parameter variable static if (__traits(hasMember, Policy, "PARAMETER_VARIABLE_ID")) { alias PARAMETER_VARIABLE_ID = Policy.PARAMETER_VARIABLE_ID; } else { enum string PARAMETER_VARIABLE_ID(size_t i) = format("a%s", i); // default: a0, a1, ... } // Returns a tuple consisting of 0,1,2,...,n-1. For static foreach. template CountUp(size_t n) { static if (n > 0) alias CountUp = TypeTuple!(CountUp!(n - 1), n - 1); else alias CountUp = TypeTuple!(); } //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// // Code generator //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// /* * Runs through all the target overload sets and generates D code which * implements all the functions in the overload sets. */ public string generateCode(overloads...)() @property { string code = ""; // run through all the overload sets foreach (i_; CountUp!(0 + overloads.length)) // workaround { enum i = 0 + i_; // workaround alias oset = overloads[i]; code ~= generateCodeForOverloadSet!(oset); static if (WITH_BASE_CLASS && oset.name != CONSTRUCTOR_NAME) { // The generated function declarations may hide existing ones // in the base class (cf. HiddenFuncError), so we put an alias // declaration here to reveal possible hidden functions. code ~= format("alias %s = %s.%s;\n", oset.name, Policy.BASE_CLASS_ID, // [BUG 2540] super. oset.name); } } return code; } // handle each overload set private string generateCodeForOverloadSet(alias oset)() @property { string code = ""; foreach (i_; CountUp!(0 + oset.contents.length)) // workaround { enum i = 0 + i_; // workaround code ~= generateFunction!( Policy.FUNCINFO_ID!(oset.name, i), oset.name, oset.contents[i]) ~ "\n"; } return code; } /* * Returns D code which implements the function func. This function * actually generates only the declarator part; the function body part is * generated by the functionGenerator() policy. */ public string generateFunction( string myFuncInfo, string name, func... )() @property { import std.string : format; enum isCtor = (name == CONSTRUCTOR_NAME); string code; // the result /*** Function Declarator ***/ { alias Func = FunctionTypeOf!(func); alias FA = FunctionAttribute; enum atts = functionAttributes!(func); enum realName = isCtor ? "this" : name; // FIXME?? Make it so that these aren't CTFE funcs any more, since // Format is deprecated, and format works at compile time? /* Made them CTFE funcs just for the sake of Format!(...) */ // return type with optional "ref" static string make_returnType() { string rtype = ""; if (!isCtor) { if (atts & FA.ref_) rtype ~= "ref "; rtype ~= myFuncInfo ~ ".RT"; } return rtype; } enum returnType = make_returnType(); // function attributes attached after declaration static string make_postAtts() { string poatts = ""; if (atts & FA.pure_ ) poatts ~= " pure"; if (atts & FA.nothrow_) poatts ~= " nothrow"; if (atts & FA.property) poatts ~= " @property"; if (atts & FA.safe ) poatts ~= " @safe"; if (atts & FA.trusted ) poatts ~= " @trusted"; return poatts; } enum postAtts = make_postAtts(); // function storage class static string make_storageClass() { string postc = ""; if (is(Func == shared)) postc ~= " shared"; if (is(Func == const)) postc ~= " const"; if (is(Func == inout)) postc ~= " inout"; if (is(Func == immutable)) postc ~= " immutable"; return postc; } enum storageClass = make_storageClass(); // if (__traits(isVirtualMethod, func)) code ~= "override "; code ~= format("extern(%s) %s %s(%s) %s %s\n", functionLinkage!(func), returnType, realName, generateParameters!(myFuncInfo, func)(), postAtts, storageClass ); } /*** Function Body ***/ code ~= "{\n"; { enum nparams = ParameterTypeTuple!(func).length; /* Declare keywords: args, self and parent. */ string preamble; preamble ~= "alias args = TypeTuple!(" ~ enumerateParameters!(nparams) ~ ");\n"; if (!isCtor) { preamble ~= "alias self = " ~ name ~ ";\n"; if (WITH_BASE_CLASS && !__traits(isAbstractFunction, func)) //preamble ~= "alias super." ~ name ~ " parent;\n"; // [BUG 2540] preamble ~= "auto parent = &super." ~ name ~ ";\n"; } // Function body static if (WITHOUT_SYMBOL) enum fbody = Policy.generateFunctionBody!(name, func); else enum fbody = Policy.generateFunctionBody!(func); code ~= preamble; code ~= fbody; } code ~= "}"; return code; } /* * Returns D code which declares function parameters. * "ref int a0, real a1, ..." */ private string generateParameters(string myFuncInfo, func...)() { alias STC = ParameterStorageClass; alias stcs = ParameterStorageClassTuple!(func); enum nparams = stcs.length; string params = ""; // the result foreach (i, stc; stcs) { if (i > 0) params ~= ", "; // Parameter storage classes. if (stc & STC.scope_) params ~= "scope "; if (stc & STC.out_ ) params ~= "out "; if (stc & STC.ref_ ) params ~= "ref "; if (stc & STC.lazy_ ) params ~= "lazy "; // Take parameter type from the FuncInfo. params ~= format("%s.PT[%s]", myFuncInfo, i); // Declare a parameter variable. params ~= " " ~ PARAMETER_VARIABLE_ID!(i); } // Add some ellipsis part if needed. final switch (variadicFunctionStyle!(func)) { case Variadic.no: break; case Variadic.c, Variadic.d: // (...) or (a, b, ...) params ~= (nparams == 0) ? "..." : ", ..."; break; case Variadic.typesafe: params ~= " ..."; break; } return params; } // Returns D code which enumerates n parameter variables using comma as the // separator. "a0, a1, a2, a3" private string enumerateParameters(size_t n)() @property { string params = ""; foreach (i_; CountUp!(n)) { enum i = 0 + i_; // workaround if (i > 0) params ~= ", "; params ~= PARAMETER_VARIABLE_ID!(i); } return params; } } /** Predefined how-policies for $(D AutoImplement). These templates are used by $(D BlackHole) and $(D WhiteHole), respectively. */ template generateEmptyFunction(C, func.../+[BUG 4217]+/) { static if (is(ReturnType!(func) == void)) enum string generateEmptyFunction = q{ }; else static if (functionAttributes!(func) & FunctionAttribute.ref_) enum string generateEmptyFunction = q{ static typeof(return) dummy; return dummy; }; else enum string generateEmptyFunction = q{ return typeof(return).init; }; } /// ditto template generateAssertTrap(C, func...) { enum string generateAssertTrap = `throw new NotImplementedError("` ~ C.stringof ~ "." ~ __traits(identifier, func) ~ `");`; } private { pragma(mangle, "_d_toObject") extern(C) pure nothrow Object typecons_d_toObject(void* p); } /* * Avoids opCast operator overloading. */ private template dynamicCast(T) if (is(T == class) || is(T == interface)) { @trusted T dynamicCast(S)(inout S source) if (is(S == class) || is(S == interface)) { static if (is(Unqual!S : Unqual!T)) { import std.traits : QualifierOf; alias Qual = QualifierOf!S; // SharedOf or MutableOf alias TmpT = Qual!(Unqual!T); inout(TmpT) tmp = source; // bypass opCast by implicit conversion return *cast(T*)(&tmp); // + variable pointer cast + dereference } else { return cast(T)typecons_d_toObject(*cast(void**)(&source)); } } } unittest { class C { @disable opCast(T)() {} } auto c = new C; static assert(!__traits(compiles, cast(Object)c)); auto o = dynamicCast!Object(c); assert(c is o); interface I { @disable opCast(T)() {} Object instance(); } interface J { @disable opCast(T)() {} Object instance(); } class D : I, J { Object instance() { return this; } } I i = new D(); static assert(!__traits(compiles, cast(J)i)); J j = dynamicCast!J(i); assert(i.instance() is j.instance()); } /** * Supports structural based typesafe conversion. * * If $(D Source) has structural conformance with the $(D interface) $(D Targets), * wrap creates internal wrapper class which inherits $(D Targets) and * wrap $(D src) object, then return it. */ template wrap(Targets...) if (Targets.length >= 1 && allSatisfy!(isMutable, Targets)) { import std.typetuple : staticMap; // strict upcast auto wrap(Source)(inout Source src) @trusted pure nothrow if (Targets.length == 1 && is(Source : Targets[0])) { alias T = Select!(is(Source == shared), shared Targets[0], Targets[0]); return dynamicCast!(inout T)(src); } // structural upcast template wrap(Source) if (!allSatisfy!(Bind!(isImplicitlyConvertible, Source), Targets)) { auto wrap(inout Source src) { static assert(hasRequireMethods!(), "Source "~Source.stringof~ " does not have structural conformance to "~ Targets.stringof); alias T = Select!(is(Source == shared), shared Impl, Impl); return new inout T(src); } template FuncInfo(string s, F) { enum name = s; alias type = F; } // Concat all Targets function members into one tuple template Concat(size_t i = 0) { static if (i >= Targets.length) alias Concat = TypeTuple!(); else { alias Concat = TypeTuple!(GetOverloadedMethods!(Targets[i]), Concat!(i + 1)); } } // Remove duplicated functions based on the identifier name and function type covariance template Uniq(members...) { static if (members.length == 0) alias Uniq = TypeTuple!(); else { alias func = members[0]; enum name = __traits(identifier, func); alias type = FunctionTypeOf!func; template check(size_t i, mem...) { static if (i >= mem.length) enum ptrdiff_t check = -1; else { enum ptrdiff_t check = __traits(identifier, func) == __traits(identifier, mem[i]) && !is(DerivedFunctionType!(type, FunctionTypeOf!(mem[i])) == void) ? i : check!(i + 1, mem); } } enum ptrdiff_t x = 1 + check!(0, members[1 .. $]); static if (x >= 1) { alias typex = DerivedFunctionType!(type, FunctionTypeOf!(members[x])); alias remain = Uniq!(members[1 .. x], members[x + 1 .. $]); static if (remain.length >= 1 && remain[0].name == name && !is(DerivedFunctionType!(typex, remain[0].type) == void)) { alias F = DerivedFunctionType!(typex, remain[0].type); alias Uniq = TypeTuple!(FuncInfo!(name, F), remain[1 .. $]); } else alias Uniq = TypeTuple!(FuncInfo!(name, typex), remain); } else { alias Uniq = TypeTuple!(FuncInfo!(name, type), Uniq!(members[1 .. $])); } } } alias TargetMembers = Uniq!(Concat!()); // list of FuncInfo alias SourceMembers = GetOverloadedMethods!Source; // list of function symbols // Check whether all of SourceMembers satisfy covariance target in TargetMembers template hasRequireMethods(size_t i = 0) { static if (i >= TargetMembers.length) enum hasRequireMethods = true; else { enum hasRequireMethods = findCovariantFunction!(TargetMembers[i], Source, SourceMembers) != -1 && hasRequireMethods!(i + 1); } } // Internal wrapper class final class Impl : Structural, Targets { private: Source _wrap_source; this( inout Source s) inout @safe pure nothrow { _wrap_source = s; } this(shared inout Source s) shared inout @safe pure nothrow { _wrap_source = s; } // BUG: making private should work with NVI. protected final inout(Object) _wrap_getSource() inout @trusted { return dynamicCast!(inout Object)(_wrap_source); } import std.conv : to; import std.algorithm : forward; template generateFun(size_t i) { enum name = TargetMembers[i].name; enum fa = functionAttributes!(TargetMembers[i].type); static @property stc() { string r; if (fa & FunctionAttribute.property) r ~= "@property "; if (fa & FunctionAttribute.ref_) r ~= "ref "; if (fa & FunctionAttribute.pure_) r ~= "pure "; if (fa & FunctionAttribute.nothrow_) r ~= "nothrow "; if (fa & FunctionAttribute.trusted) r ~= "@trusted "; if (fa & FunctionAttribute.safe) r ~= "@safe "; return r; } static @property mod() { alias type = TypeTuple!(TargetMembers[i].type)[0]; string r; static if (is(type == immutable)) r ~= " immutable"; else { static if (is(type == shared)) r ~= " shared"; static if (is(type == const)) r ~= " const"; else static if (is(type == inout)) r ~= " inout"; //else --> mutable } return r; } enum n = to!string(i); static if (fa & FunctionAttribute.property) { static if (ParameterTypeTuple!(TargetMembers[i].type).length == 0) enum fbody = "_wrap_source."~name; else enum fbody = "_wrap_source."~name~" = forward!args"; } else { enum fbody = "_wrap_source."~name~"(forward!args)"; } enum generateFun = "override "~stc~"ReturnType!(TargetMembers["~n~"].type) " ~ name~"(ParameterTypeTuple!(TargetMembers["~n~"].type) args) "~mod~ "{ return "~fbody~"; }"; } public: mixin mixinAll!( staticMap!(generateFun, staticIota!(0, TargetMembers.length))); } } } /// ditto template wrap(Targets...) if (Targets.length >= 1 && !allSatisfy!(isMutable, Targets)) { import std.typetuple : staticMap; alias wrap = .wrap!(staticMap!(Unqual, Targets)); } // Internal class to support dynamic cross-casting private interface Structural { inout(Object) _wrap_getSource() inout @safe pure nothrow; } /** * Extract object which wrapped by $(D wrap). */ template unwrap(Target) if (isMutable!Target) { // strict downcast auto unwrap(Source)(inout Source src) @trusted pure nothrow if (is(Target : Source)) { alias T = Select!(is(Source == shared), shared Target, Target); return dynamicCast!(inout T)(src); } // structural downcast auto unwrap(Source)(inout Source src) @trusted pure nothrow if (!is(Target : Source)) { alias T = Select!(is(Source == shared), shared Target, Target); Object o = dynamicCast!(Object)(src); // remove qualifier do { if (auto a = dynamicCast!(Structural)(o)) { if (auto d = dynamicCast!(inout T)(o = a._wrap_getSource())) return d; } else if (auto d = dynamicCast!(inout T)(o)) return d; else break; } while (o); return null; } } /// ditto template unwrap(Target) if (!isMutable!Target) { alias unwrap = .unwrap!(Unqual!Target); } /// unittest { interface Quack { int quack(); @property int height(); } interface Flyer { @property int height(); } class Duck : Quack { int quack() { return 1; } @property int height() { return 10; } } class Human { int quack() { return 2; } @property int height() { return 20; } } Duck d1 = new Duck(); Human h1 = new Human(); interface Refleshable { int reflesh(); } // does not have structural conformance static assert(!__traits(compiles, d1.wrap!Refleshable)); static assert(!__traits(compiles, h1.wrap!Refleshable)); // strict upcast Quack qd = d1.wrap!Quack; assert(qd is d1); assert(qd.quack() == 1); // calls Duck.quack // strict downcast Duck d2 = qd.unwrap!Duck; assert(d2 is d1); // structural upcast Quack qh = h1.wrap!Quack; assert(qh.quack() == 2); // calls Human.quack // structural downcast Human h2 = qh.unwrap!Human; assert(h2 is h1); // structural upcast (two steps) Quack qx = h1.wrap!Quack; // Human -> Quack Flyer fx = qx.wrap!Flyer; // Quack -> Flyer assert(fx.height == 20); // calls Human.height // strucural downcast (two steps) Quack qy = fx.unwrap!Quack; // Flyer -> Quack Human hy = qy.unwrap!Human; // Quack -> Human assert(hy is h1); // strucural downcast (one step) Human hz = fx.unwrap!Human; // Flyer -> Human assert(hz is h1); } /// unittest { interface A { int run(); } interface B { int stop(); @property int status(); } class X { int run() { return 1; } int stop() { return 2; } @property int status() { return 3; } } auto x = new X(); auto ab = x.wrap!(A, B); A a = ab; B b = ab; assert(a.run() == 1); assert(b.stop() == 2); assert(b.status == 3); static assert(functionAttributes!(typeof(ab).status) & FunctionAttribute.property); } unittest { class A { int draw() { return 1; } int draw(int v) { return v; } int draw() const { return 2; } int draw() shared { return 3; } int draw() shared const { return 4; } int draw() immutable { return 5; } } interface Drawable { int draw(); int draw() const; int draw() shared; int draw() shared const; int draw() immutable; } interface Drawable2 { int draw(int v); } auto ma = new A(); auto sa = new shared A(); auto ia = new immutable A(); { Drawable md = ma.wrap!Drawable; const Drawable cd = ma.wrap!Drawable; shared Drawable sd = sa.wrap!Drawable; shared const Drawable scd = sa.wrap!Drawable; immutable Drawable id = ia.wrap!Drawable; assert( md.draw() == 1); assert( cd.draw() == 2); assert( sd.draw() == 3); assert(scd.draw() == 4); assert( id.draw() == 5); } { Drawable2 d = ma.wrap!Drawable2; static assert(!__traits(compiles, d.draw())); assert(d.draw(10) == 10); } } unittest { // Bugzilla 10377 import std.range, std.algorithm; interface MyInputRange(T) { @property T front(); void popFront(); @property bool empty(); } //auto o = iota(0,10,1).inputRangeObject(); //pragma(msg, __traits(allMembers, typeof(o))); auto r = iota(0,10,1).inputRangeObject().wrap!(MyInputRange!int)(); assert(equal(r, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9])); } unittest { // Bugzilla 10536 interface Interface { int foo(); } class Pluggable { int foo() { return 1; } @disable void opCast(T, this X)(); // ! } Interface i = new Pluggable().wrap!Interface; assert(i.foo() == 1); } unittest { // Enhancement 10538 interface Interface { int foo(); int bar(int); } class Pluggable { int opDispatch(string name, A...)(A args) { return 100; } } Interface i = wrap!Interface(new Pluggable()); assert(i.foo() == 100); assert(i.bar(10) == 100); } // Make a tuple of non-static function symbols private template GetOverloadedMethods(T) { import std.typetuple : Filter; alias allMembers = TypeTuple!(__traits(allMembers, T)); template follows(size_t i = 0) { static if (i >= allMembers.length) { alias follows = TypeTuple!(); } else static if (!__traits(compiles, mixin("T."~allMembers[i]))) { alias follows = follows!(i + 1); } else { enum name = allMembers[i]; template isMethod(alias f) { static if (is(typeof(&f) F == F*) && is(F == function)) enum isMethod = !__traits(isStaticFunction, f); else enum isMethod = false; } alias follows = TypeTuple!( std.typetuple.Filter!(isMethod, __traits(getOverloads, T, name)), follows!(i + 1)); } } alias GetOverloadedMethods = follows!(); } // find a function from Fs that has same identifier and covariant type with f private template findCovariantFunction(alias finfo, Source, Fs...) { template check(size_t i = 0) { static if (i >= Fs.length) enum ptrdiff_t check = -1; else { enum ptrdiff_t check = (finfo.name == __traits(identifier, Fs[i])) && isCovariantWith!(FunctionTypeOf!(Fs[i]), finfo.type) ? i : check!(i + 1); } } enum x = check!(); static if (x == -1 && is(typeof(Source.opDispatch))) { alias Params = ParameterTypeTuple!(finfo.type); enum ptrdiff_t findCovariantFunction = is(typeof(( Source).init.opDispatch!(finfo.name)(Params.init))) || is(typeof(( const Source).init.opDispatch!(finfo.name)(Params.init))) || is(typeof(( immutable Source).init.opDispatch!(finfo.name)(Params.init))) || is(typeof(( shared Source).init.opDispatch!(finfo.name)(Params.init))) || is(typeof((shared const Source).init.opDispatch!(finfo.name)(Params.init))) ? ptrdiff_t.max : -1; } else enum ptrdiff_t findCovariantFunction = x; } private enum TypeModifier { mutable = 0, // type is mutable const_ = 1, // type is const immutable_ = 2, // type is immutable shared_ = 4, // type is shared inout_ = 8, // type is wild } private template TypeMod(T) { static if (is(T == immutable)) { enum mod1 = TypeModifier.immutable_; enum mod2 = 0; } else { enum mod1 = is(T == shared) ? TypeModifier.shared_ : 0; static if (is(T == const)) enum mod2 = TypeModifier.const_; else static if (is(T == inout)) enum mod2 = TypeModifier.inout_; else enum mod2 = TypeModifier.mutable; } enum TypeMod = cast(TypeModifier)(mod1 | mod2); } version(unittest) { private template UnittestFuncInfo(alias f) { enum name = __traits(identifier, f); alias type = FunctionTypeOf!f; } } unittest { class A { int draw() { return 1; } @property int value() { return 2; } final int run() { return 3; } } alias methods = GetOverloadedMethods!A; alias int F1(); alias @property int F2(); alias string F3(); alias nothrow @trusted uint F4(); alias int F5(Object); alias bool F6(Object); static assert(methods.length == 3 + 4); static assert(__traits(identifier, methods[0]) == "draw" && is(typeof(&methods[0]) == F1*)); static assert(__traits(identifier, methods[1]) == "value" && is(typeof(&methods[1]) == F2*)); static assert(__traits(identifier, methods[2]) == "run" && is(typeof(&methods[2]) == F1*)); int draw() { return 0; } @property int value() { return 0; } void opEquals() {} int nomatch() { return 0; } static assert(findCovariantFunction!(UnittestFuncInfo!draw, A, methods) == 0); static assert(findCovariantFunction!(UnittestFuncInfo!value, A, methods) == 1); static assert(findCovariantFunction!(UnittestFuncInfo!opEquals, A, methods) == -1); static assert(findCovariantFunction!(UnittestFuncInfo!nomatch, A, methods) == -1); // considering opDispatch class B { void opDispatch(string name, A...)(A) {} } alias methodsB = GetOverloadedMethods!B; static assert(findCovariantFunction!(UnittestFuncInfo!draw, B, methodsB) == ptrdiff_t.max); static assert(findCovariantFunction!(UnittestFuncInfo!value, B, methodsB) == ptrdiff_t.max); static assert(findCovariantFunction!(UnittestFuncInfo!opEquals, B, methodsB) == ptrdiff_t.max); static assert(findCovariantFunction!(UnittestFuncInfo!nomatch, B, methodsB) == ptrdiff_t.max); } private template DerivedFunctionType(T...) { static if (!T.length) { alias DerivedFunctionType = void; } else static if (T.length == 1) { static if (is(T[0] == function)) { alias DerivedFunctionType = T[0]; } else { alias DerivedFunctionType = void; } } else static if (is(T[0] P0 == function) && is(T[1] P1 == function)) { alias FA = FunctionAttribute; alias F0 = T[0], R0 = ReturnType!F0, PSTC0 = ParameterStorageClassTuple!F0; alias F1 = T[1], R1 = ReturnType!F1, PSTC1 = ParameterStorageClassTuple!F1; enum FA0 = functionAttributes!F0; enum FA1 = functionAttributes!F1; template CheckParams(size_t i = 0) { static if (i >= P0.length) enum CheckParams = true; else { enum CheckParams = (is(P0[i] == P1[i]) && PSTC0[i] == PSTC1[i]) && CheckParams!(i + 1); } } static if (R0.sizeof == R1.sizeof && !is(CommonType!(R0, R1) == void) && P0.length == P1.length && CheckParams!() && TypeMod!F0 == TypeMod!F1 && variadicFunctionStyle!F0 == variadicFunctionStyle!F1 && functionLinkage!F0 == functionLinkage!F1 && ((FA0 ^ FA1) & (FA.ref_ | FA.property)) == 0) { alias R = Select!(is(R0 : R1), R0, R1); alias FX = FunctionTypeOf!(R function(P0)); alias FY = SetFunctionAttributes!(FX, functionLinkage!F0, FA0 | FA1); alias DerivedFunctionType = DerivedFunctionType!(FY, T[2 .. $]); } else alias DerivedFunctionType = void; } else alias DerivedFunctionType = void; } unittest { // attribute covariance alias int F1(); static assert(is(DerivedFunctionType!(F1, F1) == F1)); alias int F2() pure nothrow; static assert(is(DerivedFunctionType!(F1, F2) == F2)); alias int F3() @safe; alias int F23() pure nothrow @safe; static assert(is(DerivedFunctionType!(F2, F3) == F23)); // return type covariance alias long F4(); static assert(is(DerivedFunctionType!(F1, F4) == void)); class C {} class D : C {} alias C F5(); alias D F6(); static assert(is(DerivedFunctionType!(F5, F6) == F6)); alias typeof(null) F7(); alias int[] F8(); alias int* F9(); static assert(is(DerivedFunctionType!(F5, F7) == F7)); static assert(is(DerivedFunctionType!(F7, F8) == void)); static assert(is(DerivedFunctionType!(F7, F9) == F7)); // variadic type equality alias int F10(int); alias int F11(int...); alias int F12(int, ...); static assert(is(DerivedFunctionType!(F10, F11) == void)); static assert(is(DerivedFunctionType!(F10, F12) == void)); static assert(is(DerivedFunctionType!(F11, F12) == void)); // linkage equality alias extern(C) int F13(int); alias extern(D) int F14(int); alias extern(Windows) int F15(int); static assert(is(DerivedFunctionType!(F13, F14) == void)); static assert(is(DerivedFunctionType!(F13, F15) == void)); static assert(is(DerivedFunctionType!(F14, F15) == void)); // ref & @property equality alias int F16(int); alias ref int F17(int); alias @property int F18(int); static assert(is(DerivedFunctionType!(F16, F17) == void)); static assert(is(DerivedFunctionType!(F16, F18) == void)); static assert(is(DerivedFunctionType!(F17, F18) == void)); } private template staticIota(int beg, int end) { static if (beg + 1 >= end) { static if (beg >= end) { alias staticIota = TypeTuple!(); } else { alias staticIota = TypeTuple!(+beg); } } else { enum mid = beg + (end - beg) / 2; alias staticIota = TypeTuple!(staticIota!(beg, mid), staticIota!(mid, end)); } } private template mixinAll(mixins...) { static if (mixins.length == 1) { static if (is(typeof(mixins[0]) == string)) { mixin(mixins[0]); } else { alias it = mixins[0]; mixin it; } } else static if (mixins.length >= 2) { mixin mixinAll!(mixins[ 0 .. $/2]); mixin mixinAll!(mixins[$/2 .. $ ]); } } private template Bind(alias Template, args1...) { alias Bind(args2...) = Template!(args1, args2); } /** Options regarding auto-initialization of a $(D RefCounted) object (see the definition of $(D RefCounted) below). */ enum RefCountedAutoInitialize { /// Do not auto-initialize the object no, /// Auto-initialize the object yes, } /** Defines a reference-counted object containing a $(D T) value as payload. $(D RefCounted) keeps track of all references of an object, and when the reference count goes down to zero, frees the underlying store. $(D RefCounted) uses $(D malloc) and $(D free) for operation. $(D RefCounted) is unsafe and should be used with care. No references to the payload should be escaped outside the $(D RefCounted) object. The $(D autoInit) option makes the object ensure the store is automatically initialized. Leaving $(D autoInit == RefCountedAutoInitialize.yes) (the default option) is convenient but has the cost of a test whenever the payload is accessed. If $(D autoInit == RefCountedAutoInitialize.no), user code must call either $(D refCountedStore.isInitialized) or $(D refCountedStore.ensureInitialized) before attempting to access the payload. Not doing so results in null pointer dereference. Example: ---- // A pair of an $(D int) and a $(D size_t) - the latter being the // reference count - will be dynamically allocated auto rc1 = RefCounted!int(5); assert(rc1 == 5); // No more allocation, add just one extra reference count auto rc2 = rc1; // Reference semantics rc2 = 42; assert(rc1 == 42); // the pair will be freed when rc1 and rc2 go out of scope ---- */ struct RefCounted(T, RefCountedAutoInitialize autoInit = RefCountedAutoInitialize.yes) if (!is(T == class)) { /// $(D RefCounted) storage implementation. struct RefCountedStore { private struct Impl { T _payload; size_t _count; } private Impl* _store; private void initialize(A...)(auto ref A args) { import core.memory : GC; import core.stdc.stdlib : malloc; import std.conv : emplace; import std.exception : enforce; _store = cast(Impl*) enforce(malloc(Impl.sizeof)); static if (hasIndirections!T) GC.addRange(&_store._payload, T.sizeof); emplace(&_store._payload, args); _store._count = 1; } /** Returns $(D true) if and only if the underlying store has been allocated and initialized. */ @property nothrow @safe bool isInitialized() const { return _store !is null; } /** Returns underlying reference count if it is allocated and initialized (a positive integer), and $(D 0) otherwise. */ @property nothrow @safe size_t refCount() const { return isInitialized ? _store._count : 0; } /** Makes sure the payload was properly initialized. Such a call is typically inserted before using the payload. */ void ensureInitialized() { if (!isInitialized) initialize(); } } RefCountedStore _refCounted; /// Returns storage implementation struct. @property nothrow @safe ref inout(RefCountedStore) refCountedStore() inout { return _refCounted; } /** Constructor that initializes the payload. Postcondition: $(D refCountedStore.isInitialized) */ this(A...)(auto ref A args) if (A.length > 0) { _refCounted.initialize(args); } /** Constructor that tracks the reference count appropriately. If $(D !refCountedStore.isInitialized), does nothing. */ this(this) { if (!_refCounted.isInitialized) return; ++_refCounted._store._count; } /** Destructor that tracks the reference count appropriately. If $(D !refCountedStore.isInitialized), does nothing. When the reference count goes down to zero, calls $(D destroy) agaist the payload and calls $(D free) to deallocate the corresponding resource. */ ~this() { if (!_refCounted.isInitialized) return; assert(_refCounted._store._count > 0); if (--_refCounted._store._count) return; // Done, deallocate .destroy(_refCounted._store._payload); static if (hasIndirections!T) { import core.memory : GC; GC.removeRange(&_refCounted._store._payload); } import core.stdc.stdlib : free; free(_refCounted._store); _refCounted._store = null; } /** Assignment operators */ void opAssign(typeof(this) rhs) { import std.algorithm : swap; swap(_refCounted._store, rhs._refCounted._store); } /// Ditto void opAssign(T rhs) { import std.algorithm : move; static if (autoInit == RefCountedAutoInitialize.yes) { _refCounted.ensureInitialized(); } else { assert(_refCounted.isInitialized); } move(rhs, _refCounted._store._payload); } //version to have a single properly ddoc'ed function (w/ correct sig) version(StdDdoc) { /** Returns a reference to the payload. If (autoInit == RefCountedAutoInitialize.yes), calls $(D refCountedStore.ensureInitialized). Otherwise, just issues $(D assert(refCountedStore.isInitialized)). Used with $(D alias refCountedPayload this;), so callers can just use the $(D RefCounted) object as a $(D T). $(BLUE The first overload exists only if $(D autoInit == RefCountedAutoInitialize.yes).) So if $(D autoInit == RefCountedAutoInitialize.no) or called for a constant or immutable object, then $(D refCountedPayload) will also be qualified as safe and nothrow (but will still assert if not initialized). */ @property ref T refCountedPayload(); /// ditto @property nothrow @safe ref inout(T) refCountedPayload() inout; } else { static if (autoInit == RefCountedAutoInitialize.yes) { //Can't use inout here because of potential mutation @property ref T refCountedPayload() { _refCounted.ensureInitialized(); return _refCounted._store._payload; } } @property nothrow @safe ref inout(T) refCountedPayload() inout { assert(_refCounted.isInitialized, "Attempted to access an uninitialized payload."); return _refCounted._store._payload; } } /** Returns a reference to the payload. If (autoInit == RefCountedAutoInitialize.yes), calls $(D refCountedStore.ensureInitialized). Otherwise, just issues $(D assert(refCountedStore.isInitialized)). */ alias refCountedPayload this; } unittest { RefCounted!int* p; { auto rc1 = RefCounted!int(5); p = &rc1; assert(rc1 == 5); assert(rc1._refCounted._store._count == 1); auto rc2 = rc1; assert(rc1._refCounted._store._count == 2); // Reference semantics rc2 = 42; assert(rc1 == 42); rc2 = rc2; assert(rc2._refCounted._store._count == 2); rc1 = rc2; assert(rc1._refCounted._store._count == 2); } assert(p._refCounted._store == null); // RefCounted as a member struct A { RefCounted!int x; this(int y) { x._refCounted.initialize(y); } A copy() { auto another = this; return another; } } auto a = A(4); auto b = a.copy(); assert(a.x._refCounted._store._count == 2, "BUG 4356 still unfixed"); } unittest { import std.algorithm : swap; RefCounted!int p1, p2; swap(p1, p2); } // 6606 unittest { union U { size_t i; void* p; } struct S { U u; } alias SRC = RefCounted!S; } // 6436 unittest { struct S { this(ref int val) { assert(val == 3); ++val; } } int val = 3; auto s = RefCounted!S(val); assert(val == 4); } unittest { RefCounted!int a; a = 5; //This should not assert assert(a == 5); RefCounted!int b; b = a; //This should not assert either assert(b == 5); } /** Make proxy for $(D a). Example: ---- struct MyInt { private int value; mixin Proxy!value; this(int n){ value = n; } } MyInt n = 10; // Enable operations that original type has. ++n; assert(n == 11); assert(n * 2 == 22); void func(int n) { } // Disable implicit conversions to original type. //int x = n; //func(n); ---- */ mixin template Proxy(alias a) { auto ref opEquals(this X, B)(auto ref B b) { static if (is(immutable B == immutable typeof(this))) { import std.algorithm; static assert(startsWith(a.stringof, "this.")); return a == mixin("b."~a.stringof[5..$]); // remove "this." } else return a == b; } auto ref opCmp(this X, B)(auto ref B b) if (!is(typeof(a.opCmp(b))) || !is(typeof(b.opCmp(a)))) { static if (is(typeof(a.opCmp(b)))) return a.opCmp(b); else static if (is(typeof(b.opCmp(a)))) return -b.opCmp(a); else return a < b ? -1 : a > b ? +1 : 0; } auto ref opCall(this X, Args...)(auto ref Args args) { return a(args); } auto ref opCast(T, this X)() { return cast(T)a; } auto ref opIndex(this X, D...)(auto ref D i) { return a[i]; } auto ref opSlice(this X )() { return a[]; } auto ref opSlice(this X, B, E)(auto ref B b, auto ref E e) { return a[b..e]; } auto ref opUnary (string op, this X )() { return mixin(op~"a"); } auto ref opIndexUnary(string op, this X, D...)(auto ref D i) { return mixin(op~"a[i]"); } auto ref opSliceUnary(string op, this X )() { return mixin(op~"a[]"); } auto ref opSliceUnary(string op, this X, B, E)(auto ref B b, auto ref E e) { return mixin(op~"a[b..e]"); } auto ref opBinary(string op, this X, B)(auto ref B b) if (op == "in" && is(typeof(a in b)) || op != "in") { return mixin("a "~op~" b"); } auto ref opBinaryRight(string op, this X, B)(auto ref B b) { return mixin("b "~op~" a"); } static if (!is(typeof(this) == class)) { private import std.traits; static if (isAssignable!(typeof(a))) { auto ref opAssign(this X)(auto ref typeof(this) v) { a = mixin("v."~a.stringof[5..$]); // remove "this." return this; } } else { @disable void opAssign(this X)(auto ref typeof(this) v); } } auto ref opAssign (this X, V )(auto ref V v) if (!is(V == typeof(this))) { return a = v; } auto ref opIndexAssign(this X, V, D...)(auto ref V v, auto ref D i) { return a[i] = v; } auto ref opSliceAssign(this X, V )(auto ref V v) { return a[] = v; } auto ref opSliceAssign(this X, V, B, E)(auto ref V v, auto ref B b, auto ref E e) { return a[b..e] = v; } auto ref opOpAssign (string op, this X, V )(auto ref V v) { return mixin("a " ~op~"= v"); } auto ref opIndexOpAssign(string op, this X, V, D...)(auto ref V v, auto ref D i) { return mixin("a[i] " ~op~"= v"); } auto ref opSliceOpAssign(string op, this X, V )(auto ref V v) { return mixin("a[] " ~op~"= v"); } auto ref opSliceOpAssign(string op, this X, V, B, E)(auto ref V v, auto ref B b, auto ref E e) { return mixin("a[b..e] "~op~"= v"); } template opDispatch(string name) { static if (is(typeof(__traits(getMember, a, name)) == function)) { // non template function auto ref opDispatch(this X, Args...)(auto ref Args args) { return mixin("a."~name~"(args)"); } } else static if (is(typeof({ enum x = mixin("a."~name); }))) { // built-in type field, manifest constant, and static non-mutable field enum opDispatch = mixin("a."~name); } else static if (is(typeof(mixin("a."~name))) || __traits(getOverloads, a, name).length != 0) { // field or property function @property auto ref opDispatch(this X)() { return mixin("a."~name); } @property auto ref opDispatch(this X, V)(auto ref V v) { return mixin("a."~name~" = v"); } } else { // member template template opDispatch(T...) { auto ref opDispatch(this X, Args...)(auto ref Args args){ return mixin("a."~name~"!T(args)"); } } } } static if (isArray!(typeof(a))) { auto opDollar() const { return a.length; } } else static if (is(typeof(a.opDollar!0))) { auto ref opDollar(size_t pos)() { return a.opDollar!pos(); } } else static if (is(typeof(a.opDollar) == function)) { auto ref opDollar() { return a.opDollar(); } } else static if (is(typeof(a.opDollar))) { alias opDollar = a.opDollar; } } unittest { static struct MyInt { private int value; mixin Proxy!value; this(int n) inout { value = n; } enum str = "str"; static immutable arr = [1,2,3]; } foreach (T; TypeTuple!(MyInt, const MyInt, immutable MyInt)) { T m = 10; static assert(!__traits(compiles, { int x = m; })); static assert(!__traits(compiles, { void func(int n){} func(m); })); assert(m == 10); assert(m != 20); assert(m < 20); assert(+m == 10); assert(-m == -10); assert(cast(double)m == 10.0); assert(m + 10 == 20); assert(m - 5 == 5); assert(m * 20 == 200); assert(m / 2 == 5); assert(10 + m == 20); assert(15 - m == 5); assert(20 * m == 200); assert(50 / m == 5); static if (is(T == MyInt)) // mutable { assert(++m == 11); assert(m++ == 11); assert(m == 12); assert(--m == 11); assert(m-- == 11); assert(m == 10); m = m; m = 20; assert(m == 20); } static assert(T.max == int.max); static assert(T.min == int.min); static assert(T.init == int.init); static assert(T.str == "str"); static assert(T.arr == [1,2,3]); } } unittest { static struct MyArray { private int[] value; mixin Proxy!value; this(int[] arr) { value = arr; } this(immutable int[] arr) immutable { value = arr; } } foreach (T; TypeTuple!(MyArray, const MyArray, immutable MyArray)) { static if (is(T == immutable) && !is(typeof({ T a = [1,2,3,4]; }))) T a = [1,2,3,4].idup; // workaround until qualified ctor is properly supported else T a = [1,2,3,4]; assert(a == [1,2,3,4]); assert(a != [5,6,7,8]); assert(+a[0] == 1); version (LittleEndian) assert(cast(ulong[])a == [0x0000_0002_0000_0001, 0x0000_0004_0000_0003]); else assert(cast(ulong[])a == [0x0000_0001_0000_0002, 0x0000_0003_0000_0004]); assert(a ~ [10,11] == [1,2,3,4,10,11]); assert(a[0] == 1); assert(a[] == [1,2,3,4]); assert(a[2..4] == [3,4]); static if (is(T == MyArray)) // mutable { a = a; a = [5,6,7,8]; assert(a == [5,6,7,8]); a[0] = 0; assert(a == [0,6,7,8]); a[] = 1; assert(a == [1,1,1,1]); a[0..3] = 2; assert(a == [2,2,2,1]); a[0] += 2; assert(a == [4,2,2,1]); a[] *= 2; assert(a == [8,4,4,2]); a[0..2] /= 2; assert(a == [4,2,4,2]); } } } unittest { class Foo { int field; @property const int val1(){ return field; } @property void val1(int n){ field = n; } @property ref int val2(){ return field; } const int func(int x, int y){ return x; } void func1(ref int a){ a = 9; } T opCast(T)(){ return T.init; } T tempfunc(T)() { return T.init; } } class Hoge { Foo foo; mixin Proxy!foo; this(Foo f) { foo = f; } } auto h = new Hoge(new Foo()); int n; static assert(!__traits(compiles, { Foo f = h; })); // field h.field = 1; // lhs of assign n = h.field; // rhs of assign assert(h.field == 1); // lhs of BinExp assert(1 == h.field); // rhs of BinExp assert(n == 1); // getter/setter property function h.val1 = 4; n = h.val1; assert(h.val1 == 4); assert(4 == h.val1); assert(n == 4); // ref getter property function h.val2 = 8; n = h.val2; assert(h.val2 == 8); assert(8 == h.val2); assert(n == 8); // member function assert(h.func(2,4) == 2); h.func1(n); assert(n == 9); // bug5896 test assert(h.opCast!int() == 0); assert(cast(int)h == 0); const ih = new const Hoge(new Foo()); static assert(!__traits(compiles, ih.opCast!int())); static assert(!__traits(compiles, cast(int)ih)); // template member function assert(h.tempfunc!int() == 0); } unittest { struct MyInt { int payload; mixin Proxy!payload; } MyInt v; v = v; struct Foo { @disable void opAssign(typeof(this)); } struct MyFoo { Foo payload; mixin Proxy!payload; } MyFoo f; static assert(!__traits(compiles, f = f)); struct MyFoo2 { Foo payload; mixin Proxy!payload; // override default Proxy behavior void opAssign(typeof(this) rhs){} } MyFoo2 f2; f2 = f2; } unittest { // bug8613 static struct Name { mixin Proxy!val; private string val; this(string s) { val = s; } } bool[Name] names; names[Name("a")] = true; bool* b = Name("a") in names; } /** Library typedef. */ alias Typedef(T) = .Typedef!(T, T.init); /// ditto struct Typedef(T, T init, string cookie=null) { private T Typedef_payload = init; this(T init) { Typedef_payload = init; } mixin Proxy!Typedef_payload; } unittest { Typedef!int x = 10; static assert(!__traits(compiles, { int y = x; })); static assert(!__traits(compiles, { long z = x; })); Typedef!int y = 10; assert(x == y); static assert(Typedef!int.init == int.init); Typedef!(float, 1.0) z; // specifies the init assert(z == 1.0); static assert(typeof(z).init == 1.0); alias Dollar = Typedef!(int, 0, "dollar"); alias Yen = Typedef!(int, 0, "yen"); static assert(!is(Dollar == Yen)); Typedef!(int[3]) sa; static assert(sa.length == 3); static assert(typeof(sa).length == 3); Typedef!(int[3]) dollar1; assert(dollar1[0..$] is dollar1[0..3]); Typedef!(int[]) dollar2; dollar2.length = 3; assert(dollar2[0..$] is dollar2[0..3]); static struct Dollar1 { static struct DollarToken {} enum opDollar = DollarToken.init; auto opSlice(size_t, DollarToken) { return 1; } auto opSlice(size_t, size_t) { return 2; } } Typedef!Dollar1 drange1; assert(drange1[0..$] == 1); assert(drange1[0..1] == 2); static struct Dollar2 { size_t opDollar(size_t pos)() { return pos == 0 ? 1 : 100; } size_t opIndex(size_t i, size_t j) { return i + j; } } Typedef!Dollar2 drange2; assert(drange2[$, $] == 101); static struct Dollar3 { size_t opDollar() { return 123; } size_t opIndex(size_t i) { return i; } } Typedef!Dollar3 drange3; assert(drange3[$] == 123); } unittest { // bug8655 import std.typecons; import std.bitmanip; static import core.stdc.config; alias c_ulong = Typedef!(core.stdc.config.c_ulong); static struct Foo { mixin(bitfields!( c_ulong, "NameOffset", 31, c_ulong, "NameIsString", 1 )); } } /** Allocates a $(D class) object right inside the current scope, therefore avoiding the overhead of $(D new). This facility is unsafe; it is the responsibility of the user to not escape a reference to the object outside the scope. Note: it's illegal to move a class reference even if you are sure there are no pointers to it. As such, it is illegal to move a scoped object. */ template scoped(T) if (is(T == class)) { // _d_newclass now use default GC alignment (looks like (void*).sizeof * 2 for // small objects). We will just use the maximum of filed alignments. alias alignment = classInstanceAlignment!T; alias aligned = _alignUp!alignment; static struct Scoped { // Addition of `alignment` is required as `Scoped_store` can be misaligned in memory. private void[aligned(__traits(classInstanceSize, T) + size_t.sizeof) + alignment] Scoped_store = void; @property inout(T) Scoped_payload() inout { void* alignedStore = cast(void*) aligned(cast(size_t) Scoped_store.ptr); // As `Scoped` can be unaligned moved in memory class instance should be moved accordingly. immutable size_t d = alignedStore - Scoped_store.ptr; size_t* currD = cast(size_t*) &Scoped_store[$ - size_t.sizeof]; if(d != *currD) { import core.stdc.string; memmove(alignedStore, Scoped_store.ptr + *currD, __traits(classInstanceSize, T)); *currD = d; } return cast(inout(T)) alignedStore; } alias Scoped_payload this; @disable this(); @disable this(this); ~this() { // `destroy` will also write .init but we have no functions in druntime // for deterministic finalization and memory releasing for now. .destroy(Scoped_payload); } } /// Returns the scoped object @system auto scoped(Args...)(auto ref Args args) { import std.conv : emplace; Scoped result = void; void* alignedStore = cast(void*) aligned(cast(size_t) result.Scoped_store.ptr); immutable size_t d = alignedStore - result.Scoped_store.ptr; *cast(size_t*) &result.Scoped_store[$ - size_t.sizeof] = d; emplace!(Unqual!T)(result.Scoped_store[d .. $ - size_t.sizeof], args); return result; } } /// unittest { class A { int x; this() {x = 0;} this(int i){x = i;} } // Standard usage auto a1 = scoped!A(); auto a2 = scoped!A(1); a1.x = 42; assert(a1.x == 42); assert(a2.x == 1); // Restrictions static assert(!is(typeof({ auto e1 = a1; // illegal, scoped objects can't be copied assert([a2][0].x == 42); // ditto alias ScopedObject = typeof(a1); auto e2 = ScopedObject(); //Illegal, must be built via scoped!A auto e3 = ScopedObject(1); //Illegal, must be built via scoped!A }))); // Use as member variable struct B { typeof(scoped!A()) a; // note the trailing parentheses } // Use with alias alias makeScopedA = scoped!A; auto a6 = makeScopedA(); auto a7 = makeScopedA(); } private size_t _alignUp(size_t alignment)(size_t n) if(alignment > 0 && !((alignment - 1) & alignment)) { enum badEnd = alignment - 1; // 0b11, 0b111, ... return (n + badEnd) & ~badEnd; } unittest // Issue 6580 testcase { enum alignment = (void*).alignof; static class C0 { } static class C1 { byte b; } static class C2 { byte[2] b; } static class C3 { byte[3] b; } static class C7 { byte[7] b; } static assert(scoped!C0().sizeof % alignment == 0); static assert(scoped!C1().sizeof % alignment == 0); static assert(scoped!C2().sizeof % alignment == 0); static assert(scoped!C3().sizeof % alignment == 0); static assert(scoped!C7().sizeof % alignment == 0); enum longAlignment = long.alignof; static class C1long { long long_; byte byte_ = 4; this() { } this(long _long, ref int i) { long_ = _long; ++i; } } static class C2long { byte[2] byte_ = [5, 6]; long long_ = 7; } static assert(scoped!C1long().sizeof % longAlignment == 0); static assert(scoped!C2long().sizeof % longAlignment == 0); void alignmentTest() { int var = 5; auto c1long = scoped!C1long(3, var); assert(var == 6); auto c2long = scoped!C2long(); assert(cast(size_t)&c1long.long_ % longAlignment == 0); assert(cast(size_t)&c2long.long_ % longAlignment == 0); assert(c1long.long_ == 3 && c1long.byte_ == 4); assert(c2long.byte_ == [5, 6] && c2long.long_ == 7); } alignmentTest(); version(DigitalMars) { void test(size_t size) { import core.stdc.stdlib; alloca(size); alignmentTest(); } foreach(i; 0 .. 10) test(i); } else { void test(size_t size)() { byte[size] arr; alignmentTest(); } foreach(i; TypeTuple!(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)) test!i(); } } unittest // Original Issue 6580 testcase { class C { int i; byte b; } auto sa = [scoped!C(), scoped!C()]; assert(cast(size_t)&sa[0].i % int.alignof == 0); assert(cast(size_t)&sa[1].i % int.alignof == 0); // fails } unittest { class A { int x = 1; } auto a1 = scoped!A(); assert(a1.x == 1); auto a2 = scoped!A(); a1.x = 42; a2.x = 53; assert(a1.x == 42); } unittest { class A { int x = 1; this() { x = 2; } } auto a1 = scoped!A(); assert(a1.x == 2); auto a2 = scoped!A(); a1.x = 42; a2.x = 53; assert(a1.x == 42); } unittest { class A { int x = 1; this(int y) { x = y; } ~this() {} } auto a1 = scoped!A(5); assert(a1.x == 5); auto a2 = scoped!A(42); a1.x = 42; a2.x = 53; assert(a1.x == 42); } unittest { class A { static bool dead; ~this() { dead = true; } } class B : A { static bool dead; ~this() { dead = true; } } { auto b = scoped!B(); } assert(B.dead, "asdasd"); assert(A.dead, "asdasd"); } unittest // Issue 8039 testcase { static int dels; static struct S { ~this(){ ++dels; } } static class A { S s; } dels = 0; { scoped!A(); } assert(dels == 1); static class B { S[2] s; } dels = 0; { scoped!B(); } assert(dels == 2); static struct S2 { S[3] s; } static class C { S2[2] s; } dels = 0; { scoped!C(); } assert(dels == 6); static class D: A { S2[2] s; } dels = 0; { scoped!D(); } assert(dels == 1+6); } unittest { // bug4500 class A { this() { a = this; } this(int i) { a = this; } A a; bool check() { return this is a; } } auto a1 = scoped!A(); assert(a1.check()); auto a2 = scoped!A(1); assert(a2.check()); a1.a = a1; assert(a1.check()); } unittest { static class A { static int sdtor; this() { ++sdtor; assert(sdtor == 1); } ~this() { assert(sdtor == 1); --sdtor; } } interface Bob {} static class ABob : A, Bob { this() { ++sdtor; assert(sdtor == 2); } ~this() { assert(sdtor == 2); --sdtor; } } A.sdtor = 0; scope(exit) assert(A.sdtor == 0); auto abob = scoped!ABob(); } unittest { static class A { this(int) {} } static assert(!__traits(compiles, scoped!A())); } unittest { static class A { @property inout(int) foo() inout { return 1; } } auto a1 = scoped!A(); assert(a1.foo == 1); static assert(is(typeof(a1.foo) == int)); auto a2 = scoped!(const(A))(); assert(a2.foo == 1); static assert(is(typeof(a2.foo) == const(int))); auto a3 = scoped!(immutable(A))(); assert(a3.foo == 1); static assert(is(typeof(a3.foo) == immutable(int))); const c1 = scoped!A(); assert(c1.foo == 1); static assert(is(typeof(c1.foo) == const(int))); const c2 = scoped!(const(A))(); assert(c2.foo == 1); static assert(is(typeof(c2.foo) == const(int))); const c3 = scoped!(immutable(A))(); assert(c3.foo == 1); static assert(is(typeof(c3.foo) == immutable(int))); } unittest { class C { this(ref int val) { assert(val == 3); ++val; } } int val = 3; auto s = scoped!C(val); assert(val == 4); } unittest { class C { this(){} this(int){} this(int, int){} } alias makeScopedC = scoped!C; auto a = makeScopedC(); auto b = makeScopedC(1); auto c = makeScopedC(1, 1); static assert(is(typeof(a) == typeof(b))); static assert(is(typeof(b) == typeof(c))); } /** Defines a simple, self-documenting yes/no flag. This makes it easy for APIs to define functions accepting flags without resorting to $(D bool), which is opaque in calls, and without needing to define an enumerated type separately. Using $(D Flag!"Name") instead of $(D bool) makes the flag's meaning visible in calls. Each yes/no flag has its own type, which makes confusions and mix-ups impossible. Example: ---- // Before string getLine(bool keepTerminator) { ... if (keepTerminator) ... ... } ... // Code calling getLine (usually far away from its definition) can't // be understood without looking at the documentation, even by users // familiar with the API. Assuming the reverse meaning // (i.e. "ignoreTerminator") and inserting the wrong code compiles and // runs with erroneous results. auto line = getLine(false); // After string getLine(Flag!"KeepTerminator" keepTerminator) { ... if (keepTerminator) ... ... } ... // Code calling getLine can be easily read and understood even by // people not fluent with the API. auto line = getLine(Flag!"KeepTerminator".yes); ---- Passing categorical data by means of unstructured $(D bool) parameters is classified under "simple-data coupling" by Steve McConnell in the $(LUCKY Code Complete) book, along with three other kinds of coupling. The author argues citing several studies that coupling has a negative effect on code quality. $(D Flag) offers a simple structuring method for passing yes/no flags to APIs. As a perk, the flag's name may be any string and as such can include characters not normally allowed in identifiers, such as spaces and dashes. */ template Flag(string name) { /// enum Flag : bool { /** When creating a value of type $(D Flag!"Name"), use $(D Flag!"Name".no) for the negative option. When using a value of type $(D Flag!"Name"), compare it against $(D Flag!"Name".no) or just $(D false) or $(D 0). */ no = false, /** When creating a value of type $(D Flag!"Name"), use $(D Flag!"Name".yes) for the affirmative option. When using a value of type $(D Flag!"Name"), compare it against $(D Flag!"Name".yes). */ yes = true } } /** Convenience names that allow using e.g. $(D Yes.encryption) instead of $(D Flag!"encryption".yes) and $(D No.encryption) instead of $(D Flag!"encryption".no). */ struct Yes { template opDispatch(string name) { enum opDispatch = Flag!name.yes; } } //template yes(string name) { enum Flag!name yes = Flag!name.yes; } /// Ditto struct No { template opDispatch(string name) { enum opDispatch = Flag!name.no; } } //template no(string name) { enum Flag!name no = Flag!name.no; } unittest { Flag!"abc" flag1; assert(flag1 == Flag!"abc".no); assert(flag1 == No.abc); assert(!flag1); if (flag1) assert(false); flag1 = Yes.abc; assert(flag1); if (!flag1) assert(false); if (flag1) {} else assert(false); assert(flag1 == Yes.abc); }
D
/* * This file generated automatically from xselinux.xml by d_client.py. * Edit at your peril. */ /** * @defgroup XCB_SELinux_API XCB SELinux API * @brief SELinux XCB Protocol Implementation. * @{ **/ module interim.xcb.xselinux; import interim.xcb.xcb; import interim.xcb.xproto; const int XCB_SELINUX_MAJOR_VERSION = 1; const int XCB_SELINUX_MINOR_VERSION = 0; extern(C) xcb_extension_t xcb_selinux_id; /** * @brief xcb_selinux_query_version_cookie_t **/ struct xcb_selinux_query_version_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_query_version. */ const ubyte XCB_SELINUX_QUERY_VERSION = 0; /** * @brief xcb_selinux_query_version_request_t **/ struct xcb_selinux_query_version_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ ubyte client_major; /**< */ ubyte client_minor; /**< */ } /** * @brief xcb_selinux_query_version_reply_t **/ struct xcb_selinux_query_version_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ ushort server_major; /**< */ ushort server_minor; /**< */ } /** Opcode for xcb_selinux_set_device_create_context. */ const ubyte XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT = 1; /** * @brief xcb_selinux_set_device_create_context_request_t **/ struct xcb_selinux_set_device_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint context_len; /**< */ } /** * @brief xcb_selinux_get_device_create_context_cookie_t **/ struct xcb_selinux_get_device_create_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_device_create_context. */ const ubyte XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT = 2; /** * @brief xcb_selinux_get_device_create_context_request_t **/ struct xcb_selinux_get_device_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ } /** * @brief xcb_selinux_get_device_create_context_reply_t **/ struct xcb_selinux_get_device_create_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** Opcode for xcb_selinux_set_device_context. */ const ubyte XCB_SELINUX_SET_DEVICE_CONTEXT = 3; /** * @brief xcb_selinux_set_device_context_request_t **/ struct xcb_selinux_set_device_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint device; /**< */ uint context_len; /**< */ } /** * @brief xcb_selinux_get_device_context_cookie_t **/ struct xcb_selinux_get_device_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_device_context. */ const ubyte XCB_SELINUX_GET_DEVICE_CONTEXT = 4; /** * @brief xcb_selinux_get_device_context_request_t **/ struct xcb_selinux_get_device_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint device; /**< */ } /** * @brief xcb_selinux_get_device_context_reply_t **/ struct xcb_selinux_get_device_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** Opcode for xcb_selinux_set_window_create_context. */ const ubyte XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT = 5; /** * @brief xcb_selinux_set_window_create_context_request_t **/ struct xcb_selinux_set_window_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint context_len; /**< */ } /** * @brief xcb_selinux_get_window_create_context_cookie_t **/ struct xcb_selinux_get_window_create_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_window_create_context. */ const ubyte XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT = 6; /** * @brief xcb_selinux_get_window_create_context_request_t **/ struct xcb_selinux_get_window_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ } /** * @brief xcb_selinux_get_window_create_context_reply_t **/ struct xcb_selinux_get_window_create_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_get_window_context_cookie_t **/ struct xcb_selinux_get_window_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_window_context. */ const ubyte XCB_SELINUX_GET_WINDOW_CONTEXT = 7; /** * @brief xcb_selinux_get_window_context_request_t **/ struct xcb_selinux_get_window_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ xcb_window_t window; /**< */ } /** * @brief xcb_selinux_get_window_context_reply_t **/ struct xcb_selinux_get_window_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_list_item_t **/ struct xcb_selinux_list_item_t { xcb_atom_t name; /**< */ uint object_context_len; /**< */ uint data_context_len; /**< */ } /** * @brief xcb_selinux_list_item_iterator_t **/ struct xcb_selinux_list_item_iterator_t { xcb_selinux_list_item_t *data; /**< */ int rem; /**< */ int index; /**< */ } /** Opcode for xcb_selinux_set_property_create_context. */ const ubyte XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT = 8; /** * @brief xcb_selinux_set_property_create_context_request_t **/ struct xcb_selinux_set_property_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint context_len; /**< */ } /** * @brief xcb_selinux_get_property_create_context_cookie_t **/ struct xcb_selinux_get_property_create_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_property_create_context. */ const ubyte XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT = 9; /** * @brief xcb_selinux_get_property_create_context_request_t **/ struct xcb_selinux_get_property_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ } /** * @brief xcb_selinux_get_property_create_context_reply_t **/ struct xcb_selinux_get_property_create_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** Opcode for xcb_selinux_set_property_use_context. */ const ubyte XCB_SELINUX_SET_PROPERTY_USE_CONTEXT = 10; /** * @brief xcb_selinux_set_property_use_context_request_t **/ struct xcb_selinux_set_property_use_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint context_len; /**< */ } /** * @brief xcb_selinux_get_property_use_context_cookie_t **/ struct xcb_selinux_get_property_use_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_property_use_context. */ const ubyte XCB_SELINUX_GET_PROPERTY_USE_CONTEXT = 11; /** * @brief xcb_selinux_get_property_use_context_request_t **/ struct xcb_selinux_get_property_use_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ } /** * @brief xcb_selinux_get_property_use_context_reply_t **/ struct xcb_selinux_get_property_use_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_get_property_context_cookie_t **/ struct xcb_selinux_get_property_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_property_context. */ const ubyte XCB_SELINUX_GET_PROPERTY_CONTEXT = 12; /** * @brief xcb_selinux_get_property_context_request_t **/ struct xcb_selinux_get_property_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ xcb_window_t window; /**< */ xcb_atom_t property; /**< */ } /** * @brief xcb_selinux_get_property_context_reply_t **/ struct xcb_selinux_get_property_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_get_property_data_context_cookie_t **/ struct xcb_selinux_get_property_data_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_property_data_context. */ const ubyte XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT = 13; /** * @brief xcb_selinux_get_property_data_context_request_t **/ struct xcb_selinux_get_property_data_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ xcb_window_t window; /**< */ xcb_atom_t property; /**< */ } /** * @brief xcb_selinux_get_property_data_context_reply_t **/ struct xcb_selinux_get_property_data_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_list_properties_cookie_t **/ struct xcb_selinux_list_properties_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_list_properties. */ const ubyte XCB_SELINUX_LIST_PROPERTIES = 14; /** * @brief xcb_selinux_list_properties_request_t **/ struct xcb_selinux_list_properties_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ xcb_window_t window; /**< */ } /** * @brief xcb_selinux_list_properties_reply_t **/ struct xcb_selinux_list_properties_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint properties_len; /**< */ ubyte pad1[20]; /**< */ } /** Opcode for xcb_selinux_set_selection_create_context. */ const ubyte XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT = 15; /** * @brief xcb_selinux_set_selection_create_context_request_t **/ struct xcb_selinux_set_selection_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint context_len; /**< */ } /** * @brief xcb_selinux_get_selection_create_context_cookie_t **/ struct xcb_selinux_get_selection_create_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_selection_create_context. */ const ubyte XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT = 16; /** * @brief xcb_selinux_get_selection_create_context_request_t **/ struct xcb_selinux_get_selection_create_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ } /** * @brief xcb_selinux_get_selection_create_context_reply_t **/ struct xcb_selinux_get_selection_create_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** Opcode for xcb_selinux_set_selection_use_context. */ const ubyte XCB_SELINUX_SET_SELECTION_USE_CONTEXT = 17; /** * @brief xcb_selinux_set_selection_use_context_request_t **/ struct xcb_selinux_set_selection_use_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint context_len; /**< */ } /** * @brief xcb_selinux_get_selection_use_context_cookie_t **/ struct xcb_selinux_get_selection_use_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_selection_use_context. */ const ubyte XCB_SELINUX_GET_SELECTION_USE_CONTEXT = 18; /** * @brief xcb_selinux_get_selection_use_context_request_t **/ struct xcb_selinux_get_selection_use_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ } /** * @brief xcb_selinux_get_selection_use_context_reply_t **/ struct xcb_selinux_get_selection_use_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_get_selection_context_cookie_t **/ struct xcb_selinux_get_selection_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_selection_context. */ const ubyte XCB_SELINUX_GET_SELECTION_CONTEXT = 19; /** * @brief xcb_selinux_get_selection_context_request_t **/ struct xcb_selinux_get_selection_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ xcb_atom_t selection; /**< */ } /** * @brief xcb_selinux_get_selection_context_reply_t **/ struct xcb_selinux_get_selection_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_get_selection_data_context_cookie_t **/ struct xcb_selinux_get_selection_data_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_selection_data_context. */ const ubyte XCB_SELINUX_GET_SELECTION_DATA_CONTEXT = 20; /** * @brief xcb_selinux_get_selection_data_context_request_t **/ struct xcb_selinux_get_selection_data_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ xcb_atom_t selection; /**< */ } /** * @brief xcb_selinux_get_selection_data_context_reply_t **/ struct xcb_selinux_get_selection_data_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_list_selections_cookie_t **/ struct xcb_selinux_list_selections_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_list_selections. */ const ubyte XCB_SELINUX_LIST_SELECTIONS = 21; /** * @brief xcb_selinux_list_selections_request_t **/ struct xcb_selinux_list_selections_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ } /** * @brief xcb_selinux_list_selections_reply_t **/ struct xcb_selinux_list_selections_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint selections_len; /**< */ ubyte pad1[20]; /**< */ } /** * @brief xcb_selinux_get_client_context_cookie_t **/ struct xcb_selinux_get_client_context_cookie_t { uint sequence; /**< */ } /** Opcode for xcb_selinux_get_client_context. */ const ubyte XCB_SELINUX_GET_CLIENT_CONTEXT = 22; /** * @brief xcb_selinux_get_client_context_request_t **/ struct xcb_selinux_get_client_context_request_t { ubyte major_opcode; /**< */ ubyte minor_opcode; /**< */ ushort length; /**< */ uint resource; /**< */ } /** * @brief xcb_selinux_get_client_context_reply_t **/ struct xcb_selinux_get_client_context_reply_t { ubyte response_type; /**< */ ubyte pad0; /**< */ ushort sequence; /**< */ uint length; /**< */ uint context_len; /**< */ ubyte pad1[20]; /**< */ } /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_query_version_cookie_t xcb_selinux_query_version ** ** @param xcb_connection_t *c ** @param ubyte client_major ** @param ubyte client_minor ** @returns xcb_selinux_query_version_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_query_version_cookie_t xcb_selinux_query_version (xcb_connection_t *c /**< */, ubyte client_major /**< */, ubyte client_minor /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_query_version_cookie_t xcb_selinux_query_version_unchecked ** ** @param xcb_connection_t *c ** @param ubyte client_major ** @param ubyte client_minor ** @returns xcb_selinux_query_version_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_query_version_cookie_t xcb_selinux_query_version_unchecked (xcb_connection_t *c /**< */, ubyte client_major /**< */, ubyte client_minor /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_query_version_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_query_version_reply_t * xcb_selinux_query_version_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_query_version_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_query_version_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_query_version_reply_t * xcb_selinux_query_version_reply (xcb_connection_t *c /**< */, xcb_selinux_query_version_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_set_device_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will not cause * a reply to be generated. Any returned error will be * saved for handling by xcb_request_check(). */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_device_create_context_checked ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_device_create_context_checked (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_device_create_context ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_device_create_context (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); extern(C) int xcb_selinux_get_device_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_device_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context (xcb_connection_t *c /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context_unchecked ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_device_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context_unchecked (xcb_connection_t *c /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_device_create_context_context ** ** @param const xcb_selinux_get_device_create_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_device_create_context_context_length ** ** @param const xcb_selinux_get_device_create_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_device_create_context_context_end ** ** @param const xcb_selinux_get_device_create_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_device_create_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_device_create_context_reply_t * xcb_selinux_get_device_create_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_device_create_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_device_create_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_device_create_context_reply_t * xcb_selinux_get_device_create_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_device_create_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_set_device_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will not cause * a reply to be generated. Any returned error will be * saved for handling by xcb_request_check(). */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_device_context_checked ** ** @param xcb_connection_t *c ** @param uint device ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_device_context_checked (xcb_connection_t *c /**< */, uint device /**< */, uint context_len /**< */, const char *context /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_device_context ** ** @param xcb_connection_t *c ** @param uint device ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_device_context (xcb_connection_t *c /**< */, uint device /**< */, uint context_len /**< */, const char *context /**< */); extern(C) int xcb_selinux_get_device_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context ** ** @param xcb_connection_t *c ** @param uint device ** @returns xcb_selinux_get_device_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context (xcb_connection_t *c /**< */, uint device /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context_unchecked ** ** @param xcb_connection_t *c ** @param uint device ** @returns xcb_selinux_get_device_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context_unchecked (xcb_connection_t *c /**< */, uint device /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_device_context_context ** ** @param const xcb_selinux_get_device_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_device_context_context_length ** ** @param const xcb_selinux_get_device_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_device_context_context_end ** ** @param const xcb_selinux_get_device_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_device_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_device_context_reply_t * xcb_selinux_get_device_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_device_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_device_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_device_context_reply_t * xcb_selinux_get_device_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_device_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_set_window_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will not cause * a reply to be generated. Any returned error will be * saved for handling by xcb_request_check(). */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_window_create_context_checked ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_window_create_context_checked (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_window_create_context ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_window_create_context (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); extern(C) int xcb_selinux_get_window_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_window_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context (xcb_connection_t *c /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context_unchecked ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_window_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context_unchecked (xcb_connection_t *c /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_window_create_context_context ** ** @param const xcb_selinux_get_window_create_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_window_create_context_context_length ** ** @param const xcb_selinux_get_window_create_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_window_create_context_context_end ** ** @param const xcb_selinux_get_window_create_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_window_create_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_window_create_context_reply_t * xcb_selinux_get_window_create_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_window_create_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_window_create_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_window_create_context_reply_t * xcb_selinux_get_window_create_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_window_create_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_get_window_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @returns xcb_selinux_get_window_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context (xcb_connection_t *c /**< */, xcb_window_t window /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context_unchecked ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @returns xcb_selinux_get_window_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context_unchecked (xcb_connection_t *c /**< */, xcb_window_t window /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_window_context_context ** ** @param const xcb_selinux_get_window_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_window_context_context_length ** ** @param const xcb_selinux_get_window_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_window_context_context_end ** ** @param const xcb_selinux_get_window_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_window_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_window_context_reply_t * xcb_selinux_get_window_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_window_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_window_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_window_context_reply_t * xcb_selinux_get_window_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_window_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_list_item_sizeof (const void *_buffer /**< */); /***************************************************************************** ** ** char * xcb_selinux_list_item_object_context ** ** @param const xcb_selinux_list_item_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_list_item_object_context_length ** ** @param const xcb_selinux_list_item_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_list_item_object_context_end ** ** @param const xcb_selinux_list_item_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t *R /**< */); /***************************************************************************** ** ** char * xcb_selinux_list_item_data_context ** ** @param const xcb_selinux_list_item_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_list_item_data_context_length ** ** @param const xcb_selinux_list_item_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_list_item_data_context_end ** ** @param const xcb_selinux_list_item_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t *R /**< */); /** * Get the next element of the iterator * @param i Pointer to a xcb_selinux_list_item_iterator_t * * Get the next element in the iterator. The member rem is * decreased by one. The member data points to the next * element. The member index is increased by sizeof(xcb_selinux_list_item_t) */ /***************************************************************************** ** ** void xcb_selinux_list_item_next ** ** @param xcb_selinux_list_item_iterator_t *i ** @returns void ** *****************************************************************************/ extern(C) void xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t *i /**< */); /** * Return the iterator pointing to the last element * @param i An xcb_selinux_list_item_iterator_t * @return The iterator pointing to the last element * * Set the current element in the iterator to the last element. * The member rem is set to 0. The member data points to the * last element. */ /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_list_item_end ** ** @param xcb_selinux_list_item_iterator_t i ** @returns xcb_generic_iterator_t ** *****************************************************************************/ xcb_generic_iterator_t xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i /**< */); extern(C) int xcb_selinux_set_property_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will not cause * a reply to be generated. Any returned error will be * saved for handling by xcb_request_check(). */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_property_create_context_checked ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_property_create_context_checked (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_property_create_context ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_property_create_context (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); extern(C) int xcb_selinux_get_property_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_property_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context (xcb_connection_t *c /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context_unchecked ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_property_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context_unchecked (xcb_connection_t *c /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_property_create_context_context ** ** @param const xcb_selinux_get_property_create_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_property_create_context_context_length ** ** @param const xcb_selinux_get_property_create_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_property_create_context_context_end ** ** @param const xcb_selinux_get_property_create_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_property_create_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_property_create_context_reply_t * xcb_selinux_get_property_create_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_property_create_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_property_create_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_property_create_context_reply_t * xcb_selinux_get_property_create_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_property_create_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_set_property_use_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will not cause * a reply to be generated. Any returned error will be * saved for handling by xcb_request_check(). */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_property_use_context_checked ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_property_use_context_checked (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_property_use_context ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_property_use_context (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); extern(C) int xcb_selinux_get_property_use_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_property_use_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context (xcb_connection_t *c /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context_unchecked ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_property_use_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context_unchecked (xcb_connection_t *c /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_property_use_context_context ** ** @param const xcb_selinux_get_property_use_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_property_use_context_context_length ** ** @param const xcb_selinux_get_property_use_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_property_use_context_context_end ** ** @param const xcb_selinux_get_property_use_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_property_use_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_property_use_context_reply_t * xcb_selinux_get_property_use_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_property_use_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_property_use_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_property_use_context_reply_t * xcb_selinux_get_property_use_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_property_use_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_get_property_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @param xcb_atom_t property ** @returns xcb_selinux_get_property_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context (xcb_connection_t *c /**< */, xcb_window_t window /**< */, xcb_atom_t property /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context_unchecked ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @param xcb_atom_t property ** @returns xcb_selinux_get_property_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context_unchecked (xcb_connection_t *c /**< */, xcb_window_t window /**< */, xcb_atom_t property /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_property_context_context ** ** @param const xcb_selinux_get_property_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_property_context_context_length ** ** @param const xcb_selinux_get_property_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_property_context_context_end ** ** @param const xcb_selinux_get_property_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_property_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_property_context_reply_t * xcb_selinux_get_property_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_property_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_property_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_property_context_reply_t * xcb_selinux_get_property_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_property_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_get_property_data_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @param xcb_atom_t property ** @returns xcb_selinux_get_property_data_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context (xcb_connection_t *c /**< */, xcb_window_t window /**< */, xcb_atom_t property /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context_unchecked ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @param xcb_atom_t property ** @returns xcb_selinux_get_property_data_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context_unchecked (xcb_connection_t *c /**< */, xcb_window_t window /**< */, xcb_atom_t property /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_property_data_context_context ** ** @param const xcb_selinux_get_property_data_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_property_data_context_context_length ** ** @param const xcb_selinux_get_property_data_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_property_data_context_context_end ** ** @param const xcb_selinux_get_property_data_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_property_data_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_property_data_context_reply_t * xcb_selinux_get_property_data_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_property_data_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_property_data_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_property_data_context_reply_t * xcb_selinux_get_property_data_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_property_data_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_list_properties_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @returns xcb_selinux_list_properties_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties (xcb_connection_t *c /**< */, xcb_window_t window /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties_unchecked ** ** @param xcb_connection_t *c ** @param xcb_window_t window ** @returns xcb_selinux_list_properties_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties_unchecked (xcb_connection_t *c /**< */, xcb_window_t window /**< */); /***************************************************************************** ** ** int xcb_selinux_list_properties_properties_length ** ** @param const xcb_selinux_list_properties_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t *R /**< */); /***************************************************************************** ** ** xcb_selinux_list_item_iterator_t xcb_selinux_list_properties_properties_iterator ** ** @param const xcb_selinux_list_properties_reply_t *R ** @returns xcb_selinux_list_item_iterator_t ** *****************************************************************************/ extern(C) xcb_selinux_list_item_iterator_t xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_list_properties_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_list_properties_reply_t * xcb_selinux_list_properties_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_list_properties_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_list_properties_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_list_properties_reply_t * xcb_selinux_list_properties_reply (xcb_connection_t *c /**< */, xcb_selinux_list_properties_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_set_selection_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will not cause * a reply to be generated. Any returned error will be * saved for handling by xcb_request_check(). */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_selection_create_context_checked ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_selection_create_context_checked (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_selection_create_context ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_selection_create_context (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); extern(C) int xcb_selinux_get_selection_create_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_selection_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context (xcb_connection_t *c /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context_unchecked ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_selection_create_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t *c /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_selection_create_context_context ** ** @param const xcb_selinux_get_selection_create_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_selection_create_context_context_length ** ** @param const xcb_selinux_get_selection_create_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_selection_create_context_context_end ** ** @param const xcb_selinux_get_selection_create_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_selection_create_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_selection_create_context_reply_t * xcb_selinux_get_selection_create_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_selection_create_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_selection_create_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_create_context_reply_t * xcb_selinux_get_selection_create_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_selection_create_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_set_selection_use_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will not cause * a reply to be generated. Any returned error will be * saved for handling by xcb_request_check(). */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_selection_use_context_checked ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_selection_use_context_checked (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_void_cookie_t xcb_selinux_set_selection_use_context ** ** @param xcb_connection_t *c ** @param uint context_len ** @param const char *context ** @returns xcb_void_cookie_t ** *****************************************************************************/ extern(C) xcb_void_cookie_t xcb_selinux_set_selection_use_context (xcb_connection_t *c /**< */, uint context_len /**< */, const char *context /**< */); extern(C) int xcb_selinux_get_selection_use_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_selection_use_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context (xcb_connection_t *c /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context_unchecked ** ** @param xcb_connection_t *c ** @returns xcb_selinux_get_selection_use_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t *c /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_selection_use_context_context ** ** @param const xcb_selinux_get_selection_use_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_selection_use_context_context_length ** ** @param const xcb_selinux_get_selection_use_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_selection_use_context_context_end ** ** @param const xcb_selinux_get_selection_use_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_selection_use_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_selection_use_context_reply_t * xcb_selinux_get_selection_use_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_selection_use_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_selection_use_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_use_context_reply_t * xcb_selinux_get_selection_use_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_selection_use_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_get_selection_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context ** ** @param xcb_connection_t *c ** @param xcb_atom_t selection ** @returns xcb_selinux_get_selection_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context (xcb_connection_t *c /**< */, xcb_atom_t selection /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context_unchecked ** ** @param xcb_connection_t *c ** @param xcb_atom_t selection ** @returns xcb_selinux_get_selection_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context_unchecked (xcb_connection_t *c /**< */, xcb_atom_t selection /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_selection_context_context ** ** @param const xcb_selinux_get_selection_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_selection_context_context_length ** ** @param const xcb_selinux_get_selection_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_selection_context_context_end ** ** @param const xcb_selinux_get_selection_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_selection_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_selection_context_reply_t * xcb_selinux_get_selection_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_selection_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_selection_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_context_reply_t * xcb_selinux_get_selection_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_selection_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_get_selection_data_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context ** ** @param xcb_connection_t *c ** @param xcb_atom_t selection ** @returns xcb_selinux_get_selection_data_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context (xcb_connection_t *c /**< */, xcb_atom_t selection /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context_unchecked ** ** @param xcb_connection_t *c ** @param xcb_atom_t selection ** @returns xcb_selinux_get_selection_data_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t *c /**< */, xcb_atom_t selection /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_selection_data_context_context ** ** @param const xcb_selinux_get_selection_data_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_selection_data_context_context_length ** ** @param const xcb_selinux_get_selection_data_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_selection_data_context_context_end ** ** @param const xcb_selinux_get_selection_data_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_selection_data_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_selection_data_context_reply_t * xcb_selinux_get_selection_data_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_selection_data_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_selection_data_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_selection_data_context_reply_t * xcb_selinux_get_selection_data_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_selection_data_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_list_selections_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections ** ** @param xcb_connection_t *c ** @returns xcb_selinux_list_selections_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections (xcb_connection_t *c /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections_unchecked ** ** @param xcb_connection_t *c ** @returns xcb_selinux_list_selections_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections_unchecked (xcb_connection_t *c /**< */); /***************************************************************************** ** ** int xcb_selinux_list_selections_selections_length ** ** @param const xcb_selinux_list_selections_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t *R /**< */); /***************************************************************************** ** ** xcb_selinux_list_item_iterator_t xcb_selinux_list_selections_selections_iterator ** ** @param const xcb_selinux_list_selections_reply_t *R ** @returns xcb_selinux_list_item_iterator_t ** *****************************************************************************/ extern(C) xcb_selinux_list_item_iterator_t xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_list_selections_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_list_selections_reply_t * xcb_selinux_list_selections_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_list_selections_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_list_selections_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_list_selections_reply_t * xcb_selinux_list_selections_reply (xcb_connection_t *c /**< */, xcb_selinux_list_selections_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); extern(C) int xcb_selinux_get_client_context_sizeof (const void *_buffer /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * */ /***************************************************************************** ** ** xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context ** ** @param xcb_connection_t *c ** @param uint resource ** @returns xcb_selinux_get_client_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context (xcb_connection_t *c /**< */, uint resource /**< */); /** * Delivers a request to the X server * @param c The connection * @return A cookie * * Delivers a request to the X server. * * This form can be used only if the request will cause * a reply to be generated. Any returned error will be * placed in the event queue. */ /***************************************************************************** ** ** xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context_unchecked ** ** @param xcb_connection_t *c ** @param uint resource ** @returns xcb_selinux_get_client_context_cookie_t ** *****************************************************************************/ extern(C) xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context_unchecked (xcb_connection_t *c /**< */, uint resource /**< */); /***************************************************************************** ** ** char * xcb_selinux_get_client_context_context ** ** @param const xcb_selinux_get_client_context_reply_t *R ** @returns char * ** *****************************************************************************/ char * xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t *R /**< */); /***************************************************************************** ** ** int xcb_selinux_get_client_context_context_length ** ** @param const xcb_selinux_get_client_context_reply_t *R ** @returns int ** *****************************************************************************/ extern(C) int xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t *R /**< */); /***************************************************************************** ** ** xcb_generic_iterator_t xcb_selinux_get_client_context_context_end ** ** @param const xcb_selinux_get_client_context_reply_t *R ** @returns xcb_generic_iterator_t ** *****************************************************************************/ extern(C) xcb_generic_iterator_t xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t *R /**< */); /** * Return the reply * @param c The connection * @param cookie The cookie * @param e The xcb_generic_error_t supplied * * Returns the reply of the request asked by * * The parameter @p e supplied to this function must be NULL if * xcb_selinux_get_client_context_unchecked(). is used. * Otherwise, it stores the error if any. * * The returned value must be freed by the caller using free(). */ /***************************************************************************** ** ** xcb_selinux_get_client_context_reply_t * xcb_selinux_get_client_context_reply ** ** @param xcb_connection_t *c ** @param xcb_selinux_get_client_context_cookie_t cookie ** @param xcb_generic_error_t **e ** @returns xcb_selinux_get_client_context_reply_t * ** *****************************************************************************/ extern(C) xcb_selinux_get_client_context_reply_t * xcb_selinux_get_client_context_reply (xcb_connection_t *c /**< */, xcb_selinux_get_client_context_cookie_t cookie /**< */, xcb_generic_error_t **e /**< */); /** * @} */
D
/** * D header file for C99. * * $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_fenv.h.html, _fenv.h) * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanying file LICENSE) * Authors: Sean Kelly * Source: $(DRUNTIMESRC core/stdc/_fenv.d) * Standards: ISO/IEC 9899:1999 (E) */ module core.stdc.fenv; version (OSX) version = Darwin; else version (iOS) version = Darwin; else version (TVOS) version = Darwin; else version (WatchOS) version = Darwin; extern (C): nothrow: @nogc: version (ARM) version = ARM_Any; version (AArch64) version = ARM_Any; version (HPPA) version = HPPA_Any; version (MIPS32) version = MIPS_Any; version (MIPS64) version = MIPS_Any; version (PPC) version = PPC_Any; version (PPC64) version = PPC_Any; version (RISCV32) version = RISCV_Any; version (RISCV64) version = RISCV_Any; version (S390) version = IBMZ_Any; version (SPARC) version = SPARC_Any; version (SPARC64) version = SPARC_Any; version (SystemZ) version = IBMZ_Any; version (X86) version = X86_Any; version (X86_64) version = X86_Any; version (MinGW) version = GNUFP; version (CRuntime_Glibc) version = GNUFP; version (GNUFP) { // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86/fpu/bits/fenv.h version (X86) { struct fenv_t { ushort __control_word; ushort __unused1; ushort __status_word; ushort __unused2; ushort __tags; ushort __unused3; uint __eip; ushort __cs_selector; ushort __opcode; uint __data_offset; ushort __data_selector; ushort __unused5; } alias fexcept_t = ushort; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86/fpu/bits/fenv.h else version (X86_64) { struct fenv_t { ushort __control_word; ushort __unused1; ushort __status_word; ushort __unused2; ushort __tags; ushort __unused3; uint __eip; ushort __cs_selector; ushort __opcode; uint __data_offset; ushort __data_selector; ushort __unused5; uint __mxcsr; } alias fexcept_t = ushort; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/hppa/bits/fenv.h else version (HPPA_Any) { struct fenv_t { uint __status_word; uint[7] __exception; } alias fexcept_t = uint; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/mips/bits/fenv.h else version (MIPS_Any) { struct fenv_t { uint __fp_control_register; } alias fexcept_t = ushort; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/aarch64/bits/fenv.h else version (AArch64) { struct fenv_t { uint __fpcr; uint __fpsr; } alias fexcept_t = uint; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/arm/bits/fenv.h else version (ARM) { struct fenv_t { uint __cw; } alias fexcept_t = uint; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/powerpc/bits/fenv.h else version (PPC_Any) { alias fenv_t = double; alias fexcept_t = uint; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/riscv/bits/fenv.h else version (RISCV_Any) { alias fenv_t = uint; alias fexcept_t = uint; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/sparc/fpu/bits/fenv.h else version (SPARC_Any) { import core.stdc.config : c_ulong; alias fenv_t = c_ulong; alias fexcept_t = c_ulong; } // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/s390/fpu/bits/fenv.h else version (IBMZ_Any) { struct fenv_t { fexcept_t __fpc; void* __unused; } alias fexcept_t = uint; } else { static assert(0, "Unimplemented architecture"); } } else version (CRuntime_DigitalMars) { struct fenv_t { ushort status; ushort control; ushort round; ushort[2] reserved; } alias fexcept_t = int; } else version (CRuntime_Microsoft) { struct fenv_t { uint ctl; uint stat; } alias fexcept_t = uint; } else version (Darwin) { version (BigEndian) { alias uint fenv_t; alias uint fexcept_t; } version (LittleEndian) { struct fenv_t { ushort __control; ushort __status; uint __mxcsr; byte[8] __reserved; } alias ushort fexcept_t; } } else version (FreeBSD) { struct fenv_t { ushort __control; ushort __mxcsr_hi; ushort __status; ushort __mxcsr_lo; uint __tag; byte[16] __other; } alias ushort fexcept_t; } else version (NetBSD) { version (X86_64) { struct fenv_t { struct _x87 { uint control; /* Control word register */ uint status; /* Status word register */ uint tag; /* Tag word register */ uint[4] others; /* EIP, Pointer Selector, etc */ } _x87 x87; uint mxcsr; /* Control and status register */ } } version (X86) { struct fenv_t { struct _x87 { ushort control; /* Control word register */ ushort unused1; ushort status; /* Status word register */ ushort unused2; ushort tag; /* Tag word register */ ushort unused3; uint[4] others; /* EIP, Pointer Selector, etc */ } _x87 x87; uint mxcsr; /* Control and status register */ } } alias uint fexcept_t; } else version (OpenBSD) { struct fenv_t { struct __x87 { uint __control; uint __status; uint __tag; uint[4] __others; } } uint __mxcsr; alias fexcept_t = uint; } else version (DragonFlyBSD) { struct fenv_t { struct _x87 { uint control; uint status; uint tag; uint[4] others; } _x87 x87; uint mxcsr; } alias uint fexcept_t; } else version (CRuntime_Bionic) { version (X86) { struct fenv_t { ushort __control; ushort __mxcsr_hi; ushort __status; ushort __mxcsr_lo; uint __tag; byte[16] __other; } alias ushort fexcept_t; } else version (ARM) { alias uint fenv_t; alias uint fexcept_t; } else version (AArch64) { struct fenv_t { uint __control; uint __status; } alias uint fexcept_t; } else version (X86_64) { struct fenv_t { struct _x87 { uint __control; uint __status; uint __tag; uint[4] __others; } _x87 __x87; uint __mxcsr; } alias uint fexcept_t; } else { static assert(false, "Architecture not supported."); } } else version (Solaris) { import core.stdc.config : c_ulong; enum FEX_NUM_EXC = 12; struct fex_handler_t { int __mode; void function() __handler; } struct fenv_t { fex_handler_t[FEX_NUM_EXC] __handler; c_ulong __fsr; } alias int fexcept_t; } else version (CRuntime_Musl) { version (AArch64) { struct fenv_t { uint __fpcr; uint __fpsr; } alias uint fexcept_t; } else version (ARM) { import core.stdc.config : c_ulong; struct fenv_t { c_ulong __cw; } alias c_ulong fexcept_t; } else version (IBMZ_Any) { alias uint fenv_t; alias uint fexcept_t; } else version (MIPS_Any) { struct fenv_t { uint __cw; } alias ushort fexcept_t; } else version (PPC_Any) { alias double fenv_t; alias uint fexcept_t; } else version (X86_Any) { struct fenv_t { ushort __control_word; ushort __unused1; ushort __status_word; ushort __unused2; ushort __tags; ushort __unused3; uint __eip; ushort __cs_selector; ushort __opcode; uint __data_offset; ushort __data_selector; ushort __unused5; version (X86_64) uint __mxcsr; } alias ushort fexcept_t; } else { static assert(false, "Architecture not supported."); } } else version (CRuntime_UClibc) { version (X86) { struct fenv_t { ushort __control_word; ushort __unused1; ushort __status_word; ushort __unused2; ushort __tags; ushort __unused3; uint __eip; ushort __cs_selector; ushort __opcode; uint __data_offset; ushort __data_selector; ushort __unused5; } alias fexcept_t = ushort; } else version (X86_64) { struct fenv_t { ushort __control_word; ushort __unused1; ushort __status_word; ushort __unused2; ushort __tags; ushort __unused3; uint __eip; ushort __cs_selector; ushort __opcode; uint __data_offset; ushort __data_selector; ushort __unused5; uint __mxcsr; } alias fexcept_t = ushort; } else version (MIPS_Any) { struct fenv_t { uint __fp_control_register; } alias fexcept_t = ushort; } else version (ARM) { struct fenv_t { uint __cw; } alias fexcept_t = uint; } else { static assert(false, "Architecture not supported."); } } else { static assert( false, "Unsupported platform" ); } version (CRuntime_Microsoft) { enum { FE_INEXACT = 1, /// FE_UNDERFLOW = 2, /// FE_OVERFLOW = 4, /// FE_DIVBYZERO = 8, /// FE_INVALID = 0x10, /// FE_ALL_EXCEPT = 0x1F, /// FE_TONEAREST = 0, /// FE_UPWARD = 0x100, /// FE_DOWNWARD = 0x200, /// FE_TOWARDZERO = 0x300, /// } } else version (Solaris) { version (SPARC_Any) { enum { FE_TONEAREST = 0, FE_TOWARDZERO = 1, FE_UPWARD = 2, FE_DOWNWARD = 3, } enum { FE_INEXACT = 0x01, FE_DIVBYZERO = 0x02, FE_UNDERFLOW = 0x04, FE_OVERFLOW = 0x08, FE_INVALID = 0x10, FE_ALL_EXCEPT = 0x1f, } } else version (X86_Any) { enum { FE_TONEAREST = 0, FE_DOWNWARD = 1, FE_UPWARD = 2, FE_TOWARDZERO = 3, } enum { FE_INVALID = 0x01, FE_DIVBYZERO = 0x04, FE_OVERFLOW = 0x08, FE_UNDERFLOW = 0x10, FE_INEXACT = 0x20, FE_ALL_EXCEPT = 0x3d, } } else { static assert(0, "Unimplemented architecture"); } } else { version (X86) { // Define bits representing the exception. enum { FE_INVALID = 0x01, /// FE_DENORMAL = 0x02, /// non-standard FE_DIVBYZERO = 0x04, /// FE_OVERFLOW = 0x08, /// FE_UNDERFLOW = 0x10, /// FE_INEXACT = 0x20, /// FE_ALL_EXCEPT = 0x3F, /// } // The ix87 FPU supports all of the four defined rounding modes. enum { FE_TONEAREST = 0, /// FE_DOWNWARD = 0x400, /// FE_UPWARD = 0x800, /// FE_TOWARDZERO = 0xC00, /// } } else version (X86_64) { // Define bits representing the exception. enum { FE_INVALID = 0x01, /// FE_DENORMAL = 0x02, /// non-standard FE_DIVBYZERO = 0x04, /// FE_OVERFLOW = 0x08, /// FE_UNDERFLOW = 0x10, /// FE_INEXACT = 0x20, /// FE_ALL_EXCEPT = 0x3F, /// } // The ix87 FPU supports all of the four defined rounding modes. enum { FE_TONEAREST = 0, /// FE_DOWNWARD = 0x400, /// FE_UPWARD = 0x800, /// FE_TOWARDZERO = 0xC00, /// } } else version (ARM_Any) { // Define bits representing exceptions in the FPU status word. enum { FE_INVALID = 1, /// FE_DIVBYZERO = 2, /// FE_OVERFLOW = 4, /// FE_UNDERFLOW = 8, /// FE_INEXACT = 16, /// FE_ALL_EXCEPT = 31, /// } // VFP supports all of the four defined rounding modes. enum { FE_TONEAREST = 0, /// FE_UPWARD = 0x400000, /// FE_DOWNWARD = 0x800000, /// FE_TOWARDZERO = 0xC00000, /// } } else version (HPPA_Any) { // Define bits representing the exception. enum { FE_INEXACT = 0x01, /// FE_UNDERFLOW = 0x02, /// FE_OVERFLOW = 0x04, /// FE_DIVBYZERO = 0x08, /// FE_INVALID = 0x10, /// FE_ALL_EXCEPT = 0x1F, /// } // The HPPA FPU supports all of the four defined rounding modes. enum { FE_TONEAREST = 0x0, /// FE_TOWARDZERO = 0x200, /// FE_UPWARD = 0x400, /// FE_DOWNWARD = 0x600, /// } } else version (MIPS_Any) { // Define bits representing the exception. enum { FE_INEXACT = 0x04, /// FE_UNDERFLOW = 0x08, /// FE_OVERFLOW = 0x10, /// FE_DIVBYZERO = 0x20, /// FE_INVALID = 0x40, /// FE_ALL_EXCEPT = 0x7C, /// } // The MIPS FPU supports all of the four defined rounding modes. enum { FE_TONEAREST = 0x0, /// FE_TOWARDZERO = 0x1, /// FE_UPWARD = 0x2, /// FE_DOWNWARD = 0x3, /// } } else version (PPC_Any) { // Define bits representing the exception. enum { FE_INEXACT = 0x2000000, /// FE_DIVBYZERO = 0x4000000, /// FE_UNDERFLOW = 0x8000000, /// FE_OVERFLOW = 0x10000000, /// FE_INVALID = 0x20000000, /// FE_INVALID_SNAN = 0x1000000, /// non-standard FE_INVALID_ISI = 0x800000, /// non-standard FE_INVALID_IDI = 0x400000, /// non-standard FE_INVALID_ZDZ = 0x200000, /// non-standard FE_INVALID_IMZ = 0x100000, /// non-standard FE_INVALID_COMPARE = 0x80000, /// non-standard FE_INVALID_SOFTWARE = 0x400, /// non-standard FE_INVALID_SQRT = 0x200, /// non-standard FE_INVALID_INTEGER_CONVERSION = 0x100, /// non-standard FE_ALL_INVALID = 0x1F80700, /// non-standard FE_ALL_EXCEPT = 0x3E000000, /// } // PowerPC chips support all of the four defined rounding modes. enum { FE_TONEAREST = 0, /// FE_TOWARDZERO = 1, /// FE_UPWARD = 2, /// FE_DOWNWARD = 3, /// } } else version (RISCV_Any) { // Define bits representing exceptions in the FPSR status word. enum { FE_INEXACT = 0x01, /// FE_UNDERFLOW = 0x02, /// FE_OVERFLOW = 0x04, /// FE_DIVBYZERO = 0x08, /// FE_INVALID = 0x10, /// FE_ALL_EXCEPT = 0x1f, /// } // Define bits representing rounding modes in the FPCR Rmode field. enum { FE_TONEAREST = 0x0, /// FE_TOWARDZERO = 0x1, /// FE_DOWNWARD = 0x2, /// FE_UPWARD = 0x3, /// } } else version (SPARC_Any) { // Define bits representing the exception. enum { FE_INVALID = 0x200, /// FE_OVERFLOW = 0x100, /// FE_UNDERFLOW = 0x80, /// FE_DIVBYZERO = 0x40, /// FE_INEXACT = 0x20, /// FE_ALL_EXCEPT = 0x3E0, /// } // The Sparc FPU supports all of the four defined rounding modes. enum { FE_TONEAREST = 0x0, /// FE_TOWARDZERO = 0x40000000, /// FE_UPWARD = 0x80000000, /// FE_DOWNWARD = 0xc0000000, /// } } else version (IBMZ_Any) { // Define bits representing the exception. enum { FE_INVALID = 0x80, /// FE_DIVBYZERO = 0x40, /// FE_OVERFLOW = 0x20, /// FE_UNDERFLOW = 0x10, /// FE_INEXACT = 0x08, /// FE_ALL_EXCEPT = 0xF8, /// } // SystemZ supports all of the four defined rounding modes. enum { FE_TONEAREST = 0x0, /// FE_DOWNWARD = 0x3, /// FE_UPWARD = 0x2, /// FE_TOWARDZERO = 0x1, /// } } else { static assert(0, "Unimplemented architecture"); } } version (GNUFP) { /// enum FE_DFL_ENV = cast(fenv_t*)(-1); } else version (CRuntime_DigitalMars) { private extern __gshared fenv_t _FE_DFL_ENV; /// enum fenv_t* FE_DFL_ENV = &_FE_DFL_ENV; } else version (CRuntime_Microsoft) { private extern __gshared fenv_t _Fenv0; /// enum FE_DFL_ENV = &_Fenv0; } else version (Darwin) { private extern __gshared fenv_t _FE_DFL_ENV; /// enum FE_DFL_ENV = &_FE_DFL_ENV; } else version (FreeBSD) { private extern const fenv_t __fe_dfl_env; /// enum FE_DFL_ENV = &__fe_dfl_env; } else version (NetBSD) { private extern const fenv_t __fe_dfl_env; /// enum FE_DFL_ENV = &__fe_dfl_env; } else version (OpenBSD) { private extern const fenv_t __fe_dfl_env; /// enum FE_DFL_ENV = &__fe_dfl_env; } else version (DragonFlyBSD) { private extern const fenv_t __fe_dfl_env; /// enum FE_DFL_ENV = &__fe_dfl_env; } else version (CRuntime_Bionic) { private extern const fenv_t __fe_dfl_env; /// enum FE_DFL_ENV = &__fe_dfl_env; } else version (Solaris) { private extern const fenv_t __fenv_def_env; /// enum FE_DFL_ENV = &__fenv_def_env; } else version (CRuntime_Musl) { /// enum FE_DFL_ENV = cast(fenv_t*)(-1); } else version (CRuntime_UClibc) { /// enum FE_DFL_ENV = cast(fenv_t*)(-1); } else { static assert( false, "Unsupported platform" ); } /// int feclearexcept(int excepts); /// int fetestexcept(int excepts); /// int feholdexcept(fenv_t* envp); /// int fegetexceptflag(fexcept_t* flagp, int excepts); /// int fesetexceptflag(const scope fexcept_t* flagp, int excepts); /// int fegetround(); /// int fesetround(int round); /// int fegetenv(fenv_t* envp); /// int fesetenv(const scope fenv_t* envp); // MS define feraiseexcept() and feupdateenv() inline. version (CRuntime_Microsoft) // supported since MSVCRT 12 (VS 2013) only { /// int feraiseexcept()(int excepts) { struct Entry { int exceptVal; double num; double denom; } static __gshared immutable(Entry[5]) table = [ // Raise exception by evaluating num / denom: { FE_INVALID, 0.0, 0.0 }, { FE_DIVBYZERO, 1.0, 0.0 }, { FE_OVERFLOW, 1e+300, 1e-300 }, { FE_UNDERFLOW, 1e-300, 1e+300 }, { FE_INEXACT, 2.0, 3.0 } ]; if ((excepts &= FE_ALL_EXCEPT) == 0) return 0; // Raise the exceptions not masked: double ans = void; foreach (i; 0 .. table.length) { if ((excepts & table[i].exceptVal) != 0) ans = table[i].num / table[i].denom; } return 0; } /// int feupdateenv()(const scope fenv_t* envp) { int excepts = fetestexcept(FE_ALL_EXCEPT); return (fesetenv(envp) != 0 || feraiseexcept(excepts) != 0 ? 1 : 0); } } else { /// int feraiseexcept(int excepts); /// int feupdateenv(const scope fenv_t* envp); }
D
import std.stdio; import std.bigint; import std.math; import std.conv; import std.algorithm; import std.range; void main() { BigInt n = 1010101010; BigInt square = n * n; immutable BigInt upperBound = 192939495969798990; while( square <= upperBound) { if(to!string(square).fastPred) { writeln(n); } n++; square = n * n; } } pure nothrow @safe bool pred(string s) in { assert(s.length > 0); } body { if(s.length != 19) return false; bool[] p; p.length = 10; p[0] = s[-1] == '0'; for(char i = '1'; i <= '9'; i++) { p[i - 32] = s[(i-32)*2] == i; } return all(p); } pure nothrow @safe @nogc fastPred(string s) { if(s.length != 19) return false; bool[10] p; p[0] = s[-1] == '0'; for(char i = '1'; i <= '9'; i++) { p[i - 32] = s[(i-32)*2] == i; } return p[0] && p[1] && p[2] && p[3] && p[4] && p[5] && p[6] && p[7] && p[8] && p[9]; } @safe nothrow unittest { BigInt upper = 1929394959697989990 BigInt lower = 1020304050607080900; assert(to!string(upper).fastPred ); assert(to!string(upper).pred); assert(to!string(lower).fastPred); assert(to!string(lower.pred); }
D
/***********************************************************************\ * mswsock.d * * * * Windows API header module * * * * Translated from MinGW Windows headers * * by Daniel Keep * * * * Placed into public domain * \***********************************************************************/ module win32.mswsock; import win32.winbase, win32.windef; private import win32.basetyps, win32.w32api; // FIXME: clean up Windows version support version (Win32_Winsock2) pragma(msg, "Version Win32_Winsock2 is deprecated; Winsock2 is now imported by default"); // Pull in Winsock1 if the user has put "Win32_Winsock1" on the compile // line; otherwise, default to Winsock2. version (Win32_Winsock1) { import win32.winsock; } else { import win32.winsock2; } static if (_WIN32_WINNT >= 0x500) { enum { /* WinNT5+: ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */ SO_MAXDG = 0x7009, SO_MAXPATHDG = 0x700A, } } enum { /* WinNT4+: ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options_for_windows_nt_4_0_2.htm */ SO_CONNDATA = 0x7000, SO_CONNOPT = 0x7001, SO_DISCDATA = 0x7002, SO_DISCOPT = 0x7003, SO_CONNDATALEN = 0x7004, SO_CONNOPTLEN = 0x7005, SO_DISCDATALEN = 0x7006, SO_DISCOPTLEN = 0x7007, /* WinNT4: ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */ SO_UPDATE_ACCEPT_CONTENT = 0x700B, } enum { /* Win95+, WinNT4+ but apparently shouldn't used: mark as deprecated? ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */ SO_OPENTYPE = 0x7008, /* Win95+; these two are passed to the SO_OPENTYPE option as arguments, so would they be deprecated as well? ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */ SO_SYNCHRONOUS_ALERT = 0x0010, SO_SYNCHRONOUS_NONALERT = 0x0020, /* Win95: ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/socket_options.htm */ SO_CONNECT_TIME = 0x700C, } enum { TCP_BSDURGENT = 0x7000, } /* These *appear* to be constants for passing to the TransmitFile / TransmitPackets functions, which are available in WinNT3.51+ ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmitfile_2.htm */ enum { TF_DISCONNECT = 1, TF_REUSE_SOCKET = 2, TF_WRITE_BEHIND = 4, TF_USE_DEFAULT_WORKER = 0, TF_USE_SYSTEM_THREAD = 16, TF_USE_KERNEL_APC = 32 } /* Win95+, WinNT3.51+ ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmit_file_buffers_2.htm */ struct TRANSMIT_FILE_BUFFERS { PVOID Head; DWORD HeadLength; PVOID Tail; DWORD TailLength; } alias TRANSMIT_FILE_BUFFERS* PTRANSMIT_FILE_BUFFERS, LPTRANSMIT_FILE_BUFFERS; extern(Windows) { /* Win95+, WinNT3.51+ ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/wsarecvex_2.htm */ int WSARecvEx(SOCKET, char*, int, int*); /* Win95+, WinNT3.51+ ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/getacceptexSOCKADDRs_2.htm */ VOID GetAcceptExSockaddrs(PVOID, DWORD, DWORD, DWORD, SOCKADDR**, LPINT, SOCKADDR**, LPINT); /* WinNT3.51+ ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmitfile_2.htm */ BOOL TransmitFile(SOCKET, HANDLE, DWORD, DWORD, LPOVERLAPPED, LPTRANSMIT_FILE_BUFFERS, DWORD); /* WinNT3.51+ ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/acceptex_2.htm */ alias BOOL function(SOCKET, SOCKET, PVOID, DWORD, DWORD, DWORD, LPDWORD, LPOVERLAPPED) LPFN_ACCEPTEX; const GUID WSAID_ACCEPTEX = {0xb5367df1,0xcbac,0x11cf,[0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92]}; alias BOOL function(SOCKET, SOCKADDR*, int, PVOID, DWORD, LPDWORD, LPOVERLAPPED) LPFN_CONNECTEX; const GUID WSAID_CONNECTEX = {0x25a207b9,0xddf3,0x4660,[0x8e,0xe9,0x76,0xe5,0x8c,0x74,0x06,0x3e]}; } version(Win32_Winsock1) { } else { static if (_WIN32_WINNT > 0x501) { /* These appear to be constants for the TRANSMIT_PACKETS_ELEMENT * structure below, so I've given them the same minimum version */ enum { TP_ELEMENT_FILE = 1, TP_ELEMENT_MEMORY = 2, TP_ELEMENT_EOP = 4 } /* WinXP+, Srv2k3+ * ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/transmit_packets_element_2.htm */ struct TRANSMIT_PACKETS_ELEMENT { ULONG dwElFlags; ULONG cLength; union { struct { LARGE_INTEGER nFileOffset; HANDLE hFile; } PVOID pBuffer; } } /* WinXP+, Server2003+: * ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/wsamsg_2.htm */ struct WSAMSG { LPSOCKADDR name; INT namelen; LPWSABUF lpBuffers; DWORD dwBufferCount; WSABUF Control; DWORD dwFlags; } alias WSAMSG* PWSAMSG, LPWSAMSG; /* According to MSDN docs, the WSAMSG.Control buffer starts with a cmsghdr header of the following form. See also RFC 2292. */ /* DK: Confirmed. So I suppose these should get the same version as WSAMSG... */ struct WSACMSGHDR { UINT cmsg_len; INT cmsg_level; INT cmsg_type; // followed by UCHAR cmsg_data[]; } /* TODO: Standard Posix.1g macros as per RFC 2292, with WSA_uglification. */ /* DK: MinGW doesn't define these, and neither does the MSDN docs. Might have to actually look up RFC 2292... */ /+ #if 0 #define WSA_CMSG_FIRSTHDR(mhdr) #define WSA_CMSG_NXTHDR(mhdr, cmsg) #define WSA_CMSG_SPACE(length) #define WSA_CMSG_LEN(length) #endif +/ extern(Windows) { /* WinXP+, Srv2k3+ * ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/disconnectex_2.htm */ BOOL DisconnectEx(SOCKET, LPOVERLAPPED, DWORD, DWORD); /* WinXP+, Srv2k3+ * ms-help://MS.MSDNQTR.2003FEB.1033/winsock/winsock/wsarecvmsg_2.htm */ int WSARecvMsg(SOCKET, LPWSAMSG, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); } } }
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/expressionsem.d, _expressionsem.d) * Documentation: https://dlang.org/phobos/dmd_expressionsem.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/expressionsem.d */ module dmd.expressionsem; import core.stdc.stdio; import core.stdc.string; import dmd.access; import dmd.aggregate; import dmd.aliasthis; import dmd.arrayop; import dmd.arraytypes; import dmd.attrib; import dmd.astcodegen; import dmd.canthrow; import dmd.ctorflow; import dmd.dscope; import dmd.dsymbol; import dmd.declaration; import dmd.dclass; import dmd.dcast; import dmd.delegatize; import dmd.denum; import dmd.dimport; import dmd.dmangle; import dmd.dmodule; import dmd.dstruct; import dmd.dsymbolsem; import dmd.dtemplate; import dmd.errors; import dmd.escape; import dmd.expression; import dmd.func; import dmd.globals; import dmd.hdrgen; import dmd.id; import dmd.identifier; import dmd.imphint; import dmd.inline; import dmd.intrange; import dmd.mtype; import dmd.nspace; import dmd.opover; import dmd.optimize; import dmd.parse; import dmd.root.ctfloat; import dmd.root.file; import dmd.root.filename; import dmd.root.outbuffer; import dmd.root.rootobject; import dmd.semantic2; import dmd.semantic3; import dmd.sideeffect; import dmd.safe; import dmd.target; import dmd.tokens; import dmd.traits; import dmd.typesem; import dmd.typinf; import dmd.utf; import dmd.utils; import dmd.visitor; enum LOGSEMANTIC = false; /*************************************** * Pull out any properties. */ private Expression resolvePropertiesX(Scope* sc, Expression e1, Expression e2 = null) { //printf("resolvePropertiesX, e1 = %s %s, e2 = %s\n", Token.toChars(e1.op), e1.toChars(), e2 ? e2.toChars() : null); Loc loc = e1.loc; OverloadSet os; Dsymbol s; Objects* tiargs; Type tthis; if (e1.op == TOK.dot) { DotExp de = cast(DotExp)e1; if (de.e2.op == TOK.overloadSet) { tiargs = null; tthis = de.e1.type; os = (cast(OverExp)de.e2).vars; goto Los; } } else if (e1.op == TOK.overloadSet) { tiargs = null; tthis = null; os = (cast(OverExp)e1).vars; Los: assert(os); FuncDeclaration fd = null; if (e2) { e2 = e2.expressionSemantic(sc); if (e2.op == TOK.error) return new ErrorExp(); e2 = resolveProperties(sc, e2); Expressions a; a.push(e2); for (size_t i = 0; i < os.a.dim; i++) { FuncDeclaration f = resolveFuncCall(loc, sc, os.a[i], tiargs, tthis, &a, 1); if (f) { if (f.errors) return new ErrorExp(); fd = f; assert(fd.type.ty == Tfunction); } } if (fd) { Expression e = new CallExp(loc, e1, e2); return e.expressionSemantic(sc); } } { for (size_t i = 0; i < os.a.dim; i++) { FuncDeclaration f = resolveFuncCall(loc, sc, os.a[i], tiargs, tthis, null, 1); if (f) { if (f.errors) return new ErrorExp(); fd = f; assert(fd.type.ty == Tfunction); TypeFunction tf = cast(TypeFunction)fd.type; if (!tf.isref && e2) goto Leproplvalue; } } if (fd) { Expression e = new CallExp(loc, e1); if (e2) e = new AssignExp(loc, e, e2); return e.expressionSemantic(sc); } } if (e2) goto Leprop; } else if (e1.op == TOK.dotTemplateInstance) { DotTemplateInstanceExp dti = cast(DotTemplateInstanceExp)e1; if (!dti.findTempDecl(sc)) goto Leprop; if (!dti.ti.semanticTiargs(sc)) goto Leprop; tiargs = dti.ti.tiargs; tthis = dti.e1.type; if ((os = dti.ti.tempdecl.isOverloadSet()) !is null) goto Los; if ((s = dti.ti.tempdecl) !is null) goto Lfd; } else if (e1.op == TOK.dotTemplateDeclaration) { DotTemplateExp dte = cast(DotTemplateExp)e1; s = dte.td; tiargs = null; tthis = dte.e1.type; goto Lfd; } else if (e1.op == TOK.scope_) { s = (cast(ScopeExp)e1).sds; TemplateInstance ti = s.isTemplateInstance(); if (ti && !ti.semanticRun && ti.tempdecl) { //assert(ti.needsTypeInference(sc)); if (!ti.semanticTiargs(sc)) goto Leprop; tiargs = ti.tiargs; tthis = null; if ((os = ti.tempdecl.isOverloadSet()) !is null) goto Los; if ((s = ti.tempdecl) !is null) goto Lfd; } } else if (e1.op == TOK.template_) { s = (cast(TemplateExp)e1).td; tiargs = null; tthis = null; goto Lfd; } else if (e1.op == TOK.dotVariable && e1.type && e1.type.toBasetype().ty == Tfunction) { DotVarExp dve = cast(DotVarExp)e1; s = dve.var.isFuncDeclaration(); tiargs = null; tthis = dve.e1.type; goto Lfd; } else if (e1.op == TOK.variable && e1.type && e1.type.toBasetype().ty == Tfunction) { s = (cast(VarExp)e1).var.isFuncDeclaration(); tiargs = null; tthis = null; Lfd: assert(s); if (e2) { e2 = e2.expressionSemantic(sc); if (e2.op == TOK.error) return new ErrorExp(); e2 = resolveProperties(sc, e2); Expressions a; a.push(e2); FuncDeclaration fd = resolveFuncCall(loc, sc, s, tiargs, tthis, &a, 1); if (fd && fd.type) { if (fd.errors) return new ErrorExp(); assert(fd.type.ty == Tfunction); Expression e = new CallExp(loc, e1, e2); return e.expressionSemantic(sc); } } { FuncDeclaration fd = resolveFuncCall(loc, sc, s, tiargs, tthis, null, 1); if (fd && fd.type) { if (fd.errors) return new ErrorExp(); assert(fd.type.ty == Tfunction); TypeFunction tf = cast(TypeFunction)fd.type; if (!e2 || tf.isref) { Expression e = new CallExp(loc, e1); if (e2) e = new AssignExp(loc, e, e2); return e.expressionSemantic(sc); } } } if (FuncDeclaration fd = s.isFuncDeclaration()) { // Keep better diagnostic message for invalid property usage of functions assert(fd.type.ty == Tfunction); Expression e = new CallExp(loc, e1, e2); return e.expressionSemantic(sc); } if (e2) goto Leprop; } if (e1.op == TOK.variable) { VarExp ve = cast(VarExp)e1; VarDeclaration v = ve.var.isVarDeclaration(); if (v && ve.checkPurity(sc, v)) return new ErrorExp(); } if (e2) return null; if (e1.type && e1.op != TOK.type) // function type is not a property { /* Look for e1 being a lazy parameter; rewrite as delegate call */ if (e1.op == TOK.variable) { VarExp ve = cast(VarExp)e1; if (ve.var.storage_class & STC.lazy_) { Expression e = new CallExp(loc, e1); return e.expressionSemantic(sc); } } else if (e1.op == TOK.dotVariable) { // Check for reading overlapped pointer field in @safe code. if (checkUnsafeAccess(sc, e1, true, true)) return new ErrorExp(); } else if (e1.op == TOK.dot) { e1.error("expression has no value"); return new ErrorExp(); } else if (e1.op == TOK.call) { CallExp ce = cast(CallExp)e1; // Check for reading overlapped pointer field in @safe code. if (checkUnsafeAccess(sc, ce.e1, true, true)) return new ErrorExp(); } } if (!e1.type) { error(loc, "cannot resolve type for %s", e1.toChars()); e1 = new ErrorExp(); } return e1; Leprop: error(loc, "not a property %s", e1.toChars()); return new ErrorExp(); Leproplvalue: error(loc, "%s is not an lvalue", e1.toChars()); return new ErrorExp(); } extern (C++) Expression resolveProperties(Scope* sc, Expression e) { //printf("resolveProperties(%s)\n", e.toChars()); e = resolvePropertiesX(sc, e); if (e.checkRightThis(sc)) return new ErrorExp(); return e; } /**************************************** * The common type is determined by applying ?: to each pair. * Output: * exps[] properties resolved, implicitly cast to common type, rewritten in place * *pt if pt is not NULL, set to the common type * Returns: * true a semantic error was detected */ private bool arrayExpressionToCommonType(Scope* sc, Expressions* exps, Type* pt) { /* Still have a problem with: * ubyte[][] = [ cast(ubyte[])"hello", [1]]; * which works if the array literal is initialized top down with the ubyte[][] * type, but fails with this function doing bottom up typing. */ //printf("arrayExpressionToCommonType()\n"); scope IntegerExp integerexp = new IntegerExp(0); scope CondExp condexp = new CondExp(Loc.initial, integerexp, null, null); Type t0 = null; Expression e0 = null; size_t j0 = ~0; for (size_t i = 0; i < exps.dim; i++) { Expression e = (*exps)[i]; if (!e) continue; e = resolveProperties(sc, e); if (!e.type) { e.error("`%s` has no value", e.toChars()); t0 = Type.terror; continue; } if (e.op == TOK.type) { e.checkValue(); // report an error "type T has no value" t0 = Type.terror; continue; } if (e.type.ty == Tvoid) { // void expressions do not concur to the determination of the common // type. continue; } if (checkNonAssignmentArrayOp(e)) { t0 = Type.terror; continue; } e = doCopyOrMove(sc, e); if (t0 && !t0.equals(e.type)) { /* This applies ?: to merge the types. It's backwards; * ?: should call this function to merge types. */ condexp.type = null; condexp.e1 = e0; condexp.e2 = e; condexp.loc = e.loc; Expression ex = condexp.expressionSemantic(sc); if (ex.op == TOK.error) e = ex; else { (*exps)[j0] = condexp.e1; e = condexp.e2; } } j0 = i; e0 = e; t0 = e.type; if (e.op != TOK.error) (*exps)[i] = e; } if (!t0) t0 = Type.tvoid; // [] is typed as void[] else if (t0.ty != Terror) { for (size_t i = 0; i < exps.dim; i++) { Expression e = (*exps)[i]; if (!e) continue; e = e.implicitCastTo(sc, t0); //assert(e.op != TOK.error); if (e.op == TOK.error) { /* https://issues.dlang.org/show_bug.cgi?id=13024 * a workaround for the bug in typeMerge - * it should paint e1 and e2 by deduced common type, * but doesn't in this particular case. */ t0 = Type.terror; break; } (*exps)[i] = e; } } if (pt) *pt = t0; return (t0 == Type.terror); } /**************************************** * Preprocess arguments to function. * Output: * exps[] tuples expanded, properties resolved, rewritten in place * Returns: * true a semantic error occurred */ private bool preFunctionParameters(Scope* sc, Expressions* exps) { bool err = false; if (exps) { expandTuples(exps); for (size_t i = 0; i < exps.dim; i++) { Expression arg = (*exps)[i]; arg = resolveProperties(sc, arg); if (arg.op == TOK.type) { arg.error("cannot pass type `%s` as a function argument", arg.toChars()); arg = new ErrorExp(); err = true; } else if (checkNonAssignmentArrayOp(arg)) { arg = new ErrorExp(); err = true; } (*exps)[i] = arg; } } return err; } /******************************************** * Issue an error if default construction is disabled for type t. * Default construction is required for arrays and 'out' parameters. * Returns: * true an error was issued */ private bool checkDefCtor(Loc loc, Type t) { t = t.baseElemOf(); if (t.ty == Tstruct) { StructDeclaration sd = (cast(TypeStruct)t).sym; if (sd.noDefaultCtor) { sd.error(loc, "default construction is disabled"); return true; } } return false; } /**************************************** * Now that we know the exact type of the function we're calling, * the arguments[] need to be adjusted: * 1. implicitly convert argument to the corresponding parameter type * 2. add default arguments for any missing arguments * 3. do default promotions on arguments corresponding to ... * 4. add hidden _arguments[] argument * 5. call copy constructor for struct value arguments * Input: * tf type of the function * fd the function being called, NULL if called indirectly * Output: * *prettype return type of function * *peprefix expression to execute before arguments[] are evaluated, NULL if none * Returns: * true errors happened */ private bool functionParameters(Loc loc, Scope* sc, TypeFunction tf, Type tthis, Expressions* arguments, FuncDeclaration fd, Type* prettype, Expression* peprefix) { //printf("functionParameters() %s\n", fd ? fd.toChars() : ""); assert(arguments); assert(fd || tf.next); size_t nargs = arguments ? arguments.dim : 0; size_t nparams = Parameter.dim(tf.parameters); uint olderrors = global.errors; bool err = false; *prettype = Type.terror; Expression eprefix = null; *peprefix = null; if (nargs > nparams && tf.varargs == 0) { error(loc, "expected %llu arguments, not %llu for non-variadic function type `%s`", cast(ulong)nparams, cast(ulong)nargs, tf.toChars()); return true; } // If inferring return type, and semantic3() needs to be run if not already run if (!tf.next && fd.inferRetType) { fd.functionSemantic(); } else if (fd && fd.parent) { TemplateInstance ti = fd.parent.isTemplateInstance(); if (ti && ti.tempdecl) { fd.functionSemantic3(); } } bool isCtorCall = fd && fd.needThis() && fd.isCtorDeclaration(); size_t n = (nargs > nparams) ? nargs : nparams; // n = max(nargs, nparams) /* If the function return type has wildcards in it, we'll need to figure out the actual type * based on the actual argument types. */ MOD wildmatch = 0; if (tthis && tf.isWild() && !isCtorCall) { Type t = tthis; if (t.isImmutable()) wildmatch = MODFlags.immutable_; else if (t.isWildConst()) wildmatch = MODFlags.wildconst; else if (t.isWild()) wildmatch = MODFlags.wild; else if (t.isConst()) wildmatch = MODFlags.const_; else wildmatch = MODFlags.mutable; } int done = 0; for (size_t i = 0; i < n; i++) { Expression arg; if (i < nargs) arg = (*arguments)[i]; else arg = null; if (i < nparams) { Parameter p = Parameter.getNth(tf.parameters, i); if (!arg) { if (!p.defaultArg) { if (tf.varargs == 2 && i + 1 == nparams) goto L2; error(loc, "expected %llu function arguments, not %llu", cast(ulong)nparams, cast(ulong)nargs); return true; } arg = p.defaultArg; arg = inlineCopy(arg, sc); // __FILE__, __LINE__, __MODULE__, __FUNCTION__, and __PRETTY_FUNCTION__ arg = arg.resolveLoc(loc, sc); arguments.push(arg); nargs++; } if (tf.varargs == 2 && i + 1 == nparams) // https://dlang.org/spec/function.html#variadic { //printf("\t\tvarargs == 2, p.type = '%s'\n", p.type.toChars()); { MATCH m; if ((m = arg.implicitConvTo(p.type)) > MATCH.nomatch) { if (p.type.nextOf() && arg.implicitConvTo(p.type.nextOf()) >= m) goto L2; else if (nargs != nparams) { error(loc, "expected %llu function arguments, not %llu", cast(ulong)nparams, cast(ulong)nargs); return true; } goto L1; } } L2: Type tb = p.type.toBasetype(); Type tret = p.isLazyArray(); switch (tb.ty) { case Tsarray: case Tarray: { /* Create a static array variable v of type arg.type: * T[dim] __arrayArg = [ arguments[i], ..., arguments[nargs-1] ]; * * The array literal in the initializer of the hidden variable * is now optimized. * https://issues.dlang.org/show_bug.cgi?id=2356 */ Type tbn = (cast(TypeArray)tb).next; Type tsa = tbn.sarrayOf(nargs - i); auto elements = new Expressions(); elements.setDim(nargs - i); for (size_t u = 0; u < elements.dim; u++) { Expression a = (*arguments)[i + u]; if (tret && a.implicitConvTo(tret)) { a = a.implicitCastTo(sc, tret); a = a.optimize(WANTvalue); a = toDelegate(a, a.type, sc); } else a = a.implicitCastTo(sc, tbn); (*elements)[u] = a; } // https://issues.dlang.org/show_bug.cgi?id=14395 // Convert to a static array literal, or its slice. arg = new ArrayLiteralExp(loc, elements); arg.type = tsa; if (tb.ty == Tarray) { arg = new SliceExp(loc, arg, null, null); arg.type = p.type; } break; } case Tclass: { /* Set arg to be: * new Tclass(arg0, arg1, ..., argn) */ auto args = new Expressions(); args.setDim(nargs - i); for (size_t u = i; u < nargs; u++) (*args)[u - i] = (*arguments)[u]; arg = new NewExp(loc, null, null, p.type, args); break; } default: if (!arg) { error(loc, "not enough arguments"); return true; } break; } arg = arg.expressionSemantic(sc); //printf("\targ = '%s'\n", arg.toChars()); arguments.setDim(i + 1); (*arguments)[i] = arg; nargs = i + 1; done = 1; } L1: if (!(p.storageClass & STC.lazy_ && p.type.ty == Tvoid)) { bool isRef = (p.storageClass & (STC.ref_ | STC.out_)) != 0; if (ubyte wm = arg.type.deduceWild(p.type, isRef)) { if (wildmatch) wildmatch = MODmerge(wildmatch, wm); else wildmatch = wm; //printf("[%d] p = %s, a = %s, wm = %d, wildmatch = %d\n", i, p.type.toChars(), arg.type.toChars(), wm, wildmatch); } } } if (done) break; } if ((wildmatch == MODFlags.mutable || wildmatch == MODFlags.immutable_) && tf.next.hasWild() && (tf.isref || !tf.next.implicitConvTo(tf.next.immutableOf()))) { if (fd) { /* If the called function may return the reference to * outer inout data, it should be rejected. * * void foo(ref inout(int) x) { * ref inout(int) bar(inout(int)) { return x; } * struct S { ref inout(int) bar() inout { return x; } } * bar(int.init) = 1; // bad! * S().bar() = 1; // bad! * } */ Dsymbol s = null; if (fd.isThis() || fd.isNested()) s = fd.toParent2(); for (; s; s = s.toParent2()) { if (auto ad = s.isAggregateDeclaration()) { if (ad.isNested()) continue; break; } if (auto ff = s.isFuncDeclaration()) { if ((cast(TypeFunction)ff.type).iswild) goto Linouterr; if (ff.isNested() || ff.isThis()) continue; } break; } } else if (tf.isWild()) { Linouterr: const(char)* s = wildmatch == MODFlags.mutable ? "mutable" : MODtoChars(wildmatch); error(loc, "modify `inout` to `%s` is not allowed inside `inout` function", s); return true; } } assert(nargs >= nparams); for (size_t i = 0; i < nargs; i++) { Expression arg = (*arguments)[i]; assert(arg); if (i < nparams) { Parameter p = Parameter.getNth(tf.parameters, i); if (!(p.storageClass & STC.lazy_ && p.type.ty == Tvoid)) { Type tprm = p.type; if (p.type.hasWild()) tprm = p.type.substWildTo(wildmatch); if (!tprm.equals(arg.type)) { //printf("arg.type = %s, p.type = %s\n", arg.type.toChars(), p.type.toChars()); arg = arg.implicitCastTo(sc, tprm); arg = arg.optimize(WANTvalue, (p.storageClass & (STC.ref_ | STC.out_)) != 0); } } if (p.storageClass & STC.ref_) { arg = arg.toLvalue(sc, arg); // Look for mutable misaligned pointer, etc., in @safe mode err |= checkUnsafeAccess(sc, arg, false, true); } else if (p.storageClass & STC.out_) { Type t = arg.type; if (!t.isMutable() || !t.isAssignable()) // check blit assignable { arg.error("cannot modify struct `%s` with immutable members", arg.toChars()); err = true; } else { // Look for misaligned pointer, etc., in @safe mode err |= checkUnsafeAccess(sc, arg, false, true); err |= checkDefCtor(arg.loc, t); // t must be default constructible } arg = arg.toLvalue(sc, arg); } else if (p.storageClass & STC.lazy_) { // Convert lazy argument to a delegate if (p.type.ty == Tvoid) arg = toDelegate(arg, p.type, sc); else arg = toDelegate(arg, arg.type, sc); } //printf("arg: %s\n", arg.toChars()); //printf("type: %s\n", arg.type.toChars()); //printf("param: %s\n", p.toChars()); if (tf.parameterEscapes(tthis, p)) { /* Argument value can escape from the called function. * Check arg to see if it matters. */ if (global.params.vsafe) err |= checkParamArgumentEscape(sc, fd, p.ident, arg, false); } else { /* Argument value cannot escape from the called function. */ Expression a = arg; if (a.op == TOK.cast_) a = (cast(CastExp)a).e1; if (a.op == TOK.function_) { /* Function literals can only appear once, so if this * appearance was scoped, there cannot be any others. */ FuncExp fe = cast(FuncExp)a; fe.fd.tookAddressOf = 0; } else if (a.op == TOK.delegate_) { /* For passing a delegate to a scoped parameter, * this doesn't count as taking the address of it. * We only worry about 'escaping' references to the function. */ DelegateExp de = cast(DelegateExp)a; if (de.e1.op == TOK.variable) { VarExp ve = cast(VarExp)de.e1; FuncDeclaration f = ve.var.isFuncDeclaration(); if (f) { f.tookAddressOf--; //printf("--tookAddressOf = %d\n", f.tookAddressOf); } } } } arg = arg.optimize(WANTvalue, (p.storageClass & (STC.ref_ | STC.out_)) != 0); } else { // These will be the trailing ... arguments // If not D linkage, do promotions if (tf.linkage != LINK.d) { // Promote bytes, words, etc., to ints arg = integralPromotions(arg, sc); // Promote floats to doubles switch (arg.type.ty) { case Tfloat32: arg = arg.castTo(sc, Type.tfloat64); break; case Timaginary32: arg = arg.castTo(sc, Type.timaginary64); break; default: break; } if (tf.varargs == 1) { const(char)* p = tf.linkage == LINK.c ? "extern(C)" : "extern(C++)"; if (arg.type.ty == Tarray) { arg.error("cannot pass dynamic arrays to `%s` vararg functions", p); err = true; } if (arg.type.ty == Tsarray) { arg.error("cannot pass static arrays to `%s` vararg functions", p); err = true; } } } // Do not allow types that need destructors if (arg.type.needsDestruction()) { arg.error("cannot pass types that need destruction as variadic arguments"); err = true; } // Convert static arrays to dynamic arrays // BUG: I don't think this is right for D2 Type tb = arg.type.toBasetype(); if (tb.ty == Tsarray) { TypeSArray ts = cast(TypeSArray)tb; Type ta = ts.next.arrayOf(); if (ts.size(arg.loc) == 0) arg = new NullExp(arg.loc, ta); else arg = arg.castTo(sc, ta); } if (tb.ty == Tstruct) { //arg = callCpCtor(sc, arg); } // Give error for overloaded function addresses if (arg.op == TOK.symbolOffset) { SymOffExp se = cast(SymOffExp)arg; if (se.hasOverloads && !se.var.isFuncDeclaration().isUnique()) { arg.error("function `%s` is overloaded", arg.toChars()); err = true; } } if (arg.checkValue()) err = true; arg = arg.optimize(WANTvalue); } (*arguments)[i] = arg; } /* Remaining problems: * 1. order of evaluation - some function push L-to-R, others R-to-L. Until we resolve what array assignment does (which is * implemented by calling a function) we'll defer this for now. * 2. value structs (or static arrays of them) that need to be copy constructed * 3. value structs (or static arrays of them) that have destructors, and subsequent arguments that may throw before the * function gets called (functions normally destroy their parameters) * 2 and 3 are handled by doing the argument construction in 'eprefix' so that if a later argument throws, they are cleaned * up properly. Pushing arguments on the stack then cannot fail. */ if (1) { /* TODO: tackle problem 1) */ const bool leftToRight = true; // TODO: something like !fd.isArrayOp if (!leftToRight) assert(nargs == nparams); // no variadics for RTL order, as they would probably be evaluated LTR and so add complexity const ptrdiff_t start = (leftToRight ? 0 : cast(ptrdiff_t)nargs - 1); const ptrdiff_t end = (leftToRight ? cast(ptrdiff_t)nargs : -1); const ptrdiff_t step = (leftToRight ? 1 : -1); /* Compute indices of last throwing argument and first arg needing destruction. * Used to not set up destructors unless an arg needs destruction on a throw * in a later argument. */ ptrdiff_t lastthrow = -1; ptrdiff_t firstdtor = -1; for (ptrdiff_t i = start; i != end; i += step) { Expression arg = (*arguments)[i]; if (canThrow(arg, sc.func, false)) lastthrow = i; if (firstdtor == -1 && arg.type.needsDestruction()) { Parameter p = (i >= nparams ? null : Parameter.getNth(tf.parameters, i)); if (!(p && (p.storageClass & (STC.lazy_ | STC.ref_ | STC.out_)))) firstdtor = i; } } /* Does problem 3) apply to this call? */ const bool needsPrefix = (firstdtor >= 0 && lastthrow >= 0 && (lastthrow - firstdtor) * step > 0); /* If so, initialize 'eprefix' by declaring the gate */ VarDeclaration gate = null; if (needsPrefix) { // eprefix => bool __gate [= false] Identifier idtmp = Identifier.generateId("__gate"); gate = new VarDeclaration(loc, Type.tbool, idtmp, null); gate.storage_class |= STC.temp | STC.ctfe | STC.volatile_; gate.dsymbolSemantic(sc); auto ae = new DeclarationExp(loc, gate); eprefix = ae.expressionSemantic(sc); } for (ptrdiff_t i = start; i != end; i += step) { Expression arg = (*arguments)[i]; Parameter parameter = (i >= nparams ? null : Parameter.getNth(tf.parameters, i)); const bool isRef = (parameter && (parameter.storageClass & (STC.ref_ | STC.out_))); const bool isLazy = (parameter && (parameter.storageClass & STC.lazy_)); /* Skip lazy parameters */ if (isLazy) continue; /* Do we have a gate? Then we have a prefix and we're not yet past the last throwing arg. * Declare a temporary variable for this arg and append that declaration to 'eprefix', * which will implicitly take care of potential problem 2) for this arg. * 'eprefix' will therefore finally contain all args up to and including the last * potentially throwing arg, excluding all lazy parameters. */ if (gate) { const bool needsDtor = (!isRef && arg.type.needsDestruction() && i != lastthrow); /* Declare temporary 'auto __pfx = arg' (needsDtor) or 'auto __pfy = arg' (!needsDtor) */ auto tmp = copyToTemp(0, needsDtor ? "__pfx" : "__pfy", !isRef ? arg : arg.addressOf()); tmp.dsymbolSemantic(sc); /* Modify the destructor so it only runs if gate==false, i.e., * only if there was a throw while constructing the args */ if (!needsDtor) { if (tmp.edtor) { assert(i == lastthrow); tmp.edtor = null; } } else { // edtor => (__gate || edtor) assert(tmp.edtor); Expression e = tmp.edtor; e = new LogicalExp(e.loc, TOK.orOr, new VarExp(e.loc, gate), e); tmp.edtor = e.expressionSemantic(sc); //printf("edtor: %s\n", tmp.edtor.toChars()); } // eprefix => (eprefix, auto __pfx/y = arg) auto ae = new DeclarationExp(loc, tmp); eprefix = Expression.combine(eprefix, ae.expressionSemantic(sc)); // arg => __pfx/y arg = new VarExp(loc, tmp); arg = arg.expressionSemantic(sc); if (isRef) { arg = new PtrExp(loc, arg); arg = arg.expressionSemantic(sc); } /* Last throwing arg? Then finalize eprefix => (eprefix, gate = true), * i.e., disable the dtors right after constructing the last throwing arg. * From now on, the callee will take care of destructing the args because * the args are implicitly moved into function parameters. * * Set gate to null to let the next iterations know they don't need to * append to eprefix anymore. */ if (i == lastthrow) { auto e = new AssignExp(gate.loc, new VarExp(gate.loc, gate), new IntegerExp(gate.loc, 1, Type.tbool)); eprefix = Expression.combine(eprefix, e.expressionSemantic(sc)); gate = null; } } else { /* No gate, no prefix to append to. * Handle problem 2) by calling the copy constructor for value structs * (or static arrays of them) if appropriate. */ Type tv = arg.type.baseElemOf(); if (!isRef && tv.ty == Tstruct) arg = doCopyOrMove(sc, arg); } (*arguments)[i] = arg; } } //if (eprefix) printf("eprefix: %s\n", eprefix.toChars()); // If D linkage and variadic, add _arguments[] as first argument if (tf.linkage == LINK.d && tf.varargs == 1) { assert(arguments.dim >= nparams); auto args = new Parameters(); args.setDim(arguments.dim - nparams); for (size_t i = 0; i < arguments.dim - nparams; i++) { auto arg = new Parameter(STC.in_, (*arguments)[nparams + i].type, null, null); (*args)[i] = arg; } auto tup = new TypeTuple(args); Expression e = new TypeidExp(loc, tup); e = e.expressionSemantic(sc); arguments.insert(0, e); } Type tret = tf.next; if (isCtorCall) { //printf("[%s] fd = %s %s, %d %d %d\n", loc.toChars(), fd.toChars(), fd.type.toChars(), // wildmatch, tf.isWild(), fd.isReturnIsolated()); if (!tthis) { assert(sc.intypeof || global.errors); tthis = fd.isThis().type.addMod(fd.type.mod); } if (tf.isWild() && !fd.isReturnIsolated()) { if (wildmatch) tret = tret.substWildTo(wildmatch); int offset; if (!tret.implicitConvTo(tthis) && !(MODimplicitConv(tret.mod, tthis.mod) && tret.isBaseOf(tthis, &offset) && offset == 0)) { const(char)* s1 = tret.isNaked() ? " mutable" : tret.modToChars(); const(char)* s2 = tthis.isNaked() ? " mutable" : tthis.modToChars(); .error(loc, "`inout` constructor `%s` creates%s object, not%s", fd.toPrettyChars(), s1, s2); err = true; } } tret = tthis; } else if (wildmatch && tret) { /* Adjust function return type based on wildmatch */ //printf("wildmatch = x%x, tret = %s\n", wildmatch, tret.toChars()); tret = tret.substWildTo(wildmatch); } *prettype = tret; *peprefix = eprefix; return (err || olderrors != global.errors); } private Module loadStdMath() { static __gshared Import impStdMath = null; if (!impStdMath) { auto a = new Identifiers(); a.push(Id.std); auto s = new Import(Loc.initial, a, Id.math, null, false); s.load(null); if (s.mod) { s.mod.importAll(null); s.mod.dsymbolSemantic(null); } impStdMath = s; } return impStdMath.mod; } private extern (C++) final class ExpressionSemanticVisitor : Visitor { alias visit = Visitor.visit; Scope* sc; Expression result; this(Scope* sc) { this.sc = sc; } private void setError() { result = new ErrorExp(); } /************************** * Semantically analyze Expression. * Determine types, fold constants, etc. */ override void visit(Expression e) { static if (LOGSEMANTIC) { printf("Expression::semantic() %s\n", e.toChars()); } if (e.type) e.type = e.type.typeSemantic(e.loc, sc); else e.type = Type.tvoid; result = e; } override void visit(IntegerExp e) { assert(e.type); if (e.type.ty == Terror) return setError(); assert(e.type.deco); e.normalize(); result = e; } override void visit(RealExp e) { if (!e.type) e.type = Type.tfloat64; else e.type = e.type.typeSemantic(e.loc, sc); result = e; } override void visit(ComplexExp e) { if (!e.type) e.type = Type.tcomplex80; else e.type = e.type.typeSemantic(e.loc, sc); result = e; } override void visit(IdentifierExp exp) { static if (LOGSEMANTIC) { printf("IdentifierExp::semantic('%s')\n", exp.ident.toChars()); } if (exp.type) // This is used as the dummy expression { result = exp; return; } Dsymbol scopesym; Dsymbol s = sc.search(exp.loc, exp.ident, &scopesym); if (s) { if (s.errors) return setError(); Expression e; /* See if the symbol was a member of an enclosing 'with' */ WithScopeSymbol withsym = scopesym.isWithScopeSymbol(); if (withsym && withsym.withstate.wthis) { /* Disallow shadowing */ // First find the scope of the with Scope* scwith = sc; while (scwith.scopesym != scopesym) { scwith = scwith.enclosing; assert(scwith); } // Look at enclosing scopes for symbols with the same name, // in the same function for (Scope* scx = scwith; scx && scx.func == scwith.func; scx = scx.enclosing) { Dsymbol s2; if (scx.scopesym && scx.scopesym.symtab && (s2 = scx.scopesym.symtab.lookup(s.ident)) !is null && s != s2) { exp.error("with symbol `%s` is shadowing local symbol `%s`", s.toPrettyChars(), s2.toPrettyChars()); return setError(); } } s = s.toAlias(); // Same as wthis.ident // TODO: DotIdExp.semantic will find 'ident' from 'wthis' again. // The redudancy should be removed. e = new VarExp(exp.loc, withsym.withstate.wthis); e = new DotIdExp(exp.loc, e, exp.ident); e = e.expressionSemantic(sc); } else { if (withsym) { Declaration d = s.isDeclaration(); if (d) checkAccess(exp.loc, sc, null, d); } /* If f is really a function template, * then replace f with the function template declaration. */ FuncDeclaration f = s.isFuncDeclaration(); if (f) { TemplateDeclaration td = getFuncTemplateDecl(f); if (td) { if (td.overroot) // if not start of overloaded list of TemplateDeclaration's td = td.overroot; // then get the start e = new TemplateExp(exp.loc, td, f); e = e.expressionSemantic(sc); result = e; return; } } // Haven't done overload resolution yet, so pass 1 e = resolve(exp.loc, sc, s, true); } result = e; return; } if (hasThis(sc)) { AggregateDeclaration ad = sc.getStructClassScope(); if (ad && ad.aliasthis) { Expression e; e = new IdentifierExp(exp.loc, Id.This); e = new DotIdExp(exp.loc, e, ad.aliasthis.ident); e = new DotIdExp(exp.loc, e, exp.ident); e = e.trySemantic(sc); if (e) { result = e; return; } } } if (exp.ident == Id.ctfe) { if (sc.flags & SCOPE.ctfe) { exp.error("variable `__ctfe` cannot be read at compile time"); return setError(); } // Create the magic __ctfe bool variable auto vd = new VarDeclaration(exp.loc, Type.tbool, Id.ctfe, null); vd.storage_class |= STC.temp; vd.semanticRun = PASS.semanticdone; Expression e = new VarExp(exp.loc, vd); e = e.expressionSemantic(sc); result = e; return; } // If we've reached this point and are inside a with() scope then we may // try one last attempt by checking whether the 'wthis' object supports // dynamic dispatching via opDispatch. // This is done by rewriting this expression as wthis.ident. // The innermost with() scope of the hierarchy to satisfy the condition // above wins. // https://issues.dlang.org/show_bug.cgi?id=6400 for (Scope* sc2 = sc; sc2; sc2 = sc2.enclosing) { if (!sc2.scopesym) continue; if (auto ss = sc2.scopesym.isWithScopeSymbol()) { if (ss.withstate.wthis) { Expression e; e = new VarExp(exp.loc, ss.withstate.wthis); e = new DotIdExp(exp.loc, e, exp.ident); e = e.trySemantic(sc); if (e) { result = e; return; } } } } /* Look for what user might have meant */ if (const n = importHint(exp.ident.toChars())) exp.error("`%s` is not defined, perhaps `import %s;` is needed?", exp.ident.toChars(), n); else if (auto s2 = sc.search_correct(exp.ident)) exp.error("undefined identifier `%s`, did you mean %s `%s`?", exp.ident.toChars(), s2.kind(), s2.toChars()); else if (const p = Scope.search_correct_C(exp.ident)) exp.error("undefined identifier `%s`, did you mean `%s`?", exp.ident.toChars(), p); else exp.error("undefined identifier `%s`", exp.ident.toChars()); result = new ErrorExp(); } override void visit(DsymbolExp e) { result = resolve(e.loc, sc, e.s, e.hasOverloads); } override void visit(ThisExp e) { static if (LOGSEMANTIC) { printf("ThisExp::semantic()\n"); } if (e.type) { result = e; return; } FuncDeclaration fd = hasThis(sc); // fd is the uplevel function with the 'this' variable /* Special case for typeof(this) and typeof(super) since both * should work even if they are not inside a non-static member function */ if (!fd && sc.intypeof == 1) { // Find enclosing struct or class for (Dsymbol s = sc.getStructClassScope(); 1; s = s.parent) { if (!s) { e.error("`%s` is not in a class or struct scope", e.toChars()); goto Lerr; } ClassDeclaration cd = s.isClassDeclaration(); if (cd) { e.type = cd.type; result = e; return; } StructDeclaration sd = s.isStructDeclaration(); if (sd) { e.type = sd.type; result = e; return; } } } if (!fd) goto Lerr; assert(fd.vthis); e.var = fd.vthis; assert(e.var.parent); e.type = e.var.type; if (e.var.checkNestedReference(sc, e.loc)) return setError(); if (!sc.intypeof) sc.ctorflow.callSuper |= CSX.this_; result = e; return; Lerr: e.error("`this` is only defined in non-static member functions, not `%s`", sc.parent.toChars()); result = new ErrorExp(); } override void visit(SuperExp e) { static if (LOGSEMANTIC) { printf("SuperExp::semantic('%s')\n", e.toChars()); } if (e.type) { result = e; return; } FuncDeclaration fd = hasThis(sc); ClassDeclaration cd; Dsymbol s; /* Special case for typeof(this) and typeof(super) since both * should work even if they are not inside a non-static member function */ if (!fd && sc.intypeof == 1) { // Find enclosing class for (s = sc.getStructClassScope(); 1; s = s.parent) { if (!s) { e.error("`%s` is not in a class scope", e.toChars()); goto Lerr; } cd = s.isClassDeclaration(); if (cd) { cd = cd.baseClass; if (!cd) { e.error("class `%s` has no `super`", s.toChars()); goto Lerr; } e.type = cd.type; result = e; return; } } } if (!fd) goto Lerr; e.var = fd.vthis; assert(e.var && e.var.parent); s = fd.toParent(); while (s && s.isTemplateInstance()) s = s.toParent(); if (s.isTemplateDeclaration()) // allow inside template constraint s = s.toParent(); assert(s); cd = s.isClassDeclaration(); //printf("parent is %s %s\n", fd.toParent().kind(), fd.toParent().toChars()); if (!cd) goto Lerr; if (!cd.baseClass) { e.error("no base class for `%s`", cd.toChars()); e.type = e.var.type; } else { e.type = cd.baseClass.type; e.type = e.type.castMod(e.var.type.mod); } if (e.var.checkNestedReference(sc, e.loc)) return setError(); if (!sc.intypeof) sc.ctorflow.callSuper |= CSX.super_; result = e; return; Lerr: e.error("`super` is only allowed in non-static class member functions"); result = new ErrorExp(); } override void visit(NullExp e) { static if (LOGSEMANTIC) { printf("NullExp::semantic('%s')\n", e.toChars()); } // NULL is the same as (void *)0 if (e.type) { result = e; return; } e.type = Type.tnull; result = e; } override void visit(StringExp e) { static if (LOGSEMANTIC) { printf("StringExp::semantic() %s\n", e.toChars()); } if (e.type) { result = e; return; } OutBuffer buffer; size_t newlen = 0; const(char)* p; size_t u; dchar c; switch (e.postfix) { case 'd': for (u = 0; u < e.len;) { p = utf_decodeChar(e.string, e.len, u, c); if (p) { e.error("%s", p); return setError(); } else { buffer.write4(c); newlen++; } } buffer.write4(0); e.dstring = cast(dchar*)buffer.extractData(); e.len = newlen; e.sz = 4; e.type = new TypeDArray(Type.tdchar.immutableOf()); e.committed = 1; break; case 'w': for (u = 0; u < e.len;) { p = utf_decodeChar(e.string, e.len, u, c); if (p) { e.error("%s", p); return setError(); } else { buffer.writeUTF16(c); newlen++; if (c >= 0x10000) newlen++; } } buffer.writeUTF16(0); e.wstring = cast(wchar*)buffer.extractData(); e.len = newlen; e.sz = 2; e.type = new TypeDArray(Type.twchar.immutableOf()); e.committed = 1; break; case 'c': e.committed = 1; goto default; default: e.type = new TypeDArray(Type.tchar.immutableOf()); break; } e.type = e.type.typeSemantic(e.loc, sc); //type = type.immutableOf(); //printf("type = %s\n", type.toChars()); result = e; } override void visit(TupleExp exp) { static if (LOGSEMANTIC) { printf("+TupleExp::semantic(%s)\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (exp.e0) exp.e0 = exp.e0.expressionSemantic(sc); // Run semantic() on each argument bool err = false; for (size_t i = 0; i < exp.exps.dim; i++) { Expression e = (*exp.exps)[i]; e = e.expressionSemantic(sc); if (!e.type) { exp.error("`%s` has no value", e.toChars()); err = true; } else if (e.op == TOK.error) err = true; else (*exp.exps)[i] = e; } if (err) return setError(); expandTuples(exp.exps); exp.type = new TypeTuple(exp.exps); exp.type = exp.type.typeSemantic(exp.loc, sc); //printf("-TupleExp::semantic(%s)\n", toChars()); result = exp; } override void visit(ArrayLiteralExp e) { static if (LOGSEMANTIC) { printf("ArrayLiteralExp::semantic('%s')\n", e.toChars()); } if (e.type) { result = e; return; } /* Perhaps an empty array literal [ ] should be rewritten as null? */ if (e.basis) e.basis = e.basis.expressionSemantic(sc); if (arrayExpressionSemantic(e.elements, sc) || (e.basis && e.basis.op == TOK.error)) return setError(); expandTuples(e.elements); Type t0; if (e.basis) e.elements.push(e.basis); bool err = arrayExpressionToCommonType(sc, e.elements, &t0); if (e.basis) e.basis = e.elements.pop(); if (err) return setError(); e.type = t0.arrayOf(); e.type = e.type.typeSemantic(e.loc, sc); /* Disallow array literals of type void being used. */ if (e.elements.dim > 0 && t0.ty == Tvoid) { e.error("`%s` of type `%s` has no value", e.toChars(), e.type.toChars()); return setError(); } semanticTypeInfo(sc, e.type); result = e; } override void visit(AssocArrayLiteralExp e) { static if (LOGSEMANTIC) { printf("AssocArrayLiteralExp::semantic('%s')\n", e.toChars()); } if (e.type) { result = e; return; } // Run semantic() on each element bool err_keys = arrayExpressionSemantic(e.keys, sc); bool err_vals = arrayExpressionSemantic(e.values, sc); if (err_keys || err_vals) return setError(); expandTuples(e.keys); expandTuples(e.values); if (e.keys.dim != e.values.dim) { e.error("number of keys is %u, must match number of values %u", e.keys.dim, e.values.dim); return setError(); } Type tkey = null; Type tvalue = null; err_keys = arrayExpressionToCommonType(sc, e.keys, &tkey); err_vals = arrayExpressionToCommonType(sc, e.values, &tvalue); if (err_keys || err_vals) return setError(); if (tkey == Type.terror || tvalue == Type.terror) return setError(); e.type = new TypeAArray(tvalue, tkey); e.type = e.type.typeSemantic(e.loc, sc); semanticTypeInfo(sc, e.type); if (global.params.vsafe) { if (checkAssocArrayLiteralEscape(sc, e, false)) return setError(); } result = e; } override void visit(StructLiteralExp e) { static if (LOGSEMANTIC) { printf("StructLiteralExp::semantic('%s')\n", e.toChars()); } if (e.type) { result = e; return; } e.sd.size(e.loc); if (e.sd.sizeok != Sizeok.done) return setError(); // run semantic() on each element if (arrayExpressionSemantic(e.elements, sc)) return setError(); expandTuples(e.elements); /* Fit elements[] to the corresponding type of field[]. */ if (!e.sd.fit(e.loc, sc, e.elements, e.stype)) return setError(); /* Fill out remainder of elements[] with default initializers for fields[] */ if (!e.sd.fill(e.loc, e.elements, false)) { /* An error in the initializer needs to be recorded as an error * in the enclosing function or template, since the initializer * will be part of the stuct declaration. */ global.increaseErrorCount(); return setError(); } if (checkFrameAccess(e.loc, sc, e.sd, e.elements.dim)) return setError(); e.type = e.stype ? e.stype : e.sd.type; result = e; } override void visit(TypeExp exp) { if (exp.type.ty == Terror) return setError(); //printf("TypeExp::semantic(%s)\n", type.toChars()); Expression e; Type t; Dsymbol s; exp.type.resolve(exp.loc, sc, &e, &t, &s, true); if (e) { //printf("e = %s %s\n", Token::toChars(e.op), e.toChars()); e = e.expressionSemantic(sc); } else if (t) { //printf("t = %d %s\n", t.ty, t.toChars()); exp.type = t.typeSemantic(exp.loc, sc); e = exp; } else if (s) { //printf("s = %s %s\n", s.kind(), s.toChars()); e = resolve(exp.loc, sc, s, true); } else assert(0); if (global.params.vcomplex) exp.type.checkComplexTransition(exp.loc, sc); result = e; } override void visit(ScopeExp exp) { static if (LOGSEMANTIC) { printf("+ScopeExp::semantic(%p '%s')\n", exp, exp.toChars()); } if (exp.type) { result = exp; return; } ScopeDsymbol sds2 = exp.sds; TemplateInstance ti = sds2.isTemplateInstance(); while (ti) { WithScopeSymbol withsym; if (!ti.findTempDecl(sc, &withsym) || !ti.semanticTiargs(sc)) return setError(); if (withsym && withsym.withstate.wthis) { Expression e = new VarExp(exp.loc, withsym.withstate.wthis); e = new DotTemplateInstanceExp(exp.loc, e, ti); result = e.expressionSemantic(sc); return; } if (ti.needsTypeInference(sc)) { if (TemplateDeclaration td = ti.tempdecl.isTemplateDeclaration()) { Dsymbol p = td.toParent2(); FuncDeclaration fdthis = hasThis(sc); AggregateDeclaration ad = p ? p.isAggregateDeclaration() : null; if (fdthis && ad && isAggregate(fdthis.vthis.type) == ad && (td._scope.stc & STC.static_) == 0) { Expression e = new DotTemplateInstanceExp(exp.loc, new ThisExp(exp.loc), ti.name, ti.tiargs); result = e.expressionSemantic(sc); return; } } else if (OverloadSet os = ti.tempdecl.isOverloadSet()) { FuncDeclaration fdthis = hasThis(sc); AggregateDeclaration ad = os.parent.isAggregateDeclaration(); if (fdthis && ad && isAggregate(fdthis.vthis.type) == ad) { Expression e = new DotTemplateInstanceExp(exp.loc, new ThisExp(exp.loc), ti.name, ti.tiargs); result = e.expressionSemantic(sc); return; } } // ti is an instance which requires IFTI. exp.sds = ti; exp.type = Type.tvoid; result = exp; return; } ti.dsymbolSemantic(sc); if (!ti.inst || ti.errors) return setError(); Dsymbol s = ti.toAlias(); if (s == ti) { exp.sds = ti; exp.type = Type.tvoid; result = exp; return; } sds2 = s.isScopeDsymbol(); if (sds2) { ti = sds2.isTemplateInstance(); //printf("+ sds2 = %s, '%s'\n", sds2.kind(), sds2.toChars()); continue; } if (auto v = s.isVarDeclaration()) { if (!v.type) { exp.error("forward reference of %s `%s`", v.kind(), v.toChars()); return setError(); } if ((v.storage_class & STC.manifest) && v._init) { /* When an instance that will be converted to a constant exists, * the instance representation "foo!tiargs" is treated like a * variable name, and its recursive appearance check (note that * it's equivalent with a recursive instantiation of foo) is done * separately from the circular initialization check for the * eponymous enum variable declaration. * * template foo(T) { * enum bool foo = foo; // recursive definition check (v.inuse) * } * template bar(T) { * enum bool bar = bar!T; // recursive instantiation check (ti.inuse) * } */ if (ti.inuse) { exp.error("recursive expansion of %s `%s`", ti.kind(), ti.toPrettyChars()); return setError(); } auto e = v.expandInitializer(exp.loc); ti.inuse++; e = e.expressionSemantic(sc); ti.inuse--; result = e; return; } } //printf("s = %s, '%s'\n", s.kind(), s.toChars()); auto e = resolve(exp.loc, sc, s, true); //printf("-1ScopeExp::semantic()\n"); result = e; return; } //printf("sds2 = %s, '%s'\n", sds2.kind(), sds2.toChars()); //printf("\tparent = '%s'\n", sds2.parent.toChars()); sds2.dsymbolSemantic(sc); // (Aggregate|Enum)Declaration if (auto t = sds2.getType()) { result = (new TypeExp(exp.loc, t)).expressionSemantic(sc); return; } if (auto td = sds2.isTemplateDeclaration()) { result = (new TemplateExp(exp.loc, td)).expressionSemantic(sc); return; } exp.sds = sds2; exp.type = Type.tvoid; //printf("-2ScopeExp::semantic() %s\n", toChars()); result = exp; } override void visit(NewExp exp) { static if (LOGSEMANTIC) { printf("NewExp::semantic() %s\n", exp.toChars()); if (exp.thisexp) printf("\tthisexp = %s\n", exp.thisexp.toChars()); printf("\tnewtype: %s\n", exp.newtype.toChars()); } if (exp.type) // if semantic() already run { result = exp; return; } // https://issues.dlang.org/show_bug.cgi?id=11581 // With the syntax `new T[edim]` or `thisexp.new T[edim]`, // T should be analyzed first and edim should go into arguments iff it's // not a tuple. Expression edim = null; if (!exp.arguments && exp.newtype.ty == Tsarray) { edim = (cast(TypeSArray)exp.newtype).dim; exp.newtype = (cast(TypeNext)exp.newtype).next; } ClassDeclaration cdthis = null; if (exp.thisexp) { exp.thisexp = exp.thisexp.expressionSemantic(sc); if (exp.thisexp.op == TOK.error) return setError(); cdthis = exp.thisexp.type.isClassHandle(); if (!cdthis) { exp.error("`this` for nested class must be a class type, not `%s`", exp.thisexp.type.toChars()); return setError(); } sc = sc.push(cdthis); exp.type = exp.newtype.typeSemantic(exp.loc, sc); sc = sc.pop(); } else { exp.type = exp.newtype.typeSemantic(exp.loc, sc); } if (exp.type.ty == Terror) return setError(); if (edim) { if (exp.type.toBasetype().ty == Ttuple) { // --> new T[edim] exp.type = new TypeSArray(exp.type, edim); exp.type = exp.type.typeSemantic(exp.loc, sc); if (exp.type.ty == Terror) return setError(); } else { // --> new T[](edim) exp.arguments = new Expressions(); exp.arguments.push(edim); exp.type = exp.type.arrayOf(); } } exp.newtype = exp.type; // in case type gets cast to something else Type tb = exp.type.toBasetype(); //printf("tb: %s, deco = %s\n", tb.toChars(), tb.deco); if (arrayExpressionSemantic(exp.newargs, sc) || preFunctionParameters(sc, exp.newargs)) { return setError(); } if (arrayExpressionSemantic(exp.arguments, sc) || preFunctionParameters(sc, exp.arguments)) { return setError(); } if (exp.thisexp && tb.ty != Tclass) { exp.error("`.new` is only for allocating nested classes, not `%s`", tb.toChars()); return setError(); } size_t nargs = exp.arguments ? exp.arguments.dim : 0; Expression newprefix = null; if (tb.ty == Tclass) { auto cd = (cast(TypeClass)tb).sym; cd.size(exp.loc); if (cd.sizeok != Sizeok.done) return setError(); if (!cd.ctor) cd.ctor = cd.searchCtor(); if (cd.noDefaultCtor && !nargs && !cd.defaultCtor) { exp.error("default construction is disabled for type `%s`", cd.type.toChars()); return setError(); } if (cd.isInterfaceDeclaration()) { exp.error("cannot create instance of interface `%s`", cd.toChars()); return setError(); } if (cd.isAbstract()) { exp.error("cannot create instance of abstract class `%s`", cd.toChars()); for (size_t i = 0; i < cd.vtbl.dim; i++) { FuncDeclaration fd = cd.vtbl[i].isFuncDeclaration(); if (fd && fd.isAbstract()) { errorSupplemental(exp.loc, "function `%s` is not implemented", fd.toFullSignature()); } } return setError(); } // checkDeprecated() is already done in newtype.typeSemantic(). if (cd.isNested()) { /* We need a 'this' pointer for the nested class. * Ensure we have the right one. */ Dsymbol s = cd.toParent2(); //printf("cd isNested, parent = %s '%s'\n", s.kind(), s.toPrettyChars()); if (auto cdn = s.isClassDeclaration()) { if (!cdthis) { // Supply an implicit 'this' and try again exp.thisexp = new ThisExp(exp.loc); for (Dsymbol sp = sc.parent; 1; sp = sp.parent) { if (!sp) { exp.error("outer class `%s` `this` needed to `new` nested class `%s`", cdn.toChars(), cd.toChars()); return setError(); } ClassDeclaration cdp = sp.isClassDeclaration(); if (!cdp) continue; if (cdp == cdn || cdn.isBaseOf(cdp, null)) break; // Add a '.outer' and try again exp.thisexp = new DotIdExp(exp.loc, exp.thisexp, Id.outer); } exp.thisexp = exp.thisexp.expressionSemantic(sc); if (exp.thisexp.op == TOK.error) return setError(); cdthis = exp.thisexp.type.isClassHandle(); } if (cdthis != cdn && !cdn.isBaseOf(cdthis, null)) { //printf("cdthis = %s\n", cdthis.toChars()); exp.error("`this` for nested class must be of type `%s`, not `%s`", cdn.toChars(), exp.thisexp.type.toChars()); return setError(); } if (!MODimplicitConv(exp.thisexp.type.mod, exp.newtype.mod)) { exp.error("nested type `%s` should have the same or weaker constancy as enclosing type `%s`", exp.newtype.toChars(), exp.thisexp.type.toChars()); return setError(); } } else if (exp.thisexp) { exp.error("`.new` is only for allocating nested classes"); return setError(); } else if (auto fdn = s.isFuncDeclaration()) { // make sure the parent context fdn of cd is reachable from sc if (!ensureStaticLinkTo(sc.parent, fdn)) { exp.error("outer function context of `%s` is needed to `new` nested class `%s`", fdn.toPrettyChars(), cd.toPrettyChars()); return setError(); } } else assert(0); } else if (exp.thisexp) { exp.error("`.new` is only for allocating nested classes"); return setError(); } if (cd.aggNew) { // Prepend the size argument to newargs[] Expression e = new IntegerExp(exp.loc, cd.size(exp.loc), Type.tsize_t); if (!exp.newargs) exp.newargs = new Expressions(); exp.newargs.shift(e); FuncDeclaration f = resolveFuncCall(exp.loc, sc, cd.aggNew, null, tb, exp.newargs); if (!f || f.errors) return setError(); checkFunctionAttributes(exp, sc, f); checkAccess(cd, exp.loc, sc, f); TypeFunction tf = cast(TypeFunction)f.type; Type rettype; if (functionParameters(exp.loc, sc, tf, null, exp.newargs, f, &rettype, &newprefix)) return setError(); exp.allocator = f.isNewDeclaration(); assert(exp.allocator); } else { if (exp.newargs && exp.newargs.dim) { exp.error("no allocator for `%s`", cd.toChars()); return setError(); } } if (cd.ctor) { FuncDeclaration f = resolveFuncCall(exp.loc, sc, cd.ctor, null, tb, exp.arguments, 0); if (!f || f.errors) return setError(); checkFunctionAttributes(exp, sc, f); checkAccess(cd, exp.loc, sc, f); TypeFunction tf = cast(TypeFunction)f.type; if (!exp.arguments) exp.arguments = new Expressions(); if (functionParameters(exp.loc, sc, tf, exp.type, exp.arguments, f, &exp.type, &exp.argprefix)) return setError(); exp.member = f.isCtorDeclaration(); assert(exp.member); } else { if (nargs) { exp.error("no constructor for `%s`", cd.toChars()); return setError(); } } } else if (tb.ty == Tstruct) { auto sd = (cast(TypeStruct)tb).sym; sd.size(exp.loc); if (sd.sizeok != Sizeok.done) return setError(); if (!sd.ctor) sd.ctor = sd.searchCtor(); if (sd.noDefaultCtor && !nargs) { exp.error("default construction is disabled for type `%s`", sd.type.toChars()); return setError(); } // checkDeprecated() is already done in newtype.typeSemantic(). if (sd.aggNew) { // Prepend the uint size argument to newargs[] Expression e = new IntegerExp(exp.loc, sd.size(exp.loc), Type.tsize_t); if (!exp.newargs) exp.newargs = new Expressions(); exp.newargs.shift(e); FuncDeclaration f = resolveFuncCall(exp.loc, sc, sd.aggNew, null, tb, exp.newargs); if (!f || f.errors) return setError(); checkFunctionAttributes(exp, sc, f); checkAccess(sd, exp.loc, sc, f); TypeFunction tf = cast(TypeFunction)f.type; Type rettype; if (functionParameters(exp.loc, sc, tf, null, exp.newargs, f, &rettype, &newprefix)) return setError(); exp.allocator = f.isNewDeclaration(); assert(exp.allocator); } else { if (exp.newargs && exp.newargs.dim) { exp.error("no allocator for `%s`", sd.toChars()); return setError(); } } if (sd.ctor && nargs) { FuncDeclaration f = resolveFuncCall(exp.loc, sc, sd.ctor, null, tb, exp.arguments, 0); if (!f || f.errors) return setError(); checkFunctionAttributes(exp, sc, f); checkAccess(sd, exp.loc, sc, f); TypeFunction tf = cast(TypeFunction)f.type; if (!exp.arguments) exp.arguments = new Expressions(); if (functionParameters(exp.loc, sc, tf, exp.type, exp.arguments, f, &exp.type, &exp.argprefix)) return setError(); exp.member = f.isCtorDeclaration(); assert(exp.member); if (checkFrameAccess(exp.loc, sc, sd, sd.fields.dim)) return setError(); } else { if (!exp.arguments) exp.arguments = new Expressions(); if (!sd.fit(exp.loc, sc, exp.arguments, tb)) return setError(); if (!sd.fill(exp.loc, exp.arguments, false)) return setError(); if (checkFrameAccess(exp.loc, sc, sd, exp.arguments ? exp.arguments.dim : 0)) return setError(); /* Since a `new` allocation may escape, check each of the arguments for escaping */ if (global.params.vsafe) { foreach (arg; *exp.arguments) { if (arg && checkNewEscape(sc, arg, false)) return setError(); } } } exp.type = exp.type.pointerTo(); } else if (tb.ty == Tarray && nargs) { Type tn = tb.nextOf().baseElemOf(); Dsymbol s = tn.toDsymbol(sc); AggregateDeclaration ad = s ? s.isAggregateDeclaration() : null; if (ad && ad.noDefaultCtor) { exp.error("default construction is disabled for type `%s`", tb.nextOf().toChars()); return setError(); } for (size_t i = 0; i < nargs; i++) { if (tb.ty != Tarray) { exp.error("too many arguments for array"); return setError(); } Expression arg = (*exp.arguments)[i]; arg = resolveProperties(sc, arg); arg = arg.implicitCastTo(sc, Type.tsize_t); arg = arg.optimize(WANTvalue); if (arg.op == TOK.int64 && cast(sinteger_t)arg.toInteger() < 0) { exp.error("negative array index `%s`", arg.toChars()); return setError(); } (*exp.arguments)[i] = arg; tb = (cast(TypeDArray)tb).next.toBasetype(); } } else if (tb.isscalar()) { if (!nargs) { } else if (nargs == 1) { Expression e = (*exp.arguments)[0]; e = e.implicitCastTo(sc, tb); (*exp.arguments)[0] = e; } else { exp.error("more than one argument for construction of `%s`", exp.type.toChars()); return setError(); } exp.type = exp.type.pointerTo(); } else { exp.error("new can only create structs, dynamic arrays or class objects, not `%s`'s", exp.type.toChars()); return setError(); } //printf("NewExp: '%s'\n", toChars()); //printf("NewExp:type '%s'\n", type.toChars()); semanticTypeInfo(sc, exp.type); if (newprefix) { result = Expression.combine(newprefix, exp); return; } result = exp; } override void visit(NewAnonClassExp e) { static if (LOGSEMANTIC) { printf("NewAnonClassExp::semantic() %s\n", e.toChars()); //printf("thisexp = %p\n", thisexp); //printf("type: %s\n", type.toChars()); } Expression d = new DeclarationExp(e.loc, e.cd); sc = sc.push(); // just create new scope sc.flags &= ~SCOPE.ctfe; // temporary stop CTFE d = d.expressionSemantic(sc); sc = sc.pop(); if (!e.cd.errors && sc.intypeof && !sc.parent.inNonRoot()) { ScopeDsymbol sds = sc.tinst ? cast(ScopeDsymbol)sc.tinst : sc._module; sds.members.push(e.cd); } Expression n = new NewExp(e.loc, e.thisexp, e.newargs, e.cd.type, e.arguments); Expression c = new CommaExp(e.loc, d, n); result = c.expressionSemantic(sc); } override void visit(SymOffExp e) { static if (LOGSEMANTIC) { printf("SymOffExp::semantic('%s')\n", e.toChars()); } //var.dsymbolSemantic(sc); if (!e.type) e.type = e.var.type.pointerTo(); if (auto v = e.var.isVarDeclaration()) { if (v.checkNestedReference(sc, e.loc)) return setError(); } else if (auto f = e.var.isFuncDeclaration()) { if (f.checkNestedReference(sc, e.loc)) return setError(); } result = e; } override void visit(VarExp e) { static if (LOGSEMANTIC) { printf("VarExp::semantic(%s)\n", e.toChars()); } if (auto fd = e.var.isFuncDeclaration()) { //printf("L%d fd = %s\n", __LINE__, f.toChars()); if (!fd.functionSemantic()) return setError(); } if (!e.type) e.type = e.var.type; if (e.type && !e.type.deco) e.type = e.type.typeSemantic(e.loc, sc); /* Fix for 1161 doesn't work because it causes protection * problems when instantiating imported templates passing private * variables as alias template parameters. */ //checkAccess(loc, sc, NULL, var); if (auto vd = e.var.isVarDeclaration()) { if (vd.checkNestedReference(sc, e.loc)) return setError(); // https://issues.dlang.org/show_bug.cgi?id=12025 // If the variable is not actually used in runtime code, // the purity violation error is redundant. //checkPurity(sc, vd); } else if (auto fd = e.var.isFuncDeclaration()) { // TODO: If fd isn't yet resolved its overload, the checkNestedReference // call would cause incorrect validation. // Maybe here should be moved in CallExp, or AddrExp for functions. if (fd.checkNestedReference(sc, e.loc)) return setError(); } else if (auto od = e.var.isOverDeclaration()) { e.type = Type.tvoid; // ambiguous type? } result = e; } override void visit(FuncExp exp) { static if (LOGSEMANTIC) { printf("FuncExp::semantic(%s)\n", exp.toChars()); if (exp.fd.treq) printf(" treq = %s\n", exp.fd.treq.toChars()); } if (exp.type) { result = exp; return; } Expression e = exp; uint olderrors; sc = sc.push(); // just create new scope sc.flags &= ~SCOPE.ctfe; // temporary stop CTFE sc.protection = Prot(Prot.Kind.public_); // https://issues.dlang.org/show_bug.cgi?id=12506 /* fd.treq might be incomplete type, * so should not semantic it. * void foo(T)(T delegate(int) dg){} * foo(a=>a); // in IFTI, treq == T delegate(int) */ //if (fd.treq) // fd.treq = fd.treq.dsymbolSemantic(loc, sc); exp.genIdent(sc); // Set target of return type inference if (exp.fd.treq && !exp.fd.type.nextOf()) { TypeFunction tfv = null; if (exp.fd.treq.ty == Tdelegate || (exp.fd.treq.ty == Tpointer && exp.fd.treq.nextOf().ty == Tfunction)) tfv = cast(TypeFunction)exp.fd.treq.nextOf(); if (tfv) { TypeFunction tfl = cast(TypeFunction)exp.fd.type; tfl.next = tfv.nextOf(); } } //printf("td = %p, treq = %p\n", td, fd.treq); if (exp.td) { assert(exp.td.parameters && exp.td.parameters.dim); exp.td.dsymbolSemantic(sc); exp.type = Type.tvoid; // temporary type if (exp.fd.treq) // defer type determination { FuncExp fe; if (exp.matchType(exp.fd.treq, sc, &fe) > MATCH.nomatch) e = fe; else e = new ErrorExp(); } goto Ldone; } olderrors = global.errors; exp.fd.dsymbolSemantic(sc); if (olderrors == global.errors) { exp.fd.semantic2(sc); if (olderrors == global.errors) exp.fd.semantic3(sc); } if (olderrors != global.errors) { if (exp.fd.type && exp.fd.type.ty == Tfunction && !exp.fd.type.nextOf()) (cast(TypeFunction)exp.fd.type).next = Type.terror; e = new ErrorExp(); goto Ldone; } // Type is a "delegate to" or "pointer to" the function literal if ((exp.fd.isNested() && exp.fd.tok == TOK.delegate_) || (exp.tok == TOK.reserved && exp.fd.treq && exp.fd.treq.ty == Tdelegate)) { exp.type = new TypeDelegate(exp.fd.type); exp.type = exp.type.typeSemantic(exp.loc, sc); exp.fd.tok = TOK.delegate_; } else { exp.type = new TypePointer(exp.fd.type); exp.type = exp.type.typeSemantic(exp.loc, sc); //type = fd.type.pointerTo(); /* A lambda expression deduced to function pointer might become * to a delegate literal implicitly. * * auto foo(void function() fp) { return 1; } * assert(foo({}) == 1); * * So, should keep fd.tok == TOKreserve if fd.treq == NULL. */ if (exp.fd.treq && exp.fd.treq.ty == Tpointer) { // change to non-nested exp.fd.tok = TOK.function_; exp.fd.vthis = null; } } exp.fd.tookAddressOf++; Ldone: sc = sc.pop(); result = e; } // used from CallExp::semantic() Expression callExpSemantic(FuncExp exp, Scope* sc, Expressions* arguments) { if ((!exp.type || exp.type == Type.tvoid) && exp.td && arguments && arguments.dim) { for (size_t k = 0; k < arguments.dim; k++) { Expression checkarg = (*arguments)[k]; if (checkarg.op == TOK.error) return checkarg; } exp.genIdent(sc); assert(exp.td.parameters && exp.td.parameters.dim); exp.td.dsymbolSemantic(sc); TypeFunction tfl = cast(TypeFunction)exp.fd.type; size_t dim = Parameter.dim(tfl.parameters); if (arguments.dim < dim) { // Default arguments are always typed, so they don't need inference. Parameter p = Parameter.getNth(tfl.parameters, arguments.dim); if (p.defaultArg) dim = arguments.dim; } if ((!tfl.varargs && arguments.dim == dim) || (tfl.varargs && arguments.dim >= dim)) { auto tiargs = new Objects(); tiargs.reserve(exp.td.parameters.dim); for (size_t i = 0; i < exp.td.parameters.dim; i++) { TemplateParameter tp = (*exp.td.parameters)[i]; for (size_t u = 0; u < dim; u++) { Parameter p = Parameter.getNth(tfl.parameters, u); if (p.type.ty == Tident && (cast(TypeIdentifier)p.type).ident == tp.ident) { Expression e = (*arguments)[u]; tiargs.push(e.type); u = dim; // break inner loop } } } auto ti = new TemplateInstance(exp.loc, exp.td, tiargs); return (new ScopeExp(exp.loc, ti)).expressionSemantic(sc); } exp.error("cannot infer function literal type"); return new ErrorExp(); } return exp.expressionSemantic(sc); } override void visit(CallExp exp) { static if (LOGSEMANTIC) { printf("CallExp::semantic() %s\n", exp.toChars()); } if (exp.type) { result = exp; return; // semantic() already run } version (none) { if (exp.arguments && exp.arguments.dim) { Expression earg = (*exp.arguments)[0]; earg.print(); if (earg.type) earg.type.print(); } } Type t1; Objects* tiargs = null; // initial list of template arguments Expression ethis = null; Type tthis = null; Expression e1org = exp.e1; if (exp.e1.op == TOK.comma) { /* Rewrite (a,b)(args) as (a,(b(args))) */ auto ce = cast(CommaExp)exp.e1; exp.e1 = ce.e2; ce.e2 = exp; result = ce.expressionSemantic(sc); return; } if (exp.e1.op == TOK.delegate_) { DelegateExp de = cast(DelegateExp)exp.e1; exp.e1 = new DotVarExp(de.loc, de.e1, de.func, de.hasOverloads); visit(exp); return; } if (exp.e1.op == TOK.function_) { if (arrayExpressionSemantic(exp.arguments, sc) || preFunctionParameters(sc, exp.arguments)) return setError(); // Run e1 semantic even if arguments have any errors FuncExp fe = cast(FuncExp)exp.e1; exp.e1 = callExpSemantic(fe, sc, exp.arguments); if (exp.e1.op == TOK.error) { result = exp.e1; return; } } if (Expression ex = resolveUFCS(sc, exp)) { result = ex; return; } /* This recognizes: * foo!(tiargs)(funcargs) */ if (exp.e1.op == TOK.scope_) { ScopeExp se = cast(ScopeExp)exp.e1; TemplateInstance ti = se.sds.isTemplateInstance(); if (ti) { /* Attempt to instantiate ti. If that works, go with it. * If not, go with partial explicit specialization. */ WithScopeSymbol withsym; if (!ti.findTempDecl(sc, &withsym) || !ti.semanticTiargs(sc)) return setError(); if (withsym && withsym.withstate.wthis) { exp.e1 = new VarExp(exp.e1.loc, withsym.withstate.wthis); exp.e1 = new DotTemplateInstanceExp(exp.e1.loc, exp.e1, ti); goto Ldotti; } if (ti.needsTypeInference(sc, 1)) { /* Go with partial explicit specialization */ tiargs = ti.tiargs; assert(ti.tempdecl); if (TemplateDeclaration td = ti.tempdecl.isTemplateDeclaration()) exp.e1 = new TemplateExp(exp.loc, td); else if (OverDeclaration od = ti.tempdecl.isOverDeclaration()) exp.e1 = new VarExp(exp.loc, od); else exp.e1 = new OverExp(exp.loc, ti.tempdecl.isOverloadSet()); } else { Expression e1x = exp.e1.expressionSemantic(sc); if (e1x.op == TOK.error) { result = e1x; return; } exp.e1 = e1x; } } } /* This recognizes: * expr.foo!(tiargs)(funcargs) */ Ldotti: if (exp.e1.op == TOK.dotTemplateInstance && !exp.e1.type) { DotTemplateInstanceExp se = cast(DotTemplateInstanceExp)exp.e1; TemplateInstance ti = se.ti; { /* Attempt to instantiate ti. If that works, go with it. * If not, go with partial explicit specialization. */ if (!se.findTempDecl(sc) || !ti.semanticTiargs(sc)) return setError(); if (ti.needsTypeInference(sc, 1)) { /* Go with partial explicit specialization */ tiargs = ti.tiargs; assert(ti.tempdecl); if (TemplateDeclaration td = ti.tempdecl.isTemplateDeclaration()) exp.e1 = new DotTemplateExp(exp.loc, se.e1, td); else if (OverDeclaration od = ti.tempdecl.isOverDeclaration()) { exp.e1 = new DotVarExp(exp.loc, se.e1, od, true); } else exp.e1 = new DotExp(exp.loc, se.e1, new OverExp(exp.loc, ti.tempdecl.isOverloadSet())); } else { Expression e1x = exp.e1.expressionSemantic(sc); if (e1x.op == TOK.error) { result = e1x; return; } exp.e1 = e1x; } } } Lagain: //printf("Lagain: %s\n", toChars()); exp.f = null; if (exp.e1.op == TOK.this_ || exp.e1.op == TOK.super_) { // semantic() run later for these } else { if (exp.e1.op == TOK.dotIdentifier) { DotIdExp die = cast(DotIdExp)exp.e1; exp.e1 = die.expressionSemantic(sc); /* Look for e1 having been rewritten to expr.opDispatch!(string) * We handle such earlier, so go back. * Note that in the rewrite, we carefully did not run semantic() on e1 */ if (exp.e1.op == TOK.dotTemplateInstance && !exp.e1.type) { goto Ldotti; } } else { static __gshared int nest; if (++nest > 500) { exp.error("recursive evaluation of `%s`", exp.toChars()); --nest; return setError(); } Expression ex = unaSemantic(exp, sc); --nest; if (ex) { result = ex; return; } } /* Look for e1 being a lazy parameter */ if (exp.e1.op == TOK.variable) { VarExp ve = cast(VarExp)exp.e1; if (ve.var.storage_class & STC.lazy_) { // lazy parameters can be called without violating purity and safety Type tw = ve.var.type; Type tc = ve.var.type.substWildTo(MODFlags.const_); auto tf = new TypeFunction(null, tc, 0, LINK.d, STC.safe | STC.pure_); (tf = cast(TypeFunction)tf.typeSemantic(exp.loc, sc)).next = tw; // hack for bug7757 auto t = new TypeDelegate(tf); ve.type = t.typeSemantic(exp.loc, sc); } VarDeclaration v = ve.var.isVarDeclaration(); if (v && ve.checkPurity(sc, v)) return setError(); } if (exp.e1.op == TOK.symbolOffset && (cast(SymOffExp)exp.e1).hasOverloads) { SymOffExp se = cast(SymOffExp)exp.e1; exp.e1 = new VarExp(se.loc, se.var, true); exp.e1 = exp.e1.expressionSemantic(sc); } else if (exp.e1.op == TOK.dot) { DotExp de = cast(DotExp)exp.e1; if (de.e2.op == TOK.overloadSet) { ethis = de.e1; tthis = de.e1.type; exp.e1 = de.e2; } } else if (exp.e1.op == TOK.star && exp.e1.type.ty == Tfunction) { // Rewrite (*fp)(arguments) to fp(arguments) exp.e1 = (cast(PtrExp)exp.e1).e1; } } t1 = exp.e1.type ? exp.e1.type.toBasetype() : null; if (exp.e1.op == TOK.error) { result = exp.e1; return; } if (arrayExpressionSemantic(exp.arguments, sc) || preFunctionParameters(sc, exp.arguments)) return setError(); // Check for call operator overload if (t1) { if (t1.ty == Tstruct) { auto sd = (cast(TypeStruct)t1).sym; sd.size(exp.loc); // Resolve forward references to construct object if (sd.sizeok != Sizeok.done) return setError(); if (!sd.ctor) sd.ctor = sd.searchCtor(); // First look for constructor if (exp.e1.op == TOK.type && sd.ctor) { if (!sd.noDefaultCtor && !(exp.arguments && exp.arguments.dim)) goto Lx; auto sle = new StructLiteralExp(exp.loc, sd, null, exp.e1.type); if (!sd.fill(exp.loc, sle.elements, true)) return setError(); if (checkFrameAccess(exp.loc, sc, sd, sle.elements.dim)) return setError(); // https://issues.dlang.org/show_bug.cgi?id=14556 // Set concrete type to avoid further redundant semantic(). sle.type = exp.e1.type; /* Constructor takes a mutable object, so don't use * the immutable initializer symbol. */ sle.useStaticInit = false; Expression e = sle; if (auto cf = sd.ctor.isCtorDeclaration()) { e = new DotVarExp(exp.loc, e, cf, true); } else if (auto td = sd.ctor.isTemplateDeclaration()) { e = new DotTemplateExp(exp.loc, e, td); } else if (auto os = sd.ctor.isOverloadSet()) { e = new DotExp(exp.loc, e, new OverExp(exp.loc, os)); } else assert(0); e = new CallExp(exp.loc, e, exp.arguments); e = e.expressionSemantic(sc); result = e; return; } // No constructor, look for overload of opCall if (search_function(sd, Id.call)) goto L1; // overload of opCall, therefore it's a call if (exp.e1.op != TOK.type) { if (sd.aliasthis && exp.e1.type != exp.att1) { if (!exp.att1 && exp.e1.type.checkAliasThisRec()) exp.att1 = exp.e1.type; exp.e1 = resolveAliasThis(sc, exp.e1); goto Lagain; } exp.error("%s `%s` does not overload ()", sd.kind(), sd.toChars()); return setError(); } /* It's a struct literal */ Lx: Expression e = new StructLiteralExp(exp.loc, sd, exp.arguments, exp.e1.type); e = e.expressionSemantic(sc); result = e; return; } else if (t1.ty == Tclass) { L1: // Rewrite as e1.call(arguments) Expression e = new DotIdExp(exp.loc, exp.e1, Id.call); e = new CallExp(exp.loc, e, exp.arguments); e = e.expressionSemantic(sc); result = e; return; } else if (exp.e1.op == TOK.type && t1.isscalar()) { Expression e; // Make sure to use the the enum type itself rather than its // base type // https://issues.dlang.org/show_bug.cgi?id=16346 if (exp.e1.type.ty == Tenum) { t1 = exp.e1.type; } if (!exp.arguments || exp.arguments.dim == 0) { e = t1.defaultInitLiteral(exp.loc); } else if (exp.arguments.dim == 1) { e = (*exp.arguments)[0]; e = e.implicitCastTo(sc, t1); e = new CastExp(exp.loc, e, t1); } else { exp.error("more than one argument for construction of `%s`", t1.toChars()); return setError(); } e = e.expressionSemantic(sc); result = e; return; } } static FuncDeclaration resolveOverloadSet(Loc loc, Scope* sc, OverloadSet os, Objects* tiargs, Type tthis, Expressions* arguments) { FuncDeclaration f = null; foreach (s; os.a) { if (tiargs && s.isFuncDeclaration()) continue; if (auto f2 = resolveFuncCall(loc, sc, s, tiargs, tthis, arguments, 1)) { if (f2.errors) return null; if (f) { /* Error if match in more than one overload set, * even if one is a 'better' match than the other. */ ScopeDsymbol.multiplyDefined(loc, f, f2); } else f = f2; } } if (!f) .error(loc, "no overload matches for `%s`", os.toChars()); else if (f.errors) f = null; return f; } if (exp.e1.op == TOK.dotVariable && t1.ty == Tfunction || exp.e1.op == TOK.dotTemplateDeclaration) { UnaExp ue = cast(UnaExp)exp.e1; Expression ue1 = ue.e1; Expression ue1old = ue1; // need for 'right this' check VarDeclaration v; if (ue1.op == TOK.variable && (v = (cast(VarExp)ue1).var.isVarDeclaration()) !is null && v.needThis()) { ue.e1 = new TypeExp(ue1.loc, ue1.type); ue1 = null; } DotVarExp dve; DotTemplateExp dte; Dsymbol s; if (exp.e1.op == TOK.dotVariable) { dve = cast(DotVarExp)exp.e1; dte = null; s = dve.var; tiargs = null; } else { dve = null; dte = cast(DotTemplateExp)exp.e1; s = dte.td; } // Do overload resolution exp.f = resolveFuncCall(exp.loc, sc, s, tiargs, ue1 ? ue1.type : null, exp.arguments); if (!exp.f || exp.f.errors || exp.f.type.ty == Terror) return setError(); if (exp.f.interfaceVirtual) { /* Cast 'this' to the type of the interface, and replace f with the interface's equivalent */ auto b = exp.f.interfaceVirtual; auto ad2 = b.sym; ue.e1 = ue.e1.castTo(sc, ad2.type.addMod(ue.e1.type.mod)); ue.e1 = ue.e1.expressionSemantic(sc); ue1 = ue.e1; auto vi = exp.f.findVtblIndex(&ad2.vtbl, cast(int)ad2.vtbl.dim); assert(vi >= 0); exp.f = ad2.vtbl[vi].isFuncDeclaration(); assert(exp.f); } if (exp.f.needThis()) { AggregateDeclaration ad = exp.f.toParent2().isAggregateDeclaration(); ue.e1 = getRightThis(exp.loc, sc, ad, ue.e1, exp.f); if (ue.e1.op == TOK.error) { result = ue.e1; return; } ethis = ue.e1; tthis = ue.e1.type; if (!(exp.f.type.ty == Tfunction && (cast(TypeFunction)exp.f.type).isscope)) { if (global.params.vsafe && checkParamArgumentEscape(sc, exp.f, Id.This, ethis, false)) return setError(); } } /* Cannot call public functions from inside invariant * (because then the invariant would have infinite recursion) */ if (sc.func && sc.func.isInvariantDeclaration() && ue.e1.op == TOK.this_ && exp.f.addPostInvariant()) { exp.error("cannot call `public`/`export` function `%s` from invariant", exp.f.toChars()); return setError(); } checkFunctionAttributes(exp, sc, exp.f); checkAccess(exp.loc, sc, ue.e1, exp.f); if (!exp.f.needThis()) { exp.e1 = Expression.combine(ue.e1, new VarExp(exp.loc, exp.f, false)); } else { if (ue1old.checkRightThis(sc)) return setError(); if (exp.e1.op == TOK.dotVariable) { dve.var = exp.f; exp.e1.type = exp.f.type; } else { exp.e1 = new DotVarExp(exp.loc, dte.e1, exp.f, false); exp.e1 = exp.e1.expressionSemantic(sc); if (exp.e1.op == TOK.error) return setError(); ue = cast(UnaExp)exp.e1; } version (none) { printf("ue.e1 = %s\n", ue.e1.toChars()); printf("f = %s\n", exp.f.toChars()); printf("t = %s\n", t.toChars()); printf("e1 = %s\n", exp.e1.toChars()); printf("e1.type = %s\n", exp.e1.type.toChars()); } // See if we need to adjust the 'this' pointer AggregateDeclaration ad = exp.f.isThis(); ClassDeclaration cd = ue.e1.type.isClassHandle(); if (ad && cd && ad.isClassDeclaration()) { if (ue.e1.op == TOK.dotType) { ue.e1 = (cast(DotTypeExp)ue.e1).e1; exp.directcall = true; } else if (ue.e1.op == TOK.super_) exp.directcall = true; else if ((cd.storage_class & STC.final_) != 0) // https://issues.dlang.org/show_bug.cgi?id=14211 exp.directcall = true; if (ad != cd) { ue.e1 = ue.e1.castTo(sc, ad.type.addMod(ue.e1.type.mod)); ue.e1 = ue.e1.expressionSemantic(sc); } } } // If we've got a pointer to a function then deference it // https://issues.dlang.org/show_bug.cgi?id=16483 if (exp.e1.type.ty == Tpointer && exp.e1.type.nextOf().ty == Tfunction) { Expression e = new PtrExp(exp.loc, exp.e1); e.type = exp.e1.type.nextOf(); exp.e1 = e; } t1 = exp.e1.type; } else if (exp.e1.op == TOK.super_ || exp.e1.op == TOK.this_) { auto ad = sc.func ? sc.func.isThis() : null; auto cd = ad ? ad.isClassDeclaration() : null; const bool isSuper = exp.e1.op == TOK.super_; if (isSuper) { // Base class constructor call if (!cd || !cd.baseClass || !sc.func.isCtorDeclaration()) { exp.error("super class constructor call must be in a constructor"); return setError(); } if (!cd.baseClass.ctor) { exp.error("no super class constructor for `%s`", cd.baseClass.toChars()); return setError(); } } else { if (!ad || !sc.func.isCtorDeclaration()) { exp.error("constructor call must be in a constructor"); return setError(); } } if (!sc.intypeof && !(sc.ctorflow.callSuper & CSX.halt)) { if (sc.inLoop || sc.ctorflow.callSuper & CSX.label) exp.error("constructor calls not allowed in loops or after labels"); if (sc.ctorflow.callSuper & (CSX.super_ctor | CSX.this_ctor)) exp.error("multiple constructor calls"); if ((sc.ctorflow.callSuper & CSX.return_) && !(sc.ctorflow.callSuper & CSX.any_ctor)) exp.error("an earlier `return` statement skips constructor"); sc.ctorflow.callSuper |= CSX.any_ctor | (isSuper ? CSX.super_ctor : CSX.this_ctor); } tthis = ad.type.addMod(sc.func.type.mod); auto ctor = isSuper ? cd.baseClass.ctor : ad.ctor; if (auto os = ctor.isOverloadSet()) exp.f = resolveOverloadSet(exp.loc, sc, os, null, tthis, exp.arguments); else exp.f = resolveFuncCall(exp.loc, sc, ctor, null, tthis, exp.arguments, 0); if (!exp.f || exp.f.errors) return setError(); checkFunctionAttributes(exp, sc, exp.f); checkAccess(exp.loc, sc, null, exp.f); exp.e1 = new DotVarExp(exp.e1.loc, exp.e1, exp.f, false); exp.e1 = exp.e1.expressionSemantic(sc); t1 = exp.e1.type; // BUG: this should really be done by checking the static // call graph if (exp.f == sc.func) { exp.error("cyclic constructor call"); return setError(); } } else if (exp.e1.op == TOK.overloadSet) { auto os = (cast(OverExp)exp.e1).vars; exp.f = resolveOverloadSet(exp.loc, sc, os, tiargs, tthis, exp.arguments); if (!exp.f) return setError(); if (ethis) exp.e1 = new DotVarExp(exp.loc, ethis, exp.f, false); else exp.e1 = new VarExp(exp.loc, exp.f, false); goto Lagain; } else if (!t1) { exp.error("function expected before `()`, not `%s`", exp.e1.toChars()); return setError(); } else if (t1.ty == Terror) { return setError(); } else if (t1.ty != Tfunction) { TypeFunction tf; const(char)* p; Dsymbol s; exp.f = null; if (exp.e1.op == TOK.function_) { // function literal that direct called is always inferred. assert((cast(FuncExp)exp.e1).fd); exp.f = (cast(FuncExp)exp.e1).fd; tf = cast(TypeFunction)exp.f.type; p = "function literal"; } else if (t1.ty == Tdelegate) { TypeDelegate td = cast(TypeDelegate)t1; assert(td.next.ty == Tfunction); tf = cast(TypeFunction)td.next; p = "delegate"; } else if (t1.ty == Tpointer && (cast(TypePointer)t1).next.ty == Tfunction) { tf = cast(TypeFunction)(cast(TypePointer)t1).next; p = "function pointer"; } else if (exp.e1.op == TOK.dotVariable && (cast(DotVarExp)exp.e1).var.isOverDeclaration()) { DotVarExp dve = cast(DotVarExp)exp.e1; exp.f = resolveFuncCall(exp.loc, sc, dve.var, tiargs, dve.e1.type, exp.arguments, 2); if (!exp.f) return setError(); if (exp.f.needThis()) { dve.var = exp.f; dve.type = exp.f.type; dve.hasOverloads = false; goto Lagain; } exp.e1 = new VarExp(dve.loc, exp.f, false); Expression e = new CommaExp(exp.loc, dve.e1, exp); result = e.expressionSemantic(sc); return; } else if (exp.e1.op == TOK.variable && (cast(VarExp)exp.e1).var.isOverDeclaration()) { s = (cast(VarExp)exp.e1).var; goto L2; } else if (exp.e1.op == TOK.template_) { s = (cast(TemplateExp)exp.e1).td; L2: exp.f = resolveFuncCall(exp.loc, sc, s, tiargs, null, exp.arguments); if (!exp.f || exp.f.errors) return setError(); if (exp.f.needThis()) { if (hasThis(sc)) { // Supply an implicit 'this', as in // this.ident exp.e1 = new DotVarExp(exp.loc, (new ThisExp(exp.loc)).expressionSemantic(sc), exp.f, false); goto Lagain; } else if (isNeedThisScope(sc, exp.f)) { exp.error("need `this` for `%s` of type `%s`", exp.f.toChars(), exp.f.type.toChars()); return setError(); } } exp.e1 = new VarExp(exp.e1.loc, exp.f, false); goto Lagain; } else { exp.error("function expected before `()`, not `%s` of type `%s`", exp.e1.toChars(), exp.e1.type.toChars()); return setError(); } const(char)* failMessage; if (!tf.callMatch(null, exp.arguments, 0, &failMessage)) { OutBuffer buf; buf.writeByte('('); argExpTypesToCBuffer(&buf, exp.arguments); buf.writeByte(')'); if (tthis) tthis.modToBuffer(&buf); //printf("tf = %s, args = %s\n", tf.deco, (*arguments)[0].type.deco); .error(exp.loc, "%s `%s%s` is not callable using argument types `%s`", p, exp.e1.toChars(), parametersTypeToChars(tf.parameters, tf.varargs), buf.peekString()); if (failMessage) errorSupplemental(exp.loc, failMessage); return setError(); } // Purity and safety check should run after testing arguments matching if (exp.f) { exp.checkPurity(sc, exp.f); exp.checkSafety(sc, exp.f); exp.checkNogc(sc, exp.f); if (exp.f.checkNestedReference(sc, exp.loc)) return setError(); } else if (sc.func && sc.intypeof != 1 && !(sc.flags & SCOPE.ctfe)) { bool err = false; if (!tf.purity && !(sc.flags & SCOPE.debug_) && sc.func.setImpure()) { exp.error("`pure` %s `%s` cannot call impure %s `%s`", sc.func.kind(), sc.func.toPrettyChars(), p, exp.e1.toChars()); err = true; } if (!tf.isnogc && sc.func.setGC() && !(sc.flags & SCOPE.debug_) ) { exp.error("`@nogc` %s `%s` cannot call non-@nogc %s `%s`", sc.func.kind(), sc.func.toPrettyChars(), p, exp.e1.toChars()); err = true; } if (tf.trust <= TRUST.system && sc.func.setUnsafe()) { exp.error("`@safe` %s `%s` cannot call `@system` %s `%s`", sc.func.kind(), sc.func.toPrettyChars(), p, exp.e1.toChars()); err = true; } if (err) return setError(); } if (t1.ty == Tpointer) { Expression e = new PtrExp(exp.loc, exp.e1); e.type = tf; exp.e1 = e; } t1 = tf; } else if (exp.e1.op == TOK.variable) { // Do overload resolution VarExp ve = cast(VarExp)exp.e1; exp.f = ve.var.isFuncDeclaration(); assert(exp.f); tiargs = null; if (exp.f.overnext) exp.f = resolveFuncCall(exp.loc, sc, exp.f, tiargs, null, exp.arguments, 2); else { exp.f = exp.f.toAliasFunc(); TypeFunction tf = cast(TypeFunction)exp.f.type; const(char)* failMessage; if (!tf.callMatch(null, exp.arguments, 0, &failMessage)) { OutBuffer buf; buf.writeByte('('); argExpTypesToCBuffer(&buf, exp.arguments); buf.writeByte(')'); //printf("tf = %s, args = %s\n", tf.deco, (*arguments)[0].type.deco); .error(exp.loc, "%s `%s%s` is not callable using argument types `%s`", exp.f.kind(), exp.f.toPrettyChars(), parametersTypeToChars(tf.parameters, tf.varargs), buf.peekString()); if (failMessage) errorSupplemental(exp.loc, failMessage); exp.f = null; } } if (!exp.f || exp.f.errors) return setError(); if (exp.f.needThis()) { // Change the ancestor lambdas to delegate before hasThis(sc) call. if (exp.f.checkNestedReference(sc, exp.loc)) return setError(); if (hasThis(sc)) { // Supply an implicit 'this', as in // this.ident exp.e1 = new DotVarExp(exp.loc, (new ThisExp(exp.loc)).expressionSemantic(sc), ve.var); // Note: we cannot use f directly, because further overload resolution // through the supplied 'this' may cause different result. goto Lagain; } else if (isNeedThisScope(sc, exp.f)) { exp.error("need `this` for `%s` of type `%s`", exp.f.toChars(), exp.f.type.toChars()); return setError(); } } checkFunctionAttributes(exp, sc, exp.f); checkAccess(exp.loc, sc, null, exp.f); if (exp.f.checkNestedReference(sc, exp.loc)) return setError(); ethis = null; tthis = null; if (ve.hasOverloads) { exp.e1 = new VarExp(ve.loc, exp.f, false); exp.e1.type = exp.f.type; } t1 = exp.f.type; } assert(t1.ty == Tfunction); Expression argprefix; if (!exp.arguments) exp.arguments = new Expressions(); if (functionParameters(exp.loc, sc, cast(TypeFunction)t1, tthis, exp.arguments, exp.f, &exp.type, &argprefix)) return setError(); if (!exp.type) { exp.e1 = e1org; // https://issues.dlang.org/show_bug.cgi?id=10922 // avoid recursive expression printing exp.error("forward reference to inferred return type of function call `%s`", exp.toChars()); return setError(); } if (exp.f && exp.f.tintro) { Type t = exp.type; int offset = 0; TypeFunction tf = cast(TypeFunction)exp.f.tintro; if (tf.next.isBaseOf(t, &offset) && offset) { exp.type = tf.next; result = Expression.combine(argprefix, exp.castTo(sc, t)); return; } } // Handle the case of a direct lambda call if (exp.f && exp.f.isFuncLiteralDeclaration() && sc.func && !sc.intypeof) { exp.f.tookAddressOf = 0; } result = Expression.combine(argprefix, exp); } override void visit(DeclarationExp e) { if (e.type) { result = e; return; } static if (LOGSEMANTIC) { printf("DeclarationExp::semantic() %s\n", e.toChars()); } uint olderrors = global.errors; /* This is here to support extern(linkage) declaration, * where the extern(linkage) winds up being an AttribDeclaration * wrapper. */ Dsymbol s = e.declaration; while (1) { AttribDeclaration ad = s.isAttribDeclaration(); if (ad) { if (ad.decl && ad.decl.dim == 1) { s = (*ad.decl)[0]; continue; } } break; } VarDeclaration v = s.isVarDeclaration(); if (v) { // Do semantic() on initializer first, so: // int a = a; // will be illegal. e.declaration.dsymbolSemantic(sc); s.parent = sc.parent; } //printf("inserting '%s' %p into sc = %p\n", s.toChars(), s, sc); // Insert into both local scope and function scope. // Must be unique in both. if (s.ident) { if (!sc.insert(s)) { e.error("declaration `%s` is already defined", s.toPrettyChars()); return setError(); } else if (sc.func) { // https://issues.dlang.org/show_bug.cgi?id=11720 // include Dataseg variables if ((s.isFuncDeclaration() || s.isAggregateDeclaration() || s.isEnumDeclaration() || v && v.isDataseg()) && !sc.func.localsymtab.insert(s)) { e.error("declaration `%s` is already defined in another scope in `%s`", s.toPrettyChars(), sc.func.toChars()); return setError(); } else { // Disallow shadowing for (Scope* scx = sc.enclosing; scx && scx.func == sc.func; scx = scx.enclosing) { Dsymbol s2; if (scx.scopesym && scx.scopesym.symtab && (s2 = scx.scopesym.symtab.lookup(s.ident)) !is null && s != s2) { // allow STC.local symbols to be shadowed // TODO: not really an optimal design auto decl = s2.isDeclaration(); if (!decl || !(decl.storage_class & STC.local)) { e.error("%s `%s` is shadowing %s `%s`", s.kind(), s.ident.toChars(), s2.kind(), s2.toPrettyChars()); return setError(); } } } } } } if (!s.isVarDeclaration()) { Scope* sc2 = sc; if (sc2.stc & (STC.pure_ | STC.nothrow_ | STC.nogc)) sc2 = sc.push(); sc2.stc &= ~(STC.pure_ | STC.nothrow_ | STC.nogc); e.declaration.dsymbolSemantic(sc2); if (sc2 != sc) sc2.pop(); s.parent = sc.parent; } if (global.errors == olderrors) { e.declaration.semantic2(sc); if (global.errors == olderrors) { e.declaration.semantic3(sc); } } // todo: error in declaration should be propagated. e.type = Type.tvoid; result = e; } override void visit(TypeidExp exp) { static if (LOGSEMANTIC) { printf("TypeidExp::semantic() %s\n", exp.toChars()); } Type ta = isType(exp.obj); Expression ea = isExpression(exp.obj); Dsymbol sa = isDsymbol(exp.obj); //printf("ta %p ea %p sa %p\n", ta, ea, sa); if (ta) { ta.resolve(exp.loc, sc, &ea, &ta, &sa, true); } if (ea) { if (auto sym = getDsymbol(ea)) ea = resolve(exp.loc, sc, sym, false); else ea = ea.expressionSemantic(sc); ea = resolveProperties(sc, ea); ta = ea.type; if (ea.op == TOK.type) ea = null; } if (!ta) { //printf("ta %p ea %p sa %p\n", ta, ea, sa); exp.error("no type for `typeid(%s)`", ea ? ea.toChars() : (sa ? sa.toChars() : "")); return setError(); } if (global.params.vcomplex) ta.checkComplexTransition(exp.loc, sc); Expression e; if (ea && ta.toBasetype().ty == Tclass) { /* Get the dynamic type, which is .classinfo */ ea = ea.expressionSemantic(sc); e = new TypeidExp(ea.loc, ea); e.type = Type.typeinfoclass.type; } else if (ta.ty == Terror) { e = new ErrorExp(); } else { // Handle this in the glue layer e = new TypeidExp(exp.loc, ta); e.type = getTypeInfoType(exp.loc, ta, sc); semanticTypeInfo(sc, ta); if (ea) { e = new CommaExp(exp.loc, ea, e); // execute ea e = e.expressionSemantic(sc); } } result = e; } override void visit(TraitsExp e) { result = semanticTraits(e, sc); } override void visit(HaltExp e) { static if (LOGSEMANTIC) { printf("HaltExp::semantic()\n"); } e.type = Type.tvoid; result = e; } override void visit(IsExp e) { /* is(targ id tok tspec) * is(targ id : tok2) * is(targ id == tok2) */ //printf("IsExp::semantic(%s)\n", toChars()); if (e.id && !(sc.flags & SCOPE.condition)) { e.error("can only declare type aliases within `static if` conditionals or `static assert`s"); return setError(); } Type tded = null; Scope* sc2 = sc.copy(); // keep sc.flags sc2.tinst = null; sc2.minst = null; sc2.flags |= SCOPE.fullinst; Type t = e.targ.trySemantic(e.loc, sc2); sc2.pop(); if (!t) goto Lno; // errors, so condition is false e.targ = t; if (e.tok2 != TOK.reserved) { switch (e.tok2) { case TOK.struct_: if (e.targ.ty != Tstruct) goto Lno; if ((cast(TypeStruct)e.targ).sym.isUnionDeclaration()) goto Lno; tded = e.targ; break; case TOK.union_: if (e.targ.ty != Tstruct) goto Lno; if (!(cast(TypeStruct)e.targ).sym.isUnionDeclaration()) goto Lno; tded = e.targ; break; case TOK.class_: if (e.targ.ty != Tclass) goto Lno; if ((cast(TypeClass)e.targ).sym.isInterfaceDeclaration()) goto Lno; tded = e.targ; break; case TOK.interface_: if (e.targ.ty != Tclass) goto Lno; if (!(cast(TypeClass)e.targ).sym.isInterfaceDeclaration()) goto Lno; tded = e.targ; break; case TOK.const_: if (!e.targ.isConst()) goto Lno; tded = e.targ; break; case TOK.immutable_: if (!e.targ.isImmutable()) goto Lno; tded = e.targ; break; case TOK.shared_: if (!e.targ.isShared()) goto Lno; tded = e.targ; break; case TOK.inout_: if (!e.targ.isWild()) goto Lno; tded = e.targ; break; case TOK.super_: // If class or interface, get the base class and interfaces if (e.targ.ty != Tclass) goto Lno; else { ClassDeclaration cd = (cast(TypeClass)e.targ).sym; auto args = new Parameters(); args.reserve(cd.baseclasses.dim); if (cd.semanticRun < PASS.semanticdone) cd.dsymbolSemantic(null); for (size_t i = 0; i < cd.baseclasses.dim; i++) { BaseClass* b = (*cd.baseclasses)[i]; args.push(new Parameter(STC.in_, b.type, null, null)); } tded = new TypeTuple(args); } break; case TOK.enum_: if (e.targ.ty != Tenum) goto Lno; if (e.id) tded = (cast(TypeEnum)e.targ).sym.getMemtype(e.loc); else tded = e.targ; if (tded.ty == Terror) return setError(); break; case TOK.delegate_: if (e.targ.ty != Tdelegate) goto Lno; tded = (cast(TypeDelegate)e.targ).next; // the underlying function type break; case TOK.function_: case TOK.parameters: { if (e.targ.ty != Tfunction) goto Lno; tded = e.targ; /* Generate tuple from function parameter types. */ assert(tded.ty == Tfunction); Parameters* params = (cast(TypeFunction)tded).parameters; size_t dim = Parameter.dim(params); auto args = new Parameters(); args.reserve(dim); for (size_t i = 0; i < dim; i++) { Parameter arg = Parameter.getNth(params, i); assert(arg && arg.type); /* If one of the default arguments was an error, don't return an invalid tuple */ if (e.tok2 == TOK.parameters && arg.defaultArg && arg.defaultArg.op == TOK.error) return setError(); args.push(new Parameter(arg.storageClass, arg.type, (e.tok2 == TOK.parameters) ? arg.ident : null, (e.tok2 == TOK.parameters) ? arg.defaultArg : null)); } tded = new TypeTuple(args); break; } case TOK.return_: /* Get the 'return type' for the function, * delegate, or pointer to function. */ if (e.targ.ty == Tfunction) tded = (cast(TypeFunction)e.targ).next; else if (e.targ.ty == Tdelegate) { tded = (cast(TypeDelegate)e.targ).next; tded = (cast(TypeFunction)tded).next; } else if (e.targ.ty == Tpointer && (cast(TypePointer)e.targ).next.ty == Tfunction) { tded = (cast(TypePointer)e.targ).next; tded = (cast(TypeFunction)tded).next; } else goto Lno; break; case TOK.argumentTypes: /* Generate a type tuple of the equivalent types used to determine if a * function argument of this type can be passed in registers. * The results of this are highly platform dependent, and intended * primarly for use in implementing va_arg(). */ tded = Target.toArgTypes(e.targ); if (!tded) goto Lno; // not valid for a parameter break; case TOK.vector: if (e.targ.ty != Tvector) goto Lno; tded = (cast(TypeVector)e.targ).basetype; break; default: assert(0); } goto Lyes; } else if (e.tspec && !e.id && !(e.parameters && e.parameters.dim)) { /* Evaluate to true if targ matches tspec * is(targ == tspec) * is(targ : tspec) */ e.tspec = e.tspec.typeSemantic(e.loc, sc); //printf("targ = %s, %s\n", targ.toChars(), targ.deco); //printf("tspec = %s, %s\n", tspec.toChars(), tspec.deco); if (e.tok == TOK.colon) { if (e.targ.implicitConvTo(e.tspec)) goto Lyes; else goto Lno; } else /* == */ { if (e.targ.equals(e.tspec)) goto Lyes; else goto Lno; } } else if (e.tspec) { /* Evaluate to true if targ matches tspec. * If true, declare id as an alias for the specialized type. * is(targ == tspec, tpl) * is(targ : tspec, tpl) * is(targ id == tspec) * is(targ id : tspec) * is(targ id == tspec, tpl) * is(targ id : tspec, tpl) */ Identifier tid = e.id ? e.id : Identifier.generateId("__isexp_id"); e.parameters.insert(0, new TemplateTypeParameter(e.loc, tid, null, null)); Objects dedtypes; dedtypes.setDim(e.parameters.dim); dedtypes.zero(); MATCH m = deduceType(e.targ, sc, e.tspec, e.parameters, &dedtypes); //printf("targ: %s\n", targ.toChars()); //printf("tspec: %s\n", tspec.toChars()); if (m <= MATCH.nomatch || (m != MATCH.exact && e.tok == TOK.equal)) { goto Lno; } else { tded = cast(Type)dedtypes[0]; if (!tded) tded = e.targ; Objects tiargs; tiargs.setDim(1); tiargs[0] = e.targ; /* Declare trailing parameters */ for (size_t i = 1; i < e.parameters.dim; i++) { TemplateParameter tp = (*e.parameters)[i]; Declaration s = null; m = tp.matchArg(e.loc, sc, &tiargs, i, e.parameters, &dedtypes, &s); if (m <= MATCH.nomatch) goto Lno; s.dsymbolSemantic(sc); if (!sc.insert(s)) e.error("declaration `%s` is already defined", s.toChars()); unSpeculative(sc, s); } goto Lyes; } } else if (e.id) { /* Declare id as an alias for type targ. Evaluate to true * is(targ id) */ tded = e.targ; goto Lyes; } Lyes: if (e.id) { Dsymbol s; Tuple tup = isTuple(tded); if (tup) s = new TupleDeclaration(e.loc, e.id, &tup.objects); else s = new AliasDeclaration(e.loc, e.id, tded); s.dsymbolSemantic(sc); /* The reason for the !tup is unclear. It fails Phobos unittests if it is not there. * More investigation is needed. */ if (!tup && !sc.insert(s)) e.error("declaration `%s` is already defined", s.toChars()); unSpeculative(sc, s); } //printf("Lyes\n"); result = new IntegerExp(e.loc, 1, Type.tbool); return; Lno: //printf("Lno\n"); result = new IntegerExp(e.loc, 0, Type.tbool); } override void visit(BinAssignExp exp) { if (exp.type) { result = exp; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.e1.checkReadModifyWrite(exp.op, exp.e2)) return setError(); if (exp.e1.op == TOK.arrayLength) { // arr.length op= e2; e = ArrayLengthExp.rewriteOpAssign(exp); e = e.expressionSemantic(sc); result = e; return; } if (exp.e1.op == TOK.slice || exp.e1.type.ty == Tarray || exp.e1.type.ty == Tsarray) { if (checkNonAssignmentArrayOp(exp.e1)) return setError(); if (exp.e1.op == TOK.slice) (cast(SliceExp)exp.e1).arrayop = true; // T[] op= ... if (exp.e2.implicitConvTo(exp.e1.type.nextOf())) { // T[] op= T exp.e2 = exp.e2.castTo(sc, exp.e1.type.nextOf()); } else if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } exp.type = exp.e1.type; result = arrayOp(exp, sc); return; } exp.e1 = exp.e1.expressionSemantic(sc); exp.e1 = exp.e1.optimize(WANTvalue); exp.e1 = exp.e1.modifiableLvalue(sc, exp.e1); exp.type = exp.e1.type; if (exp.checkScalar()) return setError(); int arith = (exp.op == TOK.addAssign || exp.op == TOK.minAssign || exp.op == TOK.mulAssign || exp.op == TOK.divAssign || exp.op == TOK.modAssign || exp.op == TOK.powAssign); int bitwise = (exp.op == TOK.andAssign || exp.op == TOK.orAssign || exp.op == TOK.xorAssign); int shift = (exp.op == TOK.leftShiftAssign || exp.op == TOK.rightShiftAssign || exp.op == TOK.unsignedRightShiftAssign); if (bitwise && exp.type.toBasetype().ty == Tbool) exp.e2 = exp.e2.implicitCastTo(sc, exp.type); else if (exp.checkNoBool()) return setError(); if ((exp.op == TOK.addAssign || exp.op == TOK.minAssign) && exp.e1.type.toBasetype().ty == Tpointer && exp.e2.type.toBasetype().isintegral()) { result = scaleFactor(exp, sc); return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } if (arith && exp.checkArithmeticBin()) return setError(); if ((bitwise || shift) && exp.checkIntegralBin()) return setError(); if (shift) { if (exp.e2.type.toBasetype().ty != Tvector) exp.e2 = exp.e2.castTo(sc, Type.tshiftcnt); } if (!Target.isVectorOpSupported(exp.type.toBasetype(), exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } if (exp.e1.op == TOK.error || exp.e2.op == TOK.error) return setError(); e = exp.checkOpAssignTypes(sc); if (e.op == TOK.error) { result = e; return; } assert(e.op == TOK.assign || e == exp); result = (cast(BinExp)e).reorderSettingAAElem(sc); } private Expression compileIt(CompileExp exp) { //printf("CompileExp::compileIt('%s')\n", exp.toChars()); auto se = semanticString(sc, exp.e1, "argument to mixin"); if (!se) return null; se = se.toUTF8(sc); uint errors = global.errors; scope p = new Parser!ASTCodegen(exp.loc, sc._module, se.toStringz(), false); p.nextToken(); //printf("p.loc.linnum = %d\n", p.loc.linnum); Expression e = p.parseExpression(); if (p.errors) { assert(global.errors != errors); // should have caught all these cases return null; } if (p.token.value != TOK.endOfFile) { exp.error("incomplete mixin expression `%s`", se.toChars()); return null; } return e; } override void visit(CompileExp exp) { static if (LOGSEMANTIC) { printf("CompileExp::semantic('%s')\n", exp.toChars()); } auto e = compileIt(exp); if (!e) return setError(); result = e.expressionSemantic(sc); } override void visit(ImportExp e) { static if (LOGSEMANTIC) { printf("ImportExp::semantic('%s')\n", e.toChars()); } auto se = semanticString(sc, e.e1, "file name argument"); if (!se) return setError(); se = se.toUTF8(sc); auto namez = se.toStringz().ptr; if (!global.params.fileImppath) { e.error("need `-J` switch to import text file `%s`", namez); return setError(); } /* Be wary of CWE-22: Improper Limitation of a Pathname to a Restricted Directory * ('Path Traversal') attacks. * http://cwe.mitre.org/data/definitions/22.html */ auto name = FileName.safeSearchPath(global.filePath, namez); if (!name) { e.error("file `%s` cannot be found or not in a path specified with `-J`", se.toChars()); return setError(); } sc._module.contentImportedFiles.push(name); if (global.params.verbose) message("file %.*s\t(%s)", cast(int)se.len, se.string, name); if (global.params.moduleDeps !is null) { OutBuffer* ob = global.params.moduleDeps; Module imod = sc.instantiatingModule(); if (!global.params.moduleDepsFile) ob.writestring("depsFile "); ob.writestring(imod.toPrettyChars()); ob.writestring(" ("); escapePath(ob, imod.srcfile.toChars()); ob.writestring(") : "); if (global.params.moduleDepsFile) ob.writestring("string : "); ob.write(se.string, se.len); ob.writestring(" ("); escapePath(ob, name); ob.writestring(")"); ob.writenl(); } { auto f = File(name); if (f.read()) { e.error("cannot read file `%s`", f.toChars()); return setError(); } else { f._ref = 1; se = new StringExp(e.loc, f.buffer, f.len); } } result = se.expressionSemantic(sc); } override void visit(AssertExp exp) { // https://dlang.org/spec/expression.html#assert_expressions static if (LOGSEMANTIC) { printf("AssertExp::semantic('%s')\n", exp.toChars()); } if (Expression ex = unaSemantic(exp, sc)) { result = ex; return; } exp.e1 = resolveProperties(sc, exp.e1); // BUG: see if we can do compile time elimination of the Assert exp.e1 = exp.e1.optimize(WANTvalue); exp.e1 = exp.e1.toBoolean(sc); if (exp.msg) { exp.msg = exp.msg.expressionSemantic(sc); exp.msg = resolveProperties(sc, exp.msg); exp.msg = exp.msg.implicitCastTo(sc, Type.tchar.constOf().arrayOf()); exp.msg = exp.msg.optimize(WANTvalue); } if (exp.e1.op == TOK.error) { result = exp.e1; return; } if (exp.msg && exp.msg.op == TOK.error) { result = exp.msg; return; } auto f1 = checkNonAssignmentArrayOp(exp.e1); auto f2 = exp.msg && checkNonAssignmentArrayOp(exp.msg); if (f1 || f2) return setError(); if (exp.e1.isBool(false)) { /* This is an `assert(0)` which means halt program execution */ FuncDeclaration fd = sc.parent.isFuncDeclaration(); if (fd) fd.hasReturnExp |= 4; sc.ctorflow.orCSX(CSX.halt); if (global.params.useAssert == CHECKENABLE.off) { Expression e = new HaltExp(exp.loc); e = e.expressionSemantic(sc); result = e; return; } } exp.type = Type.tvoid; result = exp; } override void visit(DotIdExp exp) { static if (LOGSEMANTIC) { printf("DotIdExp::semantic(this = %p, '%s')\n", exp, exp.toChars()); //printf("e1.op = %d, '%s'\n", e1.op, Token::toChars(e1.op)); } Expression e = exp.semanticY(sc, 1); if (e && isDotOpDispatch(e)) { uint errors = global.startGagging(); e = resolvePropertiesX(sc, e); if (global.endGagging(errors)) e = null; /* fall down to UFCS */ else { result = e; return; } } if (!e) // if failed to find the property { /* If ident is not a valid property, rewrite: * e1.ident * as: * .ident(e1) */ e = resolveUFCSProperties(sc, exp); } result = e; } override void visit(DotTemplateExp e) { if (Expression ex = unaSemantic(e, sc)) { result = ex; return; } result = e; } override void visit(DotVarExp exp) { static if (LOGSEMANTIC) { printf("DotVarExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } exp.var = exp.var.toAlias().isDeclaration(); exp.e1 = exp.e1.expressionSemantic(sc); if (auto tup = exp.var.isTupleDeclaration()) { /* Replace: * e1.tuple(a, b, c) * with: * tuple(e1.a, e1.b, e1.c) */ Expression e0; Expression ev = sc.func ? extractSideEffect(sc, "__tup", e0, exp.e1) : exp.e1; auto exps = new Expressions(); exps.reserve(tup.objects.dim); for (size_t i = 0; i < tup.objects.dim; i++) { RootObject o = (*tup.objects)[i]; Expression e; if (o.dyncast() == DYNCAST.expression) { e = cast(Expression)o; if (e.op == TOK.dSymbol) { Dsymbol s = (cast(DsymbolExp)e).s; e = new DotVarExp(exp.loc, ev, s.isDeclaration()); } } else if (o.dyncast() == DYNCAST.dsymbol) { e = new DsymbolExp(exp.loc, cast(Dsymbol)o); } else if (o.dyncast() == DYNCAST.type) { e = new TypeExp(exp.loc, cast(Type)o); } else { exp.error("`%s` is not an expression", o.toChars()); return setError(); } exps.push(e); } Expression e = new TupleExp(exp.loc, e0, exps); e = e.expressionSemantic(sc); result = e; return; } exp.e1 = exp.e1.addDtorHook(sc); Type t1 = exp.e1.type; if (FuncDeclaration fd = exp.var.isFuncDeclaration()) { // for functions, do checks after overload resolution if (!fd.functionSemantic()) return setError(); /* https://issues.dlang.org/show_bug.cgi?id=13843 * If fd obviously has no overloads, we should * normalize AST, and it will give a chance to wrap fd with FuncExp. */ if (fd.isNested() || fd.isFuncLiteralDeclaration()) { // (e1, fd) auto e = resolve(exp.loc, sc, fd, false); result = Expression.combine(exp.e1, e); return; } exp.type = fd.type; assert(exp.type); } else if (OverDeclaration od = exp.var.isOverDeclaration()) { exp.type = Type.tvoid; // ambiguous type? } else { exp.type = exp.var.type; if (!exp.type && global.errors) // var is goofed up, just return error. return setError(); assert(exp.type); if (t1.ty == Tpointer) t1 = t1.nextOf(); exp.type = exp.type.addMod(t1.mod); Dsymbol vparent = exp.var.toParent(); AggregateDeclaration ad = vparent ? vparent.isAggregateDeclaration() : null; if (Expression e1x = getRightThis(exp.loc, sc, ad, exp.e1, exp.var, 1)) exp.e1 = e1x; else { /* Later checkRightThis will report correct error for invalid field variable access. */ Expression e = new VarExp(exp.loc, exp.var); e = e.expressionSemantic(sc); result = e; return; } checkAccess(exp.loc, sc, exp.e1, exp.var); VarDeclaration v = exp.var.isVarDeclaration(); if (v && (v.isDataseg() || (v.storage_class & STC.manifest))) { Expression e = expandVar(WANTvalue, v); if (e) { result = e; return; } } if (v && v.isDataseg()) // fix https://issues.dlang.org/show_bug.cgi?id=8238 { // (e1, v) checkAccess(exp.loc, sc, exp.e1, v); Expression e = new VarExp(exp.loc, v); e = new CommaExp(exp.loc, exp.e1, e); e = e.expressionSemantic(sc); result = e; return; } } //printf("-DotVarExp::semantic('%s')\n", toChars()); result = exp; } override void visit(DotTemplateInstanceExp exp) { static if (LOGSEMANTIC) { printf("DotTemplateInstanceExp::semantic('%s')\n", exp.toChars()); } // Indicate we need to resolve by UFCS. Expression e = exp.semanticY(sc, 1); if (!e) e = resolveUFCSProperties(sc, exp); result = e; } override void visit(DelegateExp e) { static if (LOGSEMANTIC) { printf("DelegateExp::semantic('%s')\n", e.toChars()); } if (e.type) { result = e; return; } e.e1 = e.e1.expressionSemantic(sc); e.type = new TypeDelegate(e.func.type); e.type = e.type.typeSemantic(e.loc, sc); FuncDeclaration f = e.func.toAliasFunc(); AggregateDeclaration ad = f.toParent().isAggregateDeclaration(); if (f.needThis()) e.e1 = getRightThis(e.loc, sc, ad, e.e1, f); /* A delegate takes the address of e.e1 in order to set the .ptr field * https://issues.dlang.org/show_bug.cgi?id=18575 */ if (global.params.vsafe && e.e1.type.toBasetype().ty == Tstruct) { if (auto v = expToVariable(e.e1)) { if (!checkAddressVar(sc, e, v)) return setError(); } } if (f.type.ty == Tfunction) { TypeFunction tf = cast(TypeFunction)f.type; if (!MODmethodConv(e.e1.type.mod, f.type.mod)) { OutBuffer thisBuf, funcBuf; MODMatchToBuffer(&thisBuf, e.e1.type.mod, tf.mod); MODMatchToBuffer(&funcBuf, tf.mod, e.e1.type.mod); e.error("%smethod `%s` is not callable using a %s`%s`", funcBuf.peekString(), f.toPrettyChars(), thisBuf.peekString(), e.e1.toChars()); return setError(); } } if (ad && ad.isClassDeclaration() && ad.type != e.e1.type) { // A downcast is required for interfaces // https://issues.dlang.org/show_bug.cgi?id=3706 e.e1 = new CastExp(e.loc, e.e1, ad.type); e.e1 = e.e1.expressionSemantic(sc); } result = e; } override void visit(DotTypeExp exp) { static if (LOGSEMANTIC) { printf("DotTypeExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (auto e = unaSemantic(exp, sc)) { result = e; return; } exp.type = exp.sym.getType().addMod(exp.e1.type.mod); result = exp; } override void visit(AddrExp exp) { static if (LOGSEMANTIC) { printf("AddrExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (Expression ex = unaSemantic(exp, sc)) { result = ex; return; } int wasCond = exp.e1.op == TOK.question; if (exp.e1.op == TOK.dotTemplateInstance) { DotTemplateInstanceExp dti = cast(DotTemplateInstanceExp)exp.e1; TemplateInstance ti = dti.ti; { //assert(ti.needsTypeInference(sc)); ti.dsymbolSemantic(sc); if (!ti.inst || ti.errors) // if template failed to expand return setError(); Dsymbol s = ti.toAlias(); FuncDeclaration f = s.isFuncDeclaration(); if (f) { exp.e1 = new DotVarExp(exp.e1.loc, dti.e1, f); exp.e1 = exp.e1.expressionSemantic(sc); } } } else if (exp.e1.op == TOK.scope_) { TemplateInstance ti = (cast(ScopeExp)exp.e1).sds.isTemplateInstance(); if (ti) { //assert(ti.needsTypeInference(sc)); ti.dsymbolSemantic(sc); if (!ti.inst || ti.errors) // if template failed to expand return setError(); Dsymbol s = ti.toAlias(); FuncDeclaration f = s.isFuncDeclaration(); if (f) { exp.e1 = new VarExp(exp.e1.loc, f); exp.e1 = exp.e1.expressionSemantic(sc); } } } exp.e1 = exp.e1.toLvalue(sc, null); if (exp.e1.op == TOK.error) { result = exp.e1; return; } if (checkNonAssignmentArrayOp(exp.e1)) return setError(); if (!exp.e1.type) { exp.error("cannot take address of `%s`", exp.e1.toChars()); return setError(); } bool hasOverloads; if (auto f = isFuncAddress(exp, &hasOverloads)) { if (!hasOverloads && f.checkForwardRef(exp.loc)) return setError(); } else if (!exp.e1.type.deco) { if (exp.e1.op == TOK.variable) { VarExp ve = cast(VarExp)exp.e1; Declaration d = ve.var; exp.error("forward reference to %s `%s`", d.kind(), d.toChars()); } else exp.error("forward reference to `%s`", exp.e1.toChars()); return setError(); } exp.type = exp.e1.type.pointerTo(); // See if this should really be a delegate if (exp.e1.op == TOK.dotVariable) { DotVarExp dve = cast(DotVarExp)exp.e1; FuncDeclaration f = dve.var.isFuncDeclaration(); if (f) { f = f.toAliasFunc(); // FIXME, should see overloads // https://issues.dlang.org/show_bug.cgi?id=1983 if (!dve.hasOverloads) f.tookAddressOf++; Expression e; if (f.needThis()) e = new DelegateExp(exp.loc, dve.e1, f, dve.hasOverloads); else // It is a function pointer. Convert &v.f() --> (v, &V.f()) e = new CommaExp(exp.loc, dve.e1, new AddrExp(exp.loc, new VarExp(exp.loc, f, dve.hasOverloads))); e = e.expressionSemantic(sc); result = e; return; } // Look for misaligned pointer in @safe mode if (checkUnsafeAccess(sc, dve, !exp.type.isMutable(), true)) return setError(); if (global.params.vsafe) { if (VarDeclaration v = expToVariable(dve.e1)) { if (!checkAddressVar(sc, exp, v)) return setError(); } } } else if (exp.e1.op == TOK.variable) { VarExp ve = cast(VarExp)exp.e1; VarDeclaration v = ve.var.isVarDeclaration(); if (v) { if (!checkAddressVar(sc, exp, v)) return setError(); ve.checkPurity(sc, v); } FuncDeclaration f = ve.var.isFuncDeclaration(); if (f) { /* Because nested functions cannot be overloaded, * mark here that we took its address because castTo() * may not be called with an exact match. */ if (!ve.hasOverloads || f.isNested()) f.tookAddressOf++; if (f.isNested()) { if (f.isFuncLiteralDeclaration()) { if (!f.FuncDeclaration.isNested()) { /* Supply a 'null' for a this pointer if no this is available */ Expression e = new DelegateExp(exp.loc, new NullExp(exp.loc, Type.tnull), f, ve.hasOverloads); e = e.expressionSemantic(sc); result = e; return; } } Expression e = new DelegateExp(exp.loc, exp.e1, f, ve.hasOverloads); e = e.expressionSemantic(sc); result = e; return; } if (f.needThis()) { if (hasThis(sc)) { /* Should probably supply 'this' after overload resolution, * not before. */ Expression ethis = new ThisExp(exp.loc); Expression e = new DelegateExp(exp.loc, ethis, f, ve.hasOverloads); e = e.expressionSemantic(sc); result = e; return; } if (sc.func && !sc.intypeof) { if (sc.func.setUnsafe()) { exp.error("`this` reference necessary to take address of member `%s` in `@safe` function `%s`", f.toChars(), sc.func.toChars()); } } } } } else if ((exp.e1.op == TOK.this_ || exp.e1.op == TOK.super_) && global.params.vsafe) { if (VarDeclaration v = expToVariable(exp.e1)) { if (!checkAddressVar(sc, exp, v)) return setError(); } } else if (exp.e1.op == TOK.call) { CallExp ce = cast(CallExp)exp.e1; if (ce.e1.type.ty == Tfunction) { TypeFunction tf = cast(TypeFunction)ce.e1.type; if (tf.isref && sc.func && !sc.intypeof && sc.func.setUnsafe()) { exp.error("cannot take address of `ref return` of `%s()` in `@safe` function `%s`", ce.e1.toChars(), sc.func.toChars()); } } } else if (exp.e1.op == TOK.index) { /* For: * int[3] a; * &a[i] * check 'a' the same as for a regular variable */ if (VarDeclaration v = expToVariable(exp.e1)) { if (global.params.vsafe && !checkAddressVar(sc, exp, v)) return setError(); exp.e1.checkPurity(sc, v); } } else if (wasCond) { /* a ? b : c was transformed to *(a ? &b : &c), but we still * need to do safety checks */ assert(exp.e1.op == TOK.star); PtrExp pe = cast(PtrExp)exp.e1; assert(pe.e1.op == TOK.question); CondExp ce = cast(CondExp)pe.e1; assert(ce.e1.op == TOK.address); assert(ce.e2.op == TOK.address); // Re-run semantic on the address expressions only ce.e1.type = null; ce.e1 = ce.e1.expressionSemantic(sc); ce.e2.type = null; ce.e2 = ce.e2.expressionSemantic(sc); } result = exp.optimize(WANTvalue); } override void visit(PtrExp exp) { static if (LOGSEMANTIC) { printf("PtrExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } Type tb = exp.e1.type.toBasetype(); switch (tb.ty) { case Tpointer: exp.type = (cast(TypePointer)tb).next; break; case Tsarray: case Tarray: if (isNonAssignmentArrayOp(exp.e1)) goto default; exp.error("using `*` on an array is no longer supported; use `*(%s).ptr` instead", exp.e1.toChars()); exp.type = (cast(TypeArray)tb).next; exp.e1 = exp.e1.castTo(sc, exp.type.pointerTo()); break; case Terror: return setError(); default: exp.error("can only `*` a pointer, not a `%s`", exp.e1.type.toChars()); goto case Terror; } if (exp.checkValue()) return setError(); result = exp; } override void visit(NegExp exp) { static if (LOGSEMANTIC) { printf("NegExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } fix16997(sc, exp); exp.type = exp.e1.type; Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp.e1)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (!Target.isVectorOpSupported(tb, exp.op)) { result = exp.incompatibleTypes(); return; } if (exp.e1.checkNoBool()) return setError(); if (exp.e1.checkArithmetic()) return setError(); result = exp; } override void visit(UAddExp exp) { static if (LOGSEMANTIC) { printf("UAddExp::semantic('%s')\n", exp.toChars()); } assert(!exp.type); Expression e = exp.op_overload(sc); if (e) { result = e; return; } fix16997(sc, exp); if (!Target.isVectorOpSupported(exp.e1.type.toBasetype(), exp.op)) { result = exp.incompatibleTypes(); return; } if (exp.e1.checkNoBool()) return setError(); if (exp.e1.checkArithmetic()) return setError(); result = exp.e1; } override void visit(ComExp exp) { if (exp.type) { result = exp; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } fix16997(sc, exp); exp.type = exp.e1.type; Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp.e1)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (!Target.isVectorOpSupported(tb, exp.op)) { result = exp.incompatibleTypes(); return; } if (exp.e1.checkNoBool()) return setError(); if (exp.e1.checkIntegral()) return setError(); result = exp; } override void visit(NotExp e) { if (e.type) { result = e; return; } e.setNoderefOperand(); // Note there is no operator overload if (Expression ex = unaSemantic(e, sc)) { result = ex; return; } // for static alias this: https://issues.dlang.org/show_bug.cgi?id=17684 if (e.e1.op == TOK.type) e.e1 = resolveAliasThis(sc, e.e1); e.e1 = resolveProperties(sc, e.e1); e.e1 = e.e1.toBoolean(sc); if (e.e1.type == Type.terror) { result = e.e1; return; } if (!Target.isVectorOpSupported(e.e1.type.toBasetype(), e.op)) { result = e.incompatibleTypes(); } // https://issues.dlang.org/show_bug.cgi?id=13910 // Today NotExp can take an array as its operand. if (checkNonAssignmentArrayOp(e.e1)) return setError(); e.type = Type.tbool; result = e; } override void visit(DeleteExp exp) { if (!sc.isDeprecated) { // @@@DEPRECATED_2019-02@@@ // 1. Deprecation for 1 year // 2. Error for 1 year // 3. Removal of keyword, "delete" can be used for other identities if (!exp.isRAII) deprecation(exp.loc, "The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead."); } if (Expression ex = unaSemantic(exp, sc)) { result = ex; return; } exp.e1 = resolveProperties(sc, exp.e1); exp.e1 = exp.e1.modifiableLvalue(sc, null); if (exp.e1.op == TOK.error) { result = exp.e1; return; } exp.type = Type.tvoid; AggregateDeclaration ad = null; Type tb = exp.e1.type.toBasetype(); switch (tb.ty) { case Tclass: { auto cd = (cast(TypeClass)tb).sym; if (cd.isCOMinterface()) { /* Because COM classes are deleted by IUnknown.Release() */ exp.error("cannot `delete` instance of COM interface `%s`", cd.toChars()); return setError(); } ad = cd; break; } case Tpointer: tb = (cast(TypePointer)tb).next.toBasetype(); if (tb.ty == Tstruct) { ad = (cast(TypeStruct)tb).sym; auto f = ad.aggDelete; auto fd = ad.dtor; if (!f) { semanticTypeInfo(sc, tb); break; } /* Construct: * ea = copy e1 to a tmp to do side effects only once * eb = call destructor * ec = call deallocator */ Expression ea = null; Expression eb = null; Expression ec = null; VarDeclaration v = null; if (fd && f) { v = copyToTemp(0, "__tmpea", exp.e1); v.dsymbolSemantic(sc); ea = new DeclarationExp(exp.loc, v); ea.type = v.type; } if (fd) { Expression e = ea ? new VarExp(exp.loc, v) : exp.e1; e = new DotVarExp(Loc.initial, e, fd, false); eb = new CallExp(exp.loc, e); eb = eb.expressionSemantic(sc); } if (f) { Type tpv = Type.tvoid.pointerTo(); Expression e = ea ? new VarExp(exp.loc, v) : exp.e1.castTo(sc, tpv); e = new CallExp(exp.loc, new VarExp(exp.loc, f, false), e); ec = e.expressionSemantic(sc); } ea = Expression.combine(ea, eb); ea = Expression.combine(ea, ec); assert(ea); result = ea; return; } break; case Tarray: { Type tv = tb.nextOf().baseElemOf(); if (tv.ty == Tstruct) { ad = (cast(TypeStruct)tv).sym; if (ad.dtor) semanticTypeInfo(sc, ad.type); } break; } default: exp.error("cannot delete type `%s`", exp.e1.type.toChars()); return setError(); } bool err = false; if (ad) { if (ad.dtor) { err |= exp.checkPurity(sc, ad.dtor); err |= exp.checkSafety(sc, ad.dtor); err |= exp.checkNogc(sc, ad.dtor); } if (ad.aggDelete && tb.ty != Tarray) { err |= exp.checkPurity(sc, ad.aggDelete); err |= exp.checkSafety(sc, ad.aggDelete); err |= exp.checkNogc(sc, ad.aggDelete); } if (err) return setError(); } if (!sc.intypeof && sc.func && !exp.isRAII && sc.func.setUnsafe()) { exp.error("`%s` is not `@safe` but is used in `@safe` function `%s`", exp.toChars(), sc.func.toChars()); err = true; } if (err) return setError(); result = exp; } override void visit(CastExp exp) { static if (LOGSEMANTIC) { printf("CastExp::semantic('%s')\n", exp.toChars()); } //static int x; assert(++x < 10); if (exp.type) { result = exp; return; } if (exp.to) { exp.to = exp.to.typeSemantic(exp.loc, sc); if (exp.to == Type.terror) return setError(); if (!exp.to.hasPointers()) exp.setNoderefOperand(); // When e1 is a template lambda, this cast may instantiate it with // the type 'to'. exp.e1 = inferType(exp.e1, exp.to); } if (auto e = unaSemantic(exp, sc)) { result = e; return; } auto e1x = resolveProperties(sc, exp.e1); if (e1x.op == TOK.error) { result = e1x; return; } if (e1x.checkType()) return setError(); exp.e1 = e1x; if (!exp.e1.type) { exp.error("cannot cast `%s`", exp.e1.toChars()); return setError(); } if (!exp.to) // Handle cast(const) and cast(immutable), etc. { exp.to = exp.e1.type.castMod(exp.mod); exp.to = exp.to.typeSemantic(exp.loc, sc); if (exp.to == Type.terror) return setError(); } if (exp.to.ty == Ttuple) { exp.error("cannot cast `%s` to tuple type `%s`", exp.e1.toChars(), exp.to.toChars()); return setError(); } // cast(void) is used to mark e1 as unused, so it is safe if (exp.to.ty == Tvoid) { exp.type = exp.to; result = exp; return; } if (!exp.to.equals(exp.e1.type) && exp.mod == cast(ubyte)~0) { if (Expression e = exp.op_overload(sc)) { result = e.implicitCastTo(sc, exp.to); return; } } Type t1b = exp.e1.type.toBasetype(); Type tob = exp.to.toBasetype(); if (tob.ty == Tstruct && !tob.equals(t1b)) { /* Look to replace: * cast(S)t * with: * S(t) */ // Rewrite as to.call(e1) Expression e = new TypeExp(exp.loc, exp.to); e = new CallExp(exp.loc, e, exp.e1); e = e.trySemantic(sc); if (e) { result = e; return; } } if (!t1b.equals(tob) && (t1b.ty == Tarray || t1b.ty == Tsarray)) { if (checkNonAssignmentArrayOp(exp.e1)) return setError(); } // Look for casting to a vector type if (tob.ty == Tvector && t1b.ty != Tvector) { result = new VectorExp(exp.loc, exp.e1, exp.to); return; } Expression ex = exp.e1.castTo(sc, exp.to); if (ex.op == TOK.error) { result = ex; return; } // Check for unsafe casts if (sc.func && !sc.intypeof && !isSafeCast(ex, t1b, tob) && sc.func.setUnsafe()) { exp.error("cast from `%s` to `%s` not allowed in safe code", exp.e1.type.toChars(), exp.to.toChars()); return setError(); } result = ex; } override void visit(VectorExp exp) { static if (LOGSEMANTIC) { printf("VectorExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } exp.e1 = exp.e1.expressionSemantic(sc); exp.type = exp.to.typeSemantic(exp.loc, sc); if (exp.e1.op == TOK.error || exp.type.ty == Terror) { result = exp.e1; return; } Type tb = exp.type.toBasetype(); assert(tb.ty == Tvector); TypeVector tv = cast(TypeVector)tb; Type te = tv.elementType(); exp.dim = cast(int)(tv.size(exp.loc) / te.size(exp.loc)); bool checkElem(Expression elem) { if (elem.isConst() == 1) return false; exp.error("constant expression expected, not `%s`", elem.toChars()); return true; } exp.e1 = exp.e1.optimize(WANTvalue); bool res; if (exp.e1.op == TOK.arrayLiteral) { foreach (i; 0 .. exp.dim) { // Do not stop on first error - check all AST nodes even if error found res |= checkElem((cast(ArrayLiteralExp)exp.e1).getElement(i)); } } else if (exp.e1.type.ty == Tvoid) checkElem(exp.e1); result = res ? new ErrorExp() : exp; } override void visit(SliceExp exp) { static if (LOGSEMANTIC) { printf("SliceExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } // operator overloading should be handled in ArrayExp already. if (Expression ex = unaSemantic(exp, sc)) { result = ex; return; } exp.e1 = resolveProperties(sc, exp.e1); if (exp.e1.op == TOK.type && exp.e1.type.ty != Ttuple) { if (exp.lwr || exp.upr) { exp.error("cannot slice type `%s`", exp.e1.toChars()); return setError(); } Expression e = new TypeExp(exp.loc, exp.e1.type.arrayOf()); result = e.expressionSemantic(sc); return; } if (!exp.lwr && !exp.upr) { if (exp.e1.op == TOK.arrayLiteral) { // Convert [a,b,c][] to [a,b,c] Type t1b = exp.e1.type.toBasetype(); Expression e = exp.e1; if (t1b.ty == Tsarray) { e = e.copy(); e.type = t1b.nextOf().arrayOf(); } result = e; return; } if (exp.e1.op == TOK.slice) { // Convert e[][] to e[] SliceExp se = cast(SliceExp)exp.e1; if (!se.lwr && !se.upr) { result = se; return; } } if (isArrayOpOperand(exp.e1)) { // Convert (a[]+b[])[] to a[]+b[] result = exp.e1; return; } } if (exp.e1.op == TOK.error) { result = exp.e1; return; } if (exp.e1.type.ty == Terror) return setError(); Type t1b = exp.e1.type.toBasetype(); if (t1b.ty == Tpointer) { if ((cast(TypePointer)t1b).next.ty == Tfunction) { exp.error("cannot slice function pointer `%s`", exp.e1.toChars()); return setError(); } if (!exp.lwr || !exp.upr) { exp.error("need upper and lower bound to slice pointer"); return setError(); } if (sc.func && !sc.intypeof && sc.func.setUnsafe()) { exp.error("pointer slicing not allowed in safe functions"); return setError(); } } else if (t1b.ty == Tarray) { } else if (t1b.ty == Tsarray) { if (!exp.arrayop && global.params.vsafe) { /* Slicing a static array is like taking the address of it. * Perform checks as if e[] was &e */ if (VarDeclaration v = expToVariable(exp.e1)) { if (exp.e1.op == TOK.dotVariable) { DotVarExp dve = cast(DotVarExp)exp.e1; if ((dve.e1.op == TOK.this_ || dve.e1.op == TOK.super_) && !(v.storage_class & STC.ref_)) { // because it's a class v = null; } } if (v && !checkAddressVar(sc, exp, v)) return setError(); } } } else if (t1b.ty == Ttuple) { if (!exp.lwr && !exp.upr) { result = exp.e1; return; } if (!exp.lwr || !exp.upr) { exp.error("need upper and lower bound to slice tuple"); return setError(); } } else if (t1b.ty == Tvector) { // Convert e1 to corresponding static array TypeVector tv1 = cast(TypeVector)t1b; t1b = tv1.basetype; t1b = t1b.castMod(tv1.mod); exp.e1.type = t1b; } else { exp.error("`%s` cannot be sliced with `[]`", t1b.ty == Tvoid ? exp.e1.toChars() : t1b.toChars()); return setError(); } /* Run semantic on lwr and upr. */ Scope* scx = sc; if (t1b.ty == Tsarray || t1b.ty == Tarray || t1b.ty == Ttuple) { // Create scope for 'length' variable ScopeDsymbol sym = new ArrayScopeSymbol(sc, exp); sym.loc = exp.loc; sym.parent = sc.scopesym; sc = sc.push(sym); } if (exp.lwr) { if (t1b.ty == Ttuple) sc = sc.startCTFE(); exp.lwr = exp.lwr.expressionSemantic(sc); exp.lwr = resolveProperties(sc, exp.lwr); if (t1b.ty == Ttuple) sc = sc.endCTFE(); exp.lwr = exp.lwr.implicitCastTo(sc, Type.tsize_t); } if (exp.upr) { if (t1b.ty == Ttuple) sc = sc.startCTFE(); exp.upr = exp.upr.expressionSemantic(sc); exp.upr = resolveProperties(sc, exp.upr); if (t1b.ty == Ttuple) sc = sc.endCTFE(); exp.upr = exp.upr.implicitCastTo(sc, Type.tsize_t); } if (sc != scx) sc = sc.pop(); if (exp.lwr && exp.lwr.type == Type.terror || exp.upr && exp.upr.type == Type.terror) return setError(); if (t1b.ty == Ttuple) { exp.lwr = exp.lwr.ctfeInterpret(); exp.upr = exp.upr.ctfeInterpret(); uinteger_t i1 = exp.lwr.toUInteger(); uinteger_t i2 = exp.upr.toUInteger(); TupleExp te; TypeTuple tup; size_t length; if (exp.e1.op == TOK.tuple) // slicing an expression tuple { te = cast(TupleExp)exp.e1; tup = null; length = te.exps.dim; } else if (exp.e1.op == TOK.type) // slicing a type tuple { te = null; tup = cast(TypeTuple)t1b; length = Parameter.dim(tup.arguments); } else assert(0); if (i2 < i1 || length < i2) { exp.error("string slice `[%llu .. %llu]` is out of bounds", i1, i2); return setError(); } size_t j1 = cast(size_t)i1; size_t j2 = cast(size_t)i2; Expression e; if (exp.e1.op == TOK.tuple) { auto exps = new Expressions(); exps.setDim(j2 - j1); for (size_t i = 0; i < j2 - j1; i++) { (*exps)[i] = (*te.exps)[j1 + i]; } e = new TupleExp(exp.loc, te.e0, exps); } else { auto args = new Parameters(); args.reserve(j2 - j1); for (size_t i = j1; i < j2; i++) { Parameter arg = Parameter.getNth(tup.arguments, i); args.push(arg); } e = new TypeExp(exp.e1.loc, new TypeTuple(args)); } e = e.expressionSemantic(sc); result = e; return; } exp.type = t1b.nextOf().arrayOf(); // Allow typedef[] -> typedef[] if (exp.type.equals(t1b)) exp.type = exp.e1.type; // We might know $ now setLengthVarIfKnown(exp.lengthVar, t1b); if (exp.lwr && exp.upr) { exp.lwr = exp.lwr.optimize(WANTvalue); exp.upr = exp.upr.optimize(WANTvalue); IntRange lwrRange = getIntRange(exp.lwr); IntRange uprRange = getIntRange(exp.upr); if (t1b.ty == Tsarray || t1b.ty == Tarray) { Expression el = new ArrayLengthExp(exp.loc, exp.e1); el = el.expressionSemantic(sc); el = el.optimize(WANTvalue); if (el.op == TOK.int64) { // Array length is known at compile-time. Upper is in bounds if it fits length. dinteger_t length = el.toInteger(); auto bounds = IntRange(SignExtendedNumber(0), SignExtendedNumber(length)); exp.upperIsInBounds = bounds.contains(uprRange); } else if (exp.upr.op == TOK.int64 && exp.upr.toInteger() == 0) { // Upper slice expression is '0'. Value is always in bounds. exp.upperIsInBounds = true; } else if (exp.upr.op == TOK.variable && (cast(VarExp)exp.upr).var.ident == Id.dollar) { // Upper slice expression is '$'. Value is always in bounds. exp.upperIsInBounds = true; } } else if (t1b.ty == Tpointer) { exp.upperIsInBounds = true; } else assert(0); exp.lowerIsLessThanUpper = (lwrRange.imax <= uprRange.imin); //printf("upperIsInBounds = %d lowerIsLessThanUpper = %d\n", exp.upperIsInBounds, exp.lowerIsLessThanUpper); } result = exp; } override void visit(ArrayLengthExp e) { static if (LOGSEMANTIC) { printf("ArrayLengthExp::semantic('%s')\n", e.toChars()); } if (e.type) { result = e; return; } if (Expression ex = unaSemantic(e, sc)) { result = ex; return; } e.e1 = resolveProperties(sc, e.e1); e.type = Type.tsize_t; result = e; } override void visit(ArrayExp exp) { static if (LOGSEMANTIC) { printf("ArrayExp::semantic('%s')\n", exp.toChars()); } assert(!exp.type); Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (isAggregate(exp.e1.type)) exp.error("no `[]` operator overload for type `%s`", exp.e1.type.toChars()); else exp.error("only one index allowed to index `%s`", exp.e1.type.toChars()); result = new ErrorExp(); } override void visit(DotExp exp) { static if (LOGSEMANTIC) { printf("DotExp::semantic('%s')\n", exp.toChars()); if (exp.type) printf("\ttype = %s\n", exp.type.toChars()); } exp.e1 = exp.e1.expressionSemantic(sc); exp.e2 = exp.e2.expressionSemantic(sc); if (exp.e1.op == TOK.type) { result = exp.e2; return; } if (exp.e2.op == TOK.type) { result = exp.e2; return; } if (exp.e2.op == TOK.template_) { auto td = (cast(TemplateExp)exp.e2).td; Expression e = new DotTemplateExp(exp.loc, exp.e1, td); result = e.expressionSemantic(sc); return; } if (!exp.type) exp.type = exp.e2.type; result = exp; } override void visit(CommaExp e) { if (e.type) { result = e; return; } // Allow `((a,b),(x,y))` if (e.allowCommaExp) { CommaExp.allow(e.e1); CommaExp.allow(e.e2); } if (Expression ex = binSemanticProp(e, sc)) { result = ex; return; } e.e1 = e.e1.addDtorHook(sc); if (checkNonAssignmentArrayOp(e.e1)) return setError(); e.type = e.e2.type; if (e.type !is Type.tvoid && !e.allowCommaExp && !e.isGenerated) e.error("Using the result of a comma expression is not allowed"); result = e; } override void visit(IntervalExp e) { static if (LOGSEMANTIC) { printf("IntervalExp::semantic('%s')\n", e.toChars()); } if (e.type) { result = e; return; } Expression le = e.lwr; le = le.expressionSemantic(sc); le = resolveProperties(sc, le); Expression ue = e.upr; ue = ue.expressionSemantic(sc); ue = resolveProperties(sc, ue); if (le.op == TOK.error) { result = le; return; } if (ue.op == TOK.error) { result = ue; return; } e.lwr = le; e.upr = ue; e.type = Type.tvoid; result = e; } override void visit(DelegatePtrExp e) { static if (LOGSEMANTIC) { printf("DelegatePtrExp::semantic('%s')\n", e.toChars()); } if (!e.type) { unaSemantic(e, sc); e.e1 = resolveProperties(sc, e.e1); if (e.e1.op == TOK.error) { result = e.e1; return; } e.type = Type.tvoidptr; } result = e; } override void visit(DelegateFuncptrExp e) { static if (LOGSEMANTIC) { printf("DelegateFuncptrExp::semantic('%s')\n", e.toChars()); } if (!e.type) { unaSemantic(e, sc); e.e1 = resolveProperties(sc, e.e1); if (e.e1.op == TOK.error) { result = e.e1; return; } e.type = e.e1.type.nextOf().pointerTo(); } result = e; } override void visit(IndexExp exp) { static if (LOGSEMANTIC) { printf("IndexExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } // operator overloading should be handled in ArrayExp already. if (!exp.e1.type) exp.e1 = exp.e1.expressionSemantic(sc); assert(exp.e1.type); // semantic() should already be run on it if (exp.e1.op == TOK.type && exp.e1.type.ty != Ttuple) { exp.e2 = exp.e2.expressionSemantic(sc); exp.e2 = resolveProperties(sc, exp.e2); Type nt; if (exp.e2.op == TOK.type) nt = new TypeAArray(exp.e1.type, exp.e2.type); else nt = new TypeSArray(exp.e1.type, exp.e2); Expression e = new TypeExp(exp.loc, nt); result = e.expressionSemantic(sc); return; } if (exp.e1.op == TOK.error) { result = exp.e1; return; } if (exp.e1.type.ty == Terror) return setError(); // Note that unlike C we do not implement the int[ptr] Type t1b = exp.e1.type.toBasetype(); if (t1b.ty == Tvector) { // Convert e1 to corresponding static array TypeVector tv1 = cast(TypeVector)t1b; t1b = tv1.basetype; t1b = t1b.castMod(tv1.mod); exp.e1.type = t1b; } /* Run semantic on e2 */ Scope* scx = sc; if (t1b.ty == Tsarray || t1b.ty == Tarray || t1b.ty == Ttuple) { // Create scope for 'length' variable ScopeDsymbol sym = new ArrayScopeSymbol(sc, exp); sym.loc = exp.loc; sym.parent = sc.scopesym; sc = sc.push(sym); } if (t1b.ty == Ttuple) sc = sc.startCTFE(); exp.e2 = exp.e2.expressionSemantic(sc); exp.e2 = resolveProperties(sc, exp.e2); if (t1b.ty == Ttuple) sc = sc.endCTFE(); if (exp.e2.op == TOK.tuple) { TupleExp te = cast(TupleExp)exp.e2; if (te.exps && te.exps.dim == 1) exp.e2 = Expression.combine(te.e0, (*te.exps)[0]); // bug 4444 fix } if (sc != scx) sc = sc.pop(); if (exp.e2.type == Type.terror) return setError(); if (checkNonAssignmentArrayOp(exp.e1)) return setError(); switch (t1b.ty) { case Tpointer: if ((cast(TypePointer)t1b).next.ty == Tfunction) { exp.error("cannot index function pointer `%s`", exp.e1.toChars()); return setError(); } exp.e2 = exp.e2.implicitCastTo(sc, Type.tsize_t); if (exp.e2.type == Type.terror) return setError(); exp.e2 = exp.e2.optimize(WANTvalue); if (exp.e2.op == TOK.int64 && exp.e2.toInteger() == 0) { } else if (sc.func && sc.func.setUnsafe()) { exp.error("safe function `%s` cannot index pointer `%s`", sc.func.toPrettyChars(), exp.e1.toChars()); return setError(); } exp.type = (cast(TypeNext)t1b).next; break; case Tarray: exp.e2 = exp.e2.implicitCastTo(sc, Type.tsize_t); if (exp.e2.type == Type.terror) return setError(); exp.type = (cast(TypeNext)t1b).next; break; case Tsarray: { exp.e2 = exp.e2.implicitCastTo(sc, Type.tsize_t); if (exp.e2.type == Type.terror) return setError(); exp.type = t1b.nextOf(); break; } case Taarray: { TypeAArray taa = cast(TypeAArray)t1b; /* We can skip the implicit conversion if they differ only by * constness * https://issues.dlang.org/show_bug.cgi?id=2684 * see also bug https://issues.dlang.org/show_bug.cgi?id=2954 b */ if (!arrayTypeCompatibleWithoutCasting(exp.e2.type, taa.index)) { exp.e2 = exp.e2.implicitCastTo(sc, taa.index); // type checking if (exp.e2.type == Type.terror) return setError(); } semanticTypeInfo(sc, taa); exp.type = taa.next; break; } case Ttuple: { exp.e2 = exp.e2.implicitCastTo(sc, Type.tsize_t); if (exp.e2.type == Type.terror) return setError(); exp.e2 = exp.e2.ctfeInterpret(); uinteger_t index = exp.e2.toUInteger(); TupleExp te; TypeTuple tup; size_t length; if (exp.e1.op == TOK.tuple) { te = cast(TupleExp)exp.e1; tup = null; length = te.exps.dim; } else if (exp.e1.op == TOK.type) { te = null; tup = cast(TypeTuple)t1b; length = Parameter.dim(tup.arguments); } else assert(0); if (length <= index) { exp.error("array index `[%llu]` is outside array bounds `[0 .. %llu]`", index, cast(ulong)length); return setError(); } Expression e; if (exp.e1.op == TOK.tuple) { e = (*te.exps)[cast(size_t)index]; e = Expression.combine(te.e0, e); } else e = new TypeExp(exp.e1.loc, Parameter.getNth(tup.arguments, cast(size_t)index).type); result = e; return; } default: exp.error("`%s` must be an array or pointer type, not `%s`", exp.e1.toChars(), exp.e1.type.toChars()); return setError(); } // We might know $ now setLengthVarIfKnown(exp.lengthVar, t1b); if (t1b.ty == Tsarray || t1b.ty == Tarray) { Expression el = new ArrayLengthExp(exp.loc, exp.e1); el = el.expressionSemantic(sc); el = el.optimize(WANTvalue); if (el.op == TOK.int64) { exp.e2 = exp.e2.optimize(WANTvalue); dinteger_t length = el.toInteger(); if (length) { auto bounds = IntRange(SignExtendedNumber(0), SignExtendedNumber(length - 1)); exp.indexIsInBounds = bounds.contains(getIntRange(exp.e2)); } } } result = exp; } override void visit(PostExp exp) { static if (LOGSEMANTIC) { printf("PostExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (Expression ex = binSemantic(exp, sc)) { result = ex; return; } Expression e1x = resolveProperties(sc, exp.e1); if (e1x.op == TOK.error) { result = e1x; return; } exp.e1 = e1x; Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.e1.checkReadModifyWrite(exp.op)) return setError(); if (exp.e1.op == TOK.slice) { const(char)* s = exp.op == TOK.plusPlus ? "increment" : "decrement"; exp.error("cannot post-%s array slice `%s`, use pre-%s instead", s, exp.e1.toChars(), s); return setError(); } exp.e1 = exp.e1.optimize(WANTvalue); Type t1 = exp.e1.type.toBasetype(); if (t1.ty == Tclass || t1.ty == Tstruct || exp.e1.op == TOK.arrayLength) { /* Check for operator overloading, * but rewrite in terms of ++e instead of e++ */ /* If e1 is not trivial, take a reference to it */ Expression de = null; if (exp.e1.op != TOK.variable && exp.e1.op != TOK.arrayLength) { // ref v = e1; auto v = copyToTemp(STC.ref_, "__postref", exp.e1); de = new DeclarationExp(exp.loc, v); exp.e1 = new VarExp(exp.e1.loc, v); } /* Rewrite as: * auto tmp = e1; ++e1; tmp */ auto tmp = copyToTemp(0, "__pitmp", exp.e1); Expression ea = new DeclarationExp(exp.loc, tmp); Expression eb = exp.e1.syntaxCopy(); eb = new PreExp(exp.op == TOK.plusPlus ? TOK.prePlusPlus : TOK.preMinusMinus, exp.loc, eb); Expression ec = new VarExp(exp.loc, tmp); // Combine de,ea,eb,ec if (de) ea = new CommaExp(exp.loc, de, ea); e = new CommaExp(exp.loc, ea, eb); e = new CommaExp(exp.loc, e, ec); e = e.expressionSemantic(sc); result = e; return; } exp.e1 = exp.e1.modifiableLvalue(sc, exp.e1); e = exp; if (exp.e1.checkScalar()) return setError(); if (exp.e1.checkNoBool()) return setError(); if (exp.e1.type.ty == Tpointer) e = scaleFactor(exp, sc); else exp.e2 = exp.e2.castTo(sc, exp.e1.type); e.type = exp.e1.type; result = e; } override void visit(PreExp exp) { Expression e = exp.op_overload(sc); // printf("PreExp::semantic('%s')\n", toChars()); if (e) { result = e; return; } // Rewrite as e1+=1 or e1-=1 if (exp.op == TOK.prePlusPlus) e = new AddAssignExp(exp.loc, exp.e1, new IntegerExp(exp.loc, 1, Type.tint32)); else e = new MinAssignExp(exp.loc, exp.e1, new IntegerExp(exp.loc, 1, Type.tint32)); result = e.expressionSemantic(sc); } override void visit(AssignExp exp) { static if (LOGSEMANTIC) { printf("AssignExp::semantic('%s')\n", exp.toChars()); } //printf("exp.e1.op = %d, '%s'\n", exp.e1.op, Token.toChars(exp.e1.op)); //printf("exp.e2.op = %d, '%s'\n", exp.e2.op, Token.toChars(exp.e2.op)); if (exp.type) { result = exp; return; } Expression e1old = exp.e1; if (exp.e2.op == TOK.comma) { /* Rewrite to get rid of the comma from rvalue */ if (!(cast(CommaExp)exp.e2).isGenerated) exp.error("Using the result of a comma expression is not allowed"); Expression e0; exp.e2 = Expression.extractLast(exp.e2, &e0); Expression e = Expression.combine(e0, exp); result = e.expressionSemantic(sc); return; } /* Look for operator overloading of a[arguments] = e2. * Do it before e1.expressionSemantic() otherwise the ArrayExp will have been * converted to unary operator overloading already. */ if (exp.e1.op == TOK.array) { Expression res; ArrayExp ae = cast(ArrayExp)exp.e1; ae.e1 = ae.e1.expressionSemantic(sc); ae.e1 = resolveProperties(sc, ae.e1); Expression ae1old = ae.e1; const(bool) maybeSlice = (ae.arguments.dim == 0 || ae.arguments.dim == 1 && (*ae.arguments)[0].op == TOK.interval); IntervalExp ie = null; if (maybeSlice && ae.arguments.dim) { assert((*ae.arguments)[0].op == TOK.interval); ie = cast(IntervalExp)(*ae.arguments)[0]; } while (true) { if (ae.e1.op == TOK.error) { result = ae.e1; return; } Expression e0 = null; Expression ae1save = ae.e1; ae.lengthVar = null; Type t1b = ae.e1.type.toBasetype(); AggregateDeclaration ad = isAggregate(t1b); if (!ad) break; if (search_function(ad, Id.indexass)) { // Deal with $ res = resolveOpDollar(sc, ae, &e0); if (!res) // a[i..j] = e2 might be: a.opSliceAssign(e2, i, j) goto Lfallback; if (res.op == TOK.error) { result = res; return; } res = exp.e2.expressionSemantic(sc); if (res.op == TOK.error) { result = res; return; } exp.e2 = res; /* Rewrite (a[arguments] = e2) as: * a.opIndexAssign(e2, arguments) */ Expressions* a = ae.arguments.copy(); a.insert(0, exp.e2); res = new DotIdExp(exp.loc, ae.e1, Id.indexass); res = new CallExp(exp.loc, res, a); if (maybeSlice) // a[] = e2 might be: a.opSliceAssign(e2) res = res.trySemantic(sc); else res = res.expressionSemantic(sc); if (res) { res = Expression.combine(e0, res); result = res; return; } } Lfallback: if (maybeSlice && search_function(ad, Id.sliceass)) { // Deal with $ res = resolveOpDollar(sc, ae, ie, &e0); if (res.op == TOK.error) { result = res; return; } res = exp.e2.expressionSemantic(sc); if (res.op == TOK.error) { result = res; return; } exp.e2 = res; /* Rewrite (a[i..j] = e2) as: * a.opSliceAssign(e2, i, j) */ auto a = new Expressions(); a.push(exp.e2); if (ie) { a.push(ie.lwr); a.push(ie.upr); } res = new DotIdExp(exp.loc, ae.e1, Id.sliceass); res = new CallExp(exp.loc, res, a); res = res.expressionSemantic(sc); res = Expression.combine(e0, res); result = res; return; } // No operator overloading member function found yet, but // there might be an alias this to try. if (ad.aliasthis && t1b != ae.att1) { if (!ae.att1 && t1b.checkAliasThisRec()) ae.att1 = t1b; /* Rewrite (a[arguments] op e2) as: * a.aliasthis[arguments] op e2 */ ae.e1 = resolveAliasThis(sc, ae1save, true); if (ae.e1) continue; } break; } ae.e1 = ae1old; // recovery ae.lengthVar = null; } /* Run this.e1 semantic. */ { Expression e1x = exp.e1; /* With UFCS, e.f = value * Could mean: * .f(e, value) * or: * .f(e) = value */ if (e1x.op == TOK.dotTemplateInstance) { DotTemplateInstanceExp dti = cast(DotTemplateInstanceExp)e1x; Expression e = dti.semanticY(sc, 1); if (!e) { result = resolveUFCSProperties(sc, e1x, exp.e2); return; } e1x = e; } else if (e1x.op == TOK.dotIdentifier) { DotIdExp die = cast(DotIdExp)e1x; Expression e = die.semanticY(sc, 1); if (e && isDotOpDispatch(e)) { uint errors = global.startGagging(); e = resolvePropertiesX(sc, e, exp.e2); if (global.endGagging(errors)) e = null; /* fall down to UFCS */ else { result = e; return; } } if (!e) { result = resolveUFCSProperties(sc, e1x, exp.e2); return; } e1x = e; } else { if (e1x.op == TOK.slice) (cast(SliceExp)e1x).arrayop = true; e1x = e1x.expressionSemantic(sc); } /* We have f = value. * Could mean: * f(value) * or: * f() = value */ if (Expression e = resolvePropertiesX(sc, e1x, exp.e2)) { result = e; return; } if (e1x.checkRightThis(sc)) return setError(); exp.e1 = e1x; assert(exp.e1.type); } Type t1 = exp.e1.type.toBasetype(); /* Run this.e2 semantic. * Different from other binary expressions, the analysis of e2 * depends on the result of e1 in assignments. */ { Expression e2x = inferType(exp.e2, t1.baseElemOf()); e2x = e2x.expressionSemantic(sc); e2x = resolveProperties(sc, e2x); if (e2x.op == TOK.type) e2x = resolveAliasThis(sc, e2x); //https://issues.dlang.org/show_bug.cgi?id=17684 if (e2x.op == TOK.error) { result = e2x; return; } if (e2x.checkValue()) return setError(); exp.e2 = e2x; } /* Rewrite tuple assignment as a tuple of assignments. */ { Expression e2x = exp.e2; Ltupleassign: if (exp.e1.op == TOK.tuple && e2x.op == TOK.tuple) { TupleExp tup1 = cast(TupleExp)exp.e1; TupleExp tup2 = cast(TupleExp)e2x; size_t dim = tup1.exps.dim; Expression e = null; if (dim != tup2.exps.dim) { exp.error("mismatched tuple lengths, %d and %d", cast(int)dim, cast(int)tup2.exps.dim); return setError(); } if (dim == 0) { e = new IntegerExp(exp.loc, 0, Type.tint32); e = new CastExp(exp.loc, e, Type.tvoid); // avoid "has no effect" error e = Expression.combine(Expression.combine(tup1.e0, tup2.e0), e); } else { auto exps = new Expressions(); exps.setDim(dim); for (size_t i = 0; i < dim; i++) { Expression ex1 = (*tup1.exps)[i]; Expression ex2 = (*tup2.exps)[i]; (*exps)[i] = new AssignExp(exp.loc, ex1, ex2); } e = new TupleExp(exp.loc, Expression.combine(tup1.e0, tup2.e0), exps); } result = e.expressionSemantic(sc); return; } /* Look for form: e1 = e2.aliasthis. */ if (exp.e1.op == TOK.tuple) { TupleDeclaration td = isAliasThisTuple(e2x); if (!td) goto Lnomatch; assert(exp.e1.type.ty == Ttuple); TypeTuple tt = cast(TypeTuple)exp.e1.type; Expression e0; Expression ev = extractSideEffect(sc, "__tup", e0, e2x); auto iexps = new Expressions(); iexps.push(ev); for (size_t u = 0; u < iexps.dim; u++) { Lexpand: Expression e = (*iexps)[u]; Parameter arg = Parameter.getNth(tt.arguments, u); //printf("[%d] iexps.dim = %d, ", u, iexps.dim); //printf("e = (%s %s, %s), ", Token::tochars[e.op], e.toChars(), e.type.toChars()); //printf("arg = (%s, %s)\n", arg.toChars(), arg.type.toChars()); if (!arg || !e.type.implicitConvTo(arg.type)) { // expand initializer to tuple if (expandAliasThisTuples(iexps, u) != -1) { if (iexps.dim <= u) break; goto Lexpand; } goto Lnomatch; } } e2x = new TupleExp(e2x.loc, e0, iexps); e2x = e2x.expressionSemantic(sc); if (e2x.op == TOK.error) { result = e2x; return; } // Do not need to overwrite this.e2 goto Ltupleassign; } Lnomatch: } /* Inside constructor, if this is the first assignment of object field, * rewrite this to initializing the field. */ if (exp.op == TOK.assign && exp.e1.checkModifiable(sc) == 2) { //printf("[%s] change to init - %s\n", loc.toChars(), toChars()); exp.op = TOK.construct; // https://issues.dlang.org/show_bug.cgi?id=13515 // set Index::modifiable flag for complex AA element initialization if (exp.e1.op == TOK.index) { Expression e1x = (cast(IndexExp)exp.e1).markSettingAAElem(); if (e1x.op == TOK.error) { result = e1x; return; } } } else if (exp.op == TOK.construct && exp.e1.op == TOK.variable && (cast(VarExp)exp.e1).var.storage_class & (STC.out_ | STC.ref_)) { exp.memset |= MemorySet.referenceInit; } /* If it is an assignment from a 'foreign' type, * check for operator overloading. */ if (exp.memset & MemorySet.referenceInit) { // If this is an initialization of a reference, // do nothing } else if (t1.ty == Tstruct) { auto e1x = exp.e1; auto e2x = exp.e2; auto sd = (cast(TypeStruct)t1).sym; if (exp.op == TOK.construct) { Type t2 = e2x.type.toBasetype(); if (t2.ty == Tstruct && sd == (cast(TypeStruct)t2).sym) { sd.size(exp.loc); if (sd.sizeok != Sizeok.done) return setError(); if (!sd.ctor) sd.ctor = sd.searchCtor(); // https://issues.dlang.org/show_bug.cgi?id=15661 // Look for the form from last of comma chain. auto e2y = e2x; while (e2y.op == TOK.comma) e2y = (cast(CommaExp)e2y).e2; CallExp ce = (e2y.op == TOK.call) ? cast(CallExp)e2y : null; DotVarExp dve = (ce && ce.e1.op == TOK.dotVariable) ? cast(DotVarExp)ce.e1 : null; if (sd.ctor && ce && dve && dve.var.isCtorDeclaration() && e2y.type.implicitConvTo(t1)) { /* Look for form of constructor call which is: * __ctmp.ctor(arguments...) */ /* Before calling the constructor, initialize * variable with a bit copy of the default * initializer */ Expression einit; if (sd.zeroInit && !sd.isNested()) { // https://issues.dlang.org/show_bug.cgi?id=14606 // Always use BlitExp for the special expression: (struct = 0) einit = new IntegerExp(exp.loc, 0, Type.tint32); } else if (sd.isNested()) { auto sle = new StructLiteralExp(exp.loc, sd, null, t1); if (!sd.fill(exp.loc, sle.elements, true)) return setError(); if (checkFrameAccess(exp.loc, sc, sd, sle.elements.dim)) return setError(); sle.type = t1; einit = sle; } else { einit = t1.defaultInit(exp.loc); } auto ae = new BlitExp(exp.loc, exp.e1, einit); ae.type = e1x.type; /* Replace __ctmp being constructed with e1. * We need to copy constructor call expression, * because it may be used in other place. */ auto dvx = cast(DotVarExp)dve.copy(); dvx.e1 = e1x; auto cx = cast(CallExp)ce.copy(); cx.e1 = dvx; Expression e0; Expression.extractLast(e2x, &e0); auto e = Expression.combine(ae, cx); e = Expression.combine(e0, e); e = e.expressionSemantic(sc); result = e; return; } if (sd.postblit) { /* We have a copy constructor for this */ if (e2x.op == TOK.question) { /* Rewrite as: * a ? e1 = b : e1 = c; */ CondExp econd = cast(CondExp)e2x; Expression ea1 = new ConstructExp(econd.e1.loc, e1x, econd.e1); Expression ea2 = new ConstructExp(econd.e1.loc, e1x, econd.e2); Expression e = new CondExp(exp.loc, econd.econd, ea1, ea2); result = e.expressionSemantic(sc); return; } if (e2x.isLvalue()) { if (!e2x.type.implicitConvTo(e1x.type)) { exp.error("conversion error from `%s` to `%s`", e2x.type.toChars(), e1x.type.toChars()); return setError(); } /* Rewrite as: * (e1 = e2).postblit(); * * Blit assignment e1 = e2 returns a reference to the original e1, * then call the postblit on it. */ Expression e = e1x.copy(); e.type = e.type.mutableOf(); if (e.type.isShared && !sd.type.isShared) e.type = e.type.unSharedOf(); e = new BlitExp(exp.loc, e, e2x); e = new DotVarExp(exp.loc, e, sd.postblit, false); e = new CallExp(exp.loc, e); result = e.expressionSemantic(sc); return; } else { /* The struct value returned from the function is transferred * so should not call the destructor on it. */ e2x = valueNoDtor(e2x); } } } else if (!e2x.implicitConvTo(t1)) { sd.size(exp.loc); if (sd.sizeok != Sizeok.done) return setError(); if (!sd.ctor) sd.ctor = sd.searchCtor(); if (sd.ctor) { /* Look for implicit constructor call * Rewrite as: * e1 = init, e1.ctor(e2) */ Expression einit; einit = new BlitExp(exp.loc, e1x, e1x.type.defaultInit(exp.loc)); einit.type = e1x.type; Expression e; e = new DotIdExp(exp.loc, e1x, Id.ctor); e = new CallExp(exp.loc, e, e2x); e = new CommaExp(exp.loc, einit, e); e = e.expressionSemantic(sc); result = e; return; } if (search_function(sd, Id.call)) { /* Look for static opCall * https://issues.dlang.org/show_bug.cgi?id=2702 * Rewrite as: * e1 = typeof(e1).opCall(arguments) */ e2x = typeDotIdExp(e2x.loc, e1x.type, Id.call); e2x = new CallExp(exp.loc, e2x, exp.e2); e2x = e2x.expressionSemantic(sc); e2x = resolveProperties(sc, e2x); if (e2x.op == TOK.error) { result = e2x; return; } if (e2x.checkValue()) return setError(); } } else // https://issues.dlang.org/show_bug.cgi?id=11355 { AggregateDeclaration ad2 = isAggregate(e2x.type); if (ad2 && ad2.aliasthis && !(exp.att2 && e2x.type == exp.att2)) { if (!exp.att2 && exp.e2.type.checkAliasThisRec()) exp.att2 = exp.e2.type; /* Rewrite (e1 op e2) as: * (e1 op e2.aliasthis) */ exp.e2 = new DotIdExp(exp.e2.loc, exp.e2, ad2.aliasthis.ident); result = exp.expressionSemantic(sc); return; } } } else if (exp.op == TOK.assign) { if (e1x.op == TOK.index && (cast(IndexExp)e1x).e1.type.toBasetype().ty == Taarray) { /* * Rewrite: * aa[key] = e2; * as: * ref __aatmp = aa; * ref __aakey = key; * ref __aaval = e2; * (__aakey in __aatmp * ? __aatmp[__aakey].opAssign(__aaval) * : ConstructExp(__aatmp[__aakey], __aaval)); */ IndexExp ie = cast(IndexExp)e1x; Type t2 = e2x.type.toBasetype(); Expression e0 = null; Expression ea = extractSideEffect(sc, "__aatmp", e0, ie.e1); Expression ek = extractSideEffect(sc, "__aakey", e0, ie.e2); Expression ev = extractSideEffect(sc, "__aaval", e0, e2x); AssignExp ae = cast(AssignExp)exp.copy(); ae.e1 = new IndexExp(exp.loc, ea, ek); ae.e1 = ae.e1.expressionSemantic(sc); ae.e1 = ae.e1.optimize(WANTvalue); ae.e2 = ev; Expression e = ae.op_overload(sc); if (e) { Expression ey = null; if (t2.ty == Tstruct && sd == t2.toDsymbol(sc)) { ey = ev; } else if (!ev.implicitConvTo(ie.type) && sd.ctor) { // Look for implicit constructor call // Rewrite as S().ctor(e2) ey = new StructLiteralExp(exp.loc, sd, null); ey = new DotIdExp(exp.loc, ey, Id.ctor); ey = new CallExp(exp.loc, ey, ev); ey = ey.trySemantic(sc); } if (ey) { Expression ex; ex = new IndexExp(exp.loc, ea, ek); ex = ex.expressionSemantic(sc); ex = ex.optimize(WANTvalue); ex = ex.modifiableLvalue(sc, ex); // allocate new slot ey = new ConstructExp(exp.loc, ex, ey); ey = ey.expressionSemantic(sc); if (ey.op == TOK.error) { result = ey; return; } ex = e; // https://issues.dlang.org/show_bug.cgi?id=14144 // The whole expression should have the common type // of opAssign() return and assigned AA entry. // Even if there's no common type, expression should be typed as void. Type t = null; if (!typeMerge(sc, TOK.question, &t, &ex, &ey)) { ex = new CastExp(ex.loc, ex, Type.tvoid); ey = new CastExp(ey.loc, ey, Type.tvoid); } e = new CondExp(exp.loc, new InExp(exp.loc, ek, ea), ex, ey); } e = Expression.combine(e0, e); e = e.expressionSemantic(sc); result = e; return; } } else { Expression e = exp.op_overload(sc); if (e) { result = e; return; } } } else assert(exp.op == TOK.blit); exp.e1 = e1x; exp.e2 = e2x; } else if (t1.ty == Tclass) { // Disallow assignment operator overloads for same type if (exp.op == TOK.assign && !exp.e2.implicitConvTo(exp.e1.type)) { Expression e = exp.op_overload(sc); if (e) { result = e; return; } } } else if (t1.ty == Tsarray) { // SliceExp cannot have static array type without context inference. assert(exp.e1.op != TOK.slice); Expression e1x = exp.e1; Expression e2x = exp.e2; if (e2x.implicitConvTo(e1x.type)) { if (exp.op != TOK.blit && (e2x.op == TOK.slice && (cast(UnaExp)e2x).e1.isLvalue() || e2x.op == TOK.cast_ && (cast(UnaExp)e2x).e1.isLvalue() || e2x.op != TOK.slice && e2x.isLvalue())) { if (e1x.checkPostblit(sc, t1)) return setError(); } // e2 matches to t1 because of the implicit length match, so if (isUnaArrayOp(e2x.op) || isBinArrayOp(e2x.op)) { // convert e1 to e1[] // e.g. e1[] = a[] + b[]; auto sle = new SliceExp(e1x.loc, e1x, null, null); sle.arrayop = true; e1x = sle.expressionSemantic(sc); } else { // convert e2 to t1 later // e.g. e1 = [1, 2, 3]; } } else { if (e2x.implicitConvTo(t1.nextOf().arrayOf()) > MATCH.nomatch) { uinteger_t dim1 = (cast(TypeSArray)t1).dim.toInteger(); uinteger_t dim2 = dim1; if (e2x.op == TOK.arrayLiteral) { ArrayLiteralExp ale = cast(ArrayLiteralExp)e2x; dim2 = ale.elements ? ale.elements.dim : 0; } else if (e2x.op == TOK.slice) { Type tx = toStaticArrayType(cast(SliceExp)e2x); if (tx) dim2 = (cast(TypeSArray)tx).dim.toInteger(); } if (dim1 != dim2) { exp.error("mismatched array lengths, %d and %d", cast(int)dim1, cast(int)dim2); return setError(); } } // May be block or element-wise assignment, so // convert e1 to e1[] if (exp.op != TOK.assign) { // If multidimensional static array, treat as one large array dinteger_t dim = (cast(TypeSArray)t1).dim.toInteger(); Type t = t1; while (1) { t = t.nextOf().toBasetype(); if (t.ty != Tsarray) break; dim *= (cast(TypeSArray)t).dim.toInteger(); e1x.type = t.nextOf().sarrayOf(dim); } } auto sle = new SliceExp(e1x.loc, e1x, null, null); sle.arrayop = true; e1x = sle.expressionSemantic(sc); } if (e1x.op == TOK.error) { result = e1x; return; } if (e2x.op == TOK.error) { result = e2x; return; } exp.e1 = e1x; exp.e2 = e2x; t1 = e1x.type.toBasetype(); } /* Check the mutability of e1. */ if (exp.e1.op == TOK.arrayLength) { // e1 is not an lvalue, but we let code generator handle it ArrayLengthExp ale = cast(ArrayLengthExp)exp.e1; Expression ale1x = ale.e1; ale1x = ale1x.modifiableLvalue(sc, exp.e1); if (ale1x.op == TOK.error) { result = ale1x; return; } ale.e1 = ale1x; Type tn = ale.e1.type.toBasetype().nextOf(); checkDefCtor(ale.loc, tn); semanticTypeInfo(sc, tn); } else if (exp.e1.op == TOK.slice) { Type tn = exp.e1.type.nextOf(); if (exp.op == TOK.assign && !tn.isMutable()) { exp.error("slice `%s` is not mutable", exp.e1.toChars()); return setError(); } if (exp.op == TOK.assign && !tn.baseElemOf().isAssignable()) { exp.error("slice `%s` is not mutable, struct `%s` has immutable members", exp.e1.toChars(), tn.baseElemOf().toChars()); result = new ErrorExp(); return; } // For conditional operator, both branches need conversion. SliceExp se = cast(SliceExp)exp.e1; while (se.e1.op == TOK.slice) se = cast(SliceExp)se.e1; if (se.e1.op == TOK.question && se.e1.type.toBasetype().ty == Tsarray) { se.e1 = se.e1.modifiableLvalue(sc, exp.e1); if (se.e1.op == TOK.error) { result = se.e1; return; } } } else { if (t1.ty == Tsarray && exp.op == TOK.assign) { Type tn = exp.e1.type.nextOf(); if (tn && !tn.baseElemOf().isAssignable()) { exp.error("array `%s` is not mutable, struct `%s` has immutable members", exp.e1.toChars(), tn.baseElemOf().toChars()); result = new ErrorExp(); return; } } Expression e1x = exp.e1; // Try to do a decent error message with the expression // before it got constant folded if (e1x.op != TOK.variable) e1x = e1x.optimize(WANTvalue); if (exp.op == TOK.assign) e1x = e1x.modifiableLvalue(sc, e1old); if (e1x.op == TOK.error) { result = e1x; return; } exp.e1 = e1x; } /* Tweak e2 based on the type of e1. */ Expression e2x = exp.e2; Type t2 = e2x.type.toBasetype(); // If it is a array, get the element type. Note that it may be // multi-dimensional. Type telem = t1; while (telem.ty == Tarray) telem = telem.nextOf(); if (exp.e1.op == TOK.slice && t1.nextOf() && (telem.ty != Tvoid || e2x.op == TOK.null_) && e2x.implicitConvTo(t1.nextOf())) { // Check for block assignment. If it is of type void[], void[][], etc, // '= null' is the only allowable block assignment (Bug 7493) exp.memset |= MemorySet.blockAssign; // make it easy for back end to tell what this is e2x = e2x.implicitCastTo(sc, t1.nextOf()); if (exp.op != TOK.blit && e2x.isLvalue() && exp.e1.checkPostblit(sc, t1.nextOf())) return setError(); } else if (exp.e1.op == TOK.slice && (t2.ty == Tarray || t2.ty == Tsarray) && t2.nextOf().implicitConvTo(t1.nextOf())) { // Check element-wise assignment. /* If assigned elements number is known at compile time, * check the mismatch. */ SliceExp se1 = cast(SliceExp)exp.e1; TypeSArray tsa1 = cast(TypeSArray)toStaticArrayType(se1); TypeSArray tsa2 = null; if (e2x.op == TOK.arrayLiteral) tsa2 = cast(TypeSArray)t2.nextOf().sarrayOf((cast(ArrayLiteralExp)e2x).elements.dim); else if (e2x.op == TOK.slice) tsa2 = cast(TypeSArray)toStaticArrayType(cast(SliceExp)e2x); else if (t2.ty == Tsarray) tsa2 = cast(TypeSArray)t2; if (tsa1 && tsa2) { uinteger_t dim1 = tsa1.dim.toInteger(); uinteger_t dim2 = tsa2.dim.toInteger(); if (dim1 != dim2) { exp.error("mismatched array lengths, %d and %d", cast(int)dim1, cast(int)dim2); return setError(); } } if (exp.op != TOK.blit && (e2x.op == TOK.slice && (cast(UnaExp)e2x).e1.isLvalue() || e2x.op == TOK.cast_ && (cast(UnaExp)e2x).e1.isLvalue() || e2x.op != TOK.slice && e2x.isLvalue())) { if (exp.e1.checkPostblit(sc, t1.nextOf())) return setError(); } if (0 && global.params.warnings && !global.gag && exp.op == TOK.assign && e2x.op != TOK.slice && e2x.op != TOK.assign && e2x.op != TOK.arrayLiteral && e2x.op != TOK.string_ && !(e2x.op == TOK.add || e2x.op == TOK.min || e2x.op == TOK.mul || e2x.op == TOK.div || e2x.op == TOK.mod || e2x.op == TOK.xor || e2x.op == TOK.and || e2x.op == TOK.or || e2x.op == TOK.pow || e2x.op == TOK.tilde || e2x.op == TOK.negate)) { const(char)* e1str = exp.e1.toChars(); const(char)* e2str = e2x.toChars(); exp.warning("explicit element-wise assignment `%s = (%s)[]` is better than `%s = %s`", e1str, e2str, e1str, e2str); } Type t2n = t2.nextOf(); Type t1n = t1.nextOf(); int offset; if (t2n.equivalent(t1n) || t1n.isBaseOf(t2n, &offset) && offset == 0) { /* Allow copy of distinct qualifier elements. * eg. * char[] dst; const(char)[] src; * dst[] = src; * * class C {} class D : C {} * C[2] ca; D[] da; * ca[] = da; */ if (isArrayOpValid(e2x)) { // Don't add CastExp to keep AST for array operations e2x = e2x.copy(); e2x.type = exp.e1.type.constOf(); } else e2x = e2x.castTo(sc, exp.e1.type.constOf()); } else { /* https://issues.dlang.org/show_bug.cgi?id=15778 * A string literal has an array type of immutable * elements by default, and normally it cannot be convertible to * array type of mutable elements. But for element-wise assignment, * elements need to be const at best. So we should give a chance * to change code unit size for polysemous string literal. */ if (e2x.op == TOK.string_) e2x = e2x.implicitCastTo(sc, exp.e1.type.constOf()); else e2x = e2x.implicitCastTo(sc, exp.e1.type); } if (t1n.toBasetype.ty == Tvoid && t2n.toBasetype.ty == Tvoid) { if (!sc.intypeof && sc.func && sc.func.setUnsafe()) { exp.error("cannot copy `void[]` to `void[]` in `@safe` code"); return setError(); } } } else { if (0 && global.params.warnings && !global.gag && exp.op == TOK.assign && t1.ty == Tarray && t2.ty == Tsarray && e2x.op != TOK.slice && t2.implicitConvTo(t1)) { // Disallow ar[] = sa (Converted to ar[] = sa[]) // Disallow da = sa (Converted to da = sa[]) const(char)* e1str = exp.e1.toChars(); const(char)* e2str = e2x.toChars(); const(char)* atypestr = exp.e1.op == TOK.slice ? "element-wise" : "slice"; exp.warning("explicit %s assignment `%s = (%s)[]` is better than `%s = %s`", atypestr, e1str, e2str, e1str, e2str); } if (exp.op == TOK.blit) e2x = e2x.castTo(sc, exp.e1.type); else e2x = e2x.implicitCastTo(sc, exp.e1.type); } if (e2x.op == TOK.error) { result = e2x; return; } exp.e2 = e2x; t2 = exp.e2.type.toBasetype(); /* Look for array operations */ if ((t2.ty == Tarray || t2.ty == Tsarray) && isArrayOpValid(exp.e2)) { // Look for valid array operations if (!(exp.memset & MemorySet.blockAssign) && exp.e1.op == TOK.slice && (isUnaArrayOp(exp.e2.op) || isBinArrayOp(exp.e2.op))) { exp.type = exp.e1.type; if (exp.op == TOK.construct) // https://issues.dlang.org/show_bug.cgi?id=10282 // tweak mutability of e1 element exp.e1.type = exp.e1.type.nextOf().mutableOf().arrayOf(); result = arrayOp(exp, sc); return; } // Drop invalid array operations in e2 // d = a[] + b[], d = (a[] + b[])[0..2], etc if (checkNonAssignmentArrayOp(exp.e2, !(exp.memset & MemorySet.blockAssign) && exp.op == TOK.assign)) return setError(); // Remains valid array assignments // d = d[], d = [1,2,3], etc } /* Don't allow assignment to classes that were allocated on the stack with: * scope Class c = new Class(); */ if (exp.e1.op == TOK.variable && exp.op == TOK.assign) { VarExp ve = cast(VarExp)exp.e1; VarDeclaration vd = ve.var.isVarDeclaration(); if (vd && (vd.onstack || vd.mynew)) { assert(t1.ty == Tclass); exp.error("cannot rebind scope variables"); } } if (exp.e1.op == TOK.variable && (cast(VarExp)exp.e1).var.ident == Id.ctfe) { exp.error("cannot modify compiler-generated variable `__ctfe`"); } exp.type = exp.e1.type; assert(exp.type); auto res = exp.op == TOK.assign ? exp.reorderSettingAAElem(sc) : exp; checkAssignEscape(sc, res, false); result = res; } override void visit(PowAssignExp exp) { if (exp.type) { result = exp; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.e1.checkReadModifyWrite(exp.op, exp.e2)) return setError(); assert(exp.e1.type && exp.e2.type); if (exp.e1.op == TOK.slice || exp.e1.type.ty == Tarray || exp.e1.type.ty == Tsarray) { if (checkNonAssignmentArrayOp(exp.e1)) return setError(); // T[] ^^= ... if (exp.e2.implicitConvTo(exp.e1.type.nextOf())) { // T[] ^^= T exp.e2 = exp.e2.castTo(sc, exp.e1.type.nextOf()); } else if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } // Check element types are arithmetic Type tb1 = exp.e1.type.nextOf().toBasetype(); Type tb2 = exp.e2.type.toBasetype(); if (tb2.ty == Tarray || tb2.ty == Tsarray) tb2 = tb2.nextOf().toBasetype(); if ((tb1.isintegral() || tb1.isfloating()) && (tb2.isintegral() || tb2.isfloating())) { exp.type = exp.e1.type; result = arrayOp(exp, sc); return; } } else { exp.e1 = exp.e1.modifiableLvalue(sc, exp.e1); } if ((exp.e1.type.isintegral() || exp.e1.type.isfloating()) && (exp.e2.type.isintegral() || exp.e2.type.isfloating())) { Expression e0 = null; e = exp.reorderSettingAAElem(sc); e = Expression.extractLast(e, &e0); assert(e == exp); if (exp.e1.op == TOK.variable) { // Rewrite: e1 = e1 ^^ e2 e = new PowExp(exp.loc, exp.e1.syntaxCopy(), exp.e2); e = new AssignExp(exp.loc, exp.e1, e); } else { // Rewrite: ref tmp = e1; tmp = tmp ^^ e2 auto v = copyToTemp(STC.ref_, "__powtmp", exp.e1); auto de = new DeclarationExp(exp.e1.loc, v); auto ve = new VarExp(exp.e1.loc, v); e = new PowExp(exp.loc, ve, exp.e2); e = new AssignExp(exp.loc, new VarExp(exp.e1.loc, v), e); e = new CommaExp(exp.loc, de, e); } e = Expression.combine(e0, e); e = e.expressionSemantic(sc); result = e; return; } result = exp.incompatibleTypes(); } override void visit(CatAssignExp exp) { if (exp.type) { result = exp; return; } //printf("CatAssignExp::semantic() %s\n", exp.toChars()); Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.e1.op == TOK.slice) { SliceExp se = cast(SliceExp)exp.e1; if (se.e1.type.toBasetype().ty == Tsarray) { exp.error("cannot append to static array `%s`", se.e1.type.toChars()); return setError(); } } exp.e1 = exp.e1.modifiableLvalue(sc, exp.e1); if (exp.e1.op == TOK.error) { result = exp.e1; return; } if (exp.e2.op == TOK.error) { result = exp.e2; return; } if (checkNonAssignmentArrayOp(exp.e2)) return setError(); Type tb1 = exp.e1.type.toBasetype(); Type tb1next = tb1.nextOf(); Type tb2 = exp.e2.type.toBasetype(); /* Possibilities: * TOK.concatenateAssign: appending T[] to T[] * TOK.concatenateElemAssign: appending T to T[] * TOK.concatenateDcharAssign: appending dchar to T[] */ if ((tb1.ty == Tarray) && (tb2.ty == Tarray || tb2.ty == Tsarray) && (exp.e2.implicitConvTo(exp.e1.type) || (tb2.nextOf().implicitConvTo(tb1next) && (tb2.nextOf().size(Loc.initial) == tb1next.size(Loc.initial))))) { // TOK.concatenateAssign assert(exp.op == TOK.concatenateAssign); if (exp.e1.checkPostblit(sc, tb1next)) return setError(); exp.e2 = exp.e2.castTo(sc, exp.e1.type); } else if ((tb1.ty == Tarray) && exp.e2.implicitConvTo(tb1next)) { // Append element if (exp.e2.checkPostblit(sc, tb2)) return setError(); if (checkNewEscape(sc, exp.e2, false)) return setError(); exp.op = TOK.concatenateElemAssign; exp.e2 = exp.e2.castTo(sc, tb1next); exp.e2 = doCopyOrMove(sc, exp.e2); } else if (tb1.ty == Tarray && (tb1next.ty == Tchar || tb1next.ty == Twchar) && exp.e2.type.ty != tb1next.ty && exp.e2.implicitConvTo(Type.tdchar)) { // Append dchar to char[] or wchar[] exp.op = TOK.concatenateDcharAssign; exp.e2 = exp.e2.castTo(sc, Type.tdchar); /* Do not allow appending wchar to char[] because if wchar happens * to be a surrogate pair, nothing good can result. */ } else { exp.error("cannot append type `%s` to type `%s`", tb2.toChars(), tb1.toChars()); return setError(); } if (exp.e2.checkValue()) return setError(); exp.type = exp.e1.type; auto res = exp.reorderSettingAAElem(sc); if ((exp.op == TOK.concatenateElemAssign || exp.op == TOK.concatenateDcharAssign) && global.params.vsafe) checkAssignEscape(sc, res, false); result = res; } override void visit(AddExp exp) { static if (LOGSEMANTIC) { printf("AddExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } Type tb1 = exp.e1.type.toBasetype(); Type tb2 = exp.e2.type.toBasetype(); bool err = false; if (tb1.ty == Tdelegate || tb1.ty == Tpointer && tb1.nextOf().ty == Tfunction) { err |= exp.e1.checkArithmetic(); } if (tb2.ty == Tdelegate || tb2.ty == Tpointer && tb2.nextOf().ty == Tfunction) { err |= exp.e2.checkArithmetic(); } if (err) return setError(); if (tb1.ty == Tpointer && exp.e2.type.isintegral() || tb2.ty == Tpointer && exp.e1.type.isintegral()) { result = scaleFactor(exp, sc); return; } if (tb1.ty == Tpointer && tb2.ty == Tpointer) { result = exp.incompatibleTypes(); return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } tb1 = exp.e1.type.toBasetype(); if (!Target.isVectorOpSupported(tb1, exp.op, tb2)) { result = exp.incompatibleTypes(); return; } if ((tb1.isreal() && exp.e2.type.isimaginary()) || (tb1.isimaginary() && exp.e2.type.isreal())) { switch (exp.type.toBasetype().ty) { case Tfloat32: case Timaginary32: exp.type = Type.tcomplex32; break; case Tfloat64: case Timaginary64: exp.type = Type.tcomplex64; break; case Tfloat80: case Timaginary80: exp.type = Type.tcomplex80; break; default: assert(0); } } result = exp; } override void visit(MinExp exp) { static if (LOGSEMANTIC) { printf("MinExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } Type t1 = exp.e1.type.toBasetype(); Type t2 = exp.e2.type.toBasetype(); bool err = false; if (t1.ty == Tdelegate || t1.ty == Tpointer && t1.nextOf().ty == Tfunction) { err |= exp.e1.checkArithmetic(); } if (t2.ty == Tdelegate || t2.ty == Tpointer && t2.nextOf().ty == Tfunction) { err |= exp.e2.checkArithmetic(); } if (err) return setError(); if (t1.ty == Tpointer) { if (t2.ty == Tpointer) { // https://dlang.org/spec/expression.html#add_expressions // "If both operands are pointers, and the operator is -, the pointers are // subtracted and the result is divided by the size of the type pointed to // by the operands. It is an error if the pointers point to different types." Type p1 = t1.nextOf(); Type p2 = t2.nextOf(); if (!p1.equivalent(p2)) { // Deprecation to remain for at least a year, after which this should be // changed to an error // See https://github.com/dlang/dmd/pull/7332 deprecation(exp.loc, "cannot subtract pointers to different types: `%s` and `%s`.", t1.toChars(), t2.toChars()); } // Need to divide the result by the stride // Replace (ptr - ptr) with (ptr - ptr) / stride d_int64 stride; // make sure pointer types are compatible if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } exp.type = Type.tptrdiff_t; stride = t2.nextOf().size(); if (stride == 0) { e = new IntegerExp(exp.loc, 0, Type.tptrdiff_t); } else { e = new DivExp(exp.loc, exp, new IntegerExp(Loc.initial, stride, Type.tptrdiff_t)); e.type = Type.tptrdiff_t; } } else if (t2.isintegral()) e = scaleFactor(exp, sc); else { exp.error("can't subtract `%s` from pointer", t2.toChars()); e = new ErrorExp(); } result = e; return; } if (t2.ty == Tpointer) { exp.type = exp.e2.type; exp.error("can't subtract pointer from `%s`", exp.e1.type.toChars()); return setError(); } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } t1 = exp.e1.type.toBasetype(); t2 = exp.e2.type.toBasetype(); if (!Target.isVectorOpSupported(t1, exp.op, t2)) { result = exp.incompatibleTypes(); return; } if ((t1.isreal() && t2.isimaginary()) || (t1.isimaginary() && t2.isreal())) { switch (exp.type.ty) { case Tfloat32: case Timaginary32: exp.type = Type.tcomplex32; break; case Tfloat64: case Timaginary64: exp.type = Type.tcomplex64; break; case Tfloat80: case Timaginary80: exp.type = Type.tcomplex80; break; default: assert(0); } } result = exp; return; } override void visit(CatExp exp) { // https://dlang.org/spec/expression.html#cat_expressions //printf("CatExp.semantic() %s\n", toChars()); if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } Type tb1 = exp.e1.type.toBasetype(); Type tb2 = exp.e2.type.toBasetype(); auto f1 = checkNonAssignmentArrayOp(exp.e1); auto f2 = checkNonAssignmentArrayOp(exp.e2); if (f1 || f2) return setError(); /* BUG: Should handle things like: * char c; * c ~ ' ' * ' ' ~ c; */ version (none) { exp.e1.type.print(); exp.e2.type.print(); } Type tb1next = tb1.nextOf(); Type tb2next = tb2.nextOf(); // Check for: array ~ array if (tb1next && tb2next && (tb1next.implicitConvTo(tb2next) >= MATCH.constant || tb2next.implicitConvTo(tb1next) >= MATCH.constant || exp.e1.op == TOK.arrayLiteral && exp.e1.implicitConvTo(tb2) || exp.e2.op == TOK.arrayLiteral && exp.e2.implicitConvTo(tb1))) { /* https://issues.dlang.org/show_bug.cgi?id=9248 * Here to avoid the case of: * void*[] a = [cast(void*)1]; * void*[] b = [cast(void*)2]; * a ~ b; * becoming: * a ~ [cast(void*)b]; */ /* https://issues.dlang.org/show_bug.cgi?id=14682 * Also to avoid the case of: * int[][] a; * a ~ []; * becoming: * a ~ cast(int[])[]; */ goto Lpeer; } // Check for: array ~ element if ((tb1.ty == Tsarray || tb1.ty == Tarray) && tb2.ty != Tvoid) { if (exp.e1.op == TOK.arrayLiteral) { exp.e2 = doCopyOrMove(sc, exp.e2); // https://issues.dlang.org/show_bug.cgi?id=14686 // Postblit call appears in AST, and this is // finally translated to an ArrayLiteralExp in below optimize(). } else if (exp.e1.op == TOK.string_) { // No postblit call exists on character (integer) value. } else { if (exp.e2.checkPostblit(sc, tb2)) return setError(); // Postblit call will be done in runtime helper function } if (exp.e1.op == TOK.arrayLiteral && exp.e1.implicitConvTo(tb2.arrayOf())) { exp.e1 = exp.e1.implicitCastTo(sc, tb2.arrayOf()); exp.type = tb2.arrayOf(); goto L2elem; } if (exp.e2.implicitConvTo(tb1next) >= MATCH.convert) { exp.e2 = exp.e2.implicitCastTo(sc, tb1next); exp.type = tb1next.arrayOf(); L2elem: if (tb2.ty == Tarray || tb2.ty == Tsarray) { // Make e2 into [e2] exp.e2 = new ArrayLiteralExp(exp.e2.loc, exp.e2); exp.e2.type = exp.type; } else if (checkNewEscape(sc, exp.e2, false)) return setError(); result = exp.optimize(WANTvalue); return; } } // Check for: element ~ array if ((tb2.ty == Tsarray || tb2.ty == Tarray) && tb1.ty != Tvoid) { if (exp.e2.op == TOK.arrayLiteral) { exp.e1 = doCopyOrMove(sc, exp.e1); } else if (exp.e2.op == TOK.string_) { } else { if (exp.e1.checkPostblit(sc, tb1)) return setError(); } if (exp.e2.op == TOK.arrayLiteral && exp.e2.implicitConvTo(tb1.arrayOf())) { exp.e2 = exp.e2.implicitCastTo(sc, tb1.arrayOf()); exp.type = tb1.arrayOf(); goto L1elem; } if (exp.e1.implicitConvTo(tb2next) >= MATCH.convert) { exp.e1 = exp.e1.implicitCastTo(sc, tb2next); exp.type = tb2next.arrayOf(); L1elem: if (tb1.ty == Tarray || tb1.ty == Tsarray) { // Make e1 into [e1] exp.e1 = new ArrayLiteralExp(exp.e1.loc, exp.e1); exp.e1.type = exp.type; } else if (checkNewEscape(sc, exp.e1, false)) return setError(); result = exp.optimize(WANTvalue); return; } } Lpeer: if ((tb1.ty == Tsarray || tb1.ty == Tarray) && (tb2.ty == Tsarray || tb2.ty == Tarray) && (tb1next.mod || tb2next.mod) && (tb1next.mod != tb2next.mod)) { Type t1 = tb1next.mutableOf().constOf().arrayOf(); Type t2 = tb2next.mutableOf().constOf().arrayOf(); if (exp.e1.op == TOK.string_ && !(cast(StringExp)exp.e1).committed) exp.e1.type = t1; else exp.e1 = exp.e1.castTo(sc, t1); if (exp.e2.op == TOK.string_ && !(cast(StringExp)exp.e2).committed) exp.e2.type = t2; else exp.e2 = exp.e2.castTo(sc, t2); } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } exp.type = exp.type.toHeadMutable(); Type tb = exp.type.toBasetype(); if (tb.ty == Tsarray) exp.type = tb.nextOf().arrayOf(); if (exp.type.ty == Tarray && tb1next && tb2next && tb1next.mod != tb2next.mod) { exp.type = exp.type.nextOf().toHeadMutable().arrayOf(); } if (Type tbn = tb.nextOf()) { if (exp.checkPostblit(sc, tbn)) return setError(); } version (none) { exp.e1.type.print(); exp.e2.type.print(); exp.type.print(); exp.print(); } Type t1 = exp.e1.type.toBasetype(); Type t2 = exp.e2.type.toBasetype(); if ((t1.ty == Tarray || t1.ty == Tsarray) && (t2.ty == Tarray || t2.ty == Tsarray)) { // Normalize to ArrayLiteralExp or StringExp as far as possible e = exp.optimize(WANTvalue); } else { //printf("(%s) ~ (%s)\n", e1.toChars(), e2.toChars()); result = exp.incompatibleTypes(); return; } result = e; } override void visit(MulExp exp) { version (none) { printf("MulExp::semantic() %s\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (exp.checkArithmeticBin()) return setError(); if (exp.type.isfloating()) { Type t1 = exp.e1.type; Type t2 = exp.e2.type; if (t1.isreal()) { exp.type = t2; } else if (t2.isreal()) { exp.type = t1; } else if (t1.isimaginary()) { if (t2.isimaginary()) { switch (t1.toBasetype().ty) { case Timaginary32: exp.type = Type.tfloat32; break; case Timaginary64: exp.type = Type.tfloat64; break; case Timaginary80: exp.type = Type.tfloat80; break; default: assert(0); } // iy * iv = -yv exp.e1.type = exp.type; exp.e2.type = exp.type; e = new NegExp(exp.loc, exp); e = e.expressionSemantic(sc); result = e; return; } else exp.type = t2; // t2 is complex } else if (t2.isimaginary()) { exp.type = t1; // t1 is complex } } else if (!Target.isVectorOpSupported(tb, exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } result = exp; } override void visit(DivExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (exp.checkArithmeticBin()) return setError(); if (exp.type.isfloating()) { Type t1 = exp.e1.type; Type t2 = exp.e2.type; if (t1.isreal()) { exp.type = t2; if (t2.isimaginary()) { // x/iv = i(-x/v) exp.e2.type = t1; e = new NegExp(exp.loc, exp); e = e.expressionSemantic(sc); result = e; return; } } else if (t2.isreal()) { exp.type = t1; } else if (t1.isimaginary()) { if (t2.isimaginary()) { switch (t1.toBasetype().ty) { case Timaginary32: exp.type = Type.tfloat32; break; case Timaginary64: exp.type = Type.tfloat64; break; case Timaginary80: exp.type = Type.tfloat80; break; default: assert(0); } } else exp.type = t2; // t2 is complex } else if (t2.isimaginary()) { exp.type = t1; // t1 is complex } } else if (!Target.isVectorOpSupported(tb, exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } result = exp; } override void visit(ModExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (!Target.isVectorOpSupported(tb, exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } if (exp.checkArithmeticBin()) return setError(); if (exp.type.isfloating()) { exp.type = exp.e1.type; if (exp.e2.type.iscomplex()) { exp.error("cannot perform modulo complex arithmetic"); return setError(); } } result = exp; } override void visit(PowExp exp) { if (exp.type) { result = exp; return; } //printf("PowExp::semantic() %s\n", toChars()); if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (exp.checkArithmeticBin()) return setError(); if (!Target.isVectorOpSupported(tb, exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } // For built-in numeric types, there are several cases. // TODO: backend support, especially for e1 ^^ 2. // First, attempt to fold the expression. e = exp.optimize(WANTvalue); if (e.op != TOK.pow) { e = e.expressionSemantic(sc); result = e; return; } // Determine if we're raising to an integer power. sinteger_t intpow = 0; if (exp.e2.op == TOK.int64 && (cast(sinteger_t)exp.e2.toInteger() == 2 || cast(sinteger_t)exp.e2.toInteger() == 3)) intpow = exp.e2.toInteger(); else if (exp.e2.op == TOK.float64 && (exp.e2.toReal() == real_t(cast(sinteger_t)exp.e2.toReal()))) intpow = cast(sinteger_t)exp.e2.toReal(); // Deal with x^^2, x^^3 immediately, since they are of practical importance. if (intpow == 2 || intpow == 3) { // Replace x^^2 with (tmp = x, tmp*tmp) // Replace x^^3 with (tmp = x, tmp*tmp*tmp) auto tmp = copyToTemp(0, "__powtmp", exp.e1); Expression de = new DeclarationExp(exp.loc, tmp); Expression ve = new VarExp(exp.loc, tmp); /* Note that we're reusing ve. This should be ok. */ Expression me = new MulExp(exp.loc, ve, ve); if (intpow == 3) me = new MulExp(exp.loc, me, ve); e = new CommaExp(exp.loc, de, me); e = e.expressionSemantic(sc); result = e; return; } Module mmath = loadStdMath(); if (!mmath) { //error("requires std.math for ^^ operators"); //fatal(); // Leave handling of PowExp to the backend, or throw // an error gracefully if no backend support exists. if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } result = exp; return; } e = new ScopeExp(exp.loc, mmath); if (exp.e2.op == TOK.float64 && exp.e2.toReal() == CTFloat.half) { // Replace e1 ^^ 0.5 with .std.math.sqrt(x) e = new CallExp(exp.loc, new DotIdExp(exp.loc, e, Id._sqrt), exp.e1); } else { // Replace e1 ^^ e2 with .std.math.pow(e1, e2) e = new CallExp(exp.loc, new DotIdExp(exp.loc, e, Id._pow), exp.e1, exp.e2); } e = e.expressionSemantic(sc); result = e; return; } override void visit(ShlExp exp) { //printf("ShlExp::semantic(), type = %p\n", type); if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.checkIntegralBin()) return setError(); if (!Target.isVectorOpSupported(exp.e1.type.toBasetype(), exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } exp.e1 = integralPromotions(exp.e1, sc); if (exp.e2.type.toBasetype().ty != Tvector) exp.e2 = exp.e2.castTo(sc, Type.tshiftcnt); exp.type = exp.e1.type; result = exp; } override void visit(ShrExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.checkIntegralBin()) return setError(); if (!Target.isVectorOpSupported(exp.e1.type.toBasetype(), exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } exp.e1 = integralPromotions(exp.e1, sc); if (exp.e2.type.toBasetype().ty != Tvector) exp.e2 = exp.e2.castTo(sc, Type.tshiftcnt); exp.type = exp.e1.type; result = exp; } override void visit(UshrExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.checkIntegralBin()) return setError(); if (!Target.isVectorOpSupported(exp.e1.type.toBasetype(), exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } exp.e1 = integralPromotions(exp.e1, sc); if (exp.e2.type.toBasetype().ty != Tvector) exp.e2 = exp.e2.castTo(sc, Type.tshiftcnt); exp.type = exp.e1.type; result = exp; } override void visit(AndExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.e1.type.toBasetype().ty == Tbool && exp.e2.type.toBasetype().ty == Tbool) { exp.type = exp.e1.type; result = exp; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (!Target.isVectorOpSupported(tb, exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } if (exp.checkIntegralBin()) return setError(); result = exp; } override void visit(OrExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.e1.type.toBasetype().ty == Tbool && exp.e2.type.toBasetype().ty == Tbool) { exp.type = exp.e1.type; result = exp; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (!Target.isVectorOpSupported(tb, exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } if (exp.checkIntegralBin()) return setError(); result = exp; } override void visit(XorExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } if (exp.e1.type.toBasetype().ty == Tbool && exp.e2.type.toBasetype().ty == Tbool) { exp.type = exp.e1.type; result = exp; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } Type tb = exp.type.toBasetype(); if (tb.ty == Tarray || tb.ty == Tsarray) { if (!isArrayOpValid(exp)) { result = arrayOpInvalidError(exp); return; } result = exp; return; } if (!Target.isVectorOpSupported(tb, exp.op, exp.e2.type.toBasetype())) { result = exp.incompatibleTypes(); return; } if (exp.checkIntegralBin()) return setError(); result = exp; } override void visit(LogicalExp exp) { if (exp.type) { result = exp; return; } exp.setNoderefOperands(); Expression e1x = exp.e1.expressionSemantic(sc); // for static alias this: https://issues.dlang.org/show_bug.cgi?id=17684 if (e1x.op == TOK.type) e1x = resolveAliasThis(sc, e1x); e1x = resolveProperties(sc, e1x); e1x = e1x.toBoolean(sc); if (sc.flags & SCOPE.condition) { /* If in static if, don't evaluate e2 if we don't have to. */ e1x = e1x.optimize(WANTvalue); if (e1x.isBool(exp.op == TOK.orOr)) { result = new IntegerExp(exp.loc, exp.op == TOK.orOr, Type.tbool); return; } } CtorFlow ctorflow = sc.ctorflow.clone(); Expression e2x = exp.e2.expressionSemantic(sc); sc.merge(exp.loc, ctorflow); ctorflow.freeFieldinit(); // for static alias this: https://issues.dlang.org/show_bug.cgi?id=17684 if (e2x.op == TOK.type) e2x = resolveAliasThis(sc, e2x); e2x = resolveProperties(sc, e2x); auto f1 = checkNonAssignmentArrayOp(e1x); auto f2 = checkNonAssignmentArrayOp(e2x); if (f1 || f2) return setError(); // Unless the right operand is 'void', the expression is converted to 'bool'. if (e2x.type.ty != Tvoid) e2x = e2x.toBoolean(sc); if (e2x.op == TOK.type || e2x.op == TOK.scope_) { exp.error("`%s` is not an expression", exp.e2.toChars()); return setError(); } if (e1x.op == TOK.error) { result = e1x; return; } if (e2x.op == TOK.error) { result = e2x; return; } // The result type is 'bool', unless the right operand has type 'void'. if (e2x.type.ty == Tvoid) exp.type = Type.tvoid; else exp.type = Type.tbool; exp.e1 = e1x; exp.e2 = e2x; result = exp; } override void visit(CmpExp exp) { static if (LOGSEMANTIC) { printf("CmpExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } exp.setNoderefOperands(); if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Type t1 = exp.e1.type.toBasetype(); Type t2 = exp.e2.type.toBasetype(); if (t1.ty == Tclass && exp.e2.op == TOK.null_ || t2.ty == Tclass && exp.e1.op == TOK.null_) { exp.error("do not use `null` when comparing class types"); return setError(); } Expression e = exp.op_overload(sc); if (e) { if (!e.type.isscalar() && e.type.equals(exp.e1.type)) { exp.error("recursive `opCmp` expansion"); return setError(); } if (e.op == TOK.call) { e = new CmpExp(exp.op, exp.loc, e, new IntegerExp(exp.loc, 0, Type.tint32)); e = e.expressionSemantic(sc); } result = e; return; } if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } auto f1 = checkNonAssignmentArrayOp(exp.e1); auto f2 = checkNonAssignmentArrayOp(exp.e2); if (f1 || f2) return setError(); exp.type = Type.tbool; // Special handling for array comparisons Expression arrayLowering = null; t1 = exp.e1.type.toBasetype(); t2 = exp.e2.type.toBasetype(); if ((t1.ty == Tarray || t1.ty == Tsarray || t1.ty == Tpointer) && (t2.ty == Tarray || t2.ty == Tsarray || t2.ty == Tpointer)) { Type t1next = t1.nextOf(); Type t2next = t2.nextOf(); if (t1next.implicitConvTo(t2next) < MATCH.constant && t2next.implicitConvTo(t1next) < MATCH.constant && (t1next.ty != Tvoid && t2next.ty != Tvoid)) { exp.error("array comparison type mismatch, `%s` vs `%s`", t1next.toChars(), t2next.toChars()); return setError(); } if ((t1.ty == Tarray || t1.ty == Tsarray) && (t2.ty == Tarray || t2.ty == Tsarray)) { // Lower to object.__cmp(e1, e2) Expression al = new IdentifierExp(exp.loc, Id.empty); al = new DotIdExp(exp.loc, al, Id.object); al = new DotIdExp(exp.loc, al, Id.__cmp); al = al.expressionSemantic(sc); auto arguments = new Expressions(); arguments.push(exp.e1); arguments.push(exp.e2); al = new CallExp(exp.loc, al, arguments); al = new CmpExp(exp.op, exp.loc, al, new IntegerExp(0)); arrayLowering = al; } } else if (t1.ty == Tstruct || t2.ty == Tstruct || (t1.ty == Tclass && t2.ty == Tclass)) { if (t2.ty == Tstruct) exp.error("need member function `opCmp()` for %s `%s` to compare", t2.toDsymbol(sc).kind(), t2.toChars()); else exp.error("need member function `opCmp()` for %s `%s` to compare", t1.toDsymbol(sc).kind(), t1.toChars()); return setError(); } else if (t1.iscomplex() || t2.iscomplex()) { exp.error("compare not defined for complex operands"); return setError(); } else if (t1.ty == Taarray || t2.ty == Taarray) { exp.error("`%s` is not defined for associative arrays", Token.toChars(exp.op)); return setError(); } else if (!Target.isVectorOpSupported(t1, exp.op, t2)) { result = exp.incompatibleTypes(); return; } else { bool r1 = exp.e1.checkValue(); bool r2 = exp.e2.checkValue(); if (r1 || r2) return setError(); } //printf("CmpExp: %s, type = %s\n", e.toChars(), e.type.toChars()); if (arrayLowering) { arrayLowering = arrayLowering.expressionSemantic(sc); result = arrayLowering; return; } result = exp; return; } override void visit(InExp exp) { if (exp.type) { result = exp; return; } if (Expression ex = binSemanticProp(exp, sc)) { result = ex; return; } Expression e = exp.op_overload(sc); if (e) { result = e; return; } Type t2b = exp.e2.type.toBasetype(); switch (t2b.ty) { case Taarray: { TypeAArray ta = cast(TypeAArray)t2b; // Special handling for array keys if (!arrayTypeCompatible(exp.e1.loc, exp.e1.type, ta.index)) { // Convert key to type of key exp.e1 = exp.e1.implicitCastTo(sc, ta.index); } semanticTypeInfo(sc, ta.index); // Return type is pointer to value exp.type = ta.nextOf().pointerTo(); break; } case Terror: return setError(); default: result = exp.incompatibleTypes(); return; } result = exp; } override void visit(RemoveExp e) { if (Expression ex = binSemantic(e, sc)) { result = ex; return; } result = e; } override void visit(EqualExp exp) { //printf("EqualExp::semantic('%s')\n", exp.toChars()); if (exp.type) { result = exp; return; } exp.setNoderefOperands(); if (auto e = binSemanticProp(exp, sc)) { result = e; return; } if (exp.e1.op == TOK.type || exp.e2.op == TOK.type) { result = exp.incompatibleTypes(); return; } { auto t1 = exp.e1.type; auto t2 = exp.e2.type; if (t1.ty == Tenum && t2.ty == Tenum && !t1.equivalent(t2)) exp.deprecation("Comparison between different enumeration types `%s` and `%s`; If this behavior is intended consider using `std.conv.asOriginalType`", t1.toChars(), t2.toChars()); } /* Before checking for operator overloading, check to see if we're * comparing the addresses of two statics. If so, we can just see * if they are the same symbol. */ if (exp.e1.op == TOK.address && exp.e2.op == TOK.address) { AddrExp ae1 = cast(AddrExp)exp.e1; AddrExp ae2 = cast(AddrExp)exp.e2; if (ae1.e1.op == TOK.variable && ae2.e1.op == TOK.variable) { VarExp ve1 = cast(VarExp)ae1.e1; VarExp ve2 = cast(VarExp)ae2.e1; if (ve1.var == ve2.var) { // They are the same, result is 'true' for ==, 'false' for != result = new IntegerExp(exp.loc, (exp.op == TOK.equal), Type.tbool); return; } } } Type t1 = exp.e1.type.toBasetype(); Type t2 = exp.e2.type.toBasetype(); bool needsDirectEq(Type t1, Type t2) { Type t1n = t1.nextOf().toBasetype(); Type t2n = t2.nextOf().toBasetype(); if (((t1n.ty == Tchar || t1n.ty == Twchar || t1n.ty == Tdchar) && (t2n.ty == Tchar || t2n.ty == Twchar || t2n.ty == Tdchar)) || (t1n.ty == Tvoid || t2n.ty == Tvoid)) { return false; } if (t1n.constOf() != t2n.constOf()) return true; Type t = t1n; while (t.toBasetype().nextOf()) t = t.nextOf().toBasetype(); if (t.ty != Tstruct) return false; semanticTypeInfo(sc, t); return (cast(TypeStruct)t).sym.hasIdentityEquals; } if (auto e = exp.op_overload(sc)) { result = e; return; } if (!(t1.ty == Tarray && t2.ty == Tarray && needsDirectEq(t1, t2))) { if (auto e = typeCombine(exp, sc)) { result = e; return; } } auto f1 = checkNonAssignmentArrayOp(exp.e1); auto f2 = checkNonAssignmentArrayOp(exp.e2); if (f1 || f2) return setError(); exp.type = Type.tbool; // Special handling for array comparisons if (!(t1.ty == Tarray && t2.ty == Tarray && needsDirectEq(t1, t2))) { if (!arrayTypeCompatible(exp.loc, exp.e1.type, exp.e2.type)) { if (exp.e1.type != exp.e2.type && exp.e1.type.isfloating() && exp.e2.type.isfloating()) { // Cast both to complex exp.e1 = exp.e1.castTo(sc, Type.tcomplex80); exp.e2 = exp.e2.castTo(sc, Type.tcomplex80); } } } if (t1.ty == Tarray && t2.ty == Tarray) { //printf("Lowering to __equals %s %s\n", e1.toChars(), e2.toChars()); // For e1 and e2 of struct type, lowers e1 == e2 to object.__equals(e1, e2) // and e1 != e2 to !(object.__equals(e1, e2)). Expression __equals = new IdentifierExp(exp.loc, Id.empty); Identifier id = Identifier.idPool("__equals"); __equals = new DotIdExp(exp.loc, __equals, Id.object); __equals = new DotIdExp(exp.loc, __equals, id); auto arguments = new Expressions(); arguments.push(exp.e1); arguments.push(exp.e2); __equals = new CallExp(exp.loc, __equals, arguments); if (exp.op == TOK.notEqual) { __equals = new NotExp(exp.loc, __equals); } __equals = __equals.expressionSemantic(sc); result = __equals; return; } if (exp.e1.type.toBasetype().ty == Taarray) semanticTypeInfo(sc, exp.e1.type.toBasetype()); if (!Target.isVectorOpSupported(t1, exp.op, t2)) { result = exp.incompatibleTypes(); return; } result = exp; } override void visit(IdentityExp exp) { if (exp.type) { result = exp; return; } exp.setNoderefOperands(); if (auto e = binSemanticProp(exp, sc)) { result = e; return; } if (auto e = typeCombine(exp, sc)) { result = e; return; } auto f1 = checkNonAssignmentArrayOp(exp.e1); auto f2 = checkNonAssignmentArrayOp(exp.e2); if (f1 || f2) return setError(); exp.type = Type.tbool; if (exp.e1.type != exp.e2.type && exp.e1.type.isfloating() && exp.e2.type.isfloating()) { // Cast both to complex exp.e1 = exp.e1.castTo(sc, Type.tcomplex80); exp.e2 = exp.e2.castTo(sc, Type.tcomplex80); } auto tb1 = exp.e1.type.toBasetype(); auto tb2 = exp.e2.type.toBasetype(); if (!Target.isVectorOpSupported(tb1, exp.op, tb2)) { result = exp.incompatibleTypes(); return; } if (exp.e1.op == TOK.call) exp.e1 = (cast(CallExp)exp.e1).addDtorHook(sc); if (exp.e2.op == TOK.call) exp.e2 = (cast(CallExp)exp.e2).addDtorHook(sc); if (exp.e1.type.toBasetype().ty == Tsarray || exp.e2.type.toBasetype().ty == Tsarray) exp.deprecation("identity comparison of static arrays " ~ "implicitly coerces them to slices, " ~ "which are compared by reference"); result = exp; } override void visit(CondExp exp) { static if (LOGSEMANTIC) { printf("CondExp::semantic('%s')\n", exp.toChars()); } if (exp.type) { result = exp; return; } if (exp.econd.op == TOK.dotIdentifier) (cast(DotIdExp)exp.econd).noderef = true; Expression ec = exp.econd.expressionSemantic(sc); ec = resolveProperties(sc, ec); ec = ec.toBoolean(sc); CtorFlow ctorflow_root = sc.ctorflow.clone(); Expression e1x = exp.e1.expressionSemantic(sc); e1x = resolveProperties(sc, e1x); CtorFlow ctorflow1 = sc.ctorflow; sc.ctorflow = ctorflow_root; Expression e2x = exp.e2.expressionSemantic(sc); e2x = resolveProperties(sc, e2x); sc.merge(exp.loc, ctorflow1); ctorflow1.freeFieldinit(); if (ec.op == TOK.error) { result = ec; return; } if (ec.type == Type.terror) return setError(); exp.econd = ec; if (e1x.op == TOK.error) { result = e1x; return; } if (e1x.type == Type.terror) return setError(); exp.e1 = e1x; if (e2x.op == TOK.error) { result = e2x; return; } if (e2x.type == Type.terror) return setError(); exp.e2 = e2x; auto f0 = checkNonAssignmentArrayOp(exp.econd); auto f1 = checkNonAssignmentArrayOp(exp.e1); auto f2 = checkNonAssignmentArrayOp(exp.e2); if (f0 || f1 || f2) return setError(); Type t1 = exp.e1.type; Type t2 = exp.e2.type; // If either operand is void the result is void, we have to cast both // the expression to void so that we explicitly discard the expression // value if any // https://issues.dlang.org/show_bug.cgi?id=16598 if (t1.ty == Tvoid || t2.ty == Tvoid) { exp.type = Type.tvoid; exp.e1 = exp.e1.castTo(sc, exp.type); exp.e2 = exp.e2.castTo(sc, exp.type); } else if (t1 == t2) exp.type = t1; else { if (Expression ex = typeCombine(exp, sc)) { result = ex; return; } switch (exp.e1.type.toBasetype().ty) { case Tcomplex32: case Tcomplex64: case Tcomplex80: exp.e2 = exp.e2.castTo(sc, exp.e1.type); break; default: break; } switch (exp.e2.type.toBasetype().ty) { case Tcomplex32: case Tcomplex64: case Tcomplex80: exp.e1 = exp.e1.castTo(sc, exp.e2.type); break; default: break; } if (exp.type.toBasetype().ty == Tarray) { exp.e1 = exp.e1.castTo(sc, exp.type); exp.e2 = exp.e2.castTo(sc, exp.type); } } exp.type = exp.type.merge2(); version (none) { printf("res: %s\n", exp.type.toChars()); printf("e1 : %s\n", exp.e1.type.toChars()); printf("e2 : %s\n", exp.e2.type.toChars()); } /* https://issues.dlang.org/show_bug.cgi?id=14696 * If either e1 or e2 contain temporaries which need dtor, * make them conditional. * Rewrite: * cond ? (__tmp1 = ..., __tmp1) : (__tmp2 = ..., __tmp2) * to: * (auto __cond = cond) ? (... __tmp1) : (... __tmp2) * and replace edtors of __tmp1 and __tmp2 with: * __tmp1.edtor --> __cond && __tmp1.dtor() * __tmp2.edtor --> __cond || __tmp2.dtor() */ exp.hookDtors(sc); result = exp; } override void visit(FileInitExp e) { //printf("FileInitExp::semantic()\n"); e.type = Type.tstring; result = e; } override void visit(LineInitExp e) { e.type = Type.tint32; result = e; } override void visit(ModuleInitExp e) { //printf("ModuleInitExp::semantic()\n"); e.type = Type.tstring; result = e; } override void visit(FuncInitExp e) { //printf("FuncInitExp::semantic()\n"); e.type = Type.tstring; if (sc.func) { result = e.resolveLoc(Loc.initial, sc); return; } result = e; } override void visit(PrettyFuncInitExp e) { //printf("PrettyFuncInitExp::semantic()\n"); e.type = Type.tstring; if (sc.func) { result = e.resolveLoc(Loc.initial, sc); return; } result = e; } } /********************************** * Try to run semantic routines. * If they fail, return NULL. */ Expression trySemantic(Expression exp, Scope* sc) { //printf("+trySemantic(%s)\n", toChars()); uint errors = global.startGagging(); Expression e = expressionSemantic(exp, sc); if (global.endGagging(errors)) { e = null; } //printf("-trySemantic(%s)\n", toChars()); return e; } /************************** * Helper function for easy error propagation. * If error occurs, returns ErrorExp. Otherwise returns NULL. */ Expression unaSemantic(UnaExp e, Scope* sc) { static if (LOGSEMANTIC) { printf("UnaExp::semantic('%s')\n", e.toChars()); } Expression e1x = e.e1.expressionSemantic(sc); if (e1x.op == TOK.error) return e1x; e.e1 = e1x; return null; } /************************** * Helper function for easy error propagation. * If error occurs, returns ErrorExp. Otherwise returns NULL. */ Expression binSemantic(BinExp e, Scope* sc) { static if (LOGSEMANTIC) { printf("BinExp::semantic('%s')\n", e.toChars()); } Expression e1x = e.e1.expressionSemantic(sc); Expression e2x = e.e2.expressionSemantic(sc); // for static alias this: https://issues.dlang.org/show_bug.cgi?id=17684 if (e1x.op == TOK.type) e1x = resolveAliasThis(sc, e1x); if (e2x.op == TOK.type) e2x = resolveAliasThis(sc, e2x); if (e1x.op == TOK.error) return e1x; if (e2x.op == TOK.error) return e2x; e.e1 = e1x; e.e2 = e2x; return null; } Expression binSemanticProp(BinExp e, Scope* sc) { if (Expression ex = binSemantic(e, sc)) return ex; Expression e1x = resolveProperties(sc, e.e1); Expression e2x = resolveProperties(sc, e.e2); if (e1x.op == TOK.error) return e1x; if (e2x.op == TOK.error) return e2x; e.e1 = e1x; e.e2 = e2x; return null; } // entrypoint for semantic ExpressionSemanticVisitor extern (C++) Expression expressionSemantic(Expression e, Scope* sc) { scope v = new ExpressionSemanticVisitor(sc); e.accept(v); return v.result; } Expression semanticX(DotIdExp exp, Scope* sc) { //printf("DotIdExp::semanticX(this = %p, '%s')\n", this, toChars()); if (Expression ex = unaSemantic(exp, sc)) return ex; if (exp.ident == Id._mangleof) { // symbol.mangleof Dsymbol ds; switch (exp.e1.op) { case TOK.scope_: ds = (cast(ScopeExp)exp.e1).sds; goto L1; case TOK.variable: ds = (cast(VarExp)exp.e1).var; goto L1; case TOK.dotVariable: ds = (cast(DotVarExp)exp.e1).var; goto L1; case TOK.overloadSet: ds = (cast(OverExp)exp.e1).vars; goto L1; case TOK.template_: { TemplateExp te = cast(TemplateExp)exp.e1; ds = te.fd ? cast(Dsymbol)te.fd : te.td; } L1: { assert(ds); if (auto f = ds.isFuncDeclaration()) { if (f.checkForwardRef(exp.loc)) { return new ErrorExp(); } } OutBuffer buf; mangleToBuffer(ds, &buf); const s = buf.peekSlice(); Expression e = new StringExp(exp.loc, buf.extractString(), s.length); e = e.expressionSemantic(sc); return e; } default: break; } } if (exp.e1.op == TOK.variable && exp.e1.type.toBasetype().ty == Tsarray && exp.ident == Id.length) { // bypass checkPurity return exp.e1.type.dotExp(sc, exp.e1, exp.ident, exp.noderef ? Type.DotExpFlag.noDeref : 0); } if (exp.e1.op == TOK.dot) { } else { exp.e1 = resolvePropertiesX(sc, exp.e1); } if (exp.e1.op == TOK.tuple && exp.ident == Id.offsetof) { /* 'distribute' the .offsetof to each of the tuple elements. */ TupleExp te = cast(TupleExp)exp.e1; auto exps = new Expressions(); exps.setDim(te.exps.dim); for (size_t i = 0; i < exps.dim; i++) { Expression e = (*te.exps)[i]; e = e.expressionSemantic(sc); e = new DotIdExp(e.loc, e, Id.offsetof); (*exps)[i] = e; } // Don't evaluate te.e0 in runtime Expression e = new TupleExp(exp.loc, null, exps); e = e.expressionSemantic(sc); return e; } if (exp.e1.op == TOK.tuple && exp.ident == Id.length) { TupleExp te = cast(TupleExp)exp.e1; // Don't evaluate te.e0 in runtime Expression e = new IntegerExp(exp.loc, te.exps.dim, Type.tsize_t); return e; } // https://issues.dlang.org/show_bug.cgi?id=14416 // Template has no built-in properties except for 'stringof'. if ((exp.e1.op == TOK.dotTemplateDeclaration || exp.e1.op == TOK.template_) && exp.ident != Id.stringof) { exp.error("template `%s` does not have property `%s`", exp.e1.toChars(), exp.ident.toChars()); return new ErrorExp(); } if (!exp.e1.type) { exp.error("expression `%s` does not have property `%s`", exp.e1.toChars(), exp.ident.toChars()); return new ErrorExp(); } return exp; } // Resolve e1.ident without seeing UFCS. // If flag == 1, stop "not a property" error and return NULL. Expression semanticY(DotIdExp exp, Scope* sc, int flag) { //printf("DotIdExp::semanticY(this = %p, '%s')\n", exp, exp.toChars()); //{ static int z; fflush(stdout); if (++z == 10) *(char*)0=0; } /* Special case: rewrite this.id and super.id * to be classtype.id and baseclasstype.id * if we have no this pointer. */ if ((exp.e1.op == TOK.this_ || exp.e1.op == TOK.super_) && !hasThis(sc)) { if (AggregateDeclaration ad = sc.getStructClassScope()) { if (exp.e1.op == TOK.this_) { exp.e1 = new TypeExp(exp.e1.loc, ad.type); } else { ClassDeclaration cd = ad.isClassDeclaration(); if (cd && cd.baseClass) exp.e1 = new TypeExp(exp.e1.loc, cd.baseClass.type); } } } Expression e = semanticX(exp, sc); if (e != exp) return e; Expression eleft; Expression eright; if (exp.e1.op == TOK.dot) { DotExp de = cast(DotExp)exp.e1; eleft = de.e1; eright = de.e2; } else { eleft = null; eright = exp.e1; } Type t1b = exp.e1.type.toBasetype(); if (eright.op == TOK.scope_) // also used for template alias's { ScopeExp ie = cast(ScopeExp)eright; int flags = SearchLocalsOnly; /* Disable access to another module's private imports. * The check for 'is sds our current module' is because * the current module should have access to its own imports. */ if (ie.sds.isModule() && ie.sds != sc._module) flags |= IgnorePrivateImports; if (sc.flags & SCOPE.ignoresymbolvisibility) flags |= IgnoreSymbolVisibility; Dsymbol s = ie.sds.search(exp.loc, exp.ident, flags); /* Check for visibility before resolving aliases because public * aliases to private symbols are public. */ if (s && !(sc.flags & SCOPE.ignoresymbolvisibility) && !symbolIsVisible(sc._module, s)) { if (s.isDeclaration()) error(exp.loc, "`%s` is not visible from module `%s`", s.toPrettyChars(), sc._module.toChars()); else deprecation(exp.loc, "`%s` is not visible from module `%s`", s.toPrettyChars(), sc._module.toChars()); // s = null; } if (s) { if (auto p = s.isPackage()) checkAccess(exp.loc, sc, p); // if 's' is a tuple variable, the tuple is returned. s = s.toAlias(); exp.checkDeprecated(sc, s); exp.checkDisabled(sc, s); EnumMember em = s.isEnumMember(); if (em) { return em.getVarExp(exp.loc, sc); } VarDeclaration v = s.isVarDeclaration(); if (v) { //printf("DotIdExp:: Identifier '%s' is a variable, type '%s'\n", toChars(), v.type.toChars()); if (!v.type || !v.type.deco && v.inuse) { if (v.inuse) exp.error("circular reference to %s `%s`", v.kind(), v.toPrettyChars()); else exp.error("forward reference to %s `%s`", v.kind(), v.toPrettyChars()); return new ErrorExp(); } if (v.type.ty == Terror) return new ErrorExp(); if ((v.storage_class & STC.manifest) && v._init && !exp.wantsym) { /* Normally, the replacement of a symbol with its initializer is supposed to be in semantic2(). * Introduced by https://github.com/dlang/dmd/pull/5588 which should probably * be reverted. `wantsym` is the hack to work around the problem. */ if (v.inuse) { error(exp.loc, "circular initialization of %s `%s`", v.kind(), v.toPrettyChars()); return new ErrorExp(); } e = v.expandInitializer(exp.loc); v.inuse++; e = e.expressionSemantic(sc); v.inuse--; return e; } if (v.needThis()) { if (!eleft) eleft = new ThisExp(exp.loc); e = new DotVarExp(exp.loc, eleft, v); e = e.expressionSemantic(sc); } else { e = new VarExp(exp.loc, v); if (eleft) { e = new CommaExp(exp.loc, eleft, e); e.type = v.type; } } e = e.deref(); return e.expressionSemantic(sc); } FuncDeclaration f = s.isFuncDeclaration(); if (f) { //printf("it's a function\n"); if (!f.functionSemantic()) return new ErrorExp(); if (f.needThis()) { if (!eleft) eleft = new ThisExp(exp.loc); e = new DotVarExp(exp.loc, eleft, f, true); e = e.expressionSemantic(sc); } else { e = new VarExp(exp.loc, f, true); if (eleft) { e = new CommaExp(exp.loc, eleft, e); e.type = f.type; } } return e; } if (auto td = s.isTemplateDeclaration()) { if (eleft) e = new DotTemplateExp(exp.loc, eleft, td); else e = new TemplateExp(exp.loc, td); e = e.expressionSemantic(sc); return e; } if (OverDeclaration od = s.isOverDeclaration()) { e = new VarExp(exp.loc, od, true); if (eleft) { e = new CommaExp(exp.loc, eleft, e); e.type = Type.tvoid; // ambiguous type? } return e; } OverloadSet o = s.isOverloadSet(); if (o) { //printf("'%s' is an overload set\n", o.toChars()); return new OverExp(exp.loc, o); } if (auto t = s.getType()) { return (new TypeExp(exp.loc, t)).expressionSemantic(sc); } TupleDeclaration tup = s.isTupleDeclaration(); if (tup) { if (eleft) { e = new DotVarExp(exp.loc, eleft, tup); e = e.expressionSemantic(sc); return e; } e = new TupleExp(exp.loc, tup); e = e.expressionSemantic(sc); return e; } ScopeDsymbol sds = s.isScopeDsymbol(); if (sds) { //printf("it's a ScopeDsymbol %s\n", ident.toChars()); e = new ScopeExp(exp.loc, sds); e = e.expressionSemantic(sc); if (eleft) e = new DotExp(exp.loc, eleft, e); return e; } Import imp = s.isImport(); if (imp) { ie = new ScopeExp(exp.loc, imp.pkg); return ie.expressionSemantic(sc); } // BUG: handle other cases like in IdentifierExp::semantic() debug { printf("s = '%s', kind = '%s'\n", s.toChars(), s.kind()); } assert(0); } else if (exp.ident == Id.stringof) { const p = ie.toChars(); e = new StringExp(exp.loc, cast(char*)p, strlen(p)); e = e.expressionSemantic(sc); return e; } if (ie.sds.isPackage() || ie.sds.isImport() || ie.sds.isModule()) { flag = 0; } if (flag) return null; s = ie.sds.search_correct(exp.ident); if (s) exp.error("undefined identifier `%s` in %s `%s`, did you mean %s `%s`?", exp.ident.toChars(), ie.sds.kind(), ie.sds.toPrettyChars(), s.kind(), s.toChars()); else exp.error("undefined identifier `%s` in %s `%s`", exp.ident.toChars(), ie.sds.kind(), ie.sds.toPrettyChars()); return new ErrorExp(); } else if (t1b.ty == Tpointer && exp.e1.type.ty != Tenum && exp.ident != Id._init && exp.ident != Id.__sizeof && exp.ident != Id.__xalignof && exp.ident != Id.offsetof && exp.ident != Id._mangleof && exp.ident != Id.stringof) { Type t1bn = t1b.nextOf(); if (flag) { AggregateDeclaration ad = isAggregate(t1bn); if (ad && !ad.members) // https://issues.dlang.org/show_bug.cgi?id=11312 return null; } /* Rewrite: * p.ident * as: * (*p).ident */ if (flag && t1bn.ty == Tvoid) return null; e = new PtrExp(exp.loc, exp.e1); e = e.expressionSemantic(sc); return e.type.dotExp(sc, e, exp.ident, flag | (exp.noderef ? Type.DotExpFlag.noDeref : 0)); } else { if (exp.e1.op == TOK.type || exp.e1.op == TOK.template_) flag = 0; e = exp.e1.type.dotExp(sc, exp.e1, exp.ident, flag | (exp.noderef ? Type.DotExpFlag.noDeref : 0)); if (e) e = e.expressionSemantic(sc); return e; } } // Resolve e1.ident!tiargs without seeing UFCS. // If flag == 1, stop "not a property" error and return NULL. Expression semanticY(DotTemplateInstanceExp exp, Scope* sc, int flag) { static if (LOGSEMANTIC) { printf("DotTemplateInstanceExpY::semantic('%s')\n", exp.toChars()); } auto die = new DotIdExp(exp.loc, exp.e1, exp.ti.name); Expression e = die.semanticX(sc); if (e == die) { exp.e1 = die.e1; // take back Type t1b = exp.e1.type.toBasetype(); if (t1b.ty == Tarray || t1b.ty == Tsarray || t1b.ty == Taarray || t1b.ty == Tnull || (t1b.isTypeBasic() && t1b.ty != Tvoid)) { /* No built-in type has templatized properties, so do shortcut. * It is necessary in: 1024.max!"a < b" */ if (flag) return null; } e = die.semanticY(sc, flag); if (flag && e && isDotOpDispatch(e)) { /* opDispatch!tiargs would be a function template that needs IFTI, * so it's not a template */ e = null; /* fall down to UFCS */ } if (flag && !e) return null; } assert(e); L1: if (e.op == TOK.error) return e; if (e.op == TOK.dotVariable) { DotVarExp dve = cast(DotVarExp)e; if (FuncDeclaration fd = dve.var.isFuncDeclaration()) { TemplateDeclaration td = fd.findTemplateDeclRoot(); if (td) { e = new DotTemplateExp(dve.loc, dve.e1, td); e = e.expressionSemantic(sc); } } else if (OverDeclaration od = dve.var.isOverDeclaration()) { exp.e1 = dve.e1; // pull semantic() result if (!exp.findTempDecl(sc)) goto Lerr; if (exp.ti.needsTypeInference(sc)) return exp; exp.ti.dsymbolSemantic(sc); if (!exp.ti.inst || exp.ti.errors) // if template failed to expand return new ErrorExp(); Dsymbol s = exp.ti.toAlias(); Declaration v = s.isDeclaration(); if (v) { if (v.type && !v.type.deco) v.type = v.type.typeSemantic(v.loc, sc); e = new DotVarExp(exp.loc, exp.e1, v); e = e.expressionSemantic(sc); return e; } e = new ScopeExp(exp.loc, exp.ti); e = new DotExp(exp.loc, exp.e1, e); e = e.expressionSemantic(sc); return e; } } else if (e.op == TOK.variable) { VarExp ve = cast(VarExp)e; if (FuncDeclaration fd = ve.var.isFuncDeclaration()) { TemplateDeclaration td = fd.findTemplateDeclRoot(); if (td) { e = new TemplateExp(ve.loc, td); e = e.expressionSemantic(sc); } } else if (OverDeclaration od = ve.var.isOverDeclaration()) { exp.ti.tempdecl = od; e = new ScopeExp(exp.loc, exp.ti); e = e.expressionSemantic(sc); return e; } } if (e.op == TOK.dotTemplateDeclaration) { DotTemplateExp dte = cast(DotTemplateExp)e; exp.e1 = dte.e1; // pull semantic() result exp.ti.tempdecl = dte.td; if (!exp.ti.semanticTiargs(sc)) return new ErrorExp(); if (exp.ti.needsTypeInference(sc)) return exp; exp.ti.dsymbolSemantic(sc); if (!exp.ti.inst || exp.ti.errors) // if template failed to expand return new ErrorExp(); Dsymbol s = exp.ti.toAlias(); Declaration v = s.isDeclaration(); if (v && (v.isFuncDeclaration() || v.isVarDeclaration())) { e = new DotVarExp(exp.loc, exp.e1, v); e = e.expressionSemantic(sc); return e; } e = new ScopeExp(exp.loc, exp.ti); e = new DotExp(exp.loc, exp.e1, e); e = e.expressionSemantic(sc); return e; } else if (e.op == TOK.template_) { exp.ti.tempdecl = (cast(TemplateExp)e).td; e = new ScopeExp(exp.loc, exp.ti); e = e.expressionSemantic(sc); return e; } else if (e.op == TOK.dot) { DotExp de = cast(DotExp)e; if (de.e2.op == TOK.overloadSet) { if (!exp.findTempDecl(sc) || !exp.ti.semanticTiargs(sc)) { return new ErrorExp(); } if (exp.ti.needsTypeInference(sc)) return exp; exp.ti.dsymbolSemantic(sc); if (!exp.ti.inst || exp.ti.errors) // if template failed to expand return new ErrorExp(); Dsymbol s = exp.ti.toAlias(); Declaration v = s.isDeclaration(); if (v) { if (v.type && !v.type.deco) v.type = v.type.typeSemantic(v.loc, sc); e = new DotVarExp(exp.loc, exp.e1, v); e = e.expressionSemantic(sc); return e; } e = new ScopeExp(exp.loc, exp.ti); e = new DotExp(exp.loc, exp.e1, e); e = e.expressionSemantic(sc); return e; } } else if (e.op == TOK.overloadSet) { OverExp oe = cast(OverExp)e; exp.ti.tempdecl = oe.vars; e = new ScopeExp(exp.loc, exp.ti); e = e.expressionSemantic(sc); return e; } Lerr: exp.error("`%s` isn't a template", e.toChars()); return new ErrorExp(); } /**************************************************** * Determine if `exp`, which takes the address of `v`, can do so safely. * Params: * sc = context * exp = expression that takes the address of `v` * v = the variable getting its address taken * Returns: * `true` if ok, `false` for error */ private bool checkAddressVar(Scope* sc, UnaExp exp, VarDeclaration v) { //printf("checkAddressVar(exp: %s, v: %s)\n", exp.toChars(), v.toChars()); if (v) { if (!v.canTakeAddressOf()) { exp.error("cannot take address of `%s`", exp.e1.toChars()); return false; } if (sc.func && !sc.intypeof && !v.isDataseg()) { const(char)* p = v.isParameter() ? "parameter" : "local"; if (global.params.vsafe) { // Taking the address of v means it cannot be set to 'scope' later v.storage_class &= ~STC.maybescope; v.doNotInferScope = true; if (v.storage_class & STC.scope_ && sc.func.setUnsafe()) { exp.error("cannot take address of `scope` %s `%s` in `@safe` function `%s`", p, v.toChars(), sc.func.toChars()); return false; } } else if (sc.func.setUnsafe()) { exp.error("cannot take address of %s `%s` in `@safe` function `%s`", p, v.toChars(), sc.func.toChars()); return false; } } } return true; } /******************************* * Checks the attributes of a function. * Purity (`pure`), safety (`@safe`), no GC allocations(`@nogc`) * and usage of `deprecated` and `@disabled`-ed symbols are checked. * * Params: * exp = expression to check attributes for * sc = scope of the function * f = function to be checked * Returns: `true` if error occur. */ private bool checkFunctionAttributes(Expression exp, Scope* sc, FuncDeclaration f) { with(exp) { bool error = checkDisabled(sc, f); error |= checkDeprecated(sc, f); error |= checkPurity(sc, f); error |= checkSafety(sc, f); error |= checkNogc(sc, f); return error; } }
D
void main() { runSolver(); } void problem() { auto N = scan!int; auto M = scan!int; auto H = scan!int; auto K = scan!int; auto S = scan!string; auto P = scan!int(2 * M).chunks(2).array; enum OFFSET = 4 * 10^^5; enum BASE = 10^^6; auto solve() { int id(int x, int y) { return BASE*y + x; } bool[int] items; foreach(p; P) { items[id(p[0] + OFFSET, p[1] + OFFSET)] = true; } int x = OFFSET, y = OFFSET, h = H; foreach(c; S) { if (--h < 0) return YESNO[false]; if (c == 'L') x--; if (c == 'R') x++; if (c == 'D') y--; if (c == 'U') y++; if (h < K && id(x, y) in items) { h = K; items.remove(id(x, y)); } } return YESNO[true]; } outputForAtCoder(&solve); } // ---------------------------------------------- import std; string scan(){ static string[] ss; while(!ss.length) ss = readln.chomp.split; string res = ss[0]; ss.popFront; return res; } T scan(T)(){ return scan.to!T; } T[] scan(T)(long n){ return n.iota.map!(i => scan!T()).array; } void deb(T ...)(T t){ debug writeln(t); } T[] compress(T)(T[] arr, T origin = T.init) { T[T] indecies; arr.dup.sort.uniq.enumerate(origin).each!((i, t) => indecies[t] = i); return arr.map!(t => indecies[t]).array; } long[] divisors(long n) { long[] ret; for (long i = 1; i * i <= n; i++) { if (n % i == 0) { ret ~= i; if (i * i != n) ret ~= n / i; } } return ret.sort.array; } bool chmin(T)(ref T a, T b) { if (b < a) { a = b; return true; } else return false; } bool chmax(T)(ref T a, T b) { if (b > a) { a = b; return true; } else return false; } string charSort(alias S = "a < b")(string s) { return (cast(char[])((cast(byte[])s).sort!S.array)).to!string; } ulong comb(ulong a, ulong b) { if (b == 0) {return 1;}else{return comb(a - 1, b - 1) * a / b;}} string toAnswerString(R)(R r) { return r.map!"a.to!string".joiner(" ").array.to!string; } struct ModInt(uint MD) if (MD < int.max) {ulong v;this(string v) {this(v.to!long);}this(int v) {this(long(v));}this(long v) {this.v = (v%MD+MD)%MD;}void opAssign(long t) {v = (t%MD+MD)%MD;}static auto normS(ulong x) {return (x<MD)?x:x-MD;}static auto make(ulong x) {ModInt m; m.v = x; return m;}auto opBinary(string op:"+")(ModInt r) const {return make(normS(v+r.v));}auto opBinary(string op:"-")(ModInt r) const {return make(normS(v+MD-r.v));}auto opBinary(string op:"*")(ModInt r) const {return make((ulong(v)*r.v%MD).to!ulong);}auto opBinary(string op:"^^", T)(T r) const {long x=v;long y=1;while(r){if(r%2==1)y=(y*x)%MD;x=x^^2%MD;r/=2;} return make(y);}auto opBinary(string op:"/")(ModInt r) const {return this*memoize!inv(r);}static ModInt inv(ModInt x) {return x^^(MD-2);}string toString() const {return v.to!string;}auto opOpAssign(string op)(ModInt r) {return mixin ("this=this"~op~"r");}} alias MInt1 = ModInt!(10^^9 + 7); alias MInt9 = ModInt!(998_244_353); void outputForAtCoder(T)(T delegate() fn) { static if (is(T == float) || is(T == double) || is(T == real)) "%.16f".writefln(fn()); else static if (is(T == void)) fn(); else static if (is(T == string)) fn().writeln; else static if (isInputRange!T) { static if (!is(string == ElementType!T) && isInputRange!(ElementType!T)) foreach(r; fn()) r.toAnswerString.writeln; else foreach(r; fn()) r.writeln; } else fn().writeln; } void runSolver() { static import std.datetime.stopwatch; enum BORDER = "=================================="; debug { BORDER.writeln; while(!stdin.eof) { "<<< Process time: %s >>>".writefln(std.datetime.stopwatch.benchmark!problem(1)); BORDER.writeln; } } else problem(); } enum YESNO = [true: "Yes", false: "No"]; // -----------------------------------------------
D
long[][] basePacks(long base, long size) { auto ret = new long[][](base^^size, size); foreach(i; 0..base^^size) { long x = i; foreach(b; 0..size) { ret[i][b] = x % base; x /= base; } } return ret; }
D
/home/thorin/Desktop/Myrust/numerals/target/debug/deps/numerals-66b9e8954b59b67a: src/main.rs /home/thorin/Desktop/Myrust/numerals/target/debug/deps/numerals-66b9e8954b59b67a.d: src/main.rs src/main.rs:
D
/Users/ua4225pe/Desktop/FoodPin/DerivedData/FoodPin/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate.o : /Users/ua4225pe/Desktop/FoodPin/FoodPin/Restaurant.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantTableViewController.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantDetailViewController.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantDetailTableViewCell.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantTableViewCell.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/AppDelegate.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ua4225pe/Desktop/FoodPin/DerivedData/FoodPin/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/ua4225pe/Desktop/FoodPin/FoodPin/Restaurant.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantTableViewController.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantDetailViewController.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantDetailTableViewCell.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantTableViewCell.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/AppDelegate.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ua4225pe/Desktop/FoodPin/DerivedData/FoodPin/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/ua4225pe/Desktop/FoodPin/FoodPin/Restaurant.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantTableViewController.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantDetailViewController.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantDetailTableViewCell.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantTableViewCell.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/AppDelegate.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule
D
module test22685; import imports.test22685b; void twoArgs(alias a, alias b)() { } void main() { twoArgs!(a => 1, overloaded); }
D
/Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/Objects-normal/x86_64/myOutline.o : /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControlDoc.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfield.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/web/webService.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTable.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/sourcetable.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myOutline.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldTelephone.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldAdresse.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldDate.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldDecimal.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/selectorsProtocol.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControl.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/mytoolbarItem.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTabviewitem.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldNum.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/cmyButton.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCombo.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/web/downloadManager.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/preferenceManager.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/baseController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/documentPopoverController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/popoverController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/editController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/listController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/user.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/listeControles.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/dates.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/alertes.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/strings.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/nums.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/enumerations.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/keyboardKeys.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldInt.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/baseView.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/myView.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/myWindow.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myBox.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCustomCheckbox.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCheckbox.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/AppKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/PRMacControls.h /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/unextended-module.modulemap /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/Objects-normal/x86_64/myOutline~partial.swiftmodule : /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControlDoc.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfield.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/web/webService.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTable.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/sourcetable.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myOutline.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldTelephone.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldAdresse.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldDate.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldDecimal.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/selectorsProtocol.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControl.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/mytoolbarItem.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTabviewitem.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldNum.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/cmyButton.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCombo.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/web/downloadManager.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/preferenceManager.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/baseController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/documentPopoverController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/popoverController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/editController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/listController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/user.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/listeControles.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/dates.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/alertes.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/strings.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/nums.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/enumerations.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/keyboardKeys.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldInt.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/baseView.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/myView.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/myWindow.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myBox.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCustomCheckbox.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCheckbox.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/AppKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/PRMacControls.h /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/unextended-module.modulemap /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/Objects-normal/x86_64/myOutline~partial.swiftdoc : /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControlDoc.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfield.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/web/webService.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTable.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/sourcetable.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myOutline.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldTelephone.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldAdresse.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldDate.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldDecimal.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/selectorsProtocol.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControl.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/mytoolbarItem.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTabviewitem.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldNum.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/cmyButton.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCombo.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/web/downloadManager.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/preferenceManager.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/baseController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/documentPopoverController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/popoverController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/editController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/listController.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/user.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/listeControles.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/dates.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/alertes.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/strings.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/nums.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/enumerations.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/misc/keyboardKeys.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myTextfieldInt.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/baseView.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/myView.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/windows/myWindow.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myBox.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCustomCheckbox.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myCheckbox.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/AppKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/PRMacControls.h /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/unextended-module.modulemap /Users/patricerapaport/Desktop/swift/PRMacControls/Build/Products/Debug/Alamofire/Alamofire.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
// A simple mediator implementation. module subscribed.mediator; import std.traits : isCallable; import std.array : replace; import std.meta; import subscribed.event; /** * A simple mediator implementation. * More precisely, an event collection with a unified interface and beforeEach/afterEach hooks. * * Params: * params - A list alternating between index types and callable types. */ struct Mediator(params...) { static assert(params.length % 2 == 0, "The parameter count must be even"); /// The type of the (indexing) channel names. alias IType = typeof(params[0]); private { struct Channel(IType name_, T) if (isCallable!T) { alias Type = T; enum name = name_; } template channels(params...) { static if (params.length == 0) { alias channels = AliasSeq!(); } else { static assert( is(typeof(params[0]) == IType) && isCallable!(params[1]), "Parameters must alternate between index types and callable types" ); alias channels = AliasSeq!(Channel!(params[0], params[1]), channels!(params[2..$])); } } mixin template bindChannel(c) { private { alias EventType = Event!(c.Type); EventType event; } void on(IType channel : c.name)(EventType.ListenerType[] listeners...) { event.append(listeners); } void off(IType channel : c.name)(EventType.ListenerType[] listeners...) { event.remove(listeners); } void emit(IType channel : c.name)(EventType.ParamTypes params) { foreach (listener; beforeEach.listeners) if (!listener(channel)) return; event.call(params); afterEach(channel); } } } /// The hook to be executed before any transition. If false is returned, the no transition occurs. Event!(bool delegate(IType)) beforeEach; /// The hook to be executed after a successful transition. Event!(void delegate(IType)) afterEach; version (D_Ddoc) { alias EventType = Event!(void function()); /** * A function for appending listeners to the channel event. * * Params: * channel = The channel whose event to subscribe to. * listeners = The listeners to append. * * See_Also: * subscribed.event.Event.append */ void on(IType channel)(EventType.ListenerType[] listeners...); /** * A function for removing listeners from the channel event. * * Params: * channel = The channel whose event to remove from. * listeners = The listeners to remove. * * See_Also: * subscribed.event.Event.append */ void off(IType channel)(EventType.ListenerType[] listeners...); /** * Calls all the registered listeners for the channel in order. * * Params: * channel = The channel to emit a message to. * params = The param tuple to call the listeners with. * * Returns: * An array of results from the listeners. * If $(DDOC_PSYMBOL EventType.ReturnType) is void, then this function also returns void. * * See_Also: * subscribed.event.Event.call */ void emit(string channel)(EventType.ParamTypes params); } static foreach (channel; channels!params) mixin bindChannel!channel; } /// The mediator events can be strings. unittest { Mediator!( "start", void delegate(), "stop", void delegate() ) mediator; mediator.emit!"start"(); } /// The mediator events can be enum members. unittest { enum Event { start, stop } Mediator!( Event.start, void delegate(), Event.stop, void delegate() ) mediator; mediator.emit!(Event.start)(); } /// The mediator events cannot be of mixed type. unittest { immutable canCompile = __traits(compiles, Mediator!( "start", void delegate(), 3, void delegate() )); assert(!canCompile, "Can compile mediators with mixed index types"); } /// The mediator can subscribe, unsubscribe and broadcast events. unittest { Mediator!( "inc", void delegate(), "dec", void delegate(), "reset counter", void delegate() ) mediator; int counter; void increment() { counter++; } void decrement() { counter--; } void reset() { counter = 0; } mediator.on!"inc"(&increment); mediator.on!"dec"(&decrement); mediator.on!"reset counter"(&reset); assert(counter == 0, "Mediator functions are called before any action is performed"); mediator.emit!"inc"(); assert(counter == 1, "The mediator does not call one of it's functions"); mediator.emit!"dec"(); assert(counter == 0, "The mediator does not call one of it's functions"); assert(counter == 0, "Mediator functions are called before any action is performed"); mediator.emit!"inc"(); assert(counter == 1, "The mediator does not call one of it's functions"); mediator.emit!"reset counter"(); assert(counter == 0, "The mediator does not call one of it's functions"); mediator.beforeEach ~= string => false; assert(counter == 0, "The beforeEach hook does not work"); mediator.emit!"inc"(); assert(counter == 0, "The beforeEach hook does not work"); mediator.emit!"dec"(); assert(counter == 0, "The beforeEach hook does not work"); mediator.beforeEach.clear(); mediator.off!"inc"(&increment); mediator.off!"dec"(&decrement); assert(counter == 0, "The mediator called one of it's functions while unregistering them"); mediator.emit!"inc"(); assert(counter == 0, "The mediator did not remove a listener"); mediator.emit!"dec"(); assert(counter == 0, "The mediator did not remove a listener"); }
D
/Programming/servicely/build/servicely.build/Debug-iphonesimulator/servicely.build/Objects-normal/x86_64/AppDelegate.o : /Programming/servicely/servicely/CosmosDistrib.swift /Programming/servicely/servicely/ColorScheme.swift /Programming/servicely/servicely/AppDelegate.swift /Programming/servicely/servicely/CategoriesServiceTableViewCell.swift /Programming/servicely/servicely/ServiceOfferTableViewCell.swift /Programming/servicely/servicely/ServiceOffer.swift /Programming/servicely/servicely/ClientFeedViewController.swift /Programming/servicely/servicely/ChangePasswordViewController.swift /Programming/servicely/servicely/ViewServiceViewController.swift /Programming/servicely/servicely/OurServicesTableViewController.swift /Programming/servicely/servicely/CategoriesTableViewController.swift /Programming/servicely/servicely/SettingsTableViewController.swift /Programming/servicely/servicely/MyRequetsTableViewController.swift /Programming/servicely/servicely/ServicesRequestsTableViewController.swift /Programming/servicely/servicely/ProfileViewController.swift /Programming/servicely/servicely/ProviderProfileViewController.swift /Programming/servicely/servicely/EditProfileViewController.swift /Programming/servicely/servicely/ClientProfileViewController.swift /Programming/servicely/servicely/ChangeColorSchemeViewController.swift /Programming/servicely/servicely/ServiceTypeViewController.swift /Programming/servicely/servicely/ChangeProfilePictureViewController.swift /Programming/servicely/servicely/ServicelyLogoViewController.swift /Programming/servicely/servicely/EditProviderViewController.swift /Programming/servicely/servicely/CreateServiceOfferViewController.swift /Programming/servicely/servicely/SettingsViewController.swift /Programming/servicely/servicely/DeleteAccountViewController.swift /Programming/servicely/servicely/CreateServiceOrRequestViewController.swift /Programming/servicely/servicely/CreateClientRequestViewController.swift /Programming/servicely/servicely/Client.swift /Programming/servicely/servicely/ClientRequest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Photos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Headers/FIRGoogleAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Headers/FirebaseGoogleAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FirebaseAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Headers/FIRFacebookAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Headers/FirebaseFacebookAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthProviderUI.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFURL.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts-umbrella.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDProfileData.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenSource.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTaskCompletionSource.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Programming/servicely/Pods/Firebase/Headers/Firebase.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkResolving.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLink.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignIn.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GoogleSignIn.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationToken.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDAuthentication.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkNavigation.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignInButton.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthUIBaseViewController.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthPickerViewController.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDGoogleUser.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFExecutor.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask+Exceptions.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkTarget.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFMeasurementEvent.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Modules/module.modulemap /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Modules/module.modulemap /Programming/servicely/Pods/Firebase/Headers/module.modulemap /Programming/servicely/build/servicely.build/Debug-iphonesimulator/servicely.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Programming/servicely/servicely/CosmosDistrib.swift /Programming/servicely/servicely/ColorScheme.swift /Programming/servicely/servicely/AppDelegate.swift /Programming/servicely/servicely/CategoriesServiceTableViewCell.swift /Programming/servicely/servicely/ServiceOfferTableViewCell.swift /Programming/servicely/servicely/ServiceOffer.swift /Programming/servicely/servicely/ClientFeedViewController.swift /Programming/servicely/servicely/ChangePasswordViewController.swift /Programming/servicely/servicely/ViewServiceViewController.swift /Programming/servicely/servicely/OurServicesTableViewController.swift /Programming/servicely/servicely/CategoriesTableViewController.swift /Programming/servicely/servicely/SettingsTableViewController.swift /Programming/servicely/servicely/MyRequetsTableViewController.swift /Programming/servicely/servicely/ServicesRequestsTableViewController.swift /Programming/servicely/servicely/ProfileViewController.swift /Programming/servicely/servicely/ProviderProfileViewController.swift /Programming/servicely/servicely/EditProfileViewController.swift /Programming/servicely/servicely/ClientProfileViewController.swift /Programming/servicely/servicely/ChangeColorSchemeViewController.swift /Programming/servicely/servicely/ServiceTypeViewController.swift /Programming/servicely/servicely/ChangeProfilePictureViewController.swift /Programming/servicely/servicely/ServicelyLogoViewController.swift /Programming/servicely/servicely/EditProviderViewController.swift /Programming/servicely/servicely/CreateServiceOfferViewController.swift /Programming/servicely/servicely/SettingsViewController.swift /Programming/servicely/servicely/DeleteAccountViewController.swift /Programming/servicely/servicely/CreateServiceOrRequestViewController.swift /Programming/servicely/servicely/CreateClientRequestViewController.swift /Programming/servicely/servicely/Client.swift /Programming/servicely/servicely/ClientRequest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Photos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Headers/FIRGoogleAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Headers/FirebaseGoogleAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FirebaseAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Headers/FIRFacebookAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Headers/FirebaseFacebookAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthProviderUI.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFURL.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts-umbrella.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDProfileData.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenSource.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTaskCompletionSource.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Programming/servicely/Pods/Firebase/Headers/Firebase.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkResolving.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLink.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignIn.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GoogleSignIn.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationToken.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDAuthentication.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkNavigation.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignInButton.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthUIBaseViewController.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthPickerViewController.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDGoogleUser.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFExecutor.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask+Exceptions.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkTarget.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFMeasurementEvent.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Modules/module.modulemap /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Modules/module.modulemap /Programming/servicely/Pods/Firebase/Headers/module.modulemap /Programming/servicely/build/servicely.build/Debug-iphonesimulator/servicely.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Programming/servicely/servicely/CosmosDistrib.swift /Programming/servicely/servicely/ColorScheme.swift /Programming/servicely/servicely/AppDelegate.swift /Programming/servicely/servicely/CategoriesServiceTableViewCell.swift /Programming/servicely/servicely/ServiceOfferTableViewCell.swift /Programming/servicely/servicely/ServiceOffer.swift /Programming/servicely/servicely/ClientFeedViewController.swift /Programming/servicely/servicely/ChangePasswordViewController.swift /Programming/servicely/servicely/ViewServiceViewController.swift /Programming/servicely/servicely/OurServicesTableViewController.swift /Programming/servicely/servicely/CategoriesTableViewController.swift /Programming/servicely/servicely/SettingsTableViewController.swift /Programming/servicely/servicely/MyRequetsTableViewController.swift /Programming/servicely/servicely/ServicesRequestsTableViewController.swift /Programming/servicely/servicely/ProfileViewController.swift /Programming/servicely/servicely/ProviderProfileViewController.swift /Programming/servicely/servicely/EditProfileViewController.swift /Programming/servicely/servicely/ClientProfileViewController.swift /Programming/servicely/servicely/ChangeColorSchemeViewController.swift /Programming/servicely/servicely/ServiceTypeViewController.swift /Programming/servicely/servicely/ChangeProfilePictureViewController.swift /Programming/servicely/servicely/ServicelyLogoViewController.swift /Programming/servicely/servicely/EditProviderViewController.swift /Programming/servicely/servicely/CreateServiceOfferViewController.swift /Programming/servicely/servicely/SettingsViewController.swift /Programming/servicely/servicely/DeleteAccountViewController.swift /Programming/servicely/servicely/CreateServiceOrRequestViewController.swift /Programming/servicely/servicely/CreateClientRequestViewController.swift /Programming/servicely/servicely/Client.swift /Programming/servicely/servicely/ClientRequest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Photos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Headers/FIRGoogleAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Headers/FirebaseGoogleAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FirebaseAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Headers/FIRFacebookAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Headers/FirebaseFacebookAuthUI.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthProviderUI.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFURL.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts-umbrella.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDProfileData.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenSource.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTaskCompletionSource.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Programming/servicely/Pods/Firebase/Headers/Firebase.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkResolving.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLink.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignIn.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GoogleSignIn.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationToken.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDAuthentication.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkNavigation.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDSignInButton.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthUIBaseViewController.h /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Headers/FIRAuthPickerViewController.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Headers/GIDGoogleUser.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFExecutor.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFTask+Exceptions.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/Bolts.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkTarget.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFMeasurementEvent.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Programming/servicely/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseUI/FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseAuth/Frameworks/frameworks/FirebaseAuth.framework/Modules/module.modulemap /Programming/servicely/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/Modules/module.modulemap /Programming/servicely/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/Bolts/Bolts.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.framework/Modules/module.modulemap /Programming/servicely/build/Debug-iphonesimulator/FBSDKLoginKit/FBSDKLoginKit.framework/Modules/module.modulemap /Programming/servicely/Pods/Firebase/Headers/module.modulemap
D
func void ZS_SittingDuck() { PrintDebugNpc(PD_TA_FRAME,"ZS_SittingDuck"); self.senses = SENSE_SEE | SENSE_HEAR | SENSE_SMELL; AI_SetWalkMode(self,NPC_WALK); AI_GotoWP(self,self.wp); AI_AlignToWP(self); }; func void ZS_SittingDuck_Loop() { PrintDebugNpc(PD_TA_LOOP,"ZS_SittingDuck_Loop"); AI_Wait(self,1); }; func void ZS_SittingDuck_End() { PrintDebugNpc(PD_TA_FRAME,"ZS_SittingDuck_End"); };
D
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/pallets/template/target/rls/debug/deps/fake_simd-a8f3a09a98a7a2af.rmeta: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/fake-simd-0.1.2/src/lib.rs /Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/pallets/template/target/rls/debug/deps/fake_simd-a8f3a09a98a7a2af.d: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/fake-simd-0.1.2/src/lib.rs /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/fake-simd-0.1.2/src/lib.rs:
D
/Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Sequence.o : /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Deprecated.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Cancelable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObserverType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Reactive.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/RecursiveLock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Errors.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/AtomicInt.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Event.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/First.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/Platform.Linux.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Leex/TableView_Test2/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Sequence~partial.swiftmodule : /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Deprecated.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Cancelable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObserverType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Reactive.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/RecursiveLock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Errors.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/AtomicInt.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Event.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/First.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/Platform.Linux.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Leex/TableView_Test2/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Sequence~partial.swiftdoc : /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Deprecated.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Cancelable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObserverType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Reactive.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/RecursiveLock.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Errors.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/AtomicInt.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Event.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/First.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Rx.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/Leex/TableView_Test2/Pods/RxSwift/Platform/Platform.Linux.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Leex/TableView_Test2/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module godot.pckpacker; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.d.bind; import godot.object; import godot.classdb; import godot.reference; @GodotBaseClass struct PCKPacker { static immutable string _GODOT_internal_name = "PCKPacker"; public: union { godot_object _godot_object; Reference base; } alias base this; alias BaseClasses = AliasSeq!(typeof(base), typeof(base).BaseClasses); bool opEquals(in PCKPacker other) const { return _godot_object.ptr is other._godot_object.ptr; } PCKPacker opAssign(T : typeof(null))(T n) { _godot_object.ptr = null; } bool opEquals(typeof(null) n) const { return _godot_object.ptr is null; } mixin baseCasts; static PCKPacker _new() { static godot_class_constructor constructor; if(constructor is null) constructor = godot_get_class_constructor("PCKPacker"); if(constructor is null) return typeof(this).init; return cast(PCKPacker)(constructor()); } package(godot) static GodotMethod!(GodotError, String, int) _GODOT_pck_start; package(godot) alias _GODOT_methodBindInfo(string name : "pck_start") = _GODOT_pck_start; GodotError pck_start(StringArg0)(in StringArg0 pck_name, in int alignment) { _GODOT_pck_start.bind("PCKPacker", "pck_start"); return ptrcall!(GodotError)(_GODOT_pck_start, _godot_object, pck_name, alignment); } package(godot) static GodotMethod!(GodotError, String, String) _GODOT_add_file; package(godot) alias _GODOT_methodBindInfo(string name : "add_file") = _GODOT_add_file; GodotError add_file(StringArg0, StringArg1)(in StringArg0 pck_path, in StringArg1 source_path) { _GODOT_add_file.bind("PCKPacker", "add_file"); return ptrcall!(GodotError)(_GODOT_add_file, _godot_object, pck_path, source_path); } package(godot) static GodotMethod!(GodotError, bool) _GODOT_flush; package(godot) alias _GODOT_methodBindInfo(string name : "flush") = _GODOT_flush; GodotError flush(in bool verbose) { _GODOT_flush.bind("PCKPacker", "flush"); return ptrcall!(GodotError)(_GODOT_flush, _godot_object, verbose); } }
D
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryBuilder/QueryBuilder+Sort.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ID.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Model+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/MigrateCommand.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/RevertCommand.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/SoftDeletable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationConfig.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Join/JoinSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QuerySupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationLog.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Model.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/AnyModel.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/Migration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/AnyMigration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/FluentProvider.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaBuilder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaUpdater.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/FluentError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaCreator.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/Migrations.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/AnyMigrations.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ModelEvent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Pivot.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Cache/CacheEntry.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryBuilder+Sort~partial.swiftmodule : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ID.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Model+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/MigrateCommand.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/RevertCommand.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/SoftDeletable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationConfig.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Join/JoinSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QuerySupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationLog.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Model.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/AnyModel.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/Migration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/AnyMigration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/FluentProvider.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaBuilder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaUpdater.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/FluentError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaCreator.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/Migrations.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/AnyMigrations.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ModelEvent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Pivot.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Cache/CacheEntry.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryBuilder+Sort~partial.swiftdoc : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ID.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Model+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/MigrateCommand.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/RevertCommand.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/SoftDeletable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationConfig.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Join/JoinSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/QuerySupporting.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationLog.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Model.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/AnyModel.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/Migration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/AnyMigration.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/FluentProvider.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaBuilder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaUpdater.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/FluentError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/SchemaCreator.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/Migrations.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/AnyMigrations.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ModelEvent.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/Pivot.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Cache/CacheEntry.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
void main() { import std.stdio, std.string; immutable s = "alphaBETA"; s.toUpper.writeln; s.toLower.writeln; }
D
#source: pr19609-2.s #as: --x32 -mrelax-relocations=yes #ld: -melf32_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000 --no-relax #objdump: -dw .*: +file format .* Disassembly of section .text: 70000000 <_start>: #pass [ ]*[a-f0-9]+: 48 3b 05 ([0-9a-f]{2} ){4} cmp -?0x[a-f0-9]+\(%rip\),%rax # .*
D
<!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/print_pagelayout.tpl (design:print_pagelayout.tpl) --> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da"> <!-- Mirrored from www.sik.dk/layout/set/print/layout/set/print/layout/set/print/layout/set/print/Virksomhed/Produktsikkerhed-for-fagfolk/Farlige-produkter/Arkiv-over-farlige-produkter/Arkiv-2011/SIK-0053311926-Magic-Fantasy by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 30 Oct 2018 14:42:47 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> SIK-0053311926, Magic Fantasy / Arkiv 2011 / Arkiv over farlige produkter / Farlige produkter / Produktsikkerhed for fagfolk / Virksomhed </title> <link rel="stylesheet" type="text/css" href="../../../../../../../../../../../../../../../../../var/plain_site/cache/public/stylesheets/0b62f17e87fc9379e0a0601cb52e5fb1_all.css" /> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl) --> <script type="text/javascript"> var bc_test = true; </script> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl) --> <!--[if lt IE 8]> <style type="text/css" media="print"> @import url("/design/design_2013/stylesheets/ie6-print.css"); </style> <![endif]--> </head> <body onload="window.print();" id="print-layout"> <img src="../../../../../../../../../../../../../../../../../extension/sikkerhedsstyrelsen/design/design_2013/images/Sikkerhedsstyrelsen_logo_230x69_transparent.png" id="main_logo" alt="Logo med link til forsiden" /> <!-- module_result start --> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/override/templates/full/dangerousproduct_node.tpl (design:node/view/full.tpl) --> <!-- dangerousproduct_node --> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl) --> <!-- submenu --> <div class="sub-menu"> <ol class="breadcrumb"> <li> <a href="../../../../../Virksomhed.html">Virksomhed</a> </li> <li> <a href="../../../../Produktsikkerhed-for-fagfolk.html">Produktsikkerhed for fagfolk</a> </li> <li> <a href="../../../Farlige-produkter.html">Farlige produkter</a> </li> <li> <a href="../../Arkiv-over-farlige-produkter.html">Arkiv over farlige produkter</a> </li> <li> <a href="../Arkiv-2011.html">Arkiv 2011</a> </li> <li class="active">SIK-0053311926, Magic Fantasy </li> </ol> <hr> </div> <!-- /submenu --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl) --> <div class="row"> <div class="col-md-3 link-box"> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl) --> <!-- left_menu_linkbox --> <div class="link-box left-menu"> <header> <h5> <a href="../../../../Produktsikkerhed-for-fagfolk.html"> Produktsikkerhed for fagfolk </a> </h5> </header> <div class="body"> <ul> <li > <a href="../../../I-fokus-paa-produktsikkerhed.html"> I fokus </a> </li> <li > <a href="../../../Love-og-regler-for-produktsikkerhed.html"> Love og regler </a> </li> <li class="selected"> <a href="../../../Farlige-produkter.html"> Farlige produkter </a> </li> <li > <a href="../../../Maerkning-af-produkter.html"> Mærkning </a> </li> <li > <a href="../../../Vejledninger-om-produktsikkerhed.html"> Vejledninger til producenter, importører og forhandlere </a> </li> <li > <a href="../../../Markedsovervaagning-af-nye-omraader.html"> Markedsovervågning af nye områder </a> </li> </ul> </div> </div> <!-- /left_menu_linkbox --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl) --> </div> <div class="col-md-6 center-col"> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl) --> <ol class="page-actions"> <li><a href="../../../../../layout/set/print/Virksomhed/Produktsikkerhed-for-fagfolk/Farlige-produkter/Arkiv-over-farlige-produkter/Arkiv/SIK-0053311926-Magic-Fa" title="Print" rel="nofollow" class="print" onclick="window.open(this.href, 'popupwindow', 'width=600,height=800,scrollbars,resizable'); return false;">Print</a></li> <li><a href="#" class="increaseFont font-action" title="Forst&oslash;r tekst st&oslash;rrelse">Zoom ind</a></li> <li><a href="#" class="decreaseFont font-action" title="Formindsk tekst st&oslash;rrelse">Zoom ud</a></li> </ol> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl) --> <!--Content-Begin--> <article> <h1>SIK-0053311926, Magic Fantasy </h1> <summary> </summary> <hr> <table class="table"> <tr> <td class="first_col">Klik på billedet:</td> <td> <a class="lightbox-image" data-gall="dangerous-product-gallery" href="../../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfolk/farlige-produkter/arkiv-over-fa/SIK-0053311926-Magic-Fa"><img src="../../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfolk/farlige-produkter/arkiv-over-fa/SIK-0053311926-Magic-Fa-2" alt="SIK-0053311926, Magic Fantasy " /></a> </td> </tr> <tr> <td colspan="2"> <div class="alert alert-warning"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Der risiko for, at artiklen eksploderer under funktion.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Hvis en artikel eksploderer under funktion er der risiko for forbrugeren kan blive ramt af artiklens effekter, med risiko for øjen- eller brandskade.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> </div> </td> </tr> <tr> <td>Produkttype:</td> <td> <!-- START: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> Batteri <!-- STOP: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> </td> </tr> <tr> <td>Produktnavn:</td> <td> <!-- START: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> SIK-0053311926, Magic Fantasy <!-- STOP: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> </td> </tr> <tr> <td>Anden information:</td> <td> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Artikler som har batch nr. 300514-11 eller artikler som er produceret i 2012 kan sælges.&nbsp;</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>&nbsp;</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Arkiveringsdato: 18. december 2014.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> </td> </tr> <tr> <td>Dato:</td> <td>01. december 2011</td> </tr> </table> </article> <!--Content-End--> </div> <div class="col-md-3"> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl) --> <!-- right_info_linkbox --> <div class="link-box inverted"> <header> <h5>Legetøjsregler.dk</h5> </header> <a href=http://www.xn--legetjsregler-fnb.dk/> <img src="../../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfolk/info/legetoejsregler.dk/300218-/Legetoejsregler.dk_fron" class="img-responsive" alt="Legetøjsregler.dk" /> </a> <div class="body"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Få et samlet overblik over, hvilke regler, du skal være opmærksom på, når du fremstiller, importerer eller distribuerer legetøj i Danmark.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <ul> <li><a class="external" href="http://www.xn--legetjsregler-fnb.dk/">Link til legetøjsregler.dk</a></li> </ul> </div> </div> <div class="link-box inverted"> <header> <h5>Tekstiler til børn</h5> </header> <a href=https://mst.dk/kemi/kemikalier/fokus-paa-saerlige-produkter/tekstiler-til-boern/> <img src="../../../../../../print.html" class="img-responsive" alt="" /> </a> <div class="body"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Få et overblik over reglerne for børnetøj og børneprodukter med tekstil.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <ul> <li><a class="external" href="https://mst.dk/kemi/kemikalier/fokus-paa-saerlige-produkter/tekstiler-til-boern/">Link til Børnetekstilregler.dk</a></li> </ul> </div> </div> <div class="link-box inverted"> <header> <h5>Foldere om produktsikkerhed</h5> </header> <div class="body"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Se vores liste over foldere om produktsikkerhed.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <a class="more" href="../../../../../Global/Publikationer/Foldere.html">Foldere om produktsikkerhed</a> </div> </div> <!-- /right_info_linkbox --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl) --> </div> </div> <!-- /dangerousproduct_node --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/override/templates/full/dangerousproduct_node.tpl (design:node/view/full.tpl) --> <!-- module_result end--> <!-- Start page_footer --> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl) --> <footer class="row"> <hr> <div class="text-center"> Sikkerhedsstyrelsen&nbsp; | &nbsp;Nørregade 63&nbsp; | &nbsp;6700 Esbjerg&nbsp; | &nbsp;Tlf. 33 73 20 00&nbsp;<br> Email: <a href="mailto:sik@sik.dk">sik@sik.dk</a>&nbsp; | &nbsp;Åbningstider: Mandag - torsdag: 8:00 - 15:00 og fredag: 8:00 - 14:00 </div> </footer> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl) --> <!-- End page_footer --> <script type="text/javascript" src="../../../../../../../../../../../../../../../../../var/plain_site/cache/public/javascript/e045e60f25cfbca30bd4aae8cde89fa3.js" charset="utf-8"></script> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl) --> <script type="text/javascript"> /*<![CDATA[*/ (function() { var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; sz.src = 'http://ssl.siteimprove.com/js/siteanalyze_2666.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); })(); /*]]>*/ </script><script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','http://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-6298150-1', 'auto'); ga('send', 'pageview'); </script> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl) --> </body> <!-- Mirrored from www.sik.dk/layout/set/print/layout/set/print/layout/set/print/layout/set/print/Virksomhed/Produktsikkerhed-for-fagfolk/Farlige-produkter/Arkiv-over-farlige-produkter/Arkiv-2011/SIK-0053311926-Magic-Fantasy by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 30 Oct 2018 14:42:47 GMT --> </html> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/print_pagelayout.tpl (design:print_pagelayout.tpl) -->
D
// Copyright Ferdinand Majerech 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) /** * Implements a class that resolves YAML tags. This can be used to implicitly * resolve tags for custom data types, removing the need to explicitly * specify tags in YAML. A tutorial can be found * $(LINK2 ../tutorials/custom_types.html, here). * * Code based on $(LINK2 http://www.pyyaml.org, PyYAML). */ module dyaml.resolver; import std.conv; import std.regex; import std.typecons; import std.utf; import dyaml.node; import dyaml.exception; /** * Resolves YAML tags (data types). * * Can be used to implicitly resolve custom data types of scalar values. */ final class Resolver { private: // Default tag to use for scalars. string defaultScalarTag_; // Default tag to use for sequences. string defaultSequenceTag_; // Default tag to use for mappings. string defaultMappingTag_; /* * Arrays of scalar resolver tuples indexed by starting character of a scalar. * * Each tuple stores regular expression the scalar must match, * and tag to assign to it if it matches. */ Tuple!(string, Regex!char)[][dchar] yamlImplicitResolvers_; public: @disable bool opEquals(ref Resolver); @disable int opCmp(ref Resolver); /** * Construct a Resolver. * * If you don't want to implicitly resolve default YAML tags/data types, * you can use defaultImplicitResolvers to disable default resolvers. * * Params: defaultImplicitResolvers = Use default YAML implicit resolvers? */ this(Flag!"useDefaultImplicitResolvers" defaultImplicitResolvers = Yes.useDefaultImplicitResolvers) @safe { defaultScalarTag_ = "tag:yaml.org,2002:str"; defaultSequenceTag_ = "tag:yaml.org,2002:seq"; defaultMappingTag_ = "tag:yaml.org,2002:map"; if(defaultImplicitResolvers){addImplicitResolvers();} } /** * Add an implicit scalar resolver. * * If a scalar matches regexp and starts with any character in first, * its _tag is set to tag. If it matches more than one resolver _regexp * resolvers added _first override ones added later. Default resolvers * override any user specified resolvers, but they can be disabled in * Resolver constructor. * * If a scalar is not resolved to anything, it is assigned the default * YAML _tag for strings. * * Params: tag = Tag to resolve to. * regexp = Regular expression the scalar must match to have this _tag. * first = String of possible starting characters of the scalar. * */ void addImplicitResolver(string tag, Regex!char regexp, string first) pure @safe { foreach(const dchar c; first) { if((c in yamlImplicitResolvers_) is null) { yamlImplicitResolvers_[c] = []; } yamlImplicitResolvers_[c] ~= tuple(tag, regexp); } } /// Resolve scalars starting with 'A' to !_tag unittest { import std.file : write; import std.regex : regex; import dyaml.loader : Loader; import dyaml.resolver : Resolver; write("example.yaml", "A"); auto loader = Loader.fromFile("example.yaml"); auto resolver = new Resolver(); resolver.addImplicitResolver("!tag", regex("A.*"), "A"); loader.resolver = resolver; //Note that we have no constructor from tag "!tag", so we can't //actually load anything that resolves to this tag. //See Constructor API documentation and tutorial for more information. //auto node = loader.load(); } package: /** * Resolve tag of a node. * * Params: kind = Type of the node. * tag = Explicit tag of the node, if any. * value = Value of the node, if any. * implicit = Should the node be implicitly resolved? * * If the tag is already specified and not non-specific, that tag will * be returned. * * Returns: Resolved tag. */ string resolve(const NodeID kind, const string tag, const string value, const bool implicit) @safe { if((tag !is null) && tag != "!"){return tag;} if(kind == NodeID.scalar) { if(!implicit){return defaultScalarTag_;} //Get the first char of the value. size_t dummy; const dchar first = value.length == 0 ? '\0' : decode(value, dummy); auto resolvers = (first in yamlImplicitResolvers_) is null ? [] : yamlImplicitResolvers_[first]; //If regexp matches, return tag. foreach(resolver; resolvers) if(!(match(value, resolver[1]).empty)) { return resolver[0]; } return defaultScalarTag_; } else if(kind == NodeID.sequence){return defaultSequenceTag_;} else if(kind == NodeID.mapping) {return defaultMappingTag_;} assert(false, "This line of code should never be reached"); } @safe unittest { auto resolver = new Resolver(); bool tagMatch(string tag, string[] values) @safe { const string expected = tag; foreach(value; values) { const string resolved = resolver.resolve(NodeID.scalar, null, value, true); if(expected != resolved) { return false; } } return true; } assert(tagMatch("tag:yaml.org,2002:bool", ["yes", "NO", "True", "on"])); assert(tagMatch("tag:yaml.org,2002:float", ["6.8523015e+5", "685.230_15e+03", "685_230.15", "190:20:30.15", "-.inf", ".NaN"])); assert(tagMatch("tag:yaml.org,2002:int", ["685230", "+685_230", "02472256", "0x_0A_74_AE", "0b1010_0111_0100_1010_1110", "190:20:30"])); assert(tagMatch("tag:yaml.org,2002:merge", ["<<"])); assert(tagMatch("tag:yaml.org,2002:null", ["~", "null", ""])); assert(tagMatch("tag:yaml.org,2002:str", ["abcd", "9a8b", "9.1adsf"])); assert(tagMatch("tag:yaml.org,2002:timestamp", ["2001-12-15T02:59:43.1Z", "2001-12-14t21:59:43.10-05:00", "2001-12-14 21:59:43.10 -5", "2001-12-15 2:59:43.10", "2002-12-14"])); assert(tagMatch("tag:yaml.org,2002:value", ["="])); assert(tagMatch("tag:yaml.org,2002:yaml", ["!", "&", "*"])); } ///Returns: Default scalar tag. @property string defaultScalarTag() const pure @safe nothrow {return defaultScalarTag_;} ///Returns: Default sequence tag. @property string defaultSequenceTag() const pure @safe nothrow {return defaultSequenceTag_;} ///Returns: Default mapping tag. @property string defaultMappingTag() const pure @safe nothrow {return defaultMappingTag_;} private: // Add default implicit resolvers. void addImplicitResolvers() @safe { addImplicitResolver("tag:yaml.org,2002:bool", regex(r"^(?:yes|Yes|YES|no|No|NO|true|True|TRUE" ~ "|false|False|FALSE|on|On|ON|off|Off|OFF)$"), "yYnNtTfFoO"); addImplicitResolver("tag:yaml.org,2002:float", regex(r"^(?:[-+]?([0-9][0-9_]*)\\.[0-9_]*" ~ "(?:[eE][-+][0-9]+)?|[-+]?(?:[0-9][0-9_]" ~ "*)?\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?" ~ "[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]" ~ "*|[-+]?\\.(?:inf|Inf|INF)|\\." ~ "(?:nan|NaN|NAN))$"), "-+0123456789."); addImplicitResolver("tag:yaml.org,2002:int", regex(r"^(?:[-+]?0b[0-1_]+" ~ "|[-+]?0[0-7_]+" ~ "|[-+]?(?:0|[1-9][0-9_]*)" ~ "|[-+]?0x[0-9a-fA-F_]+" ~ "|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)$"), "-+0123456789"); addImplicitResolver("tag:yaml.org,2002:merge", regex(r"^<<$"), "<"); addImplicitResolver("tag:yaml.org,2002:null", regex(r"^$|^(?:~|null|Null|NULL)$"), "~nN\0"); addImplicitResolver("tag:yaml.org,2002:timestamp", regex(r"^[0-9][0-9][0-9][0-9]-[0-9][0-9]-" ~ "[0-9][0-9]|[0-9][0-9][0-9][0-9]-[0-9]" ~ "[0-9]?-[0-9][0-9]?[Tt]|[ \t]+[0-9]" ~ "[0-9]?:[0-9][0-9]:[0-9][0-9]" ~ "(?:\\.[0-9]*)?(?:[ \t]*Z|[-+][0-9]" ~ "[0-9]?(?::[0-9][0-9])?)?$"), "0123456789"); addImplicitResolver("tag:yaml.org,2002:value", regex(r"^=$"), "="); //The following resolver is only for documentation purposes. It cannot work //because plain scalars cannot start with '!', '&', or '*'. addImplicitResolver("tag:yaml.org,2002:yaml", regex(r"^(?:!|&|\*)$"), "!&*"); } }
D
#! blah static assert(__LINE__ == 3); // fails as __LINE__ is 2 import std.stdio; import std.math : signbit, sqrt; /************************************/ static assert(-(1) == -1); static assert(-(6i) == -6i); static assert(-(1 + 6i) == -1 - 6i); static assert(!27 == 0); static assert(!0 == 1); static assert(!6.2 == 0); static assert(!0.0 == 1); static assert(!3.7i == 0); static assert(!0.0i == 1); static assert(!(2+3.7i) == 0); static assert(!(0+3.7i) == 0); static assert(!(2+0.0i) == 0); static assert(!(0+0.0i) == 1); static assert(-6i + 2i == -4i); static assert(6i - 1i == 5i); static assert((3.6 + 7.2i) / (1 + 0i) == 3.6 + 7.2i); static assert((3.6 + 7.2i) / (0.0 + 1i) == 7.2 - 3.6i); static assert((6 % 4) == 2); static assert((6u % 4u) == 2u); static assert((cast(byte)0x109 >> 1) == 4); static assert((cast(byte)-1 >> 1) == -1); static assert((cast(ubyte)0x109 >> 1) == 4); static assert((cast(short)0x10009 >> 1) == 4); static assert((cast(short)-1 >> 1) == -1); static assert((cast(ushort)0x10009 >> 1) == 4); static assert((cast(long)0x1_0000_0000_0009 >> 1) == 0x8000_0000_0004); static assert((cast(long)-1L >> 1) == -1); static assert((cast(ulong)0x10009 >> 1) == 0x8004); static assert((cast(byte)0x109 >>> 1) == 4); static assert((cast(byte)-1 >>> 1) == int.max); static assert((cast(ubyte)0x109 >>> 1) == 4); static assert((cast(short)0x10009 >>> 1) == 4); static assert((cast(short)-1 >>> 1) == int.max); static assert((cast(ushort)0x10009 >>> 1) == 4); static assert((cast(long)0x1_0000_0000_0009 >>> 1) == 0x8000_0000_0004); static assert((cast(long)-1L >>> 1) == long.max); static assert((cast(ulong)0x10009 >>> 1) == 0x8004); static assert((3 ^ 5) == 6); static assert((0 && 0) == 0); static assert((0 && 5) == 0); static assert((10 && 0) == 0); static assert((58 && 10000) == 1); static assert((0.0 && 0.0) == 0); static assert((0.0 && 5.1) == 0); static assert((10.0 && 0.0) == 0); static assert((58.6 && 10000.7) == 1); static assert((0 || 0) == 0); static assert((0 || 5) == 1); static assert((10 || 0) == 1); static assert((58 || 10000) == 1); static assert((0.0 || 0.0) == 0); static assert((0.0 || 5.1) == 1); static assert((10.0 || 0.0) == 1); static assert((58.6 || 10000.7) == 1); static assert((5 < 3) == 0); static assert((5 < 5) == 0); static assert((5 < 6) == 1); static assert((5 <= 3) == 0); static assert((5 <= 5) == 1); static assert((5 <= 6) == 1); static assert((5 > 3) == 1); static assert((5 > 5) == 0); static assert((5 > 6) == 0); static assert((5 >= 3) == 1); static assert((5 >= 5) == 1); static assert((5 >= 6) == 0); static assert((5 <>= 3) == 1); static assert((5 <>= 5) == 1); static assert((5 <>= 6) == 1); static assert((5 <> 3) == 1); static assert((5 <> 5) == 0); static assert((5 <> 6) == 1); static assert((5 !<>= 3) == 0); static assert((5 !<>= 5) == 0); static assert((5 !<>= 6) == 0); static assert((5 !<> 3) == 0); static assert((5 !<> 5) == 1); static assert((5 !<> 6) == 0); static assert((5 !<= 3) == 1); static assert((5 !<= 5) == 0); static assert((5 !<= 6) == 0); static assert((5 !< 3) == 1); static assert((5 !< 5) == 1); static assert((5 !< 6) == 0); static assert((5 !>= 3) == 0); static assert((5 !>= 5) == 0); static assert((5 !>= 6) == 1); static assert((5 !> 3) == 0); static assert((5 !> 5) == 1); static assert((5 !> 6) == 1); static assert((-5 < -3) == 1); static assert((-5 < -5) == 0); static assert((-5 < -6) == 0); static assert((-5 <= -3) == 1); static assert((-5 <= -5) == 1); static assert((-5 <= -6) == 0); static assert((-5 > -3) == 0); static assert((-5 > -5) == 0); static assert((-5 > -6) == 1); static assert((-5 >= -3) == 0); static assert((-5 >= -5) == 1); static assert((-5 >= -6) == 1); static assert((-5 <>= -3) == 1); static assert((-5 <>= -5) == 1); static assert((-5 <>= -6) == 1); static assert((-5 <> -3) == 1); static assert((-5 <> -5) == 0); static assert((-5 <> -6) == 1); static assert((-5 !<>= -3) == 0); static assert((-5 !<>= -5) == 0); static assert((-5 !<>= -6) == 0); static assert((-5 !<> -3) == 0); static assert((-5 !<> -5) == 1); static assert((-5 !<> -6) == 0); static assert((-5 !<= -3) == 0); static assert((-5 !<= -5) == 0); static assert((-5 !<= -6) == 1); static assert((-5 !< -3) == 0); static assert((-5 !< -5) == 1); static assert((-5 !< -6) == 1); static assert((-5 !>= -3) == 1); static assert((-5 !>= -5) == 0); static assert((-5 !>= -6) == 0); static assert((-5 !> -3) == 1); static assert((-5 !> -5) == 1); static assert((-5 !> -6) == 0); static assert((5u < 3u) == 0); static assert((5u < 5u) == 0); static assert((5u < 6u) == 1); static assert((5u <= 3u) == 0); static assert((5u <= 5u) == 1); static assert((5u <= 6u) == 1); static assert((5u > 3u) == 1); static assert((5u > 5u) == 0); static assert((5u > 6u) == 0); static assert((5u >= 3u) == 1); static assert((5u >= 5u) == 1); static assert((5u >= 6u) == 0); static assert((5u <>= 3u) == 1); static assert((5u <>= 5u) == 1); static assert((5u <>= 6u) == 1); static assert((5u <> 3u) == 1); static assert((5u <> 5u) == 0); static assert((5u <> 6u) == 1); static assert((5u !<>= 3u) == 0); static assert((5u !<>= 5u) == 0); static assert((5u !<>= 6u) == 0); static assert((5u !<> 3u) == 0); static assert((5u !<> 5u) == 1); static assert((5u !<> 6u) == 0); static assert((5u !<= 3u) == 1); static assert((5u !<= 5u) == 0); static assert((5u !<= 6u) == 0); static assert((5u !< 3u) == 1); static assert((5u !< 5u) == 1); static assert((5u !< 6u) == 0); static assert((5u !>= 3u) == 0); static assert((5u !>= 5u) == 0); static assert((5u !>= 6u) == 1); static assert((5u !> 3u) == 0); static assert((5u !> 5u) == 1); static assert((5u !> 6u) == 1); static assert((-5u < 3) == 0); static assert((-5u <= 3) == 0); static assert((-5u > 3) == 1); static assert((-5u >= 3) == 1); static assert((-5u <>= 3) == 1); static assert((-5u <> 3) == 1); static assert((-5u !<>= 3) == 0); static assert((-5u !<> 3) == 0); static assert((-5u !<= 3) == 1); static assert((-5u !< 3) == 1); static assert((-5u !>= 3) == 0); static assert((-5u !> 3) == 0); static assert((-5 < 3u) == 0); static assert((-5 <= 3u) == 0); static assert((-5 > 3u) == 1); static assert((-5 >= 3u) == 1); static assert((-5 <>= 3u) == 1); static assert((-5 <> 3u) == 1); static assert((-5 !<>= 3u) == 0); static assert((-5 !<> 3u) == 0); static assert((-5 !<= 3u) == 1); static assert((-5 !< 3u) == 1); static assert((-5 !>= 3u) == 0); static assert((-5 !> 3u) == 0); static assert((5.2 < double.nan) == 0); static assert((5.2 <= double.nan) == 0); static assert((5.2 > double.nan) == 0); static assert((5.2 >= double.nan) == 0); static assert((5.2 <>= double.nan) == 0); static assert((5.2 <> double.nan) == 0); static assert((5.2 !<>= double.nan) == 1); static assert((5.2 !<> double.nan) == 1); static assert((5.2 !<= double.nan) == 1); static assert((5.2 !< double.nan) == 1); static assert((5.2 !>= double.nan) == 1); static assert((5.2 !> double.nan) == 1); static assert((double.nan < 6.2) == 0); static assert((double.nan <= 6.2) == 0); static assert((double.nan > 6.2) == 0); static assert((double.nan >= 6.2) == 0); static assert((double.nan <>= 6.2) == 0); static assert((double.nan <> 6.2) == 0); static assert((double.nan !<>= 6.2) == 1); static assert((double.nan !<> 6.2) == 1); static assert((double.nan !<= 6.2) == 1); static assert((double.nan !< 6.2) == 1); static assert((double.nan !>= 6.2) == 1); static assert((double.nan !> 6.2) == 1); static assert((double.nan < double.nan) == 0); static assert((double.nan <= double.nan) == 0); static assert((double.nan > double.nan) == 0); static assert((double.nan >= double.nan) == 0); static assert((double.nan <>= double.nan) == 0); static assert((double.nan <> double.nan) == 0); static assert((double.nan !<>= double.nan) == 1); static assert((double.nan !<> double.nan) == 1); static assert((double.nan !<= double.nan) == 1); static assert((double.nan !< double.nan) == 1); static assert((double.nan !>= double.nan) == 1); static assert((double.nan !> double.nan) == 1); static assert((5.2 < 6.2) == 1); static assert((5.2 <= 6.2) == 1); static assert((5.2 > 6.2) == 0); static assert((5.2 >= 6.2) == 0); static assert((5.2 <>= 6.2) == 1); static assert((5.2 <> 6.2) == 1); static assert((5.2 !<>= 6.2) == 0); static assert((5.2 !<> 6.2) == 0); static assert((5.2 !<= 6.2) == 0); static assert((5.2 !< 6.2) == 0); static assert((5.2 !>= 6.2) == 1); static assert((5.2 !> 6.2) == 1); static assert((5.2 < 5.2) == 0); static assert((5.2 <= 5.2) == 1); static assert((5.2 > 5.2) == 0); static assert((5.2 >= 5.2) == 1); static assert((5.2 <>= 5.2) == 1); static assert((5.2 <> 5.2) == 0); static assert((5.2 !<>= 5.2) == 0); static assert((5.2 !<> 5.2) == 1); static assert((5.2 !<= 5.2) == 0); static assert((5.2 !< 5.2) == 1); static assert((5.2 !>= 5.2) == 0); static assert((5.2 !> 5.2) == 1); static assert((7.2 < 6.2) == 0); static assert((7.2 <= 6.2) == 0); static assert((7.2 > 6.2) == 1); static assert((7.2 >= 6.2) == 1); static assert((7.2 <>= 6.2) == 1); static assert((7.2 <> 6.2) == 1); static assert((7.2 !<>= 6.2) == 0); static assert((7.2 !<> 6.2) == 0); static assert((7.2 !<= 6.2) == 1); static assert((7.2 !< 6.2) == 1); static assert((7.2 !>= 6.2) == 0); static assert((7.2 !> 6.2) == 0); static assert((7.2i < 6.2i) == 0); static assert((7.2i == 6.2i) == 0); static assert((7.2i != 6.2i) == 1); static assert((7.2 == 6.2) == 0); static assert((7.2 != 6.2) == 1); static assert((7.2i == 7.2i) == 1); static assert((7.2i != 7.2i) == 0); static assert((7.2 == 7.2) == 1); static assert((7.2 != 7.2) == 0); static assert((7.2 == double.nan) == 0); static assert((7.2 != double.nan) == 1); static assert((double.nan == double.nan) == 0); static assert((double.nan != double.nan) == 1); static assert((double.nan == 7.2) == 0); static assert((double.nan != 7.2) == 1); static assert((5 is 5) == 1); static assert((5 is 4) == 0); static assert((5 !is 5) == 0); static assert((5 !is 4) == 1); static assert((5.1 is 5.1) == 1); static assert((5.1 is 4.1) == 0); static assert((5.1 !is 5.1) == 0); static assert((5.1 !is 4.1) == 1); static assert((5.1 is 5.1i) == 0); static assert((5.1 !is 5.1i) == 1); static assert((5 ? 2 : 3) == 2); static assert((0 ? 2 : 3) == 3); static assert((5.0 ? 2 : 3) == 2); static assert((0.0 ? 2 : 3) == 3); static assert("abc" == "abc"); //static assert("abc"w.sizeof == 6); //static assert("\U00010000bc"w.sizeof == 8); static assert([1,2,3][1] == 2); static assert([1,2,3] ~ [4] == [1,2,3,4]); static assert([1,2,3][1..3] == [2,3]); static assert(['a','b','c','d'] == "abcd"); static assert("efgh" == ['e','f','g','h']); static assert("efgi" != ['e','f','g','h']); static assert((2 ^^ 8) == 256); static assert((3 ^^ 8.0) == 6561); static assert((4.0 ^^ 8) == 65536); static assert((5.0 ^^ 8.0) == 390625); static assert((0.5 ^^ 3) == 0.125); static assert((1.5 ^^ 3.0) == 3.375); static assert((2.5 ^^ 3) == 15.625); static assert((3.5 ^^ 3.0) == 42.875); static assert(((-2) ^^ -5.0) == -0.031250); static assert(((-2.0) ^^ -6) == 0.015625); static assert(((-2.0) ^^ -7.0) == -0.0078125); static assert((144 ^^ 0.5) == 12); static assert((1089 ^^ 0.5) == 33); static assert((1764 ^^ 0.5) == 42); static assert((650.25 ^^ 0.5) == 25.5); void test1() { int x; int y; int* p; p = &x + cast(size_t)&y; p = &x + 2; p = 4 + &y; p = &x - 1; assert((&x is &x) == 1); assert((&x is &y) == 0); assert((&x !is &x) == 0); assert((&x !is &y) == 1); } /************************************/ void test2() { float f = float.infinity; int i = cast(int) f; writeln(i); writeln(cast(int)float.max); assert(i == cast(int)float.max); assert(i == 0x80000000); } /************************************/ void test3() { real n = -0.0; const real m = -0.0; creal c = -0.0 + 3i; creal d = n + 3i; creal e = m + 3i; // should print "11111" writeln(signbit(n), signbit(m), signbit(c.re), signbit(d.re), signbit(e.re)); assert(signbit(n) == 1); assert(signbit(m) == 1); assert(signbit(c.re) == 1); assert(signbit(d.re) == 1); assert(signbit(e.re) == 1); } /************************************/ struct A4 { char [] a; } struct B4 { long x; } struct C4 { int a; static C4 opCall(int b) { C4 q; q.a=b; return q; } } static assert(!is(typeof( (){ A4 s; B4 q = s; }))); static assert(!is(typeof( (){ B4 x =1L; }))); static assert(is(typeof( (){ C4 g = 7; }))); static assert(is(typeof( (){ C4 g = 7; C4 h = g;}))); /************************************/ alias uint DWORD; MY_API_FUNCTION lpStartAddress; extern (Windows) alias DWORD function(void*) MY_API_FUNCTION; pragma(msg, MY_API_FUNCTION.stringof); static assert(MY_API_FUNCTION.stringof == "extern (Windows) uint function(void*)"); /************************************/ enum bug6 = cast(void*)0xFEFEFEFE; static assert(bug6 is bug6); /************************************/ struct S7{ double z; } int bug7(int x) { return x; } S7 s7; double e7 = 4; const double d7 = 4; static assert(!is(typeof(bug7(cast(long)e7)))); static assert(!is(typeof(bug7(cast(long)s7)))); static assert(!is(typeof(bug7(cast(long)3.256679e30)))); static assert(is(typeof(bug7(cast(long)d7)))); static assert(is(typeof(bug7(cast(long)3.256679e4)))); /************************************/ class C8 { int x; } alias C8.x F8; static assert(is(typeof(F8) == int)); static assert(is(typeof(C8.x) == int)); /************************************/ int foo9() { int u = cast(int)(0x1_0000_0000L); while (u) { if (u) { assert(u!=0); } assert(u!=0); } return 2; } static assert(foo9()==2); /************************************/ // Bugzilla 6077 void test6077() { static string scat(string s1, string s2) { return s1 ~ s2; } static string scatass(string s1, string s2) { s1 ~= s2; return s1; } static string[] arycats(string[] ary, string s) { return ary ~ s; } static string[] scatary(string s, string[] ary) { return s ~ ary; } static string[] arycatasss(string[] ary, string s) { ary ~= s; return ary; } static assert(scat(null, null) is null); static assert(scatass(null, null) is null); static assert(arycats(null, null) == cast(string[])[null]); static assert(scatary(null, null) == cast(string[])[null]); static assert(arycatasss(null, null) == cast(string[])[null]); } /************************************/ int test4() { int i; dchar d; d >>= 1; d >>>= 1; d <<= 1; d = d >> 1; d = d >>> 1; d = d << 1; wchar w; w >>= 1; w >>>= 1; w <<= 1; w = w >> 1; w = w >>> 1; i = w << 1; // promoted to int char c; c >>= 1; c >>>= 1; c <<= 1; c = c >> 1; c = c >>> 1; i = c << 1; // promoted to int return d + w + c + i; } static assert(test4() == 24666); /************************************/ // 8400 void test8400() { immutable a = [1,2]; int[a.length+0] b; // ok int[a.length ] c; // error } /************************************/ // 8939 void foo8939(T)(ref T) { } // same for `auto ref` void bar8939(ref const int) { } void bar8939(ref const S8939) { } static struct S8939 { int n; } const gn8939 = 1; // or `immutable` const gs8939 = S8939(3); static assert(__traits(compiles, foo8939(gn8939), bar8939(gn8939))); static assert(__traits(compiles, foo8939(gs8939), bar8939(gs8939))); void test8939() { foo8939(gn8939), bar8939(gn8939); foo8939(gs8939), bar8939(gs8939); const ln8939 = 1; const ls8939 = S8939(3); foo8939(ln8939), bar8939(ln8939); foo8939(ls8939), bar8939(ls8939); } class C8939regression { const int n1 = 0; const int n2 = 0; const int n3 = 0; const int n4 = 1; int refValue(V)(ref V var) { return 0; } void foo() { string[2] str; refValue(str[n1]); int[] da; refValue(da[n2]); int n; int* p = &n; refValue(*cast(int*)(p + n3)); refValue([1,2,n4].ptr[0]); } } /************************************/ // 9058 template TypeTuple9058(TL...) { alias TypeTuple9058 = TL; } template EnumMembers9058(T) { alias EnumMembers9058 = TypeTuple9058!(Foo9058.A, Foo9058.B); } enum Foo9058 { A, B } size_t bar9058(size_t n) { return 0; } void test9058() { Foo9058 x = [EnumMembers9058!Foo9058][bar9058($)]; } /************************************/ // 11159 void test11159() { import std.math : pow; enum ulong e_2_pow_64 = 2uL^^64, e_10_pow_19 = 10uL^^19, e_10_pow_20 = 10uL^^20; assert(e_2_pow_64 == pow(2uL, 64)); assert(e_10_pow_19 == pow(10uL, 19)); assert(e_10_pow_20 == pow(10uL, 20)); } /************************************/ // 12306 void test12306() { struct Point3D { ubyte x, y, z; } enum Point3D pt1 = {x:1, y:1, z:1}; const Point3D pt2 = {x:1, y:1, z:1}; immutable Point3D pt3 = {x:1, y:1, z:1}; int[pt1.z][pt1.y][pt1.x] a1; int[pt2.z][pt2.y][pt2.x] a2; int[pt3.z][pt3.y][pt3.x] a3; ubyte a = 1; const Point3D ptx = {x:a, y:1, z:1}; static assert(!__traits(compiles, { int[ptx.z][ptx.y][ptx.x] ax; })); } /************************************/ // 13977 void test13977() { bool cond(bool b) { return b; } int x = 0; void check(int n = 1) { x = n; } cond(true) && check(); assert(x == 1); x = 0; cond(false) && check(); assert(x == 0); x = 0; true && check(); assert(x == 1); x = 0; false && check(); assert(x == 0); x = 0; (int[]).init && check(); assert(x == 0); x = 0; Object.init && check(); assert(x == 0); (check(2), false) && check(); assert(x == 2); x = 0; } /************************************/ // 13978 void test13978() { bool cond(bool b) { return b; } int x = 0; void check(int n = 1) { x = n; } cond(true) || check(); assert(x == 0); x = 0; cond(false) || check(); assert(x == 1); x = 0; true || check(); assert(x == 0); x = 0; false || check(); assert(x == 1); x = 0; (int[]).init || check(); assert(x == 1); x = 0; Object.init || check(); assert(x == 1); x = 0; (check(2), true) || check(); assert(x == 2); x = 0; } /************************************/ int main() { test1(); test2(); test3(); test6077(); test8400(); test8939(); test9058(); test11159(); test13977(); test13978(); printf("Success\n"); return 0; }
D
import std.stdio : writefln; import cl = dcltk; import derelict.opencl.cl : cl_event; void main() { auto platformId = cl.loadOpenCl(); writefln("loaded: %s %s %s(%s) %s [%s]", cl.getPlatformProfile(platformId), cl.getPlatformName(platformId), cl.getPlatformVersion(platformId), cl.getPlatformCLVersion(platformId), cl.getPlatformVendor(platformId), cl.getPlatformExtensions(platformId)); auto deviceIds = cl.getAllDeviceIds(platformId); writefln("devices:"); foreach(i, d; deviceIds) { writefln("%d: %s %s gmem: %d, lmem: %d, cu: %d, w: %d, dim: %d %s", i, cl.getDeviceName(d), cl.getDeviceVersion(d), cl.getDeviceGlobalMemorySize(d), cl.getDeviceLocalMemorySize(d), cl.getDeviceMaxComputeUnits(d), cl.getDeviceMaxWorkGroupSize(d), cl.getDeviceMaxWorkItemDimensions(d), cl.getDeviceMaxWorkItemSizes(d)); } auto context = cl.createDefaultContext(platformId); scope(exit) cl.releaseContext(context); auto device = deviceIds[0]; auto commandQueue = cl.createCommandQueue(context, device); scope(exit) cl.releaseCommandQueue(commandQueue); auto data = [100.0f]; auto buffer = cl.createBuffer(context, data); scope(exit) cl.releaseBuffer(buffer); auto writeBuffer = cl.createHostReadOnlyBuffer(context, 100); scope(exit) cl.releaseBuffer(writeBuffer); auto readBuffer = cl.createHostWriteOnlyBuffer(context, data); scope(exit) cl.releaseBuffer(readBuffer); cl.enqueueWriteBuffer(commandQueue, buffer, 0, [200.0f]); cl_event event; cl.enqueueReadBuffer(commandQueue, buffer, 0, data, event); cl.waitAndReleaseEvents(event); assert(data[0] == 200.0f); cl.enqueueWriteBuffer(commandQueue, buffer, 0, [300.0f], event); cl.waitAndReleaseEvents(event); cl.enqueueReadBuffer(commandQueue, buffer, 0, data, event); cl.waitAndReleaseEvents(event); assert(data[0] == 300.0f); auto program = cl.createProgramWithSource(context, ` __kernel void k(float value) { printf("value:%g\n", value); } `); scope(exit) cl.releaseProgram(program); cl.buildProgram(program, deviceIds); auto kernel = cl.createKernel(program, "k"); scope(exit) cl.releaseKernel(kernel); cl.setKernelArg(kernel, 0, 100.0f); cl.enqueueKernel(commandQueue, kernel, [1], [1], event); cl.waitAndReleaseEvents(event); cl.flushCommandQueue(commandQueue); cl.finishCommandQueue(commandQueue); }
D
module org.eclipse.swt.internal.mozilla.nsICategoryManager; import java.lang.all; import org.eclipse.swt.internal.mozilla.Common; import org.eclipse.swt.internal.mozilla.nsID; import org.eclipse.swt.internal.mozilla.nsISupports; import org.eclipse.swt.internal.mozilla.nsISimpleEnumerator; const char[] NS_ICATEGORYMANAGER_IID_STR = "3275b2cd-af6d-429a-80d7-f0c5120342ac"; const nsIID NS_ICATEGORYMANAGER_IID= {0x3275b2cd, 0xaf6d, 0x429a, [ 0x80, 0xd7, 0xf0, 0xc5, 0x12, 0x03, 0x42, 0xac ]}; interface nsICategoryManager : nsISupports { static const char[] IID_STR = NS_ICATEGORYMANAGER_IID_STR; static const nsIID IID = NS_ICATEGORYMANAGER_IID; extern(System): nsresult GetCategoryEntry(in char *aCategory, in char *aEntry, char **_retval); nsresult AddCategoryEntry(in char *aCategory, in char *aEntry, in char *aValue, PRBool aPersist, PRBool aReplace, char **_retval); nsresult DeleteCategoryEntry(in char *aCategory, in char *aEntry, PRBool aPersist); nsresult DeleteCategory(in char *aCategory); nsresult EnumerateCategory(in char *aCategory, nsISimpleEnumerator *_retval); nsresult EnumerateCategories(nsISimpleEnumerator *_retval); }
D
/Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/Objects-normal/x86_64/NFXGenericBodyDetailsController.o : /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListCell_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXInfoController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXStatisticsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXSettingsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXDetailsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXHelper_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFX.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModel.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXProtocol.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAuthenticationChallengeSender.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModelManager.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXInfoController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXStatisticsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXSettingsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXImageBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXRawBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXListController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXURLDetailsControllerViewController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXWindowController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHelper.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAssets.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXConstants.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/sergiysobol/Projects/MovieDatabase/Pods/Target\ Support\ Files/netfox/netfox-umbrella.h /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXLoader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MessageUI.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/Objects-normal/x86_64/NFXGenericBodyDetailsController~partial.swiftmodule : /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListCell_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXInfoController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXStatisticsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXSettingsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXDetailsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXHelper_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFX.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModel.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXProtocol.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAuthenticationChallengeSender.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModelManager.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXInfoController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXStatisticsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXSettingsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXImageBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXRawBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXListController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXURLDetailsControllerViewController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXWindowController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHelper.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAssets.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXConstants.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/sergiysobol/Projects/MovieDatabase/Pods/Target\ Support\ Files/netfox/netfox-umbrella.h /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXLoader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MessageUI.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/Objects-normal/x86_64/NFXGenericBodyDetailsController~partial.swiftdoc : /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListCell_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXInfoController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXStatisticsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXSettingsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXDetailsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXHelper_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFX.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModel.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXProtocol.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAuthenticationChallengeSender.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModelManager.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXInfoController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXStatisticsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXSettingsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXImageBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXRawBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXListController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXURLDetailsControllerViewController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXWindowController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHelper.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAssets.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXConstants.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/sergiysobol/Projects/MovieDatabase/Pods/Target\ Support\ Files/netfox/netfox-umbrella.h /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXLoader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MessageUI.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/Objects-normal/x86_64/NFXGenericBodyDetailsController~partial.swiftsourceinfo : /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListCell_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXInfoController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXStatisticsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXSettingsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXDetailsController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListController_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXHelper_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFX.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModel.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXProtocol.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAuthenticationChallengeSender.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHTTPModelManager.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXInfoController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXStatisticsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXSettingsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXGenericBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXImageBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXRawBodyDetailsController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXListController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXURLDetailsControllerViewController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXWindowController.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXHelper.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXAssets.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXConstants.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/sergiysobol/Projects/MovieDatabase/Pods/Target\ Support\ Files/netfox/netfox-umbrella.h /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/Core/NFXLoader.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MessageUI.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
INSTANCE Info_Mod_Sentenza_Hi (C_INFO) { npc = Mod_796_SLD_Sentenza_MT; nr = 1; condition = Info_Mod_Sentenza_Hi_Condition; information = Info_Mod_Sentenza_Hi_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sentenza_Hi_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Kagan_Isidro)) && (Npc_HasItems(hero, ItMi_Addon_Joint_01) >= 6) && (Npc_HasItems(hero, ItMi_Addon_Joint_02) >= 6) && (Npc_HasItems(hero, ItMi_Traumruf) >= 6) { return 1; }; }; FUNC VOID Info_Mod_Sentenza_Hi_Info() { AI_Output(self, hero, "Info_Mod_Sentenza_Hi_09_00"); //Ich habe gehört, dass du einige Sumpfkrautstängel von Baal Kagan bekommen hast. Lass mal sehen. AI_Output(self, hero, "Info_Mod_Sentenza_Hi_09_01"); //(zu sich selbst) Ahh, 10 Stängel. Npc_RemoveInvItems (hero, ItMi_Addon_Joint_01, 5); Npc_RemoveInvItems (hero, ItMi_Addon_Joint_02, 4); Npc_RemoveInvItems (hero, ItMi_Traumruf, 1); B_ShowGivenThings ("10 Stängel Sumpfkraut gegeben"); AI_Output(self, hero, "Info_Mod_Sentenza_Hi_09_02"); //(Zu dem Helden) Ok, du kannst jetzt weitermachen. }; INSTANCE Info_Mod_Sentenza_Killer (C_INFO) { npc = Mod_796_SLD_Sentenza_MT; nr = 1; condition = Info_Mod_Sentenza_Killer_Condition; information = Info_Mod_Sentenza_Killer_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sentenza_Killer_Condition() { if (Mod_SLD_Spy == 4) { return 1; }; }; FUNC VOID Info_Mod_Sentenza_Killer_Info() { AI_Output(self, hero, "Info_Mod_Sentenza_Killer_09_00"); //Du brauchst nichts zu sagen, ich weiß bereits, worum es geht. Weißt du, vielleicht können wir den Angriff noch abwenden. AI_Output(self, hero, "Info_Mod_Sentenza_Killer_09_01"); //Du brauchst nur dieses blutige Schwert und dieses Schreiben zu nehmen und beides in Cutters Truhe zu schmuggeln und Gerüchte über ihn zu verbreiten, damit seine Truhe auch auf jeden Fall inspiziert wird. AI_Output(hero, self, "Info_Mod_Sentenza_Killer_15_02"); //Ich hatte gar nicht erwähnt, dass Cutter der Zeuge ... du hast den Mord verübt. AI_Output(self, hero, "Info_Mod_Sentenza_Killer_09_03"); //Na und wenn schon. AI_Output(self, hero, "Info_Mod_Sentenza_Killer_09_04"); //Wenn du dicht hältst, Lee kein Sterbenswörtchen von der ganzen Sache erzählst und schön deine Aufgabe erledigst, kommt keiner zu Schaden und für dich springt dabei auch was raus. Also? Info_ClearChoices (Info_Mod_Sentenza_Killer); Info_AddChoice (Info_Mod_Sentenza_Killer, "Nein, für solche dreckigen Spielchen lasse ich mich nicht einspannen.", Info_Mod_Sentenza_Killer_B); Info_AddChoice (Info_Mod_Sentenza_Killer, "Ok, ich mach’s.", Info_Mod_Sentenza_Killer_A); }; FUNC VOID Info_Mod_Sentenza_Killer_B() { AI_Output(hero, self, "Info_Mod_Sentenza_Killer_B_15_00"); //Nein, für solche dreckigen Spielchen lasse ich mich nicht einspannen. AI_Output(self, hero, "Info_Mod_Sentenza_Killer_B_09_01"); //Na schön. Aber das wirst du noch bereuen. Mod_SLD_Spy = 1; Info_ClearChoices (Info_Mod_Sentenza_Killer); }; FUNC VOID Info_Mod_Sentenza_Killer_A() { AI_Output(hero, self, "Info_Mod_Sentenza_Killer_A_15_00"); //Ok, ich mach’s. AI_Output(self, hero, "Info_Mod_Sentenza_Killer_A_09_01"); //Gut. Du weißt, was du zu tun hast. CreateInvItems (hero, ItMw_BloodySword, 1); CreateInvItems (hero, ItWr_SentenzaForCutter, 1); B_ShowGivenThings ("Blutiges Schwert und Zettel erhalten"); Mod_SLD_Spy = 5; B_LogEntry (TOPIC_MOD_SLD_SPY, "Ich habe von Sentenza ein blutiges Schwert erhalten und ein Schreiben, welche ich in Cutters Truhe schmuggeln soll. Danach muss ich unter den Schatten nur noch das Gerücht verbreiten, Cutter hätte selbst etwas mit Bullit’s Ableben zu tun."); Info_ClearChoices (Info_Mod_Sentenza_Killer); }; INSTANCE Info_Mod_Sentenza_Cutter (C_INFO) { npc = Mod_796_SLD_Sentenza_MT; nr = 1; condition = Info_Mod_Sentenza_Cutter_Condition; information = Info_Mod_Sentenza_Cutter_Info; permanent = 0; important = 0; description = "Ich habe alles getan, wie du mir aufgetragen hast."; }; FUNC INT Info_Mod_Sentenza_Cutter_Condition() { if (Mod_SLD_Spy == 6) { return 1; }; }; FUNC VOID Info_Mod_Sentenza_Cutter_Info() { AI_Output(hero, self, "Info_Mod_Sentenza_Cutter_15_00"); //Ich habe alles getan, wie du mir aufgetragen hast. AI_Output(self, hero, "Info_Mod_Sentenza_Cutter_09_01"); //Sehr gut. Das wird einigen Ärger ersparen. Hier, nimm das Gold als Belohnung. B_ShowGivenThings ("400 Gold und 12 Erz erhalten"); CreateInvItems (hero, ItMi_Gold, 400); CreateInvItems (hero, ItMi_Nugget, 12); Mod_SLD_Spy = 8; AI_Output(self, hero, "Info_Mod_Sentenza_Cutter_09_02"); //Deiner Aufnahme in die Reihen der Orkjäger bist du damit ein ganzes Stücke näher gekommen. Weiter so. B_GivePlayerXP (600); B_SetTopicStatus (TOPIC_MOD_SLD_SPY, LOG_SUCCESS); }; INSTANCE Info_Mod_Sentenza_Bruce (C_INFO) { npc = Mod_796_SLD_Sentenza_MT; nr = 1; condition = Info_Mod_Sentenza_Bruce_Condition; information = Info_Mod_Sentenza_Bruce_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sentenza_Bruce_Condition() { if (Mod_NL_BruceTot == 1) { return 1; }; }; FUNC VOID Info_Mod_Sentenza_Bruce_Info() { AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_00"); //Hey, du bist doch ein fitter Bursche, oder? Ja, das bist du. Viel herumgekommen und kampferfahren. AI_Output(hero, self, "Info_Mod_Sentenza_Bruce_15_01"); //Worum geht es? AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_02"); //Nun, vor einiger Zeit war ich vor dem Lager Viecher jagen. Da ist mir einer dieser Bluthunde begegnet. AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_03"); //Ich bin sofort mit dem Schwert auf das Vieh los, und habe es ihm in den Körper gerammt. AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_04"); //Leider hat das Dreckvieh sich dabei ruckartig weggedreht und ist mit samt meinem Schwert im Körper weggelaufen. AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_05"); //Es hat den Weg vor unserem Lager nach oben genommen, hat sich wahrscheinlich in seiner Höhle verkrochen. AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_06"); //Nun war dieses Schwert aber ein Familienerbstück, habe seit meiner Jugend nur damit gekämpft. AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_07"); //Ich möchte es unbedingt wiederhaben. AI_Output(hero, self, "Info_Mod_Sentenza_Bruce_15_08"); //Und ich soll es dir beschaffen. AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_09"); //Ja, genau. Ich würde dafür auch einen fetten Batzen Erz springen lassen ... das ist mir die Klinge allemal Wert. AI_Output(hero, self, "Info_Mod_Sentenza_Bruce_15_10"); //Ok, mal schauen was sich machen lässt. AI_Output(self, hero, "Info_Mod_Sentenza_Bruce_09_11"); //Großartig! Ich zähl auf dich. Log_CreateTopic (TOPIC_MOD_NL_SENTENZAKLINGE, LOG_MISSION); B_SetTopicStatus (TOPIC_MOD_NL_SENTENZAKLINGE, LOG_RUNNING); B_LogEntry (TOPIC_MOD_NL_SENTENZAKLINGE, "Sentenza hat mir davon berichtet, dass er bei einem Kampf sein geliebtes Schwert in einen Bluthund bohrte und das Vieh mitsamt seinem Schwert davon lief. Es soll den Weg vor dem Lager nach oben genommen haben und sitzt dort wahrscheinlich in einer Höhle. Er versprach mir eine große Belohnung, wenn ich ihm die Waffe wiederbesorge, da er sehr an ihr zu hängen scheint."); Wld_InsertNpc (Mod_7641_BUD_Buddler_MT, "OC1"); B_KillNpc (Mod_7641_BUD_Buddler_MT); }; INSTANCE Info_Mod_Sentenza_Pickpocket (C_INFO) { npc = Mod_796_SLD_Sentenza_MT; nr = 1; condition = Info_Mod_Sentenza_Pickpocket_Condition; information = Info_Mod_Sentenza_Pickpocket_Info; permanent = 1; important = 0; description = Pickpocket_90; }; FUNC INT Info_Mod_Sentenza_Pickpocket_Condition() { C_Beklauen (79, ItMi_Gold, 440); }; FUNC VOID Info_Mod_Sentenza_Pickpocket_Info() { Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); Info_AddChoice (Info_Mod_Sentenza_Pickpocket, DIALOG_BACK, Info_Mod_Sentenza_Pickpocket_BACK); Info_AddChoice (Info_Mod_Sentenza_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_Sentenza_Pickpocket_DoIt); }; FUNC VOID Info_Mod_Sentenza_Pickpocket_BACK() { Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); }; FUNC VOID Info_Mod_Sentenza_Pickpocket_DoIt() { if (B_Beklauen() == TRUE) { Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); } else { Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); Info_AddChoice (Info_Mod_Sentenza_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_Sentenza_Pickpocket_Beschimpfen); Info_AddChoice (Info_Mod_Sentenza_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_Sentenza_Pickpocket_Bestechung); Info_AddChoice (Info_Mod_Sentenza_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_Sentenza_Pickpocket_Herausreden); }; }; FUNC VOID Info_Mod_Sentenza_Pickpocket_Beschimpfen() { B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN"); B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); }; FUNC VOID Info_Mod_Sentenza_Pickpocket_Bestechung() { B_Say (hero, self, "$PICKPOCKET_BESTECHUNG"); var int rnd; rnd = r_max(99); if (rnd < 25) || ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50)) || ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100)) || ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200)) { B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); } else { if (rnd >= 75) { B_GiveInvItems (hero, self, ItMi_Gold, 200); } else if (rnd >= 50) { B_GiveInvItems (hero, self, ItMi_Gold, 100); } else if (rnd >= 25) { B_GiveInvItems (hero, self, ItMi_Gold, 50); }; B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01"); Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); AI_StopProcessInfos (self); }; }; FUNC VOID Info_Mod_Sentenza_Pickpocket_Herausreden() { B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN"); if (r_max(99) < Mod_Verhandlungsgeschick) { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01"); Info_ClearChoices (Info_Mod_Sentenza_Pickpocket); } else { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02"); }; }; INSTANCE Info_Mod_Sentenza_EXIT (C_INFO) { npc = Mod_796_SLD_Sentenza_MT; nr = 1; condition = Info_Mod_Sentenza_EXIT_Condition; information = Info_Mod_Sentenza_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_Sentenza_EXIT_Condition() { return 1; }; FUNC VOID Info_Mod_Sentenza_EXIT_Info() { AI_StopProcessInfos (self); };
D
/Users/admin/Desktop/krishnarjun/ImagineMovie/build/ImagineMovie.build/Debug-iphonesimulator/ImagineMovie.build/Objects-normal/x86_64/CinemaViewController.o : /Users/admin/Desktop/krishnarjun/ImagineMovie/CommunicationModule/WebAPI.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/Movie.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/AppDelegate.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/PopularTableViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/NewReleaseCollectionViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/InTheaterCollectionViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/DataProvider.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/CinemaViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/HomeViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/ComingSoonViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/UserViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/ContentViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/LoyaltyViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/Constants.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/admin/Desktop/krishnarjun/ImagineMovie/build/ImagineMovie.build/Debug-iphonesimulator/ImagineMovie.build/Objects-normal/x86_64/CinemaViewController~partial.swiftmodule : /Users/admin/Desktop/krishnarjun/ImagineMovie/CommunicationModule/WebAPI.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/Movie.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/AppDelegate.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/PopularTableViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/NewReleaseCollectionViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/InTheaterCollectionViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/DataProvider.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/CinemaViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/HomeViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/ComingSoonViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/UserViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/ContentViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/LoyaltyViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/Constants.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/admin/Desktop/krishnarjun/ImagineMovie/build/ImagineMovie.build/Debug-iphonesimulator/ImagineMovie.build/Objects-normal/x86_64/CinemaViewController~partial.swiftdoc : /Users/admin/Desktop/krishnarjun/ImagineMovie/CommunicationModule/WebAPI.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/Movie.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/AppDelegate.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/PopularTableViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/NewReleaseCollectionViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/Cells/InTheaterCollectionViewCell.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/DataProvider.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/CinemaViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/HomeViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/ComingSoonViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/UserViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/ContentViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/ImagineMovie/LoyaltyViewController.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/Constants.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ module flow.variable.service.VariableService; import hunt.collection; import hunt.collection.List; import hunt.collection.Set; import flow.variable.service.api.types.VariableType; import flow.variable.service.impl.persistence.entity.VariableInstanceEntity; /** * Service which provides access to variables. * * @author Tijs Rademakers * @author Joram Barrez */ interface VariableService { VariableInstanceEntity getVariableInstance(string id); List!VariableInstanceEntity findVariableInstancesByTaskId(string taskId); List!VariableInstanceEntity findVariableInstancesByTaskIds(Set!string taskIds); List!VariableInstanceEntity findVariableInstancesByExecutionId(string executionId); List!VariableInstanceEntity findVariableInstancesByExecutionIds(Set!string executionIds); VariableInstanceEntity findVariableInstanceByTaskAndName(string taskId, string taskName); List!VariableInstanceEntity findVariableInstancesByTaskAndNames(string taskId, Collection!string taskNames); VariableInstanceEntity findVariableInstanceByExecutionAndName(string executionId, string taskName); List!VariableInstanceEntity findVariableInstancesByExecutionAndNames(string executionId, Collection!string taskNames); List!VariableInstanceEntity findVariableInstanceByScopeIdAndScopeType(string scopeId, string scopeType); VariableInstanceEntity findVariableInstanceByScopeIdAndScopeTypeAndName(string scopeId, string scopeType, string variableName); List!VariableInstanceEntity findVariableInstancesByScopeIdAndScopeTypeAndNames(string scopeId, string scopeType, Collection!string variableNames); List!VariableInstanceEntity findVariableInstanceBySubScopeIdAndScopeType(string subScopeId, string scopeType); VariableInstanceEntity findVariableInstanceBySubScopeIdAndScopeTypeAndName(string subScopeId, string scopeType, string variableName); List!VariableInstanceEntity findVariableInstancesBySubScopeIdAndScopeTypeAndNames(string subScopeId, string scopeType, Collection!string variableNames); VariableInstanceEntity createVariableInstance(string name, VariableType type, Object value); /** * Create a variable instance without setting the value on it. * <b>IMPORTANT:</b> If you use this method you would have to call {@link VariableInstanceEntity#setValue(Object)} * for setting the value * @param name the name of the variable to create * @param type the type of the creted variable * * @return the {@link VariableInstanceEntity} to be used */ VariableInstanceEntity createVariableInstance(string name, VariableType type); void insertVariableInstance(VariableInstanceEntity variable); /** * Updates variable instance with the new value * * @param variable to update */ void updateVariableInstance(VariableInstanceEntity variable); void deleteVariableInstance(VariableInstanceEntity variable); void deleteVariablesByExecutionId(string executionId); void deleteVariablesByTaskId(string taskId); }
D
INSTANCE Info_Mod_Xardas_MT_Felsenfestung (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Felsenfestung_Condition; information = Info_Mod_Xardas_MT_Felsenfestung_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_MT_Felsenfestung_Condition() { if (Mod_Xeres_Kampf01 == 2) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Felsenfestung_Info() { AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_00"); //Das war knapp. Zum Glück bin ich dir gefolgt. Es scheint so, als wärst du nicht stark genug, um Xeres besiegen zu können. AI_Output(hero, self, "Info_Mod_Xardas_MT_Felsenfestung_15_01"); //(sarkastisch) Gut, dass wir das jetzt immerhin wissen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_02"); //Ich habe Xeres' Kräfte unterschätzt. Das macht ihn noch gefährlicher, als ich dachte. AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_03"); //Ich kenne niemanden, der sich mit ihm messen könnte. AI_Output(hero, self, "Info_Mod_Xardas_MT_Felsenfestung_15_04"); //Dann wühl doch noch mal in deinen alten Folianten. Da steht doch immer was Nützliches drin. AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_05"); //Wir werden es darauf ankommen lassen müssen. AI_Output(hero, self, "Info_Mod_Xardas_MT_Felsenfestung_15_06"); //Kann ich in der Zwischenzeit helfen? AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_07"); //Ich habe bisher dafür gesorgt, dass niemand Weiteres aus Xeres' Gefängnis ausbrechen konnte. AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_08"); //Um dir beizustehen, musste ich meinen Wachposten verlassen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_09"); //Ich befürchte, dass in Jharkendar mittlerweile die Hölle los ist. AI_Output(hero, self, "Info_Mod_Xardas_MT_Felsenfestung_15_10"); //Das bedeutet, ich darf mich dort vergnügen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Felsenfestung_14_11"); //Ich werde nicht ruhen, bis ich etwas herausgefunden habe. Solange musst du dort Xeres' Truppen aufhalten. AI_Output(hero, self, "Info_Mod_Xardas_MT_Felsenfestung_15_12"); //Nichts leichter als das. B_LogEntry (TOPIC_MOD_XERES, "Xardas sucht einen Weg, wie wir es vielleicht doch noch mit Xeres aufnehmen können. In der Zwischenzeit soll ich in Jharkendar Xeres' heranrollende Truppen aufhalten."); B_StartOtherRoutine (Xeres_01, "START"); }; INSTANCE Info_Mod_Xardas_MT_ArgezSicher (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_ArgezSicher_Condition; information = Info_Mod_Xardas_MT_ArgezSicher_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_MT_ArgezSicher_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Argez_AW_Rettung)) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_ArgezSicher_Info() { AI_Output(self, hero, "Info_Mod_Xardas_MT_ArgezSicher_14_00"); //Gut, dass du kommst. Hast du Xeres' Leute zurückgehalten? AI_Output(hero, self, "Info_Mod_Xardas_MT_ArgezSicher_15_01"); //Argez und ich haben einen kleinen Trupp aufgerieben. AI_Output(self, hero, "Info_Mod_Xardas_MT_ArgezSicher_14_02"); //Hoffentlich haben wir damit fürs Erste unsere Ruhe. Ich habe nämlich einen neuen Auftrag für dich. AI_Output(hero, self, "Info_Mod_Xardas_MT_ArgezSicher_15_03"); //Nur her damit, wenn Xeres damit aufzuhalten ist. AI_Output(self, hero, "Info_Mod_Xardas_MT_ArgezSicher_14_04"); //Ich habe dir schon erzählt, dass sich Radanos in mehrere Persönlichkeiten aufspaltete, die miteinander konkurrierten und auseinander strebten - die Geburtsstunde von Innos, Adanos und Beliar. AI_Output(self, hero, "Info_Mod_Xardas_MT_ArgezSicher_14_05"); //Die drei neuen Götter waren von Beginn an Todfeinde und bekämpften sich, wo sie nur konnten. AI_Output(self, hero, "Info_Mod_Xardas_MT_ArgezSicher_14_06"); //Wie meine Studien ergeben haben, griffen sie dabei auch zu Waffen. AI_Output(hero, self, "Info_Mod_Xardas_MT_ArgezSicher_15_07"); //Hmm. Ziemlich mächtige Waffen, nehme ich an? AI_Output(self, hero, "Info_Mod_Xardas_MT_ArgezSicher_14_08"); //Die mächtigsten mir bekannten Waffen, die zu haben sind. Mit einer von ihnen sollte es möglich sein, Xeres zu schlagen. Wld_InsertNpc (SkeletonMage_Riddler, "OW_FOGDUNGEON_36_MOVEMENT2"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_36"); Wld_InsertNpc (Lesser_Skeleton, "FP_FOGTOWER_BOOK"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_30"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_30"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_28"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_31"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_25"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_16"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_17"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_18"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_22"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_10"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_09"); Wld_InsertNpc (Lesser_Skeleton, "OW_FOGDUNGEON_08"); Log_CreateTopic (TOPIC_MOD_ERSTEWAFFE, LOG_MISSION); B_SetTopicStatus (TOPIC_MOD_ERSTEWAFFE, LOG_RUNNING); B_LogEntry (TOPIC_MOD_ERSTEWAFFE, "Ich soll eine magische Waffe finden. Diese stammt von einem der drei Götter und wurde auf Khorinis versteckt."); }; INSTANCE Info_Mod_Xardas_MT_WoWaffe (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_WoWaffe_Condition; information = Info_Mod_Xardas_MT_WoWaffe_Info; permanent = 0; important = 0; description = "Wo soll ich mit der Suche beginnen?"; }; FUNC INT Info_Mod_Xardas_MT_WoWaffe_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Xardas_MT_ArgezSicher)) && (Npc_HasItems(hero, ItMw_BeliarWeapon_Raven) == 0) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_WoWaffe_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_WoWaffe_15_00"); //Wo soll ich mit der Suche beginnen? AI_Output(self, hero, "Info_Mod_Xardas_MT_WoWaffe_14_01"); //Zwei Schauplätze der Kampfhandlungen müssen sich im Minental befunden haben. Es ist von "mystischen Orten" die Rede. AI_Output(self, hero, "Info_Mod_Xardas_MT_WoWaffe_14_02"); //Der eine sei bei der "Monduhr" - ich vermute, damit ist der Steinkreis gemeint, in dem auch ein Fokusstein verborgen war. AI_Output(self, hero, "Info_Mod_Xardas_MT_WoWaffe_14_03"); //Bei dem anderen handelt es sich um ein verfluchtes Gemäuer. Die Ortsbeschreibung passt genau auf den Nebelturm an der Küste. AI_Output(self, hero, "Info_Mod_Xardas_MT_WoWaffe_14_04"); //Am besten beginnst du deine Suche an einem dieser beiden Orte, dort müsstest du fündig werden. AI_Output(self, hero, "Info_Mod_Xardas_MT_WoWaffe_14_05"); //Sobald du es an dich genommen hast, komm wieder zurück. AI_Output(self, hero, "Info_Mod_Xardas_MT_WoWaffe_14_06"); //Solltest du vorerst jedoch nur auf dürftige Hinweise stoßen, die du nicht zu deuten weißt, stehe ich dir durchaus mit meinem Rat zur Seite. AI_Output(self, hero, "Info_Mod_Xardas_MT_WoWaffe_14_07"); //Beliar möge dich bei deiner Suche behüten und die Augen deiner Feinde in Dunkelheit hüllen. B_LogEntry (TOPIC_MOD_ERSTEWAFFE, "Xardas erwähnte ein schwieriges Rätsel. Ich werde es wohl lösen müssen um an die Waffe zu gelangen. Doch vorher muss ich den Ort finden. Xardas sagt, ich solle mich an einen mystischen Ort begeben. In Frage kämen dafür wohl entweder der Stonehenge oder der Nebelturm. Sollte ich irgendwelche Hinweise nicht verstehen, so wird mir Xardas vielleicht helfen können."); }; INSTANCE Info_Mod_Xardas_MT_RiddleHelper (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_RiddleHelper_Condition; information = Info_Mod_Xardas_MT_RiddleHelper_Info; permanent = 1; important = 0; description = "Ich habe ein Buch mit Hinweisen gefunden."; }; FUNC INT Info_Mod_Xardas_MT_RiddleHelper_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Xardas_MT_WoWaffe)) && (Npc_HasItems(hero, ItMw_BeliarWeapon_Raven) == 0) && (riddle6 == FALSE) && (riddle1 == TRUE) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_RiddleHelper_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_RiddleHelper_15_00"); //Ich habe ein Buch mit Hinweisen gefunden. if (riddle5 == TRUE) { AI_Output(hero, self, "Info_Mod_Xardas_MT_RiddleHelper_15_01"); //In diesem Text steht, dass ich jemanden, oder etwas an dem Ort finden werde, wo alles begann ... AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_02"); //Ist es mit deinem Verstand schon so weit her, dass du dich nicht mal mehr an den Ort erinnerst, an welchem du den ersten Hinweis fandest?! } else if (riddle4 == TRUE) { AI_Output(hero, self, "Info_Mod_Xardas_MT_RiddleHelper_15_03"); //Es heißt hier, dass die Taten jener, die sich an Bord befanden, längst vergessen seien. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_04"); //Überflüssig zu erwähnen, dass wohl von einem Schiff die Rede ist. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_05"); //Und aus dem Text kann man eigentlich schließen, dass ihm durch widrige Umstände unsanft die Seetauglichkeit genommen wurde. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_06"); //Soll ich jetzt vielleicht noch darauf verweisen, an welchen Orten du ein solches finden könntes!? } else if (riddle3 == TRUE) { AI_Output(hero, self, "Info_Mod_Xardas_MT_RiddleHelper_15_07"); //Ich soll nun jenen Ort finden, an dem ein kluger Fischer sein Netz nicht auswerfen würde, so heißt es. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_08"); //Nun, wenn der Verstand es gebietet in klaren Gewässern zu fischen ... schaue dich im Osten der Kolonie um ... AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_09"); //(trocken) Mehr Hinweise sollte es kaum benötigen. } else if (riddle2 == TRUE) { AI_Output(hero, self, "Info_Mod_Xardas_MT_RiddleHelper_15_10"); //Diesmal soll ich einen Ort finden, der fast voll Wasser ist, aber dennoch genug Luft zum Atmen bietet. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_11"); //Wenn du dich nördlich vom Alten Lager umsiehst, müsstest du den gesuchten ort Finden ... wobei ich mit "umsehen" nicht nur den oberflächlichen Gebrauch deiner Augen meine ... } else if (riddle1 == TRUE) { AI_Output(hero, self, "Info_Mod_Xardas_MT_RiddleHelper_15_12"); //Ich soll die Suche an dem Ort beginnen, von wo ich Aufbrach. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_13"); //Nun, dann bist du hier sicherlich nicht völlig fehl am Platz. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_14"); //In unmittelbarer Nähe habe ich gerade erst das Erstehen einer magischen Aura gespürt. AI_Output(self, hero, "Info_Mod_Xardas_MT_RiddleHelper_14_15"); //Schaue dich nur gründlich um, und du wirst finden, wonach du gesucht hast. }; }; INSTANCE Info_Mod_Xardas_MT_HabSchwert (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_HabSchwert_Condition; information = Info_Mod_Xardas_MT_HabSchwert_Info; permanent = 0; important = 0; description = "Ich hab das Schwert gefunden."; }; FUNC INT Info_Mod_Xardas_MT_HabSchwert_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Riddler_Chromanin)) && ((Npc_HasItems(hero, ItMw_BeliarWeapon_Raven) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_01) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_02) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_03) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_04) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_05) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_06) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_07) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_08) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_09) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_10) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_11) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_12) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_13) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_14) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_15) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_16) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_17) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_18) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_19) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_1H_20) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_01) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_02) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_03) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_04) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_05) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_06) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_07) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_08) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_09) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_10) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_11) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_12) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_13) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_14) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_15) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_16) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_17) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_18) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_19) == 1) || (Npc_HasItems(hero, ItMw_BeliarWeapon_2H_20) == 1)) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_HabSchwert_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_HabSchwert_15_00"); //Ich hab das Schwert gefunden. AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_01"); //Sehr gut. Ich vermute, dass es sich hierbei um die Klaue Beliars handelt. Mit ihrer Macht solltest du Xeres ohne Probleme besiegen können. AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_02"); //Bevor du die Waffe jedoch benutzt, solltest du sie erst an einem Beliar Schrein weihen. AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_03"); //Nimm noch dieses Amulett zur Sicherheit. CreateInvItems (self, ItAm_Xardas_SchutzVorXeres, 1); B_GiveInvItems (self, hero, ItAm_Xardas_SchutzVorXeres, 1); AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_04"); //Dieses Amulett sollte in der Lage sein, dich vor Xeres Fesselzauber zu schützen. AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_05"); //Sei aber gewarnt. Nach deiner letzten Begegnung mit ihm ist sein Einfluss auf die Orks in der Stadt noch gewachsen. AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_06"); //Rechne nicht damit, dass Standarten dich jetzt noch schützen werden. AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_07"); //Dir werden schon andere Wege einfallen müsse, um an ihn heranzukommen, sei es Magie, Zaubertrank, oder Schwert. AI_Output(self, hero, "Info_Mod_Xardas_MT_HabSchwert_14_08"); //Ich werde nun nach Khorinis zurückkehren. Beliar sei mit dir. B_LogEntry_More (TOPIC_MOD_XERES, TOPIC_MOD_ERSTEWAFFE, "Ich hab das Schwert und Xardas denkt, dass ich damit Xeres vernichten kann.", "Ich hab das Schwert und Xardas denkt, dass ich damit Xeres vernichten kann."); B_SetTopicStatus (TOPIC_MOD_ERSTEWAFFE, LOG_SUCCESS); AI_StopProcessInfos (self); AI_Teleport (self, "TOT"); B_StartOtherRoutine (self, "TOT"); }; INSTANCE Info_Mod_Xardas_MT_Befoerderung (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Befoerderung_Condition; information = Info_Mod_Xardas_MT_Befoerderung_Info; permanent = 0; important = 0; description = "Ich will Schwarzmagier werden."; }; FUNC INT Info_Mod_Xardas_MT_Befoerderung_Condition() { if (Mod_Gilde == 12) && (Kapitel > 2) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Befoerderung_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_Befoerderung_15_00"); //Ich will Schwarzmagier werden. AI_Output(self, hero, "Info_Mod_Xardas_MT_Befoerderung_14_01"); //Du wählst also den Weg der Magie. Eine weise Entscheidung. AI_Output(self, hero, "Info_Mod_Xardas_MT_Befoerderung_14_02"); //Ich werde dich in den Rang des Schwarzmagiers erheben. Hoffentlich hilft das bei der Vernichtung von Xeres. AI_Output(self, hero, "Info_Mod_Xardas_MT_Befoerderung_14_03"); //Hier ist deine Robe. CreateInvItems (self, SCHWARZMAGIERROBE, 1); B_GiveInvItems (self, hero, SCHWARZMAGIERROBE, 1); AI_UnequipArmor (hero); AI_EquipArmor (hero, Schwarzmagierrobe); B_GivePlayerXP (400); B_Göttergefallen(3, 5); Mod_Gilde = 13; Snd_Play ("LEVELUP"); }; INSTANCE Info_Mod_Xardas_MT_Angebot (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Angebot_Condition; information = Info_Mod_Xardas_MT_Angebot_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_MT_Angebot_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Gomez_Angebot)) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Angebot_Info() { AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_00"); //(wütend) Was sollte das? AI_Output(hero, self, "Info_Mod_Xardas_MT_Angebot_15_01"); //Woher sollte ich wissen, dass dein Gedächtniszauber so schnell nachlässt? AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_02"); //Woher hätte ich wissen sollen, dass du ihn herausforderst? AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_03"); //Du kannst froh sein, dass ich momentan im Lager bin, sonst hätten wir uns erst in Beliars Reich wieder gesehen ... AI_Output(hero, self, "Info_Mod_Xardas_MT_Angebot_15_04"); //Ich wollte mich auch eben mit Raven unterhalten, das Alte Lager will den Dämonenrittern ein Angebot machen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_05"); //Dann trage mir dein Angebot vor, bevor bei Raven so ein Fiasko wie bei Gomez passiert. Gomez wird sich damit zwar an Raven und Scar wenden, je später das aber passiert, desto besser. AI_Output(hero, self, "Info_Mod_Xardas_MT_Angebot_15_06"); //Kannst du den Gedächtniszauber nicht wiederholen? AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_07"); //Nein, damals war Gomez tot und ich traf mit Beliar ein Abkommen, dass er wiederbelebt wurde. Nach seinem Tod konnte ich einen so starken Gedächtniszauber wirken, jetzt ist mir das allerdings nicht mehr möglich ... AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_08"); //Wie auch immer, wie lautet dein Angebot? AI_Output(hero, self, "Info_Mod_Xardas_MT_Angebot_15_09"); //Das Alte Lager will den Dämonenrittern anbieten, uns für viel Geld einen Teil der alten Mine zu überlassen, ansonsten müssen wir zu härteren Maßnahmen greifen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_10"); //Das dürfte nach diesem Gespräch mit Gomez wohl unmöglich sein. AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_11"); //Allerdings habe ich noch einen Rat an euch: Jetzt, wo Gomez von dem Alten Lager und seiner Geschichte weiß, wird er alles daran setzen, seine alte Position wieder einzunehmen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Angebot_14_12"); //In diesem Fall ist es auch mir nicht möglich euch zu helfen. Jetzt solltest du aber das Lager verlassen, bevor Gomez wieder bei Bewusstsein ist. AI_StopProcessInfos (self); B_LogEntry (TOPIC_MOD_AL_MINE, "Ich habe im Lager der Dämonenritter Gomez getroffen, der mich angegriffen hat. Xardas konnte ihn lähmen und meinte, ich solle fliehen. Ich berichte besser Whistler, was geschehen ist."); AI_Teleport (self, "TOT"); B_StartOtherRoutine (self, "TOT"); }; INSTANCE Info_Mod_Xardas_MT_Gomez (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Gomez_Condition; information = Info_Mod_Xardas_MT_Gomez_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_MT_Gomez_Condition() { if (Mod_GomezAngriff == 2) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Gomez_Info() { AI_Output(self, hero, "Info_Mod_Xardas_MT_Gomez_14_00"); //Das reicht! Wir brauchen Gomez noch. AI_StopProcessInfos (self); }; INSTANCE Info_Mod_Xardas_MT_Raven (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Raven_Condition; information = Info_Mod_Xardas_MT_Raven_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_MT_Raven_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Raven_GomezNervt)) && (!Npc_IsInState(Mod_520_DMR_Raven_MT, ZS_Talk)) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Raven_Info() { AI_Output(self, hero, "Info_Mod_Xardas_MT_Raven_14_00"); //Beenden wir nun diese rührende Versöhnung und gehen ... B_LogEntry (TOPIC_MOD_AL_LOCKVOGEL, "Leider verhinderten Xardas und Raven die Tötung von Gomez ... Allerdings befiehlt Raven seinen Leuten das Lager zu verlassen und gibt mir als Entschädigung Gomez altes Schwert."); AI_StopProcessInfos (self); B_StartOtherRoutine (self, "TOT"); B_StartOtherRoutine (Mod_517_DMR_Gomez_MT, "START"); B_StartOtherRoutine (Mod_520_DMR_Raven_MT, "START"); B_StartOtherRoutine (Mod_7066_DMR_Daemonenritter_MT, "TOT"); AI_Teleport (self, "TOT"); AI_Teleport (Mod_517_DMR_Gomez_MT, "TOT"); AI_Teleport (Mod_520_DMR_Raven_MT, "TOT"); AI_Teleport (Mod_7066_DMR_Daemonenritter_MT, "TOT"); }; INSTANCE Info_Mod_Xardas_MT_Orkfriedhof (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Orkfriedhof_Condition; information = Info_Mod_Xardas_MT_Orkfriedhof_Info; permanent = 0; important = 0; description = "Im Sumpf tauchte ein untoter Schamane der Orks auf und raubte ein Chromaninbuch."; }; FUNC INT Info_Mod_Xardas_MT_Orkfriedhof_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_UndeadOrkShamane_Hi)) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Orkfriedhof_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_Orkfriedhof_15_00"); //Im Sumpf tauchte ein untoter Schamane der Orks auf und raubte ein Chromaninbuch. AI_Output(hero, self, "Info_Mod_Xardas_MT_Orkfriedhof_15_01"); //Er sprach davon, sich an einen Ort toter Stille zurückziehen zu wollen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Orkfriedhof_14_02"); //Im Sumpf sagst du? Befindet sich nicht in unmittelbarer Nähe jener orkische Friedhof, welchen du zu Zeiten des Schläfers bereits aufsuchtest? AI_Output(hero, self, "Info_Mod_Xardas_MT_Orkfriedhof_15_03"); //Dies wäre der nahe liegendste Ort für deine Suche ... darauf hättest du jedoch beileibe selbst stoßen können. Mod_NL_UOS_Day = Wld_GetDay() - 1; }; INSTANCE Info_Mod_Xardas_MT_UndeadOrk (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_UndeadOrk_Condition; information = Info_Mod_Xardas_MT_UndeadOrk_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_MT_UndeadOrk_Condition() { if (Mod_NL_UOS == 6) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_UndeadOrk_Info() { AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_14_00"); //Konntest du mittlerweile Chromanin erlangen? AI_Output(hero, self, "Info_Mod_Xardas_MT_UndeadOrk_15_01"); //Es gibt da gewisse Schwierigkeiten. AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_14_02"); //Schwierigkeiten?! AI_Output(hero, self, "Info_Mod_Xardas_MT_UndeadOrk_15_03"); //Nun ... ach, ich mache es kurz. AI_Output(hero, self, "Info_Mod_Xardas_MT_UndeadOrk_15_04"); //Ein untoter Orkschamane raubte ein Buch und setzte sich im Orkfriedhof ab, wo er mich durch magische Barriere und Geiseln daran hindert, an das Buch zu kommen. AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_14_05"); //Ist er in Reichweite deiner Magie? AI_Output(hero, self, "Info_Mod_Xardas_MT_UndeadOrk_15_06"); //Ich denke schon ... AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_14_07"); //Dann vernichte ihn mit einem Zauber. Da er selbst der Urheber der Barriere sein dürfte, müsste dich nichts mehr daran hindern zu dem Buch zu gelangen. Info_ClearChoices (Info_Mod_Xardas_MT_UndeadOrk); Info_AddChoice (Info_Mod_Xardas_MT_UndeadOrk, "Ja, aber die Geiseln.", Info_Mod_Xardas_MT_UndeadOrk_B); Info_AddChoice (Info_Mod_Xardas_MT_UndeadOrk, "Ok, verstanden.", Info_Mod_Xardas_MT_UndeadOrk_A); }; FUNC VOID Info_Mod_Xardas_MT_UndeadOrk_B() { AI_Output(hero, self, "Info_Mod_Xardas_MT_UndeadOrk_B_15_00"); //Ja, aber die Geiseln. Es befinden sich untote Geschöpfe bei ihnen, die nicht sehr erfreut über das Ableben ihres Meisters wären ... AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_B_14_01"); //(mürrisch) Es geht hier um das Bestehen der Welt, wie wir sie kennen, und du machst dir Gedanken über solche Nichtigkeiten ... Hmpf, na gut, lass mich überlegen ... AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_B_14_02"); //Hmm, du müsstest dir Wirkung zweier verschiedener Spruchrollen rekombinieren, damit alle untoten Geschöpfe auf einen Schlag vernichtet werden. AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_B_14_03"); //Ich kann dies einmalig für dich vornehmen. AI_Output(self, hero, "Info_Mod_Xardas_MT_UndeadOrk_B_14_04"); //Mit welchen Spruchrollen, musst du jedoch schon selbst entscheiden ... und besorgen musst du diese selbstverständlich auch. Mod_NL_Xardas_ScrollCombiner = 1; Info_ClearChoices (Info_Mod_Xardas_MT_UndeadOrk); }; FUNC VOID Info_Mod_Xardas_MT_UndeadOrk_A() { AI_Output(hero, self, "Info_Mod_Xardas_MT_UndeadOrk_A_15_00"); //Ok, verstanden. Info_ClearChoices (Info_Mod_Xardas_MT_UndeadOrk); }; INSTANCE Info_Mod_Xardas_MT_ScrollCombining (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_ScrollCombining_Condition; information = Info_Mod_Xardas_MT_ScrollCombining_Info; permanent = 0; important = 0; description = "Ich möchte zwei Spruchrollen miteinander kombinieren."; }; FUNC INT Info_Mod_Xardas_MT_ScrollCombining_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Xardas_MT_UndeadOrk)) && (Mod_NL_Xardas_ScrollCombiner == 1) { return 1; }; }; FUNC VOID B_Xardas_MT_WrongScrollCombination () { AI_Output(self, hero, "Info_Mod_Xardas_MT_WrongScrollCombination_14_00"); //(kurz angebunden, despektierlich) Hmm, ich hoffe diese Zauber werden den Erfordernissen gerecht. }; FUNC VOID B_Xardas_MT_RightScrollCombination () { AI_Output(self, hero, "Info_Mod_Xardas_MT_RightScrollCombination_14_00"); //(vornehm zurückhaltend, lobend) In der Tat, deine Wahl war nicht die schlechteste, so scheint mir. }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_ScrollCombining_15_00"); //Ich möchte zwei Spruchrollen miteinander kombinieren. Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_HarmUndead, 2); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_HarmUndead, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_HolyWave, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HarmUndead_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_HarmUndead, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 2); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_HolyWave, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_HolyBolt_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_FireRain_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_FireRain_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_FireRain_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_FireRain_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_FireRain_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_FireRain_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_FireRain_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_FireRain, 2); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_FireWave, 1); CreateInvItems (hero, ItSc_IceRain, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_IceRain, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireRain_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_IceRain, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_FireBolt_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_FireBolt_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_FireBolt_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_FireBolt_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_FireBolt_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_FireBolt_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_FireBolt_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_FireBolt, 2); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_FireWave, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_FireBolt_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_IceWave_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_IceWave_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_IceWave_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_IceWave_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_IceWave_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_IceWave_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_IceWave_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_HolyWave, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_HolyWave, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_FireWave, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_FireWave, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_IceWave, 2); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_IceWave, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceWave_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_IceRain_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_IceRain_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_IceRain_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_IceRain_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_IceRain_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_IceRain_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_IceRain_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_HolyRain, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_RightScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_FireRain, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_FireRain, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_IceRain, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_IceRain, 2); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceRain_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); if (Npc_HasItems(hero, ItSc_HarmUndead) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Untote vernichten", Info_Mod_Xardas_MT_ScrollCombining_IceBolt_HarmUndead); }; if (Npc_HasItems(hero, ItSc_PalHolyBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Heiliger Pfeil", Info_Mod_Xardas_MT_ScrollCombining_IceBolt_HolyBolt); }; if (Npc_HasItems(hero, ItSc_FireRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerregen", Info_Mod_Xardas_MT_ScrollCombining_IceBolt_FireRain); }; if (Npc_HasItems(hero, ItSc_FireBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Feuerpfeil", Info_Mod_Xardas_MT_ScrollCombining_IceBolt_FireBolt); }; if (Npc_HasItems(hero, ItSc_IceWave) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eiswelle", Info_Mod_Xardas_MT_ScrollCombining_IceBolt_IceWave); }; if (Npc_HasItems(hero, ItSc_IceRain) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eisregen", Info_Mod_Xardas_MT_ScrollCombining_IceBolt_IceRain); }; if (Npc_HasItems(hero, ItSc_IceBolt) >= 1) { Info_AddChoice (Info_Mod_Xardas_MT_ScrollCombining, "Eispfeil", Info_Mod_Xardas_MT_ScrollCombining_IceBolt_IceBolt); }; }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt_HarmUndead() { Npc_RemoveInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_HarmUndead, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt_HolyBolt() { Npc_RemoveInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_PalHolyBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt_FireRain() { Npc_RemoveInvItems (hero, ItSc_FireRain, 1); CreateInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt_FireBolt() { Npc_RemoveInvItems (hero, ItSc_FireBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_FireBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt_IceWave() { Npc_RemoveInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_IceWave, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt_IceRain() { Npc_RemoveInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_IceRain, 1); CreateInvItems (hero, ItSc_IceBolt, 1); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; FUNC VOID Info_Mod_Xardas_MT_ScrollCombining_IceBolt_IceBolt() { Npc_RemoveInvItems (hero, ItSc_IceBolt, 1); CreateInvItems (hero, ItSc_IceBolt, 2); B_Xardas_MT_WrongScrollCombination(); Info_ClearChoices (Info_Mod_Xardas_MT_ScrollCombining); }; INSTANCE Info_Mod_Xardas_MT_Chromanin3 (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Chromanin3_Condition; information = Info_Mod_Xardas_MT_Chromanin3_Info; permanent = 0; important = 0; description = "Ich habe hier ein Chromaninbuch bei mir ..."; }; FUNC INT Info_Mod_Xardas_MT_Chromanin3_Condition() { if (Mod_NL_UOS > 6) && (Npc_HasItems(hero, ItWr_Chromanin3) == 1) && (Mod_NL_Chromanin == 1) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Chromanin3_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_Chromanin3_15_00"); //Ich habe hier ein Chromaninbuch bei mir ... AI_Output(self, hero, "Info_Mod_Xardas_MT_Chromanin3_14_01"); //(uninteressiert) Gut. Es war auch deine Aufgabe diese zu bergen. AI_Output(hero, self, "Info_Mod_Xardas_MT_Chromanin3_15_02"); //Da gibt es jedoch ein Problem. AI_Output(self, hero, "Info_Mod_Xardas_MT_Chromanin3_14_03"); //Problem? Sofern du des Lesens mächtig bist, wo sollte ein Problem bestehen? AI_Output(hero, self, "Info_Mod_Xardas_MT_Chromanin3_15_04"); //Nun ... es ist leer. AI_Output(self, hero, "Info_Mod_Xardas_MT_Chromanin3_14_05"); //Was?! Unsinn, zeig her ... B_GiveInvItems (hero, self, ItWr_Chromanin3, 1); B_UseFakeScroll (); AI_Output(self, hero, "Info_Mod_Xardas_MT_Chromanin3_14_06"); //Bei Beliar! Aber, wie ist das möglich? Unter welchen Umständen bist du an dieses Buch gekommen? B_GiveInvItems (self, hero, ItWr_Chromanin3, 1); AI_Output(hero, self, "Info_Mod_Xardas_MT_Chromanin3_15_07"); //Ich entriss es dem Kadaver eines untoten Orkschamanen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Chromanin3_14_08"); //Untoter Orkschamane?! Üble Magie scheint hier im Spiel zu sein ... Ja, ich spüre es. Die magische Energie dieses Buches scheint fast gänzlich getilgt. AI_Output(self, hero, "Info_Mod_Xardas_MT_Chromanin3_14_09"); //Aber wie ist ihm das nur gelungen? Hatte er noch etwas bei sich? if (Mod_NL_Siegelbuch == 0) { AI_Output(hero, self, "Info_Mod_Xardas_MT_Chromanin3_15_10"); //Ich weiß es nicht ... AI_Output(self, hero, "Info_Mod_Xardas_MT_Chromanin3_14_11"); //Dann geh und schaue nach! }; B_SetTopicStatus (TOPIC_MOD_SLD_FRIEDHOF, LOG_SUCCESS); }; INSTANCE Info_Mod_Xardas_MT_Siegelbuch_01 (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Siegelbuch_01_Condition; information = Info_Mod_Xardas_MT_Siegelbuch_01_Info; permanent = 0; important = 0; description = "Ja, dieses versiegelten Buch."; }; FUNC INT Info_Mod_Xardas_MT_Siegelbuch_01_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Xardas_MT_Chromanin3)) && (Npc_HasItems(hero, ItWr_Siegelbuch) == 1) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Siegelbuch_01_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_Siegelbuch_01_15_00"); //Ja, dieses versiegelten Buch. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_01_14_01"); //Lass sehen ... B_GiveInvItems (hero, self, ItWr_Siegelbuch, 1); B_UseFakeScroll (); AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_01_14_02"); //(Erstaunt) Es ... es scheint ein magisches Vakuum um sich zu erzeugen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_01_14_03"); //Viel mehr noch, es saugt magische Energie aus der Umgebung förmlich in sich auf, langsam, aber stetig. AI_Output(hero, self, "Info_Mod_Xardas_MT_Siegelbuch_01_15_04"); //Ich verstehe immer noch nicht ganz. Warum dieser ganz magische Firlefanz? AI_Output(hero, self, "Info_Mod_Xardas_MT_Siegelbuch_01_15_05"); //Das Chromanin-Buch ist doch einfach ein Nachschlagewerk, in welchem ein paar Sätze festgehalten wurden. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_01_14_06"); //(erbost) Einfältiger Narr! Aber was will man von einem einfachen Söldner auch erwarten ... AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_01_14_07"); //Es ist nicht einfach nur Papier, auf welches etwas mit Tinte und Feder niedergeschrieben wurde. Die Schrift ist magischer Natur und kann auch nur mit magischen Mitteln beseitigt werden. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_01_14_08"); //Und jetzt will ich in Ruhe das versiegelte Buch studieren, welches du mir gebracht hast. Frühestens morgen kann ich dir mehr dazu sagen. Mod_NL_XardasSiegelDay = Wld_GetDay(); }; INSTANCE Info_Mod_Xardas_MT_Siegelbuch_02 (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Siegelbuch_02_Condition; information = Info_Mod_Xardas_MT_Siegelbuch_02_Info; permanent = 0; important = 0; description = "Und was hast du herausgefunden?"; }; FUNC INT Info_Mod_Xardas_MT_Siegelbuch_02_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Xardas_MT_Siegelbuch_01)) && (Wld_GetDay()-1 == Mod_NL_XardasSiegelDay) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Siegelbuch_02_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_Siegelbuch_02_15_00"); //Und was hast du herausgefunden? AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_02_14_01"); //(grimmig) Ich sagte frühestens morgen! AI_StopProcessInfos (self); }; INSTANCE Info_Mod_Xardas_MT_Siegelbuch_03 (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Siegelbuch_03_Condition; information = Info_Mod_Xardas_MT_Siegelbuch_03_Info; permanent = 0; important = 0; description = "Hast du mittlerweile etwas herausgefunden?"; }; FUNC INT Info_Mod_Xardas_MT_Siegelbuch_03_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Xardas_MT_Siegelbuch_01)) && (Wld_GetDay()-1 > Mod_NL_XardasSiegelDay) { return 1; }; }; FUNC VOID Info_Mod_Xardas_MT_Siegelbuch_03_Info() { AI_Output(hero, self, "Info_Mod_Xardas_MT_Siegelbuch_03_15_00"); //Hast du mittlerweile etwas herausgefunden? AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_01"); //Ja, das habe ich, auch, wenn es nicht leicht war. Es scheint sich zu bestätigen, was ich bereits vermutet hatte. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_02"); //Der versiegelte Wälzer muss die magische Energie des Chromaninbuches absorbiert haben. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_03"); //Vermutlich hat der untote Orkschamene die Gefahr, welche das Chromanin für seinen Meister darstellt, erkannt und diesen Schritt vollzogen. AI_Output(hero, self, "Info_Mod_Xardas_MT_Siegelbuch_03_15_04"); //Was können wir in diesem Fall machen, um die Magie des Buches wiederherzustellen? AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_05"); //Nun, aus den wenigen Quellen die ich fand konnte ich schließen, dass es sich um das "Buch des Pondaros" handeln könnte. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_06"); //Es ist uralt und soll eben diese Eigenschaften besessen haben, wie das Buch, welches du mir brachtest. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_07"); //Um die Magie des Chromaninbuches wiederzugewinnen, müssten wir die drei Siegel brechen und das Buch des Pondaros öffnen. AI_Output(hero, self, "Info_Mod_Xardas_MT_Siegelbuch_03_15_08"); //Und wie sollen wir das anstellen? Ich vermute nicht, dass es mit schlichter Gewalt zu schaffen wäre, richtig? AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_09"); //Richtig. Jedoch gaben die lückenhaften Quellen in dieser Beziehung nur den Satz preis "die Siegel im Kreis der Steine brechen". Sehr rätselhaft. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_10"); //Blicke dich auf Khorinis um, ob du Erscheinungen findest, die dieser Umschreibung entsprechen. AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_11"); //An diesen Orten wirst du sicher auch bestimmte Mechanismen finden, die dir helfen werden, wenn du sie benutzt. B_GiveInvItems (self, hero, ItWr_Siegelbuch, 1); AI_Output(self, hero, "Info_Mod_Xardas_MT_Siegelbuch_03_14_12"); //Ich werde während dessen versuchen mehr über dieses ominöse Buch zu erfahren. Mod_NL_Siegelbuch = 2; B_LogEntry (TOPIC_MOD_ERSTEWAFFE, "Scheinbar hat das 'Buch des Pondaros' die Magie des Chromaninbuches in sich aufgenommen. Um diese wiederherzustellen, müssen die Siegel gebrochen werden. Xardas konnte mir jedoch nur den Satz 'die Siegel im Kreis der Steine brechen' mit auf den Weg geben. Hmm, Kreis der Steine ... Dort sollen dann jedenfalls Mechanismen sein, die mir helfen werden, wenn ich sie benutze ..."); }; INSTANCE Info_Mod_Xardas_MT_EXIT (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_EXIT_Condition; information = Info_Mod_Xardas_MT_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_Xardas_MT_EXIT_Condition() { return 1; }; FUNC VOID Info_Mod_Xardas_MT_EXIT_Info() { AI_StopProcessInfos (self); };
D
module cryptor.Digest; import std.digest.sha; import std.file; import std.stdio; class Hash(T){ WrapperDigest!T digest; ubyte[] hash; this(){ digest = new WrapperDigest!T(); } Hash getHash(ubyte[] data){ digest.put(data); hash = digest.finish(); return this; } Hash getHash(string data){ digest.put(cast(ubyte[])data); hash = digest.finish(); return this; } // 1chunk = 4kb Hash getHash(File file,size_t chunkSize){ if(!file.isOpen){ throw new FileException("file not opened."); } chunkSize *= 0x1000; foreach(chunk;file.byChunk(chunkSize)){ digest.put(chunk); } hash = digest.finish(); file.seek(0); return this; } // 1024 chunk = 4MB Hash getHash(File file){ getHash(file,1024); return this; } string hexDigest(){ return toHexString(hash); } ubyte[] rawDigest(){ return hash; } }
D
import std.random : Random, uniform, unpredictableSeed; import std.conv : to; import std.stdio : writeln; import std.json : parseJSON; import std.file : readText; import dsfml.system; import dsfml.window; import dsfml.graphics; import dsfml.audio; Random rng; class Symbol { Vector2f pos; Text t; int start; int lifespan; int num; Color color; int charWidth; string[] colors; int chance; this(Vector2f pos, int start, int width, string[] colors, Font font, int chance, int lifespan) { this.charWidth = width; this.pos = pos; this.t = new Text("", font, this.charWidth); this.color = Color(255, 255, 255, 255); this.t.setColor(this.color); this.t.position(this.pos); this.start = start; this.colors = colors; this.chance = uniform(1, chance, rng); this.lifespan = lifespan; changeCurrent(); } //Change the symbol randomly. //Change the alpha based on rate and if lifespan is 0. //For every update, change the color of the symbol. void update(int frames, int chance, int rate) { if (frames - this.start > 0) if (uniform(0, this.chance, rng) == 0) this.changeCurrent(); if (this.color.a > rate && this.lifespan <= 0) this.color.a -= rate; if (this.lifespan > 0) this.lifespan -= rate; if (frames % chance == 0 && this.color.r > 0) this.changeColor(); this.t.setColor(this.color); } //Minus the current color based on colors from the conf void changeColor() { foreach (c; this.colors) { if (c == "g") this.color.g -= 85; else if (c == "b") this.color.b -= 85; else if (c == "r") this.color.r -= 85; } } //Generate a new random symbol. //If the chance is less than 1 make it a number. //Else, get a random katakana character. void changeCurrent() { int chance = uniform(0, 5, rng); if (chance < 1) this.t.setString(to!string(cast(dchar) uniform(48, 57, rng))); else this.t.setString(to!string(cast(dchar) (12448 + uniform(0, 95)))); } } class Stream { Vector2f pos; Symbol[] symbols; int length; int total; int y; int charWidth; string[] colors; this(int x, int width, string[] colors, int spacing) { this.y = uniform(spacing, 0, rng); this.pos.x = x; this.pos.y = y; this.charWidth = width; this.length = width; this.colors = colors; } //For each of the symbols, draw them to window void draw(RenderWindow window) { foreach (sym; symbols) window.draw(sym.t); } //For all the symbols, update them. Every framesToChange create a new symbol and add it to symbols //When all the symbols have gone invisible, delete all the symbols and start again void update(int frames, ulong c, int height, Font font, int chance, int framesToChange, int lifespan, int rate) { foreach (i; 0 .. this.symbols.length) { this.symbols[i].update(frames, framesToChange, rate); } if (frames % framesToChange == 0 && this.pos.y <= height) this.createNewSymbol(frames, font, chance, lifespan); else if (this.seeIfDone(rate)) this.startNew(); } //Generate a new symbol and add it to symbols. //Then move down charWidth pixels void createNewSymbol(int frames, Font font, int chance, int lifespan) { if (this.pos.y >= -this.charWidth) { this.symbols ~= new Symbol(Vector2f(this.pos.x, this.pos.y), frames, this.charWidth, this.colors, font, chance, lifespan); this.total++; } this.pos.y += this.charWidth; } //Check if all the symbols are invisible. bool seeIfDone(int rate) { bool done; foreach (i; 0 .. this.symbols.length) { if (this.symbols[i].color.a < rate) done = true; else done = false; } return done; } //Delete all symbols and reset back to the beginning. void startNew() { foreach(i; 0 .. this.symbols.length) delete this.symbols[i]; this.symbols.length = 0; this.pos.y = this.y; } //Return the current amount of symbols ulong getTotal() { return symbols.length; } } void main() { //Parse the config string[] colors; auto config = parseJSON(readText("conf.json")); int charWidth = cast(int) config["charsize"].integer; int framerate = cast(int) config["fps"].integer; int showFrames = cast(int) config["showframes"].integer; int chance = cast(int) config["chance"].integer; int framesToChange = cast(int) config["framestochange"].integer; int lifespan = cast(int) config["lifespan"].integer; int rate = cast(int) config["rate"].integer; int spacing = cast(int) config["spacing"].integer; foreach (c; config["color"].array) colors ~= c.str; //Create array for streams, and a random generator. int frames; int prevFrames; Stream[] streams; rng = Random(unpredictableSeed); //Create FPS stuff Font font = new Font(); font.loadFromFile("Kata.ttf"); Text fps = new Text("", font, 40); Text amount = new Text("", font, 40); auto time = MonoTime.currTime; //Get the width and height of the current display int width = VideoMode.getDesktopMode().width; int height = VideoMode.getDesktopMode().height; writeln("Width: " ~ to!string(width) ~ " Height: " ~ to!string(height)); //Set the amount position to 80 pixels from the right the display amount.position = Vector2f(width - 80, 0); //Create a sfml RenderWindow and set the max framerate to 30 auto window = new RenderWindow(VideoMode(width, height), "Matrix"); window.setFramerateLimit(framerate); //Create all the streams and add them to streams. Set the x of all the streams to i * charWidth foreach (i; 0 .. (width / charWidth)) streams ~= new Stream(i * charWidth, charWidth, colors, spacing); while (window.isOpen()) { if (showFrames) { //fps stuff auto curr = (MonoTime.currTime - time); if (curr >= 1.seconds) { time = MonoTime.currTime; fps.setString(to!string(frames - prevFrames)); prevFrames = frames; } //total symbols stuff ulong totalSymbols; foreach (stream; streams) totalSymbols += stream.getTotal(); amount.setString(to!string(totalSymbols)); } //Parse events Event event; while (window.pollEvent(event)) { if (event.type == Event.EventType.Closed) window.close(); } //Clear the window with the color black window.clear(Color.Black); //For each of the streams, update them and draw them foreach (i; 0 .. streams.length) { streams[i].update(frames, i, height, font, chance, framesToChange, lifespan, rate); streams[i].draw(window); } //Draw the fps and the current amount of symbols window.draw(fps); window.draw(amount); //Update the window window.display(); frames++; } }
D
/Users/jaison/Documents/Drive/custom-api/.build/debug/Jay.build/Types.swift.o : /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Jay.build/Types~partial.swiftmodule : /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/Jay.build/Types~partial.swiftdoc : /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/jaison/Documents/Drive/custom-api/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
D
import vibe.core.log; import vibe.textfilter.markdown; import std.file; import std.algorithm: splitter, filter, countUntil; import std.array: array, empty; import std.string: split, strip; import std.typecons: Tuple; import std.exception: enforce; import std.string: format; import std.path: baseName, buildPath; import dyaml; import mustache; import translator; alias MustacheEngine!(string) Mustache; /++ Manages the mark down files found in public/content and holds them as prepared logical structures that contain the associated source code as well as the rendered HTML for output on the online tour. +/ class ContentProvider { private immutable MarkdownExtension = "md"; private immutable SourceCodeSectionTitle ="{SourceCode}"; private immutable SourceCodeDisabledSectionTitle = "{SourceCode:disabled}"; private immutable SourceCodeIncompleteSectionTitle = "{SourceCode:incomplete}"; private immutable SourceCodeMaxCharsPerLine = 48; private { /// root content directory string contentDirectory; struct Content { string sourceCode; bool sourceCodeEnabled = true; bool sourceCodeIncomplete = false; ///< flag whether the source code is supposed NOT to compile (false); /// true otherwise (the default) string html; string title; string language; size_t _id; } /// language, chapter, section Content[string][string][string] content_; struct ChapterMeta { size_t id; string title; } /// chapter ordering: language, chapter ChapterMeta[string][string] chapter_; struct ChapterAndSection { string chapter; string section; this(string s) { auto arr = s.split("/"); enforce(arr.length == 2, "Invalid start page given"); chapter = arr[0]; section = arr[1]; } } struct LanguageMeta { ChapterAndSection start; string title; string repo; Translator translator; } /// general language-wide information LanguageMeta[string] language_; auto mustacheContext_ = new Mustache.Context; /// maps the loaded languages to their file path string[string] langWithPath; } /// Create or update Content structure private Content* updateContent(string language, string chapter, string section) { Content* content; if (auto l = language in content_) { if (auto c = chapter in *l) { content = section in *c; } } if (!content) { content_[language][chapter][section] = Content(); content = &content_[language][chapter][section]; content.language = language; } return content; } private bool isValidLink(string link, string language) { import std.algorithm.searching : count; if (link.count("/") != 1) return false; // check for existence in file system import std.array : split; auto parts = link.split("/"); enforce(language in langWithPath, "Language hasn't been seen before."); string fileName = buildPath(langWithPath[language], parts[0], parts[1] ~ ".md"); import std.stdio; return exists(fileName); } this(string contentDirectory) { this.contentDirectory = contentDirectory; // parse mustache template file setupMustacheMacros(readText(buildPath(contentDirectory, "template.yml")), mustacheContext_); } public void addLanguages(string directory) { foreach(string filename; dirEntries(directory, SpanMode.shallow)) addLanguage(filename); } public void addLanguage(string langDirectory) { if (!langDirectory.isDir) return; auto configFile = langDirectory.buildPath("index.yml"); if (!configFile.exists) { logInfo("Missing index.yml for %s", langDirectory); return; } auto language = langDirectory.baseName; auto root = Loader(configFile).load(); // store the directory to be able to link to other requests langWithPath[language] = langDirectory; // language meta information enforce("start" in root, "'start' point required in language-specific yaml"); enforce(isValidLink(root["start"].as!string, language), "The start page must be formatted as chapter/section"); LanguageMeta langMeta; langMeta.start = ChapterAndSection(root["start"].as!string); if (auto node = "translations" in root) { // YAML-D provides no convenient method to convert a node to a dictionary string[string] translations; foreach (string key, string value; *node) translations[key] = value; langMeta.translator = new Translator(translations); } else { langMeta.translator = new Translator(); } import std.meta : AliasSeq; foreach (attr; AliasSeq!("title", "repo")) { enforce(attr in root, "'" ~ attr ~ "' point required in language-specific yaml"); mixin("langMeta." ~ attr ~ " = root[attr].as!string;"); } language_[language] = langMeta; auto i = 0; foreach (string chapter; root["ordering"]) { auto chapterDir = buildPath(langDirectory, chapter); chapter_[language][chapter] = ChapterMeta(i++, ""); addChapter(chapter, chapterDir, language); } } private void addChapter(string chapter, string chapterDir, string language) { auto configFile = buildPath(chapterDir, "index.yml"); auto root = Loader(configFile).load(); // TODO: add title enforce("title" in root, "title required for chapter"); chapter_[language][chapter].title = root["title"].as!string; auto i = 0; foreach (string section; root["ordering"]) { auto filename = buildPath(chapterDir, section ~ ".md"); Content* content = addSection(filename, chapter, section, language); content._id = i++; } } private Content* addSection(string filename, string chapter, string currentSection, string language) { Content* content = updateContent(language, chapter, currentSection); enforce(exists(filename), "couldn't find " ~ filename); scope (failure) logError("lang: %s, chapter: %s, section: %s failed", language, chapter, currentSection); foreach (ref section; splitMarkdownBySection(readText(filename))) { if (section.title == SourceCodeSectionTitle || section.title == SourceCodeDisabledSectionTitle || section.title == SourceCodeIncompleteSectionTitle) { enforce(section.level == 2, new Exception("%s: %s section expected to be on 2nd level" .format(filename, SourceCodeSectionTitle))); enforce(!content.html.empty, new Exception("%s: %s section must be within existing section." .format(filename, SourceCodeSectionTitle))); enforce(content.sourceCode.empty, new Exception("%s: Double %s section in '%s'" .format(filename, SourceCodeSectionTitle, content.title))); content.sourceCode = section.bodyOnly; // ignore markdown code blocks if (content.sourceCode[0..3] == "```") { // allow additional code language specifiers auto startPos = content.sourceCode.countUntil("\n"); assert(content.sourceCode.length > 10, "source code file too small"); // remove three first and last backticks content.sourceCode = content.sourceCode[startPos + 1 .. $ - 4]; } content.sourceCodeEnabled = section.title != SourceCodeDisabledSectionTitle; content.sourceCodeIncomplete = section.title == SourceCodeIncompleteSectionTitle; checkSourceCodeLineWidth(content.sourceCode, content.title); } else if (section.level == 1) { enforce(content.title.length == 0, new Exception("%s: Just one chapter title allowed: %s".format(filename, section.title))); content.title = section.title; content.html = processMarkdown(section.content, language); } else if (section.level >= 2) { enforce(content.title.length != 0, new Exception("%s: level 3 section can't be first (%s)".format(filename, section.title))); content.html ~= processMarkdown(section.content, language); } else { throw new Exception("%s: Illegal section %s".format(filename, section.title)); } } return content; } /++ Parses the given markdown and adds content filters Returns: Processed markdown in form of HTML +/ private string processMarkdown(string content, string language) { auto processed = expandMacros(content, mustacheContext_); auto settings = new MarkdownSettings; with(MarkdownFlags) settings.flags = backtickCodeBlocks | vanillaMarkdown | tables; settings.urlFilter = (string link, bool) { import std.algorithm.searching : startsWith; if (link.startsWith("http", "https", "irc", "/")) return link; else { enforce(isValidLink(link, language), "Invalid link given: " ~ link); return "/tour/%s/%s".format(language, link); } }; auto text = filterMarkdown(processed, settings); // workaround against vibe.textfiler.markdown inserting empty newlines // in inline code blocks import std.array : replace; text = text.replace("\n\n</code></pre>", "\n</code></pre>"); return text; } unittest { string contentDir = "public/content"; auto cp = new ContentProvider(contentDir); cp.addLanguage(contentDir.buildPath("en")); assert(cp.processMarkdown("[foo](welcome/welcome-to-d)", "en") == "<p><a href=\"/tour/en/welcome/welcome-to-d\">foo</a>\n</p>\n"); assert(cp.processMarkdown("[foo](http://dlang.org)", "en") == "<p><a href=\"http://dlang.org\">foo</a>\n</p>\n"); } unittest { string contentDir = "public/content"; auto cp = new ContentProvider(contentDir); cp.addLanguage(contentDir.buildPath("en")); auto expected = `<p>Text before </p> <pre class="prettyprint"><code>import std.stdio; </code></pre> <p>Text after </p> `; auto result = cp.processMarkdown(` Text before import std.stdio; Text after`, "en"); assert(expected == result); } /++ Checks whether the provided source code adheres to the SourceCodeMaxCharsPerLine bytes per lines restriction. Throws: Exception when contraint doesn't apply. +/ private void checkSourceCodeLineWidth(string sourceCode, string sectionTitle) { import std.algorithm: all; import std.range.primitives : walkLength; import std.uni : byGrapheme; auto lineNo = 0; foreach (line; splitter(sourceCode, '\n')) { ++lineNo; if (line.byGrapheme.walkLength(SourceCodeMaxCharsPerLine + 1) > SourceCodeMaxCharsPerLine) { throw new Exception("Source code line length exceeds %d limit in '%s': %s" .format(SourceCodeMaxCharsPerLine, sectionTitle, line)); } } } /++ Returns: result object with - $(D content) pointer if found - $(D sectionCount) +/ auto getContent(string language, string chapter, string section) { struct Result { Content* content; ulong sectionCount; } Result res; if (auto l = language in content_) { if (auto c = chapter in *l) { if (null != (res.content = section in *c)) { res.sectionCount = c.length; } } } return res; } /++ Returns logical structure of chapters and sections. Ordering defined in ContentProvider is adhered to. Returns: The following array of objects is returned: [] { string title; string chapterId; [] { string title; int sectionId; } sections; } +/ auto getTOC(string language) const { struct Chapter { string title; string chapterId; Tuple!(string, "title", string, "sectionId")[] sections; } auto chapterMeta = language in chapter_; enforce(chapterMeta !is null, new Exception("%s not known.".format(language))); Chapter[] toc = new Chapter[content_[language].length]; foreach (chapterId, sections; content_[language]) { Chapter* chapter = &toc[(*chapterMeta)[chapterId].id]; chapter.chapterId = chapterId; chapter.title = (*chapterMeta)[chapterId].title; chapter.sections.length = sections.length; foreach(sectionIdx, ref content; sections) { auto section = &chapter.sections[content._id]; section.title = content.title; section.sectionId = sectionIdx; } } return toc; } string[] getLanguages() const { return content_.byKey().array; } /++ Returns: range that allows iterating over the whole content, regardless of language. Content doesn't guarantee any order. +/ const(LanguageMeta) getMeta(string language) const { enforce(language in language_, "Invalid language"); return language_[language]; } /++ Returns: range that allows iterating over the whole content, regardless of language. Content doesn't guarantee any order. +/ auto getContent() const { alias Element = const(Content)*; Element[] range; foreach(ref chapters; content_) { foreach(ref sections; chapters) { foreach(ref content; sections) { range ~= &content; } } } return range; } } // class ContentProvider /++ Splits markdown file by sections. Returns: an array which contains information objects for each section with the following properties: - string content: the full mark down content of the section (will be stripped) - string bodyOnly: just the body of section (will be stripped) - string title: the parsed title of the section - int level: level of section starting at 1 +/ private auto splitMarkdownBySection(string contents) { alias Section = Tuple!(string, "content", string, "bodyOnly", string, "title", int, "level", immutable(char)*, "_contentStart", immutable(char)*, "_bodyOnlyStart"); Section[] sections; if (contents.empty) return sections; void fillSection(immutable(char)* nextStart) { if (sections.empty) return; // calculate the correct slice length based upon // the start pointer of the next section auto lastsec = &sections[$-1]; assert(lastsec.content.ptr < nextStart); lastsec.content = lastsec._contentStart[0 .. nextStart - lastsec._contentStart].strip(); assert(lastsec.bodyOnly.ptr <= nextStart); lastsec.bodyOnly = lastsec._bodyOnlyStart[0 .. nextStart - lastsec._bodyOnlyStart].strip(); } // Assuming lineSplitter just operates on the data pointer at // contents we can use pointer magic to calculate the section // extensions foreach(line; splitter(contents, '\n')) { if (line.empty) continue; if (line[0] == '#') { fillSection(&line[0]); sections ~= Section(); auto lastsec = &sections[$-1]; auto level = 1 + cast(int)line[1 .. $].countUntil!"a != b"('#'); lastsec.level = level; lastsec.title = line[level .. $].strip(); // set start pointers of content and bodyOnly tags which // will be completed by fillSection later on. lastsec._contentStart = &line[0]; lastsec._bodyOnlyStart = line.ptr + line.length; } } // fill last remaining section // with contents' end pointer fillSection(contents.ptr + contents.length); return sections; } /// Unittest for splitMarkdownBySection unittest { assert(splitMarkdownBySection("").length == 0); string markdown = q{ #Hello World This is a test! ## 2nd level ### 3rd level My third level text. # First level Hello ## Guten Tag}; auto sections = splitMarkdownBySection(markdown); assert(sections.length == 5, "%s".format(sections)); assert(sections[0].title == "Hello World"); assert(sections[0].level == 1); assert(sections[1].title == "2nd level"); assert(sections[1].level == 2); assert(sections[1].bodyOnly.empty); assert(sections[2].title == "3rd level"); assert(sections[2].level == 3); assert(sections[3].title == "First level"); assert(sections[3].level == 1); assert(sections[4].title == "Guten Tag"); assert(sections[4].level == 2); assert(sections[4].bodyOnly.empty); } /++ Process all mustache definitions that are defined in the YAML declaration in $(D ymlDescription) The file must have the following format: `` variables: var1: "hello world" functions: func1: | <h1>{{content}}</h1> `` Variables are one by one replacements of the given text. Functions have a pre-defined variable {{content}} that is replaced by the contents of that macro block. The mustache replacements follow the standard mustache patterns. +/ private void setupMustacheMacros(string ymlDescription, Mustache.Context context) { auto reserved = [ "content": 1 ]; auto root = Loader.fromString(cast(char[])ymlDescription.dup).load(); if ("variables" in root) { foreach (string tag, string content; root["variables"]) { enforce(tag !in reserved, "tag '" ~ tag ~ "' is reserved as a variable name"); context[tag] = content; } } if ("wrappers" in root) { foreach (string tag, string content; root["wrappers"]) { enforce(tag !in reserved, "tag '" ~ tag ~ "' is reserved as a wrapper name"); context[tag] = (string inner) { Mustache mustache; context["content"] = inner; return mustache.renderString(content, context); }; } } } /++ Processes the passed $(D content) using the mustache template engine. See $(D setupMustacheMacros) for description of the required format and the possibilites used here for text replacement. +/ private string expandMacros(string content, Mustache.Context context) { Mustache.Option options; options.handler = (string tag) { throw new Exception("Unknown template tag " ~ tag); }; auto mustache = Mustache(options); return mustache.renderString(content, context); } unittest { Mustache mustache; // test case 0 (must throw) { auto context = new Mustache.Context; try { expandMacros("{{unknown}}", context); assert(false, "Unknown tag was ignored."); } catch (Exception) { assert(true); } } // test case 1 (variables) { string description = q{ variables: test: "test 123" }; auto context = new Mustache.Context; setupMustacheMacros(description, context); auto expand = expandMacros("{{test}}", context); assert(expand == "test 123", "test case 1 failure: '" ~ expand ~ "'"); } // test case 2 (variables) { string description = q{ variables: one: hello two: world }; auto context = new Mustache.Context; setupMustacheMacros(description, context); auto expand = expandMacros("{{one}} {{two}}", context); assert(expand == "hello world", "test case 2 failure: '" ~ expand ~ "'"); } // test case 3 (wrappers) { string description = q{ wrappers: wrap: "<h1>{{content}}</h1>" }; auto context = new Mustache.Context; setupMustacheMacros(description, context); auto expand = expandMacros("{{#wrap}}hello{{/wrap}}", context); assert(expand == "<h1>hello</h1>", "test case 3 failure: '" ~ expand ~ "'"); } // test case 4 (wrappers) { string description = q{ variables: test: hello wrappers: complex: | <div> {{test}} {{content}} </div> }; auto context = new Mustache.Context; setupMustacheMacros(description, context); auto expand = expandMacros("{{#complex}}world{{/complex}}", context); assert(expand == "<div>\nhello world\n</div>\n", "test case 4 failure: '" ~ expand ~ "'"); } }
D
/home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/ChannelHandlers.swift.o : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/System.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /usr/share/swift/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIOConcurrencyHelpers.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/share/swift/usr/lib/swift/linux/x86_64/glibc.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOSHA1.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CCryptoOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOZlib.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIODarwin.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOHTTPParser.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOAtomics.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOLinux.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio-zlib-support/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/ChannelHandlers~partial.swiftmodule : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/System.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /usr/share/swift/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIOConcurrencyHelpers.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/share/swift/usr/lib/swift/linux/x86_64/glibc.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOSHA1.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CCryptoOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOZlib.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIODarwin.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOHTTPParser.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOAtomics.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOLinux.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio-zlib-support/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/ChannelHandlers~partial.swiftdoc : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/System.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /usr/share/swift/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIOConcurrencyHelpers.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/share/swift/usr/lib/swift/linux/x86_64/glibc.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOSHA1.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CCryptoOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOZlib.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIODarwin.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOHTTPParser.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOAtomics.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOLinux.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio-zlib-support/module.modulemap
D
/Users/ybn/Library/Autosave\ Information/BestYakuGenerator/Build/Intermediates/BestYakuGenerator.build/Debug-iphonesimulator/BestYakuGenerator.build/Objects-normal/x86_64/TableViewController.o : /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/AppDelegate.swift /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/ViewController.swift /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/TableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/Build/Intermediates/BestYakuGenerator.build/Debug-iphonesimulator/BestYakuGenerator.build/Objects-normal/x86_64/TableViewController~partial.swiftmodule : /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/AppDelegate.swift /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/ViewController.swift /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/TableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/Build/Intermediates/BestYakuGenerator.build/Debug-iphonesimulator/BestYakuGenerator.build/Objects-normal/x86_64/TableViewController~partial.swiftdoc : /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/AppDelegate.swift /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/ViewController.swift /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/TableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
module android.java.android.media.MediaTimestamp; public import android.java.android.media.MediaTimestamp_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!MediaTimestamp; import import0 = android.java.java.lang.Class;
D
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/GroupBy.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Cancelable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObserverType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Reactive.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/RecursiveLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Errors.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/AtomicInt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Event.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/First.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Linux.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/danielmorales/CSUMB/Potluck/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/GroupBy~partial.swiftmodule : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Cancelable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObserverType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Reactive.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/RecursiveLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Errors.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/AtomicInt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Event.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/First.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Linux.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/danielmorales/CSUMB/Potluck/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/GroupBy~partial.swiftdoc : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Cancelable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObserverType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Reactive.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/RecursiveLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Errors.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/AtomicInt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Event.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/First.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Linux.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/danielmorales/CSUMB/Potluck/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/* Copyright (c) 2015, Dennis Meuwissen All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License does not apply to code and information found in the ./info directory. */ module audio.buffer; import std.stdio; import derelict.openal.al; public final class AudioBuffer { private ALuint _id; this(const ubyte[] data, const ALenum format, const uint sampleRate) { alGenBuffers(1, &_id); if (data.length) { alBufferData(_id, format, &data[0], data.length, sampleRate); } } ~this() { alDeleteBuffers(1, &_id); } @property public ALuint id() { return _id; } }
D
module android.java.java.security.cert.CertPathValidatorResult_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; final class CertPathValidatorResult : IJavaObject { static immutable string[] _d_canCastTo = [ "java/lang/Cloneable", ]; @Import IJavaObject clone(); @Import import0.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Ljava/security/cert/CertPathValidatorResult;"; }
D
struct A { int foo(string s) { return 0; } } static assert(__traits(getOverloads, A.init, "foo")[0]("hi") == 0); static assert(__traits(getOverloads, A.init, "foo", true)[0]("hi") == 0); struct B { int foo()(int i) { return 1; } int foo(string s) { return 0; } } alias a = __traits(getOverloads, B.init, "foo", true); static assert(__traits(getOverloads, B.init, "foo")[0]("hi") == 0); static assert(__traits(getOverloads, B.init, "foo", true)[0]("hi") == 0); struct C { static int foo()(int i) { return 1; } int foo(string s) { return 0; } } static assert(__traits(getOverloads, C.init, "foo")[0]("hi") == 0); static assert(__traits(getOverloads, C.init, "foo", true)[0]("hi") == 0); static assert(__traits(getOverloads, C.init, "foo", true)[1](7) == 1);
D
the phenomenon of light emission by a body as its temperature is raised light from heat
D
/home/cheney/Desktop/IoT-Fan/beaglebone_client/target/debug/build/backtrace-cd904342f95b14aa/build_script_build-cd904342f95b14aa: /home/cheney/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.14/build.rs /home/cheney/Desktop/IoT-Fan/beaglebone_client/target/debug/build/backtrace-cd904342f95b14aa/build_script_build-cd904342f95b14aa.d: /home/cheney/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.14/build.rs /home/cheney/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.14/build.rs:
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ module vtkIntVector2TN; static import vtkd_im; static import core.stdc.config; static import std.conv; static import std.string; static import std.conv; static import std.string; static import vtkIntTuple2TN; class vtkIntVector2TN : vtkIntTuple2TN.vtkIntTuple2TN { private void* swigCPtr; public this(void* cObject, bool ownCObject) { super(vtkd_im.vtkIntVector2TN_Upcast(cObject), ownCObject); swigCPtr = cObject; } public static void* swigGetCPtr(vtkIntVector2TN obj) { return (obj is null) ? null : obj.swigCPtr; } mixin vtkd_im.SwigOperatorDefinitions; ~this() { dispose(); } public override void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; vtkd_im.delete_vtkIntVector2TN(cast(void*)swigCPtr); } swigCPtr = null; super.dispose(); } } } public this() { this(vtkd_im.new_vtkIntVector2TN__SWIG_0(), true); } public this(int scalar) { this(vtkd_im.new_vtkIntVector2TN__SWIG_1(scalar), true); } public this(int* init) { this(vtkd_im.new_vtkIntVector2TN__SWIG_2(cast(void*)init), true); } public int SquaredNorm() const { auto ret = vtkd_im.vtkIntVector2TN_SquaredNorm(cast(void*)swigCPtr); return ret; } public double Norm() const { auto ret = vtkd_im.vtkIntVector2TN_Norm(cast(void*)swigCPtr); return ret; } public double Normalize() { auto ret = vtkd_im.vtkIntVector2TN_Normalize(cast(void*)swigCPtr); return ret; } public vtkIntVector2TN Normalized() const { vtkIntVector2TN ret = new vtkIntVector2TN(vtkd_im.vtkIntVector2TN_Normalized(cast(void*)swigCPtr), true); return ret; } public int Dot(vtkIntVector2TN other) const { auto ret = vtkd_im.vtkIntVector2TN_Dot(cast(void*)swigCPtr, vtkIntVector2TN.swigGetCPtr(other)); if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); return ret; } }
D
module UnrealScript.GameFramework.GameCrowdInteractionDestination; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.GameFramework.GameCrowdDestination; extern(C++) interface GameCrowdInteractionDestination : GameCrowdDestination { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class GameFramework.GameCrowdInteractionDestination")); } private static __gshared GameCrowdInteractionDestination mDefaultProperties; @property final static GameCrowdInteractionDestination DefaultProperties() { mixin(MGDPC("GameCrowdInteractionDestination", "GameCrowdInteractionDestination GameFramework.Default__GameCrowdInteractionDestination")); } }
D
/////////////////////////////////////////////////////////////////////// // Info EXIT /////////////////////////////////////////////////////////////////////// INSTANCE DIA_Rengaru_EXIT (C_INFO) { npc = VLK_492_Rengaru; nr = 999; condition = DIA_Rengaru_EXIT_Condition; information = DIA_Rengaru_EXIT_Info; permanent = TRUE; description = DIALOG_ENDE; }; FUNC INT DIA_Rengaru_EXIT_Condition() { return TRUE; }; FUNC VOID DIA_Rengaru_EXIT_Info() { AI_StopProcessInfos (self); }; // ************************************************************ // PICK POCKET // ************************************************************ INSTANCE DIA_Rengaru_PICKPOCKET (C_INFO) { npc = VLK_492_Rengaru; nr = 900; condition = DIA_Rengaru_PICKPOCKET_Condition; information = DIA_Rengaru_PICKPOCKET_Info; permanent = TRUE; description = Pickpocket_20; }; FUNC INT DIA_Rengaru_PICKPOCKET_Condition() { C_Beklauen (20, 5); }; FUNC VOID DIA_Rengaru_PICKPOCKET_Info() { Info_ClearChoices (DIA_Rengaru_PICKPOCKET); Info_AddChoice (DIA_Rengaru_PICKPOCKET, DIALOG_BACK ,DIA_Rengaru_PICKPOCKET_BACK); Info_AddChoice (DIA_Rengaru_PICKPOCKET, DIALOG_PICKPOCKET ,DIA_Rengaru_PICKPOCKET_DoIt); }; func void DIA_Rengaru_PICKPOCKET_DoIt() { B_Beklauen (); Info_ClearChoices (DIA_Rengaru_PICKPOCKET); }; func void DIA_Rengaru_PICKPOCKET_BACK() { Info_ClearChoices (DIA_Rengaru_PICKPOCKET); }; /////////////////////////////////////////////////////////////////////// // Info Hauab /////////////////////////////////////////////////////////////////////// instance DIA_Rengaru_Hauab (C_INFO) { npc = VLK_492_Rengaru; nr = 2; condition = DIA_Rengaru_Hauab_Condition; information = DIA_Rengaru_Hauab_Info; permanent = TRUE; description = "Co tu porabiasz?"; }; func int DIA_Rengaru_Hauab_Condition () { if (Jora_Dieb != LOG_RUNNING) && (Npc_KnowsInfo (other,DIA_Rengaru_GOTYOU) == FALSE) { return TRUE; }; }; func void DIA_Rengaru_Hauab_Info () { AI_Output (other, self, "DIA_Rengaru_Hauab_15_00"); //Co tu porabiasz? AI_Output (self, other, "DIA_Rengaru_Hauab_07_01"); //A niby dlaczego miałbym ci mówić. Spadaj! AI_StopProcessInfos (self); }; /////////////////////////////////////////////////////////////////////// // Info HalloDieb /////////////////////////////////////////////////////////////////////// instance DIA_Rengaru_HALLODIEB (C_INFO) { npc = VLK_492_Rengaru; nr = 2; condition = DIA_Rengaru_HALLODIEB_Condition; information = DIA_Rengaru_HALLODIEB_Info; permanent = FALSE; description = "Jora mówi, że masz jego pieniądze."; }; func int DIA_Rengaru_HALLODIEB_Condition () { if (Jora_Dieb == LOG_RUNNING) { return TRUE; }; }; func void DIA_Rengaru_HALLODIEB_Info () { AI_Output (other, self, "DIA_Rengaru_HALLODIEB_15_00"); //Jora mówi, że masz jego pieniądze. AI_Output (self, other, "DIA_Rengaru_HALLODIEB_07_01"); //Cholera! Spadam stąd! AI_StopProcessInfos (self); Npc_ExchangeRoutine (self,"RunAway"); }; /////////////////////////////////////////////////////////////////////// // Info GotYou /////////////////////////////////////////////////////////////////////// instance DIA_Rengaru_GOTYOU (C_INFO) { npc = VLK_492_Rengaru; nr = 3; condition = DIA_Rengaru_GOTYOU_Condition; information = DIA_Rengaru_GOTYOU_Info; permanent = FALSE; description = "Mam cię!"; }; func int DIA_Rengaru_GOTYOU_Condition () { if (Npc_KnowsInfo(other, DIA_Rengaru_HALLODIEB)) { return TRUE; }; }; func void DIA_Rengaru_GOTYOU_Info () { B_GivePlayerXP (XP_RengaruGotThief); AI_Output (other, self, "DIA_Rengaru_GOTYOU_15_00"); //Mam cię! AI_Output (self, other, "DIA_Rengaru_GOTYOU_07_01"); //Czego ode mnie chcesz? AI_Output (other, self, "DIA_Rengaru_GOTYOU_15_02"); //Okradłeś Jorę w biały dzień, widział nawet, jak to robiłeś. AI_Output (other, self, "DIA_Rengaru_GOTYOU_15_03"); //Przyszedłem ci więc powiedzieć, że jesteś zawszonym złodziejem i... Info_ClearChoices (DIA_Rengaru_GOTYOU); Info_AddChoice (DIA_Rengaru_GOTYOU, "...Zasługuję na udział.", DIA_Rengaru_GOTYOU_Anteil ); Info_AddChoice (DIA_Rengaru_GOTYOU, "...żebyś lepiej zwrócił Jorze skradzione pieniądze, natychmiast.", DIA_Rengaru_GOTYOU_YouThief ); Info_AddChoice (DIA_Rengaru_GOTYOU, "...Teraz gadaj, kim jesteś?", DIA_Rengaru_GOTYOU_WhoAreYou ); }; func void DIA_Rengaru_GOTYOU_YouThief () { AI_Output (other, self, "DIA_Rengaru_GOTYOU_YouThief_15_00"); //...żebyś lepiej zwrócił Jorze skradzione pieniądze, natychmiast. if (Npc_HasItems (self, Itmi_Gold) >= 1) { AI_Output (self, other, "DIA_Rengaru_GOTYOU_YouThief_07_01"); //Oto kasa! A teraz pozwól mi odejść, obiecuję, że już nigdy nic nie ukradnę. B_GiveInvItems (self, other, ItMi_Gold, Npc_HasItems (self, ItMi_Gold)); } else { AI_Output (self, other, "DIA_Rengaru_GOTYOU_YouThief_07_02"); //Nie mam już tego złota. if (self.aivar[AIV_LastFightAgainstPlayer] == FIGHT_LOST) { AI_Output (self, other, "DIA_Rengaru_GOTYOU_YouThief_07_03"); //Zresztą, po co ja ci to właściwie mówię? Już mnie przecież obrobiłeś! }; }; Info_ClearChoices (DIA_Rengaru_GOTYOU); }; func void DIA_Rengaru_GOTYOU_Anteil () { AI_Output (other, self, "DIA_Rengaru_GOTYOU_Anteil_15_00"); //...Zasługuję na udział. if (self.aivar[AIV_LastFightAgainstPlayer] == FIGHT_LOST) && (Npc_HasItems (self, ItMi_Gold) < 1) { AI_Output (self, other, "DIA_Rengaru_GOTYOU_Anteil_07_01"); //Poturbowałeś mnie, wziąłeś wszystko, co miałem! Pozwól mi po prostu odejść! Info_ClearChoices (DIA_Rengaru_GOTYOU); } else { //HACK MF. self/other - falsch gesprochen, kein Ersatz... AI_Output (self, other, "DIA_Rengaru_GOTYOU_Anteil_15_02"); //Trudno, wygląda na to, że nie mam wyboru. Podzielimy się po połowie. Info_ClearChoices (DIA_Rengaru_GOTYOU); Info_AddChoice (DIA_Rengaru_GOTYOU, "O nie! Oddasz mi wszystko!", DIA_Rengaru_GOTYOU_Anteil_alles ); Info_AddChoice (DIA_Rengaru_GOTYOU, "W porządku, oddaj mi połowę.", DIA_Rengaru_GOTYOU_Anteil_GehtKlar ); }; }; func void DIA_Rengaru_GOTYOU_Anteil_alles () { AI_Output (other, self, "DIA_Rengaru_GOTYOU_Anteil_alles_15_00"); //O nie! Oddasz mi wszystko! if (Npc_HasItems (self, Itmi_Gold) >= 2) { AI_Output (self, other, "DIA_Rengaru_GOTYOU_Anteil_alles_07_02"); //Postanowiłeś mnie obrobić do cna. A bierz sobie całe złoto i zostaw mnie w spokoju. B_GiveInvItems (self, other, ItMi_Gold, Npc_HasItems (self, ItMi_Gold) ); Info_ClearChoices (DIA_Rengaru_GOTYOU); } else { AI_Output (self, other, "DIA_Rengaru_GOTYOU_Anteil_alles_07_03"); //Oddałbym ci złoto, ale już go nie mam. Info_ClearChoices (DIA_Rengaru_GOTYOU); }; }; func void DIA_Rengaru_GOTYOU_Anteil_GehtKlar () { AI_Output (other, self, "DIA_Rengaru_GOTYOU_Anteil_GehtKlar_15_00"); //W porządku, oddaj mi połowę. if B_GiveInvItems (self, other, ItMi_Gold, (Npc_HasItems (self, ItMi_Gold))/2 ) { AI_Output (self, other, "DIA_Rengaru_GOTYOU_Anteil_GehtKlar_07_01"); //Oto połowa złota! A teraz zostaw mnie w spokoju! Info_ClearChoices (DIA_Rengaru_GOTYOU); } else { AI_Output (self, other, "DIA_Rengaru_GOTYOU_Anteil_GehtKlar_07_02"); //Chętnie oddałbym ci połowę złota, ale nie mam go już przy sobie. Info_ClearChoices (DIA_Rengaru_GOTYOU); }; }; func void DIA_Rengaru_GOTYOU_WhoAreYou () { AI_Output (other, self, "DIA_Rengaru_GOTYOU_WhoAreYou_15_00"); //...Teraz gadaj, kim jesteś? AI_Output (self, other, "DIA_Rengaru_GOTYOU_WhoAreYou_07_01"); //Jestem tylko nędzarzem, starającym się związać koniec z końcem, w taki czy inny sposób. AI_Output (self, other, "DIA_Rengaru_GOTYOU_WhoAreYou_07_02"); //Cóż innego mi pozostało, w mieście pracy nie znajdę... AI_Output (other, self, "DIA_Rengaru_GOTYOU_WhoAreYou_15_03"); //...Dobra, rozumiem. Oszczędź mi tych jęków. }; /////////////////////////////////////////////////////////////////////// // Info InKnast /////////////////////////////////////////////////////////////////////// instance DIA_Rengaru_INKNAST (C_INFO) { npc = VLK_492_Rengaru; nr = 4; condition = DIA_Rengaru_INKNAST_Condition; information = DIA_Rengaru_INKNAST_Info; permanent = FALSE; description = "Powinienem wydać cię straży."; }; func int DIA_Rengaru_INKNAST_Condition () { if (Npc_KnowsInfo(other, DIA_Rengaru_GOTYOU)) { return TRUE; }; }; func void DIA_Rengaru_INKNAST_Info () { AI_Output (other, self, "DIA_Rengaru_INKNAST_15_00"); //Powinienem wydać cię straży. AI_Output (self, other, "DIA_Rengaru_INKNAST_07_01"); //Czego jeszcze ode mnie chcesz? Nie mam już nic! Zostaw mnie w spokoju! Info_AddChoice (DIA_Rengaru_INKNAST, "Dlaczego miałbym chcieć to zrobić?", DIA_Rengaru_INKNAST_keinKnast ); Info_AddChoice (DIA_Rengaru_INKNAST, "Dopilnuję, byś trafił za kratki.", DIA_Rengaru_INKNAST_Knast ); Info_AddChoice (DIA_Rengaru_INKNAST, "Won stąd! Nie chcę więcej oglądać twojej gęby!", DIA_Rengaru_INKNAST_HauAb ); }; func void DIA_Rengaru_INKNAST_HauAb () { AI_Output (other, self, "DIA_Rengaru_INKNAST_HauAb_15_00"); //Won stąd! Nie chcę więcej oglądać twojej gęby! AI_Output (self, other, "DIA_Rengaru_INKNAST_HauAb_07_01"); //Nie pożałujesz tego! Dzięki, stary! Npc_ExchangeRoutine (self,"Start"); AI_StopProcessInfos (self); Diebesgilde_Okay = (Diebesgilde_Okay + 1); }; func void DIA_Rengaru_INKNAST_Knast () { AI_Output (other, self, "DIA_Rengaru_INKNAST_Knast_15_00"); //Dopilnuję, byś trafił za kratki. AI_Output (self, other, "DIA_Rengaru_INKNAST_Knast_07_01"); //Nie chcę więcej kłopotów, jeśli uważasz, że tak właśnie powinieneś postąpić, proszę bardzo. AI_Output (self, other, "DIA_Rengaru_INKNAST_Knast_07_02"); //Uważaj jednak, moim przyjaciołom nie spodoba się to, jak mnie potraktowałeś... Rengaru_InKnast = TRUE; AI_StopProcessInfos (self); }; func void DIA_Rengaru_INKNAST_keinKnast () { AI_Output (other, self, "DIA_Rengaru_INKNAST_keinKnast_15_00"); //Dlaczego miałbym chcieć to zrobić? AI_Output (self, other, "DIA_Rengaru_INKNAST_keinKnast_07_01"); //W mieście dobrze jest znać pewnych ludzi, i zawsze stać po ich stronie. AI_Output (self, other, "DIA_Rengaru_INKNAST_keinKnast_07_02"); //Mogę szepnąć dobre słówko na twój temat tu i tam. Reszta zależy od ciebie. }; /////////////////////////////////////////////////////////////////////// // Info LastInfoKap1 /////////////////////////////////////////////////////////////////////// instance DIA_Rengaru_LastInfoKap1 (C_INFO) { npc = VLK_492_Rengaru; nr = 6; condition = DIA_Rengaru_LastInfoKap1_Condition; information = DIA_Rengaru_LastInfoKap1_Info; permanent = TRUE; description = "I jak? Wszystko w porządku?"; }; func int DIA_Rengaru_LastInfoKap1_Condition () { if (Npc_KnowsInfo(other, DIA_Rengaru_INKNAST)) { return TRUE; }; }; func void DIA_Rengaru_LastInfoKap1_Info () { AI_Output (other, self, "DIA_Rengaru_LastInfoKap1_15_00"); //I jak? Wszystko w porządku? if (Rengaru_InKnast == TRUE) { AI_Output (self, other, "DIA_Rengaru_LastInfoKap1_07_01"); //No dalej, nabijaj się ze mnie. W końcu ci się oberwie, przysięgam! } else { AI_Output (self, other, "DIA_Rengaru_LastInfoKap1_07_02"); //Czego jeszcze chcesz? Niczego więcej nie ukradłem, jak babcię kocham! }; }; /////////////////////////////////////////////////////////////////////// // Info Diebeszeichen /////////////////////////////////////////////////////////////////////// INSTANCE DIA_Rengaru_Zeichen (C_INFO) { npc = VLK_492_Rengaru; nr = 2; condition = DIA_Rengaru_Zeichen_Condition; information = DIA_Rengaru_Zeichen_Info; permanent = FALSE; description = "(Pokaż złodziejski gest)"; }; FUNC INT DIA_Rengaru_Zeichen_Condition() { if (Knows_SecretSign == TRUE) && (Rengaru_InKnast == FALSE) && Npc_KnowsInfo (other, DIA_Rengaru_GOTYOU) { return TRUE; }; }; FUNC VOID DIA_Rengaru_Zeichen_Info() { AI_PlayAni (other, "T_YES"); AI_Output (self, other, "DIA_Rengaru_Zeichen_07_00");//Hej, jesteś jednym z nas. AI_Output (self, other, "DIA_Rengaru_Zeichen_07_01");//Pozwól, że coś ci powiem. Jeśli chcesz obrobić parę kieszonek w mieście, to uważaj na kupców! AI_Output (self, other, "DIA_Rengaru_Zeichen_07_02");//Te psubraty nieźle pilnują swojego towaru. Dam ci jednak wskazówkę. AI_Output (self, other, "DIA_Rengaru_Zeichen_07_03");//Kiedy będziesz łapał przedmiot, który chcesz ukraść, jedną ręką, machaj drugą. To ich rozprasza. B_RaiseAttribute(other, ATR_DEXTERITY, 1); Snd_Play ("LEVELUP"); };
D
// @file memory2.d import std.stdio; void main(){ int myInt; int* pointerToInteger = &myInt; writeln(&myInt); writeln(pointerToInteger); }
D
module reggae.backend.make; import reggae.build; import reggae.range; import reggae.rules; import reggae.options; import std.conv; import std.array; import std.path; import std.algorithm; struct Makefile { Build build; const(Options) options; string projectPath; this(Build build) @safe pure { this(build, Options()); } this(Build build, in string projectPath) @safe pure { import reggae.config: options; auto modOptions = options.dup; modOptions.projectPath = projectPath; this(build, modOptions); } this(Build build, in Options options) @safe pure { this.build = build; this.options = options; } string fileName() @safe pure nothrow const { return "Makefile"; } //only the main targets string simpleOutput() @safe { auto ret = banner; ret ~= text("all: ", build.defaultTargetsString(options.projectPath), "\n"); ret ~= ".SUFFIXES:\n"; //disable default rules ret ~= options.compilerVariables.join("\n") ~ "\n"; foreach(t; build.range) { mkDir(t); immutable output = t.outputsInProjectPath(options.projectPath).join(" "); if(t.getCommandType == CommandType.phony) { ret ~= ".PHONY: " ~ output ~ "\n"; } ret ~= output ~ ": "; ret ~= (t.dependenciesInProjectPath(options.projectPath) ~ t.implicitsInProjectPath(options.projectPath)).join(" "); ret ~= " " ~ fileName() ~ "\n"; ret ~= "\t" ~ command(t) ~ "\n"; } return ret; } //includes rerunning reggae string output() @safe { auto ret = simpleOutput; if(options.export_) { ret = options.eraseProjectPath(ret); } else { // add a dependency on the Makefile to reggae itself and the build description, // but only if not exporting a build ret ~= fileName() ~ ": " ~ (options.reggaeFileDependencies ~ getReggaeFileDependencies).join(" ") ~ "\n"; ret ~= "\t" ~ options.rerunArgs.join(" ") ~ "\n"; } return ret; } private void mkDir(Target target) @trusted const { foreach(output; target.outputsInProjectPath(options.projectPath)) { import std.file; if(!output.dirName.exists) mkdirRecurse(output.dirName); } } //the only reason this is needed is to add auto dependency //tracking string command(Target target) @safe const { immutable cmdType = target.getCommandType; if(cmdType == CommandType.code) throw new Exception("Command type 'code' not supported for make backend"); immutable cmd = target.shellCommand(options).replaceConcreteCompilersWithVars(options); immutable depfile = target.outputsInProjectPath(options.projectPath)[0] ~ ".dep"; if(target.hasDefaultCommand) { return cmdType == CommandType.link ? cmd : cmd ~ makeAutoDeps(depfile); } else { return cmd; } } } //For explanation of the crazy Makefile commands, see: //http://stackoverflow.com/questions/8025766/makefile-auto-dependency-generation //http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/ private string makeAutoDeps(in string depfile) @safe pure nothrow { immutable pFile = depfile ~ ".P"; return "\n\t@cp " ~ depfile ~ " " ~ pFile ~ "; \\\n" ~ " sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \\\n" ~ " -e '/^$$/ d' -e 's/$$/ :/' < " ~ depfile ~ " >> " ~ pFile ~"; \\\n" ~ " rm -f " ~ depfile ~ "\n\n" ~ "-include " ~ pFile ~ "\n\n"; }
D
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/FluentTester.build/Objects-normal/x86_64/Compound.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Atom.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Compound.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+InsertAndFind.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+PivotsAndRelations.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+Utilities.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Fluent.framework/Modules/Fluent.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Polymorphic.framework/Modules/Polymorphic.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/FluentTester.build/Objects-normal/x86_64/Compound~partial.swiftmodule : /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Atom.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Compound.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+InsertAndFind.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+PivotsAndRelations.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+Utilities.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Fluent.framework/Modules/Fluent.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Polymorphic.framework/Modules/Polymorphic.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/FluentTester.build/Objects-normal/x86_64/Compound~partial.swiftdoc : /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Atom.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Compound.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+InsertAndFind.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+PivotsAndRelations.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester+Utilities.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Tester.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Fluent.framework/Modules/Fluent.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Node.framework/Modules/Node.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/PathIndexable.framework/Modules/PathIndexable.swiftmodule/x86_64.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/Polymorphic.framework/Modules/Polymorphic.swiftmodule/x86_64.swiftmodule
D
/*************************** * D programming language http://www.digitalmars.com/d/ * Runtime support for byte array operations. * Based on code originally written by Burton Radons. * Placed in public domain. */ /* Contains SSE2 and MMX versions of certain operations for char, byte, * and ubyte ('a', 'g' and 'h' suffixes). */ module rt.arraybyte; import CPUid = std.cpuid; debug(UnitTest) { private extern(C) int printf(char*,...); /* This is so unit tests will test every CPU variant */ int cpuid; const int CPUID_MAX = 4; bool mmx() { return cpuid == 1 && CPUid.mmx(); } bool sse() { return cpuid == 2 && CPUid.sse(); } bool sse2() { return cpuid == 3 && CPUid.sse2(); } bool amd3dnow() { return cpuid == 4 && CPUid.amd3dnow(); } } else { alias CPUid.mmx mmx; alias CPUid.sse sse; alias CPUid.sse2 sse2; alias CPUid.amd3dnow amd3dnow; } //version = log; bool disjoint(T)(T[] a, T[] b) { return (a.ptr + a.length <= b.ptr || b.ptr + b.length <= a.ptr); } alias byte T; extern (C): /* ======================================================================== */ /*********************** * Computes: * a[] = b[] + value */ T[] _arraySliceExpAddSliceAssign_a(T[] a, T value, T[] b) { return _arraySliceExpAddSliceAssign_g(a, value, b); } T[] _arraySliceExpAddSliceAssign_h(T[] a, T value, T[] b) { return _arraySliceExpAddSliceAssign_g(a, value, b); } T[] _arraySliceExpAddSliceAssign_g(T[] a, T value, T[] b) in { assert(a.length == b.length); assert(disjoint(a, b)); } body { //printf("_arraySliceExpAddSliceAssign_g()\n"); auto aptr = a.ptr; auto aend = aptr + a.length; auto bptr = b.ptr; version (D_InlineAsm_X86) { // SSE2 aligned version is 1088% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); uint l = cast(ubyte) value; l |= (l << 8); l |= (l << 16); if (((cast(uint) aptr | cast(uint) bptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startaddsse2u: add ESI, 64; movdqu XMM0, [EAX]; movdqu XMM1, [EAX+16]; movdqu XMM2, [EAX+32]; movdqu XMM3, [EAX+48]; add EAX, 64; paddb XMM0, XMM4; paddb XMM1, XMM4; paddb XMM2, XMM4; paddb XMM3, XMM4; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddsse2u; mov aptr, ESI; mov bptr, EAX; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startaddsse2a: add ESI, 64; movdqa XMM0, [EAX]; movdqa XMM1, [EAX+16]; movdqa XMM2, [EAX+32]; movdqa XMM3, [EAX+48]; add EAX, 64; paddb XMM0, XMM4; paddb XMM1, XMM4; paddb XMM2, XMM4; paddb XMM3, XMM4; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddsse2a; mov aptr, ESI; mov bptr, EAX; } } } else // MMX version is 1000% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); uint l = cast(ubyte) value; l |= (l << 8); asm { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd MM4, l; pshufw MM4, MM4, 0; align 4; startaddmmx: add ESI, 32; movq MM0, [EAX]; movq MM1, [EAX+8]; movq MM2, [EAX+16]; movq MM3, [EAX+24]; add EAX, 32; paddb MM0, MM4; paddb MM1, MM4; paddb MM2, MM4; paddb MM3, MM4; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startaddmmx; emms; mov aptr, ESI; mov bptr, EAX; } } /* trying to be fair and treat normal 32-bit cpu the same way as we do * the SIMD units, with unrolled asm. There's not enough registers, * really. */ else if (a.length >= 4) { auto n = aptr + (a.length & ~3); asm { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov CL, value; align 4; startadd386: add ESI, 4; mov DX, [EAX]; mov BX, [EAX+2]; add EAX, 4; add BL, CL; add BH, CL; add DL, CL; add DH, CL; mov [ESI -4], DX; mov [ESI+2 -4], BX; cmp ESI, EDI; jb startadd386; mov aptr, ESI; mov bptr, EAX; } } } while (aptr < aend) *aptr++ = cast(T)(*bptr++ + value); return a; } unittest { printf("_arraySliceExpAddSliceAssign_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } c[] = a[] + 6; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(a[i] + 6)) { printf("[%d]: %d != %d + 6\n", i, c[i], a[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] = b[] + c[] */ T[] _arraySliceSliceAddSliceAssign_a(T[] a, T[] c, T[] b) { return _arraySliceSliceAddSliceAssign_g(a, c, b); } T[] _arraySliceSliceAddSliceAssign_h(T[] a, T[] c, T[] b) { return _arraySliceSliceAddSliceAssign_g(a, c, b); } T[] _arraySliceSliceAddSliceAssign_g(T[] a, T[] c, T[] b) in { assert(a.length == b.length && b.length == c.length); assert(disjoint(a, b)); assert(disjoint(a, c)); assert(disjoint(b, c)); } body { //printf("_arraySliceSliceAddSliceAssign_g()\n"); auto aptr = a.ptr; auto aend = aptr + a.length; auto bptr = b.ptr; auto cptr = c.ptr; version (D_InlineAsm_X86) { // SSE2 aligned version is 5739% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); if (((cast(uint) aptr | cast(uint) bptr | cast(uint) cptr) & 15) != 0) { version (log) printf("\tsse2 unaligned\n"); asm // unaligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov ECX, cptr; align 8; startaddlsse2u: add ESI, 64; movdqu XMM0, [EAX]; movdqu XMM1, [EAX+16]; movdqu XMM2, [EAX+32]; movdqu XMM3, [EAX+48]; add EAX, 64; movdqu XMM4, [ECX]; movdqu XMM5, [ECX+16]; movdqu XMM6, [ECX+32]; movdqu XMM7, [ECX+48]; add ECX, 64; paddb XMM0, XMM4; paddb XMM1, XMM5; paddb XMM2, XMM6; paddb XMM3, XMM7; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddlsse2u; mov aptr, ESI; mov bptr, EAX; mov cptr, ECX; } } else { version (log) printf("\tsse2 aligned\n"); asm // aligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov ECX, cptr; align 8; startaddlsse2a: add ESI, 64; movdqa XMM0, [EAX]; movdqa XMM1, [EAX+16]; movdqa XMM2, [EAX+32]; movdqa XMM3, [EAX+48]; add EAX, 64; movdqa XMM4, [ECX]; movdqa XMM5, [ECX+16]; movdqa XMM6, [ECX+32]; movdqa XMM7, [ECX+48]; add ECX, 64; paddb XMM0, XMM4; paddb XMM1, XMM5; paddb XMM2, XMM6; paddb XMM3, XMM7; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddlsse2a; mov aptr, ESI; mov bptr, EAX; mov cptr, ECX; } } } else // MMX version is 4428% faster if (mmx() && a.length >= 32) { version (log) printf("\tmmx\n"); auto n = aptr + (a.length & ~31); asm { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov ECX, cptr; align 4; startaddlmmx: add ESI, 32; movq MM0, [EAX]; movq MM1, [EAX+8]; movq MM2, [EAX+16]; movq MM3, [EAX+24]; add EAX, 32; movq MM4, [ECX]; movq MM5, [ECX+8]; movq MM6, [ECX+16]; movq MM7, [ECX+24]; add ECX, 32; paddb MM0, MM4; paddb MM1, MM5; paddb MM2, MM6; paddb MM3, MM7; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startaddlmmx; emms; mov aptr, ESI; mov bptr, EAX; mov cptr, ECX; } } } version (log) if (aptr < aend) printf("\tbase\n"); while (aptr < aend) *aptr++ = cast(T)(*bptr++ + *cptr++); return a; } unittest { printf("_arraySliceSliceAddSliceAssign_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } c[] = a[] + b[]; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(a[i] + b[i])) { printf("[%d]: %d != %d + %d\n", i, c[i], a[i], b[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] += value */ T[] _arrayExpSliceAddass_a(T[] a, T value) { return _arrayExpSliceAddass_g(a, value); } T[] _arrayExpSliceAddass_h(T[] a, T value) { return _arrayExpSliceAddass_g(a, value); } T[] _arrayExpSliceAddass_g(T[] a, T value) { //printf("_arrayExpSliceAddass_g(a.length = %d, value = %Lg)\n", a.length, cast(real)value); auto aptr = a.ptr; auto aend = aptr + a.length; version (D_InlineAsm_X86) { // SSE2 aligned version is 1578% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); uint l = cast(ubyte) value; l |= (l << 8); l |= (l << 16); if (((cast(uint) aptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startaddasssse2u: movdqu XMM0, [ESI]; movdqu XMM1, [ESI+16]; movdqu XMM2, [ESI+32]; movdqu XMM3, [ESI+48]; add ESI, 64; paddb XMM0, XMM4; paddb XMM1, XMM4; paddb XMM2, XMM4; paddb XMM3, XMM4; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddasssse2u; mov aptr, ESI; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startaddasssse2a: movdqa XMM0, [ESI]; movdqa XMM1, [ESI+16]; movdqa XMM2, [ESI+32]; movdqa XMM3, [ESI+48]; add ESI, 64; paddb XMM0, XMM4; paddb XMM1, XMM4; paddb XMM2, XMM4; paddb XMM3, XMM4; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddasssse2a; mov aptr, ESI; } } } else // MMX version is 1721% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); uint l = cast(ubyte) value; l |= (l << 8); asm { mov ESI, aptr; mov EDI, n; movd MM4, l; pshufw MM4, MM4, 0; align 8; startaddassmmx: movq MM0, [ESI]; movq MM1, [ESI+8]; movq MM2, [ESI+16]; movq MM3, [ESI+24]; add ESI, 32; paddb MM0, MM4; paddb MM1, MM4; paddb MM2, MM4; paddb MM3, MM4; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startaddassmmx; emms; mov aptr, ESI; } } } while (aptr < aend) *aptr++ += value; return a; } unittest { printf("_arrayExpSliceAddass_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } a[] = c[]; c[] += 6; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(a[i] + 6)) { printf("[%d]: %d != %d + 6\n", i, c[i], a[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] += b[] */ T[] _arraySliceSliceAddass_a(T[] a, T[] b) { return _arraySliceSliceAddass_g(a, b); } T[] _arraySliceSliceAddass_h(T[] a, T[] b) { return _arraySliceSliceAddass_g(a, b); } T[] _arraySliceSliceAddass_g(T[] a, T[] b) in { assert (a.length == b.length); assert (disjoint(a, b)); } body { //printf("_arraySliceSliceAddass_g()\n"); auto aptr = a.ptr; auto aend = aptr + a.length; auto bptr = b.ptr; version (D_InlineAsm_X86) { // SSE2 aligned version is 4727% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); if (((cast(uint) aptr | cast(uint) bptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; mov ECX, bptr; align 8; startaddasslsse2u: movdqu XMM0, [ESI]; movdqu XMM1, [ESI+16]; movdqu XMM2, [ESI+32]; movdqu XMM3, [ESI+48]; add ESI, 64; movdqu XMM4, [ECX]; movdqu XMM5, [ECX+16]; movdqu XMM6, [ECX+32]; movdqu XMM7, [ECX+48]; add ECX, 64; paddb XMM0, XMM4; paddb XMM1, XMM5; paddb XMM2, XMM6; paddb XMM3, XMM7; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddasslsse2u; mov aptr, ESI; mov bptr, ECX; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; mov ECX, bptr; align 8; startaddasslsse2a: movdqa XMM0, [ESI]; movdqa XMM1, [ESI+16]; movdqa XMM2, [ESI+32]; movdqa XMM3, [ESI+48]; add ESI, 64; movdqa XMM4, [ECX]; movdqa XMM5, [ECX+16]; movdqa XMM6, [ECX+32]; movdqa XMM7, [ECX+48]; add ECX, 64; paddb XMM0, XMM4; paddb XMM1, XMM5; paddb XMM2, XMM6; paddb XMM3, XMM7; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startaddasslsse2a; mov aptr, ESI; mov bptr, ECX; } } } else // MMX version is 3059% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); asm { mov ESI, aptr; mov EDI, n; mov ECX, bptr; align 8; startaddasslmmx: movq MM0, [ESI]; movq MM1, [ESI+8]; movq MM2, [ESI+16]; movq MM3, [ESI+24]; add ESI, 32; movq MM4, [ECX]; movq MM5, [ECX+8]; movq MM6, [ECX+16]; movq MM7, [ECX+24]; add ECX, 32; paddb MM0, MM4; paddb MM1, MM5; paddb MM2, MM6; paddb MM3, MM7; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startaddasslmmx; emms; mov aptr, ESI; mov bptr, ECX; } } } while (aptr < aend) *aptr++ += *bptr++; return a; } unittest { printf("_arraySliceSliceAddass_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } a[] = c[]; c[] += b[]; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(a[i] + b[i])) { printf("[%d]: %d != %d + %d\n", i, c[i], a[i], b[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] = b[] - value */ T[] _arraySliceExpMinSliceAssign_a(T[] a, T value, T[] b) { return _arraySliceExpMinSliceAssign_g(a, value, b); } T[] _arraySliceExpMinSliceAssign_h(T[] a, T value, T[] b) { return _arraySliceExpMinSliceAssign_g(a, value, b); } T[] _arraySliceExpMinSliceAssign_g(T[] a, T value, T[] b) in { assert(a.length == b.length); assert(disjoint(a, b)); } body { //printf("_arraySliceExpMinSliceAssign_g()\n"); auto aptr = a.ptr; auto aend = aptr + a.length; auto bptr = b.ptr; version (D_InlineAsm_X86) { // SSE2 aligned version is 1189% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); uint l = cast(ubyte) value; l |= (l << 8); l |= (l << 16); if (((cast(uint) aptr | cast(uint) bptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startsubsse2u: add ESI, 64; movdqu XMM0, [EAX]; movdqu XMM1, [EAX+16]; movdqu XMM2, [EAX+32]; movdqu XMM3, [EAX+48]; add EAX, 64; psubb XMM0, XMM4; psubb XMM1, XMM4; psubb XMM2, XMM4; psubb XMM3, XMM4; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startsubsse2u; mov aptr, ESI; mov bptr, EAX; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startsubsse2a: add ESI, 64; movdqa XMM0, [EAX]; movdqa XMM1, [EAX+16]; movdqa XMM2, [EAX+32]; movdqa XMM3, [EAX+48]; add EAX, 64; psubb XMM0, XMM4; psubb XMM1, XMM4; psubb XMM2, XMM4; psubb XMM3, XMM4; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startsubsse2a; mov aptr, ESI; mov bptr, EAX; } } } else // MMX version is 1079% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); uint l = cast(ubyte) value; l |= (l << 8); asm { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd MM4, l; pshufw MM4, MM4, 0; align 4; startsubmmx: add ESI, 32; movq MM0, [EAX]; movq MM1, [EAX+8]; movq MM2, [EAX+16]; movq MM3, [EAX+24]; add EAX, 32; psubb MM0, MM4; psubb MM1, MM4; psubb MM2, MM4; psubb MM3, MM4; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startsubmmx; emms; mov aptr, ESI; mov bptr, EAX; } } // trying to be fair and treat normal 32-bit cpu the same way as we do the SIMD units, with unrolled asm. There's not enough registers, really. else if (a.length >= 4) { auto n = aptr + (a.length & ~3); asm { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov CL, value; align 4; startsub386: add ESI, 4; mov DX, [EAX]; mov BX, [EAX+2]; add EAX, 4; sub BL, CL; sub BH, CL; sub DL, CL; sub DH, CL; mov [ESI -4], DX; mov [ESI+2 -4], BX; cmp ESI, EDI; jb startsub386; mov aptr, ESI; mov bptr, EAX; } } } while (aptr < aend) *aptr++ = cast(T)(*bptr++ - value); return a; } unittest { printf("_arraySliceExpMinSliceAssign_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } a[] = c[]; c[] = b[] - 6; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(b[i] - 6)) { printf("[%d]: %d != %d - 6\n", i, c[i], b[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] = value - b[] */ T[] _arrayExpSliceMinSliceAssign_a(T[] a, T[] b, T value) { return _arrayExpSliceMinSliceAssign_g(a, b, value); } T[] _arrayExpSliceMinSliceAssign_h(T[] a, T[] b, T value) { return _arrayExpSliceMinSliceAssign_g(a, b, value); } T[] _arrayExpSliceMinSliceAssign_g(T[] a, T[] b, T value) in { assert(a.length == b.length); assert(disjoint(a, b)); } body { //printf("_arrayExpSliceMinSliceAssign_g()\n"); auto aptr = a.ptr; auto aend = aptr + a.length; auto bptr = b.ptr; version (D_InlineAsm_X86) { // SSE2 aligned version is 8748% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); uint l = cast(ubyte) value; l |= (l << 8); l |= (l << 16); if (((cast(uint) aptr | cast(uint) bptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startsubrsse2u: add ESI, 64; movdqa XMM5, XMM4; movdqa XMM6, XMM4; movdqu XMM0, [EAX]; movdqu XMM1, [EAX+16]; psubb XMM5, XMM0; psubb XMM6, XMM1; movdqu [ESI -64], XMM5; movdqu [ESI+16-64], XMM6; movdqa XMM5, XMM4; movdqa XMM6, XMM4; movdqu XMM2, [EAX+32]; movdqu XMM3, [EAX+48]; add EAX, 64; psubb XMM5, XMM2; psubb XMM6, XMM3; movdqu [ESI+32-64], XMM5; movdqu [ESI+48-64], XMM6; cmp ESI, EDI; jb startsubrsse2u; mov aptr, ESI; mov bptr, EAX; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startsubrsse2a: add ESI, 64; movdqa XMM5, XMM4; movdqa XMM6, XMM4; movdqa XMM0, [EAX]; movdqa XMM1, [EAX+16]; psubb XMM5, XMM0; psubb XMM6, XMM1; movdqa [ESI -64], XMM5; movdqa [ESI+16-64], XMM6; movdqa XMM5, XMM4; movdqa XMM6, XMM4; movdqa XMM2, [EAX+32]; movdqa XMM3, [EAX+48]; add EAX, 64; psubb XMM5, XMM2; psubb XMM6, XMM3; movdqa [ESI+32-64], XMM5; movdqa [ESI+48-64], XMM6; cmp ESI, EDI; jb startsubrsse2a; mov aptr, ESI; mov bptr, EAX; } } } else // MMX version is 7397% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); uint l = cast(ubyte) value; l |= (l << 8); asm { mov ESI, aptr; mov EDI, n; mov EAX, bptr; movd MM4, l; pshufw MM4, MM4, 0; align 4; startsubrmmx: add ESI, 32; movq MM5, MM4; movq MM6, MM4; movq MM0, [EAX]; movq MM1, [EAX+8]; psubb MM5, MM0; psubb MM6, MM1; movq [ESI -32], MM5; movq [ESI+8 -32], MM6; movq MM5, MM4; movq MM6, MM4; movq MM2, [EAX+16]; movq MM3, [EAX+24]; add EAX, 32; psubb MM5, MM2; psubb MM6, MM3; movq [ESI+16-32], MM5; movq [ESI+24-32], MM6; cmp ESI, EDI; jb startsubrmmx; emms; mov aptr, ESI; mov bptr, EAX; } } } while (aptr < aend) *aptr++ = cast(T)(value - *bptr++); return a; } unittest { printf("_arrayExpSliceMinSliceAssign_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } a[] = c[]; c[] = 6 - b[]; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(6 - b[i])) { printf("[%d]: %d != 6 - %d\n", i, c[i], b[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] = b[] - c[] */ T[] _arraySliceSliceMinSliceAssign_a(T[] a, T[] c, T[] b) { return _arraySliceSliceMinSliceAssign_g(a, c, b); } T[] _arraySliceSliceMinSliceAssign_h(T[] a, T[] c, T[] b) { return _arraySliceSliceMinSliceAssign_g(a, c, b); } T[] _arraySliceSliceMinSliceAssign_g(T[] a, T[] c, T[] b) in { assert(a.length == b.length && b.length == c.length); assert(disjoint(a, b)); assert(disjoint(a, c)); assert(disjoint(b, c)); } body { auto aptr = a.ptr; auto aend = aptr + a.length; auto bptr = b.ptr; auto cptr = c.ptr; version (D_InlineAsm_X86) { // SSE2 aligned version is 5756% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); if (((cast(uint) aptr | cast(uint) bptr | cast(uint) cptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov ECX, cptr; align 8; startsublsse2u: add ESI, 64; movdqu XMM0, [EAX]; movdqu XMM1, [EAX+16]; movdqu XMM2, [EAX+32]; movdqu XMM3, [EAX+48]; add EAX, 64; movdqu XMM4, [ECX]; movdqu XMM5, [ECX+16]; movdqu XMM6, [ECX+32]; movdqu XMM7, [ECX+48]; add ECX, 64; psubb XMM0, XMM4; psubb XMM1, XMM5; psubb XMM2, XMM6; psubb XMM3, XMM7; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startsublsse2u; mov aptr, ESI; mov bptr, EAX; mov cptr, ECX; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov ECX, cptr; align 8; startsublsse2a: add ESI, 64; movdqa XMM0, [EAX]; movdqa XMM1, [EAX+16]; movdqa XMM2, [EAX+32]; movdqa XMM3, [EAX+48]; add EAX, 64; movdqa XMM4, [ECX]; movdqa XMM5, [ECX+16]; movdqa XMM6, [ECX+32]; movdqa XMM7, [ECX+48]; add ECX, 64; psubb XMM0, XMM4; psubb XMM1, XMM5; psubb XMM2, XMM6; psubb XMM3, XMM7; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startsublsse2a; mov aptr, ESI; mov bptr, EAX; mov cptr, ECX; } } } else // MMX version is 4428% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); asm { mov ESI, aptr; mov EDI, n; mov EAX, bptr; mov ECX, cptr; align 8; startsublmmx: add ESI, 32; movq MM0, [EAX]; movq MM1, [EAX+8]; movq MM2, [EAX+16]; movq MM3, [EAX+24]; add EAX, 32; movq MM4, [ECX]; movq MM5, [ECX+8]; movq MM6, [ECX+16]; movq MM7, [ECX+24]; add ECX, 32; psubb MM0, MM4; psubb MM1, MM5; psubb MM2, MM6; psubb MM3, MM7; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startsublmmx; emms; mov aptr, ESI; mov bptr, EAX; mov cptr, ECX; } } } while (aptr < aend) *aptr++ = cast(T)(*bptr++ - *cptr++); return a; } unittest { printf("_arraySliceSliceMinSliceAssign_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } c[] = a[] - b[]; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(a[i] - b[i])) { printf("[%d]: %d != %d - %d\n", i, c[i], a[i], b[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] -= value */ T[] _arrayExpSliceMinass_a(T[] a, T value) { return _arrayExpSliceMinass_g(a, value); } T[] _arrayExpSliceMinass_h(T[] a, T value) { return _arrayExpSliceMinass_g(a, value); } T[] _arrayExpSliceMinass_g(T[] a, T value) { //printf("_arrayExpSliceMinass_g(a.length = %d, value = %Lg)\n", a.length, cast(real)value); auto aptr = a.ptr; auto aend = aptr + a.length; version (D_InlineAsm_X86) { // SSE2 aligned version is 1577% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); uint l = cast(ubyte) value; l |= (l << 8); l |= (l << 16); if (((cast(uint) aptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startsubasssse2u: movdqu XMM0, [ESI]; movdqu XMM1, [ESI+16]; movdqu XMM2, [ESI+32]; movdqu XMM3, [ESI+48]; add ESI, 64; psubb XMM0, XMM4; psubb XMM1, XMM4; psubb XMM2, XMM4; psubb XMM3, XMM4; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startsubasssse2u; mov aptr, ESI; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; movd XMM4, l; pshufd XMM4, XMM4, 0; align 8; startsubasssse2a: movdqa XMM0, [ESI]; movdqa XMM1, [ESI+16]; movdqa XMM2, [ESI+32]; movdqa XMM3, [ESI+48]; add ESI, 64; psubb XMM0, XMM4; psubb XMM1, XMM4; psubb XMM2, XMM4; psubb XMM3, XMM4; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startsubasssse2a; mov aptr, ESI; } } } else // MMX version is 1577% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); uint l = cast(ubyte) value; l |= (l << 8); asm { mov ESI, aptr; mov EDI, n; movd MM4, l; pshufw MM4, MM4, 0; align 8; startsubassmmx: movq MM0, [ESI]; movq MM1, [ESI+8]; movq MM2, [ESI+16]; movq MM3, [ESI+24]; add ESI, 32; psubb MM0, MM4; psubb MM1, MM4; psubb MM2, MM4; psubb MM3, MM4; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startsubassmmx; emms; mov aptr, ESI; } } } while (aptr < aend) *aptr++ -= value; return a; } unittest { printf("_arrayExpSliceMinass_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } a[] = c[]; c[] -= 6; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(a[i] - 6)) { printf("[%d]: %d != %d - 6\n", i, c[i], a[i]); assert(0); } } } } } /* ======================================================================== */ /*********************** * Computes: * a[] -= b[] */ T[] _arraySliceSliceMinass_a(T[] a, T[] b) { return _arraySliceSliceMinass_g(a, b); } T[] _arraySliceSliceMinass_h(T[] a, T[] b) { return _arraySliceSliceMinass_g(a, b); } T[] _arraySliceSliceMinass_g(T[] a, T[] b) in { assert (a.length == b.length); assert (disjoint(a, b)); } body { //printf("_arraySliceSliceMinass_g()\n"); auto aptr = a.ptr; auto aend = aptr + a.length; auto bptr = b.ptr; version (D_InlineAsm_X86) { // SSE2 aligned version is 4800% faster if (sse2() && a.length >= 64) { auto n = aptr + (a.length & ~63); if (((cast(uint) aptr | cast(uint) bptr) & 15) != 0) { asm // unaligned case { mov ESI, aptr; mov EDI, n; mov ECX, bptr; align 8; startsubasslsse2u: movdqu XMM0, [ESI]; movdqu XMM1, [ESI+16]; movdqu XMM2, [ESI+32]; movdqu XMM3, [ESI+48]; add ESI, 64; movdqu XMM4, [ECX]; movdqu XMM5, [ECX+16]; movdqu XMM6, [ECX+32]; movdqu XMM7, [ECX+48]; add ECX, 64; psubb XMM0, XMM4; psubb XMM1, XMM5; psubb XMM2, XMM6; psubb XMM3, XMM7; movdqu [ESI -64], XMM0; movdqu [ESI+16-64], XMM1; movdqu [ESI+32-64], XMM2; movdqu [ESI+48-64], XMM3; cmp ESI, EDI; jb startsubasslsse2u; mov aptr, ESI; mov bptr, ECX; } } else { asm // aligned case { mov ESI, aptr; mov EDI, n; mov ECX, bptr; align 8; startsubasslsse2a: movdqa XMM0, [ESI]; movdqa XMM1, [ESI+16]; movdqa XMM2, [ESI+32]; movdqa XMM3, [ESI+48]; add ESI, 64; movdqa XMM4, [ECX]; movdqa XMM5, [ECX+16]; movdqa XMM6, [ECX+32]; movdqa XMM7, [ECX+48]; add ECX, 64; psubb XMM0, XMM4; psubb XMM1, XMM5; psubb XMM2, XMM6; psubb XMM3, XMM7; movdqa [ESI -64], XMM0; movdqa [ESI+16-64], XMM1; movdqa [ESI+32-64], XMM2; movdqa [ESI+48-64], XMM3; cmp ESI, EDI; jb startsubasslsse2a; mov aptr, ESI; mov bptr, ECX; } } } else // MMX version is 3107% faster if (mmx() && a.length >= 32) { auto n = aptr + (a.length & ~31); asm { mov ESI, aptr; mov EDI, n; mov ECX, bptr; align 8; startsubasslmmx: movq MM0, [ESI]; movq MM1, [ESI+8]; movq MM2, [ESI+16]; movq MM3, [ESI+24]; add ESI, 32; movq MM4, [ECX]; movq MM5, [ECX+8]; movq MM6, [ECX+16]; movq MM7, [ECX+24]; add ECX, 32; psubb MM0, MM4; psubb MM1, MM5; psubb MM2, MM6; psubb MM3, MM7; movq [ESI -32], MM0; movq [ESI+8 -32], MM1; movq [ESI+16-32], MM2; movq [ESI+24-32], MM3; cmp ESI, EDI; jb startsubasslmmx; emms; mov aptr, ESI; mov bptr, ECX; } } } while (aptr < aend) *aptr++ -= *bptr++; return a; } unittest { printf("_arraySliceSliceMinass_g unittest\n"); for (cpuid = 0; cpuid < CPUID_MAX; cpuid++) { version (log) printf(" cpuid %d\n", cpuid); for (int j = 0; j < 2; j++) { const int dim = 67; T[] a = new T[dim + j]; // aligned on 16 byte boundary a = a[j .. dim + j]; // misalign for second iteration T[] b = new T[dim + j]; b = b[j .. dim + j]; T[] c = new T[dim + j]; c = c[j .. dim + j]; for (int i = 0; i < dim; i++) { a[i] = cast(T)i; b[i] = cast(T)(i + 7); c[i] = cast(T)(i * 2); } a[] = c[]; c[] -= b[]; for (int i = 0; i < dim; i++) { if (c[i] != cast(T)(a[i] - b[i])) { printf("[%d]: %d != %d - %d\n", i, c[i], a[i], b[i]); assert(0); } } } } }
D
auto filt(T)(bool function(T) dg, T[] arr) { T[] arr2; import std.range: empty, popFront, front; for(; ! arr.empty; arr.popFront) if (dg(arr.front)) arr2 ~= arr.front; return arr2; } void main() { import std.stdio: writeln; filt!int(a => a < 40, [35, 38, 41, 12, 21, 4, 32, 59, 68]).writeln; import std.string: split; import std.algorithm: sort; import std.array: array; foreach(name; filt!string(a => a[0] == 'J', "Joel Alan Ria Dad Joy Mari Lahtrell Jeremy Timothy".split.sort!"a.length < b.length".array)) writeln(name); }
D
// Быстрый поиск 13.05.2017 10:25 // dmd ffx asc1251 ini qte5 -release import std.stdio; import qte5; import asc1251; import std.getopt; // Раазбор аргументов коммандной строки import std.file; import std.conv; import std.string; import ini; import core.runtime; // Обработка входных параметров import core.sys.windows.windows; import std.path; // import std.c.string; - deprecated import core.stdc.string; import std.datetime; import std.process; const int wr1 = 100; const int wr = 10000; version(Windows) { string nameIniFile = "C:/fft.ini"; } version(linux) { string nameIniFile = "/home/gena/.local/fft.ini"; } version(OSX) { string nameIniFile = "/Users/gena/qte/ffx.ini"; } string helps() { return toCON( "ffx: графический просмотрщик списка файлов по файлу индекса созданному ffc.exe -------------------------------- ffx [-d] -i ИмяФайлаИндекса.txt "); } // Расскраска для виджетов string strElow = "background: #FCFDC6"; //#F8FFA1"; string strBlue = "background: #ACFFF2"; string strFrm = "background: #FFCC99"; int FFT_width; // Ширина основной формы, задается в FFT.INI int FFT_height; // Высота основной формы, задается в FFT.INI int GridCol0; int GridCol1; int GridCol2; int GridCol3; char[][] mPath; // массив Путей. Номер соответствует полнуму пути size_t[] iPath; // Массив списка длинн struct StNameFile { size_t FullPath; // Полный путь из массива mPath char[] NameFile; // Имя файла } string nameFileIndex; // Имя файла индекса StNameFile[] mName; // массив имен файлов char razd = '|'; // size_t vec[1000]; // вектор кеша на строки до 1000 символов bool runFind; // Искать или нет int mNamelength; // ================================================================= // ClassMain - Главная Форма для работы // ================================================================= extern (C) { void onAcFind(ClassMain* uk) { (*uk).ViewStrs(); } void onAcStop(ClassMain* uk) { (*uk).knpStop(); } void onAcOpen(ClassMain* uk) { (*uk).knpWord(); } void onAcDir(ClassMain* uk) { (*uk).knpOpenDir(); } } // __________________________________________________________________ // Основная форма class ClassMain: QMainWindow { QWidget wd_main; // Главное окно QVBoxLayout lv_main; QHBoxLayout lh_param, lh_button; QStatusBar sb_pbar; QLabel lb_capt1, lb_capt2; // Подсказка QLineEdit le_s2,le_s3,le_s4; // 2 x 2 поля ввода строк поиска QTableWidget te_list; // Вывод результата QCheckBox cb_23; // QPushButton kn_Edit, kn_Word, kn_Excel, kn_Find; QProgressBar prb_prog; QAction winAcFind; // Выполнители QAction act11, act12, act13, act14, act15; QAction act21, act22, act23; // ToolBar QToolBar tb; // Вертикальное меню QMenu menu11, menu12; // Центральная строка меню QMenuBar menuBar; // ____________________________ this() { super(); // resize(800, 600); setWindowTitle("Use: " ~ nameFileIndex); wd_main = new QWidget(this); lv_main = new QVBoxLayout(null); sb_pbar = new QStatusBar(this); lh_param = new QHBoxLayout(null); lh_button = new QHBoxLayout(null); lb_capt1 = new QLabel(this); lb_capt1.setText("Путь файла:"); lb_capt2 = new QLabel(this); lb_capt2.setText("Имя файла:"); te_list = new QTableWidget(this); // te_list.setNoDelete(true); // le_s1 = new QLineEdit(this); le_s2 = new QLineEdit(this); // le_s2.setStyleSheet(strElow); cb_23 = new QCheckBox("", this); cb_23.setToolTip("Off = ищется любая комбинайия левой И правой строки On = то только левая ИЛИ только правая. Регистр не важен."); le_s3 = new QLineEdit(this); // le_s3.setStyleSheet(strElow); le_s4 = new QLineEdit(this); // le_s4.setStyleSheet(strElow); le_s2.setToolTip("Подстрока в ПУТИ файла. Регистр не важен."); const string zg = "Подстрока в ИМЕНИ файла. Регистр не важен."; le_s3.setToolTip(zg); le_s4.setToolTip(zg); // Кнопки // kn_Find = new QPushButton("Поиск F5", this); kn_Find.setToolTip("Начать поиск ..."); // kn_Edit = new QPushButton("Стоп", this); kn_Edit.setToolTip("Остановить поиск ..."); // kn_Word = new QPushButton("Открыть файл", this); // kn_Word.setToolTip("Windows: Открыть файл использую АССОЦИРОВАННУЮ программу\n // Linux: Открыть файл используя текстовый редактор kwrite"); // kn_Excel = new QPushButton("Открыть папку с файлом"); // kn_Excel.setToolTip("Открыть папку содержащию указаный файл."); /* kn_Find.setStyleSheet(strElow); kn_Edit.setStyleSheet(strElow); kn_Word.setStyleSheet(strElow); kn_Excel.setStyleSheet(strElow); */ // +++++++++++ Работа с INI файлом +++++++++++ Ini ini = new Ini(nameIniFile); bool isIniFile; // F = нет ini файла isIniFile = ini["Main"] is null; if(isIniFile) { IniSection sec_ABC = ini.addSection("Main"); sec_ABC.value("About", "Это INI файл для FFX.EXE - поиск на сервере в ROM"); sec_ABC.value(".DOC", "? - Укажите путь до WORD"); sec_ABC.value(".XLS", "? - Укажите путь до EXCEL"); IniSection sec_Shape = ini.addSection("Shape"); sec_Shape.value("FFT_width", "900"); sec_Shape.value("FFT_height", "500"); sec_Shape.value("GridCol0", "200"); sec_Shape.value("GridCol1", "100"); sec_Shape.value("GridCol2", "100"); sec_Shape.value("GridCol3", "500"); resize(900, 500); ini.save(); } FFT_width = to!int(ini["Shape"]["FFT_width"]); FFT_height = to!int(ini["Shape"]["FFT_height"]); GridCol0 = to!int(ini["Shape"]["GridCol0"]); GridCol1 = to!int(ini["Shape"]["GridCol1"]); GridCol2 = to!int(ini["Shape"]["GridCol2"]); GridCol3 = to!int(ini["Shape"]["GridCol3"]); // ----------- Работа с INI файлом ----------- te_list.setColumnCount(4); // Четыре колонки te_list.setColumnWidth(0, GridCol0); te_list.setColumnWidth(1, GridCol1); te_list.setColumnWidth(2, GridCol2); te_list.setColumnWidth(3, GridCol3); // Делаю кнопку winAcFind = new QAction(this, &onAcFind, aThis, 0); winAcFind.setHotKey(QtE.Key.Key_S | QtE.Key.Key_ControlModifier); // connects(kn_Find, "clicked()", winAcFind, "Slot_v__A_N_v()"); // Соберем строку с полями ввода и кнопкой. Гориз выравниватель lh_param.addWidget(lb_capt1); /* lh_param.addWidget(le_s1); lh_param.addWidget(cb_12); */ lh_param.addWidget(le_s2); lh_param.addWidget(lb_capt2); lh_param.addWidget(le_s3); lh_param.addWidget(cb_23); lh_param.addWidget(le_s4); cb_23.setText("или"); // Соберем кнопки //lh_button.addWidget(kn_Find); //lh_button.addWidget(kn_Edit); //lh_button.addWidget(kn_Word); //lh_button.addWidget(kn_Excel); prb_prog = new QProgressBar(this); // prb_prog.setStyleSheet(tmpQsSet(strBlue)); // Соберем вертикальный выравниватель lv_main.addLayout(lh_param); lv_main.addWidget(te_list); lv_main.addWidget(prb_prog); //lv_main.addLayout(lh_button); wd_main.setLayout(lv_main); setCentralWidget(wd_main); setStatusBar(sb_pbar); resize(FFT_width, FFT_height); // Событие начала поиска файлов act11 = new QAction(this, &onAcFind, aThis); act11.setText("Find").setHotKey(QtE.Key.Key_F5); connects(act11, "triggered()", act11, "Slot_v__A_N_v()"); act11.setIcon("icon_play.png").setToolTip("F5 - Начать поиск файлов по выбранным шаблонам ..."); // Событие остановить поиск act12 = new QAction(this, &onAcStop, aThis); act12.setText("Stop").setHotKey(QtE.Key.Key_Escape); connects(act12, "triggered()", act12, "Slot_v__A_N_v()"); act12.setIcon("icon_stop.png").setToolTip("Esc - Прервать поиск файлов ..."); // Событие открыть файл act13 = new QAction(this, &onAcOpen, aThis); act13.setText("Open").setHotKey(QtE.Key.Key_F6); connects(act13, "triggered()", act13, "Slot_v__A_N_v()"); act13.setIcon("icon_open.png").setToolTip("F6 - Открыть выбранный файл ..."); // Событие открыть папку с файлом act14 = new QAction(this, &onAcDir, aThis); act14.setText("Folder").setHotKey(QtE.Key.Key_F7); connects(act14, "triggered()", act14, "Slot_v__A_N_v()"); act14.setIcon("icon_folder_open.png").setToolTip("F7 - Открыть папку с файлом ..."); tb = new QToolBar(this); // tb.setToolButtonStyle(QToolBar.ToolButtonStyle.ToolButtonTextBesideIcon); tb.addAction(act11).addAction(act12).addAction(act13).addAction(act14); addToolBar(QToolBar.ToolBarArea.TopToolBarArea, tb); // Menu menu11 = new QMenu(this); menu12 = new QMenu(this); // Центральная строка меню menuBar = new QMenuBar(this); // --------------- Взаимные настройки ----------------- menu11.setTitle("Execute") .addAction( act11 ) .addAction( act12 ) .addAction( act13 ) .addAction( act14 ); menuBar.addMenu(menu11); setMenuBar(menuBar); } // ____________________________ void knpStop() { runFind = false; } // ____________________________ void loadIndex() { // Прочитать файл в память bool f = true; bool fLoad; // Проверка на правильность структуры индексного файла StNameFile el; void ErrMessage() { msgbox("Файл индекса поврежден или не найден!","Внимание!",QMessageBox.Icon.Critical); sb_pbar.showMessage("Файл индекса поврежден или не найден!"); } // Прочитаем исходный файл if(!exists(nameFileIndex)) { ErrMessage(); } File fIndex = File(nameFileIndex, "r"); int i; foreach(line; fIndex.byLine()) { if(i==i++/wr1*wr1) app.processEvents(); if(line == "#####") { f = false; fLoad = true; } else { if(f) { mPath ~= line.dup; } else { el.FullPath = to!int(Split1251(line, razd, 0)); el.NameFile = Split1251(line, razd, 1) ~ 0; // el.NameFileU = toUpper1251(Split1251(line, razd, 1) ~ 0); mName ~= el; } } } // -------------------------- if(fLoad) { string frase = format("Use: %s, Load folders %s, files %s", nameFileIndex, mPath.length, mName.length); setWindowTitle(frase); // sb_pbar.showMessage(frase); le_s3.setFocus(); prb_prog.setValue(0); } else { ErrMessage(); } } // ____________________________ void ViewStrs() { // Искать вхождения строк int indTab; // строка в таблице size_t n; char[] strNames; QString qstr = new QString(); bool pb1, pb2, pb3, pb4; bool b1, b2, b3, b4; char[] str_cmp1, str_cmp2, str_cmp3, str_cmp4; char[] str_empty = cast(char[])""; string str_compare; // +++++++++++ Работа с INI файлом +++++++++++ // Запомним текущую позицию и ширину колонок Ini ini = new Ini(nameIniFile); IniSection sec_Shape = ini.addSection("Shape"); sec_Shape.value("FFT_width", to!string(width)); sec_Shape.value("FFT_height", to!string(height)); sec_Shape.value("GridCol0", to!string(te_list.columnWidth(0))); sec_Shape.value("GridCol1", to!string(te_list.columnWidth(1))); sec_Shape.value("GridCol2", to!string(te_list.columnWidth(2))); sec_Shape.value("GridCol3", to!string(te_list.columnWidth(3))); ini.save(); // ----------- Работа с INI файлом ----------- mNamelength = cast(int)mName.length-1; // Для ProgressBar // Подготовим аргументы сравнения // QString qstr_compare = new QString(); string qstr_compare; /* le_s1.text(qstr_compare); if(qstr_compare.size == 0) { str_cmp1 = str_empty; pb1 = false; } else { str_cmp1 = toUpper1251(cast(char[])qstr_compare.fromUnicode(str_compare, WIN_1251)) ~ 0; pb1 = true; } */ qstr_compare = le_s2.text!string(); if(qstr_compare.length == 0) { str_cmp2 = str_empty; pb2 = false; } else { str_cmp2 = toUpper1251(fromUtf8to1251(cast(char[])qstr_compare)) ~ 0; pb2 = true; } qstr_compare = le_s3.text!string(); if(qstr_compare.length == 0) { str_cmp3 = str_empty; pb3 = false; } else { str_cmp3 = toUpper1251(fromUtf8to1251(cast(char[])qstr_compare)) ~ 0; pb3 = true; } qstr_compare = le_s4.text!string(); if(qstr_compare.length == 0) { str_cmp4 = str_empty; pb4 = false; } else { str_cmp4 = toUpper1251(fromUtf8to1251(cast(char[])qstr_compare)) ~ 0; pb4 = true; } prb_prog.setMinimum(0); prb_prog.setMaximum(mNamelength); int j; te_list.setRowCount(0); void PrintEk(StNameFile el) { if(el.NameFile.length > 0) if(el.NameFile[$-1] == 0) el.NameFile = el.NameFile[0..$-1]; char[] chM_shortName = from1251toUtf8(el.NameFile); char[] chM_fullName = from1251toUtf8(mPath[el.FullPath]); char[] fullName = chM_fullName ~ dirSeparator ~ chM_shortName; // Попробуем внести сразу в таблицу te_list.insertRow(indTab); QTableWidgetItem tbNameFile = new QTableWidgetItem(0); tbNameFile.setNoDelete(true); tbNameFile.setText(to!string(chM_shortName)); QTableWidgetItem tbFullNameFile = new QTableWidgetItem(0); tbFullNameFile.setText(to!string(fullName)); tbFullNameFile.setNoDelete(true); te_list.setItem(indTab, 0, tbNameFile); te_list.setRowHeight(indTab, 20); // Проверим размер файла и его наличие ulong sizeFile; bool isFileOnDisk; try { sizeFile = std.file.getSize(fullName); isFileOnDisk = true; } catch(Throwable) { sizeFile = 0; isFileOnDisk = false; } // Файл существует if(isFileOnDisk) { QTableWidgetItem twiSize = new QTableWidgetItem(0); twiSize.setNoDelete(true); twiSize.setText(format("%10s ", sizeFile)); twiSize.setTextAlignment(QtE.AlignmentFlag.AlignRight | QtE.AlignmentFlag.AlignVCenter); te_list.setItem(indTab, 2, twiSize); SysTime atf, mtf; getTimes(chM_fullName, atf, mtf); string tmpTime = format("%02s.%02s.%4s", to!int(mtf.day), to!int(mtf.month), to!int(mtf.year)); QTableWidgetItem twiDate = new QTableWidgetItem(0); twiDate.setText(tmpTime); twiDate.setNoDelete(true); twiDate.setTextAlignment(QtE.AlignmentFlag.AlignCenter); te_list.setItem(indTab, 1, twiDate); } te_list.setItem(indTab, 3, tbFullNameFile); indTab++; } runFind = true; // Подпрограмма поиска одиночного вхождения void find1(char[] str_cmp) { bool b; char *uksh = cast(char*)(str_cmp).ptr; char *uk; int i; foreach(el; mName) { if(!runFind) break; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; // b = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh); // uk = cast(char*)el.NameFileU.ptr; uk = cast(char*)(toUpper1251(el.NameFile)); b = null != strstr(uk, uksh); if(b) PrintEk(el); } prb_prog.setValue(mNamelength); } // Подпрограмма поиска двойного вхождения void find2(char[] str_cmp1, char[] str_cmp2, bool bif) { bool b1, b2; char *uksh1 = cast(char*)(str_cmp1).ptr; char *uksh2 = cast(char*)(str_cmp2).ptr; char *uk; int i; foreach(el; mName) { if(!runFind) break; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; // b1 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh1); // b2 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh2); uk = cast(char*)(toUpper1251(el.NameFile)); if(bif) { b1 = null != strstr(uk, uksh1); b2 = null != strstr(uk, uksh2); if(b1 | b2) PrintEk(el); } else { // оптимизация вычисления 2 выражения b1 = null != strstr(uk, uksh1); if(b1) { b2 = null != strstr(uk, uksh2); if(b2) PrintEk(el); } } } prb_prog.setValue(mNamelength); } // Начнем поиск и сравнение if(!pb4 & !pb3 & !pb2 & !pb1) { goto M1; } if(pb4 & !pb3 & !pb2 & !pb1) { find1(str_cmp4); goto M1; } if(!pb4 & pb3 & !pb2 & !pb1) { find1(str_cmp3); goto M1; } if(pb4 & pb3 & !pb2 & !pb1) { if(cb_23.isChecked()) { // Или find2(str_cmp3, str_cmp4, true); } else { // И find2(str_cmp3, str_cmp4, false); } goto M1; } //----------------------- if(!pb4 & !pb3 & pb2) { int i; char *uksh = cast(char*)(str_cmp2).ptr; foreach(el; mName) { if(!runFind) break; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; // char[] pf = mPath[el.FullPath].dup; b2 = null != strstr(cast(char*)(toUpper1251(mPath[el.FullPath]) ~ 0), uksh); if(b2) { PrintEk(el); } } goto M1; } if(pb4 & !pb3 & pb2) { int i; char *uksh2 = cast(char*)(str_cmp2).ptr; char *uksh4 = cast(char*)(str_cmp4).ptr; foreach(el; mName) { if(!runFind) break; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; b2 = null != strstr(cast(char*)(toUpper1251(mPath[el.FullPath]) ~ 0), uksh2); b4 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh4); if(b2 & b4) { PrintEk(el); } } goto M1; } if(!pb4 & pb3 & pb2) { int i; char *uksh2 = cast(char*)(str_cmp2).ptr; char *uksh3 = cast(char*)(str_cmp3).ptr; foreach(el; mName) { if(!runFind) break; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; b2 = null != strstr(cast(char*)(toUpper1251(mPath[el.FullPath]) ~ 0), uksh2); b3 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh3); if(b2 & b3) { PrintEk(el); } } goto M1; } if(pb4 & pb3 & pb2) { if(cb_23.isChecked()) { // Или int i; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; char *uksh4 = cast(char*)(str_cmp4).ptr; char *uksh2 = cast(char*)(str_cmp2).ptr; char *uksh3 = cast(char*)(str_cmp3).ptr; foreach(el; mName) { if(!runFind) break; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; b2 = null != strstr(cast(char*)(toUpper1251(mPath[el.FullPath]) ~ 0), uksh2); b3 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh3); b4 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh4); if((b3 | b4) & b2) { PrintEk(el); } } } else { // И int i; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; char *uksh4 = cast(char*)(str_cmp4).ptr; char *uksh2 = cast(char*)(str_cmp2).ptr; char *uksh3 = cast(char*)(str_cmp3).ptr; foreach(el; mName) { if(!runFind) break; if(i==i++/wr*wr) { prb_prog.setValue(j); app.processEvents(); } j++; b2 = null != strstr(cast(char*)(toUpper1251(mPath[el.FullPath]) ~ 0), uksh2); b3 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh3); b4 = null != strstr(cast(char*)(toUpper1251(el.NameFile)), uksh4); if((b3 & b4) & b2) { PrintEk(el); } } } goto M1; } M1: // if(!runFind) prb_prog.setValue(0); prb_prog.setValue(mNamelength); } // ____________________________ void knpOpenDir() { // Открыть каталог с файлом try { QTableWidgetItem ti = te_list.item(te_list.currentRow(), 3); string nameProc = ti.text!string(); // Это реакция на кнопку открыть папку version(Windows) { auto pid = spawnProcess(["explorer", dirName(nameProc)]); } version(linux) { auto pid = spawnProcess(["dolphin", "--select", nameProc]); } version(OSX) { auto pid = spawnProcess(["open", "-R", nameProc]); } } catch(Throwable) { msgbox("Осуществите поиск и укажите файл."); } } // ____________________________ void knpWord() { // Открыть файл в редакторе static import std.ascii; string FileExec; try { QTableWidgetItem ti = te_list.item(te_list.currentRow(), 3); string nameProc = ti.text!string(); version(Windows) { char[] nameFileAscii = fromUtf8to1251(cast(char[])nameProc) ~ 0 ~ 0; writeln(nameFileAscii); import core.sys.windows.windows; auto z = ShellExecuteA(wd_main.winid(), null, cast(const(char)*)(nameFileAscii).ptr , null, null, SW_SHOWNORMAL); } version(linux) { string extNameFile = extension(nameProc); string extNameFileUp; for(int i; i != extNameFile.length; i++) extNameFileUp ~= std.ascii.toUpper(extNameFile[i]); // Тут надо многое проверить Ini ini = new Ini(nameIniFile); FileExec = ini["Main"][extNameFileUp]; if(FileExec.length == 0) { msgbox(r"Укажите в C:/FFT.INI строку с программой для вызова " ~ extNameFileUp); } else { if(FileExec[0] == '?') { msgbox(r"Укажите в C:/FFT.INI строку с программой для вызова " ~ extNameFileUp); } else { auto edQuest = spawnProcess([FileExec, nameProc]); } } } version(OSX) { string extNameFile = extension(nameProc); string extNameFileUp; for(int i; i != extNameFile.length; i++) extNameFileUp ~= std.ascii.toUpper(extNameFile[i]); // Тут надо многое проверить Ini ini = new Ini(nameIniFile); FileExec = ini["Main"][extNameFileUp]; if(FileExec.length == 0) { msgbox(r"Укажите в C:/FFT.INI строку с программой для вызова " ~ extNameFileUp); } else { if(FileExec[0] == '?') { msgbox(r"Укажите в C:/FFT.INI строку с программой для вызова " ~ extNameFileUp); } else { auto edQuest = spawnProcess([FileExec, nameProc]); } } } // writeln("[", extNameFileUp,"] --> [", FileExec,"]"); // auto edQuest = spawnProcess([MsWord, s]); // auto pid = spawnShell('"' ~ nameProc ~ '"'); } catch(Throwable) { msgbox("Возможно не установлены программы на это расширение в INI."); } } } // __________________________________________________________________ // Глобальные переменные программы QApplication app; // Само приложение // __________________________________________________________________ int main(string[] args) { bool fDebug; // T - выдавать диагностику загрузки QtE5 // ClassMain wd_Main; // Разбор аргументов коммандной строки try { auto helpInformation = getopt(args, std.getopt.config.caseInsensitive, "d|debug", toCON("включить диагностику QtE5"), &fDebug, "i|ind", toCON("имя файла индекса"), &nameFileIndex); if (helpInformation.helpWanted) { defaultGetoptPrinter(helps(), helpInformation.options); return 0; } } catch(Throwable) { writeln(toCON("Ошибка в аргументах, смотри: ffx --help")); return 1; } // Проверим на существование файл индекса if(!exists(nameFileIndex)) { writeln(toCON("Ошибка: Не найден индексный файл = [" ~ nameFileIndex ~ "]")); return 1; } // Загрузка графической библиотеки if (1 == LoadQt(dll.QtE5Widgets, fDebug)) return 1; // Выйти,если ошибка загрузки библиотеки // Изготавливаем само приложение app = new QApplication(&Runtime.cArgs.argc, Runtime.cArgs.argv, 1); ClassMain formaMain = new ClassMain(); formaMain.show().saveThis(&formaMain); formaMain.loadIndex(); return app.exec(); }
D
grossly irreverent toward what is held to be sacred characterized by profanity or cursing
D
/** * Annotated statements */ module exlang.annotated.statement; /** * Abstract annotated statement class */ abstract class AnnStatement { } /** * Annotated let statement */ class AnnLetStatement : AnnStatement { import exlang.annotated.expression; /** * The identifier */ string ident; /** * The value expression */ AnnExpression exp; /** * Constructor: * * Params: * ident = The identifier * exp = The expression */ this ( string ident, AnnExpression exp ) { this.ident = ident; this.exp = exp; } } /** * Annotated return statement */ class AnnRetStatement : AnnStatement { import exlang.annotated.expression; /** * The expression */ AnnExpression exp; /** * Constructor * * Params: * exp = The expression */ this ( AnnExpression exp ) { this.exp = exp; } } /** * Annotated if statement */ class AnnIfStatement : AnnStatement { import exlang.annotated.expression; /** * The condition */ AnnExpression cond; /** * The statement list */ AnnStatement[] stmts; /** * Optional elif clauses */ struct AnnElifClause { /** * The condition */ AnnExpression cond; /** * The statement list */ AnnStatement[] stmts; } ///ditto AnnElifClause[] elifs; /** * Optional else clause */ AnnStatement[] else_stmts; /** * Constructor * * Params: * cond = The condition * stmts = The statements * elifs = The else if clauses * else_stmts = The optional else clause */ this ( AnnExpression cond, AnnStatement[] stmts, AnnElifClause[] elifs, AnnStatement[] else_stmts ) { this.cond = cond; this.stmts = stmts; this.elifs = elifs; this.else_stmts = else_stmts; } } /** * Annotated for statement */ class AnnForStatement : AnnStatement { import exlang.annotated.expression; /** * The iterator identifier */ AnnIdentExpression iter_ident; /** * The expression to iterate */ AnnExpression iter_exp; /** * The statements */ AnnStatement[] stmts; /** * Constructor * * Params: * iter_ident = The iterator identifier * iter_exp = The expression to iterate * stmts = The statements */ this ( AnnIdentExpression iter_ident, AnnExpression iter_exp, AnnStatement[] stmts ) { this.iter_ident = iter_ident; this.iter_exp = iter_exp; this.stmts = stmts; } } /** * Annotated expression statement */ class AnnExpStatement : AnnStatement { import exlang.annotated.expression; /** * The expression */ AnnExpression exp; /** * Constructor: * * Params: * exp = The expression */ this ( AnnExpression exp ) { this.exp = exp; } }
D
INSTANCE ItKe_GDG_Keller_01(C_Item) { name = "Schlüssel"; mainflag = ITEM_KAT_NONE; flags = 0; value = Value_Key_01; visual = "ItKe_Key_01.3ds"; material = MAT_METAL; description = name; TEXT[5] = NAME_Value; COUNT[5] = value; }; INSTANCE ItKe_Mod_Gunnar_Dieb(C_Item) { name = "Schlüssel"; mainflag = ITEM_KAT_NONE; flags = 0; value = Value_Key_01; visual = "ItKe_Key_01.3ds"; material = MAT_METAL; description = name; Text[0] = "Diesen Schlüssel hatte Gunnar bei sich"; TEXT[5] = NAME_Value; COUNT[5] = value; };
D
/** * Output to ELF object files * * http://www.sco.com/developers/gabi/2003-12-17/ch4.sheader.html * * Compiler implementation of the * $(LINK2 https://www.dlang.org, D programming language). * * Copyright: Copyright (C) ?-1998 by Symantec * Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/elfobj.d, backend/elfobj.d) */ module dmd.backend.elfobj; import core.stdc.stdio; import core.stdc.stdlib; import core.stdc.string; // qsort is only nothrow in newer versions of druntime (since 2.081.0) alias _compare_fp_t = extern(C) nothrow int function(const void*, const void*); private extern(C) void qsort(scope void* base, size_t nmemb, size_t size, _compare_fp_t compar) nothrow @nogc; import dmd.backend.barray; import dmd.backend.cc; import dmd.backend.cdef; import dmd.backend.code; import dmd.backend.code_x86; import dmd.backend.dout : symbol_iscomdat2; import dmd.backend.mem; import dmd.backend.aarray; import dmd.backend.dlist; import dmd.backend.el; import dmd.backend.global; import dmd.backend.obj; import dmd.backend.oper; import dmd.backend.symtab; import dmd.backend.ty; import dmd.backend.type; import dmd.common.outbuffer; nothrow: import dmd.backend.dwarf; import dmd.backend.melf; private __gshared OutBuffer *fobjbuf; enum MATCH_SECTION = 1; enum DEST_LEN = (IDMAX + IDOHD + 1); // C++ name mangling is handled by front end const(char)* cpp_mangle2(Symbol* s) { return &s.Sident[0]; } void addSegmentToComdat(segidx_t seg, segidx_t comdatseg); /** * If set the compiler requires full druntime support of the new * section registration. */ //version (DMDV2) static if (1) enum DMDV2 = true; else enum DMDV2 = false; bool REQUIRE_DSO_REGISTRY() { return DMDV2 && (config.exe & (EX_LINUX | EX_LINUX64 | EX_FREEBSD | EX_FREEBSD64 | EX_DRAGONFLYBSD64)); } /** * If set, produce .init_array/.fini_array instead of legacy .ctors/.dtors . * OpenBSD added the support in Aug 2016. Other supported platforms has * supported .init_array for years. */ bool USE_INIT_ARRAY() { return !(config.exe & (EX_OPENBSD | EX_OPENBSD64)); } /****** * FreeBSD uses ELF, but the linker crashes with Elf comdats with the following message: * /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 internal error, aborting at * /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elfcode.h * line 213 in bfd_elf32_swap_symbol_out * For the time being, just stick with Linux. */ bool ELF_COMDAT() { return (config.exe & (EX_LINUX | EX_LINUX64)) != 0; } /*************************************************** * Correspondence of relocation types * 386 32 bit in 64 64 in 64 * R_386_32 R_X86_64_32 R_X86_64_64 * R_386_GOTOFF R_X86_64_PC32 R_X86_64_ * R_386_GOTPC R_X86_64_ R_X86_64_ * R_386_GOT32 R_X86_64_ R_X86_64_ * R_386_TLS_GD R_X86_64_TLSGD R_X86_64_ * R_386_TLS_IE R_X86_64_GOTTPOFF R_X86_64_ * R_386_TLS_LE R_X86_64_TPOFF32 R_X86_64_ * R_386_PLT32 R_X86_64_PLT32 R_X86_64_ * R_386_PC32 R_X86_64_PC32 R_X86_64_ */ alias reltype_t = uint; /****************************************** */ private __gshared Symbol *GOTsym; // global offset table reference Symbol *ElfObj_getGOTsym() { if (!GOTsym) { GOTsym = symbol_name("_GLOBAL_OFFSET_TABLE_",SC.global,tspvoid); } return GOTsym; } void ElfObj_refGOTsym() { if (!GOTsym) { Symbol *s = ElfObj_getGOTsym(); ElfObj_external(s); } } //private void objfile_write(FILE *fd, void *buffer, uint len); // The object file is built is several separate pieces // Non-repeatable section types have single output buffers // Pre-allocated buffers are defined for: // Section Names string table // Section Headers table // Symbol table // String table // Notes section // Comment data // Section Names - String table for section names only private __gshared OutBuffer *section_names; enum SEC_NAMES_INIT = 800; enum SEC_NAMES_INC = 400; // Hash table for section_names __gshared AApair2 *section_names_hashtable; __gshared int jmpseg; /* ======================================================================== */ // String Table - String table for all other names private __gshared OutBuffer *symtab_strings; // Section Headers __gshared Barray!(Elf32_Shdr) SecHdrTab; // section header table const(char)* GET_SECTION_NAME(int secidx) { return cast(const(char)*)section_names.buf + SecHdrTab[secidx].sh_name; } // The relocation for text and data seems to get lost. // Try matching the order gcc output them // This means defining the sections and then removing them if they are // not used. enum { SHN_TEXT = 1, SHN_RELTEXT = 2, SHN_DATA = 3, SHN_RELDATA = 4, SHN_BSS = 5, SHN_RODAT = 6, SHN_STRINGS = 7, SHN_SYMTAB = 8, SHN_SECNAMES = 9, SHN_COM = 10, SHN_NOTE = 11, SHN_GNUSTACK = 12, SHN_CDATAREL = 13, } __gshared IDXSYM *mapsec2sym; enum S2S_INC = 20; private __gshared int symbol_idx; // Number of symbols in symbol table private __gshared int local_cnt; // Number of symbols with STB_LOCAL enum { STI_FILE = 1, // Where file symbol table entry is STI_TEXT = 2, STI_DATA = 3, STI_BSS = 4, STI_GCC = 5, // Where "gcc2_compiled" symbol is */ STI_RODAT = 6, // Symbol for readonly data STI_NOTE = 7, // Where note symbol table entry is STI_COM = 8, STI_CDATAREL = 9, // Symbol for readonly data with relocations } // NOTE: There seems to be a requirement that the read-only data have the // same symbol table index and section index. Use section NOTE as a place // holder. When a read-only string section is required, swap to NOTE. __gshared { struct ElfObj { // Symbol Table Barray!Elf32_Sym SymbolTable; Barray!Elf64_Sym SymbolTable64; Barray!(Symbol*) resetSyms; // Keep pointers to reset symbols } private ElfObj elfobj; // Extended section header indices private OutBuffer *shndx_data; private const IDXSEC secidx_shndx = SHN_HIRESERVE + 1; // Notes data (note currently used) private OutBuffer *note_data; private IDXSEC secidx_note; // Final table index for note data // Comment data for compiler version private OutBuffer *comment_data; // Each compiler segment is an elf section // Predefined compiler segments CODE,DATA,CDATA,UDATA map to indexes // into SegData[] // An additionl index is reserved for comment data // New compiler segments are added to end. // // There doesn't seem to be any way to get reserved data space in the // same section as initialized data or code, so section offsets should // be continuous when adding data. Fix-ups anywhere withing existing data. enum COMD = CDATAREL+1; enum { OB_SEG_SIZ = 10, // initial number of segments supported OB_SEG_INC = 10, // increment for additional segments OB_CODE_STR = 100_000, // initial size for code OB_CODE_INC = 100_000, // increment for additional code OB_DATA_STR = 100_000, // initial size for data OB_DATA_INC = 100_000, // increment for additional data OB_CDATA_STR = 1024, // initial size for data OB_CDATA_INC = 1024, // increment for additional data OB_COMD_STR = 256, // initial size for comments // increment as needed OB_XTRA_STR = 250, // initial size for extra segments OB_XTRA_INC = 10_000, // increment size } IDXSEC MAP_SEG2SECIDX(int seg) { return SegData[seg].SDshtidx; } extern (D) IDXSYM MAP_SEG2SYMIDX(int seg) { return SegData[seg].SDsymidx; } Elf32_Shdr* MAP_SEG2SEC(int seg) { return &SecHdrTab[MAP_SEG2SECIDX(seg)]; } int MAP_SEG2TYP(int seg) { return MAP_SEG2SEC(seg).sh_flags & SHF_EXECINSTR ? CODE : DATA; } extern (C++) extern Rarray!(seg_data*) SegData; int seg_tlsseg = UNKNOWN; int seg_tlsseg_bss = UNKNOWN; } /******************************* * Output a string into a string table * Input: * strtab = string table for entry * str = string to add * * Returns index into the specified string table. */ IDXSTR ElfObj_addstr(OutBuffer *strtab, const(char)* str) { //dbg_printf("ElfObj_addstr(strtab = x%x str = '%s')\n",strtab,str); IDXSTR idx = cast(IDXSTR)strtab.length(); // remember starting offset strtab.writeStringz(str); //dbg_printf("\tidx %d, new size %d\n",idx,strtab.length()); return idx; } /******************************* * Output a mangled string into the symbol string table * Input: * str = string to add * * Returns index into the table. */ private IDXSTR elf_addmangled(Symbol *s) { //printf("elf_addmangled(%s)\n", s.Sident.ptr); char[DEST_LEN] dest = void; IDXSTR namidx = cast(IDXSTR)symtab_strings.length(); size_t len; char *destr = obj_mangle2(s, dest.ptr, &len); const(char)* name = destr; if (CPP && name[0] == '_' && name[1] == '_') { if (strncmp(name,"__ct__",6) == 0) { name += 4; len -= 4; } static if (0) { switch(name[2]) { case 'c': if (strncmp(name,"__ct__",6) == 0) name += 4; break; case 'd': if (strcmp(name,"__dl__FvP") == 0) name = "__builtin_delete"; break; case 'v': //if (strcmp(name,"__vec_delete__FvPiUIPi") == 0) //name = "__builtin_vec_del"; //else //if (strcmp(name,"__vn__FPUI") == 0) //name = "__builtin_vec_new"; break; case 'n': if (strcmp(name,"__nw__FPUI") == 0) name = "__builtin_new"; break; default: break; } } } else if (tyfunc(s.ty()) && s.Sfunc && s.Sfunc.Fredirect) { name = s.Sfunc.Fredirect; len = strlen(name); } symtab_strings.write(name[0 .. len + 1]); if (destr != dest.ptr) // if we resized result mem_free(destr); //dbg_printf("\telf_addmagled symtab_strings %s namidx %d len %d size %d\n",name, namidx,len,symtab_strings.length()); return namidx; } /******************************* * Output a symbol into the symbol table * Input: * stridx = string table index for name * val = value associated with symbol * sz = symbol size * typ = symbol type * bind = symbol binding * sec = index of section where symbol is defined * visibility = visibility of symbol (STV_xxxx) * * Returns the symbol table index for the symbol */ private IDXSYM elf_addsym(IDXSTR nam, targ_size_t val, uint sz, uint typ, uint bind, IDXSEC sec, ubyte visibility = STV_DEFAULT) { //dbg_printf("elf_addsym(nam %d, val %d, sz %x, typ %x, bind %x, sec %d\n", //nam,val,sz,typ,bind,sec); /* We want globally defined data symbols to have a size because * zero sized symbols break copy relocations for shared libraries. */ if(sz == 0 && (bind == STB_GLOBAL || bind == STB_WEAK) && (typ == STT_OBJECT || typ == STT_TLS) && sec != SHN_UNDEF) sz = 1; // so fake it if it doesn't if (sec > SHN_HIRESERVE) { // If the section index is too big we need to store it as // extended section header index. if (!shndx_data) { shndx_data = cast(OutBuffer*) calloc(1, OutBuffer.sizeof); if (!shndx_data) err_nomem(); shndx_data.reserve(50 * (Elf64_Word).sizeof); } // fill with zeros up to symbol_idx const size_t shndx_idx = shndx_data.length() / Elf64_Word.sizeof; shndx_data.writezeros(cast(uint)((symbol_idx - shndx_idx) * Elf64_Word.sizeof)); shndx_data.write32(sec); sec = SHN_XINDEX; } if (I64) { Elf64_Sym* sym = elfobj.SymbolTable64.push(); sym.st_name = nam; sym.st_value = val; sym.st_size = sz; sym.st_info = cast(ubyte)ELF64_ST_INFO(cast(ubyte)bind,cast(ubyte)typ); sym.st_other = visibility; sym.st_shndx = cast(ushort)sec; } else { Elf32_Sym* sym = elfobj.SymbolTable.push(); sym.st_name = nam; sym.st_value = cast(uint)val; sym.st_size = sz; sym.st_info = ELF32_ST_INFO(cast(ubyte)bind,cast(ubyte)typ); sym.st_other = visibility; sym.st_shndx = cast(ushort)sec; } if (bind == STB_LOCAL) local_cnt++; //dbg_printf("\treturning symbol table index %d\n",symbol_idx); return symbol_idx++; } /******************************* * Create a new section header table entry. * * Input: * name = section name * suffix = suffix for name or null * type = type of data in section sh_type * flags = attribute flags sh_flags * Output: * assigned number for this section * Note: Sections will be reordered on output */ private IDXSEC elf_newsection2( Elf32_Word name, Elf32_Word type, Elf32_Word flags, Elf32_Addr addr, Elf32_Off offset, Elf32_Word size, Elf32_Word link, Elf32_Word info, Elf32_Word addralign, Elf32_Word entsize) { Elf32_Shdr sec; sec.sh_name = name; sec.sh_type = type; sec.sh_flags = flags; sec.sh_addr = addr; sec.sh_offset = offset; sec.sh_size = size; sec.sh_link = link; sec.sh_info = info; sec.sh_addralign = addralign; sec.sh_entsize = entsize; if (SecHdrTab.length == SHN_LORESERVE) { // insert dummy null sections to skip reserved section indices foreach (i; SHN_LORESERVE .. SHN_HIRESERVE + 1) SecHdrTab.push(); // shndx itself becomes the first section with an extended index IDXSTR namidx = ElfObj_addstr(section_names, ".symtab_shndx"); elf_newsection2(namidx,SHT_SYMTAB_SHNDX,0,0,0,0,SHN_SYMTAB,0,4,4); } const si = SecHdrTab.length; *SecHdrTab.push() = sec; return cast(IDXSEC)si; } /** Add a new section name or get the string table index of an existing entry. Params: name = name of section suffix = append to name padded = set to true when entry was newly added Returns: pointer to Pair, where the first field is the string index of the new or existing section name, and the second field is its segment index */ private Pair* elf_addsectionname(const(char)* name, const(char)* suffix = null, bool *padded = null) { IDXSTR namidx = cast(IDXSTR)section_names.length(); section_names.writeStringz(name); if (suffix) { // Append suffix string section_names.setsize(cast(uint)section_names.length() - 1); // back up over terminating 0 section_names.writeStringz(suffix); } Pair* pidx = section_names_hashtable.get(namidx, cast(uint)section_names.length() - 1); if (pidx.start) { // this section name already exists, remove addition section_names.setsize(namidx); return pidx; } if (padded) *padded = true; pidx.start = namidx; return pidx; } private IDXSEC elf_newsection(const(char)* name, const(char)* suffix, Elf32_Word type, Elf32_Word flags) { // dbg_printf("elf_newsection(%s,%s,type %d, flags x%x)\n", // name?name:"",suffix?suffix:"",type,flags); bool added = false; Pair* pidx = elf_addsectionname(name, suffix, &added); assert(added); return elf_newsection2(pidx.start,type,flags,0,0,0,0,0,0,0); } /************************** * Ouput read only data and generate a symbol for it. * */ Symbol *ElfObj_sym_cdata(tym_t ty,char *p,int len) { Symbol *s; static if (0) { if (OPT_IS_SET(OPTfwritable_strings)) { alignOffset(DATA, tysize(ty)); s = symboldata(Offset(DATA), ty); SegData[DATA].SDbuf.write(p[0 .. len]); s.Sseg = DATA; s.Soffset = Offset(DATA); // Remember its offset into DATA section Offset(DATA) += len; s.Sfl = /*(config.flags3 & CFG3pic) ? FLgotoff :*/ FLextern; return s; } } //printf("ElfObj_sym_cdata(ty = %x, p = %x, len = %d, Offset(CDATA) = %x)\n", ty, p, len, Offset(CDATA)); alignOffset(CDATA, tysize(ty)); s = symboldata(Offset(CDATA), ty); ElfObj_bytes(CDATA, Offset(CDATA), len, p); s.Sseg = CDATA; s.Sfl = /*(config.flags3 & CFG3pic) ? FLgotoff :*/ FLextern; return s; } /************************** * Ouput read only data for data. * Output: * *pseg segment of that data * Returns: * offset of that data */ int ElfObj_data_readonly(char *p, int len, int *pseg) { int oldoff = cast(int)Offset(CDATA); SegData[CDATA].SDbuf.reserve(len); SegData[CDATA].SDbuf.writen(p,len); Offset(CDATA) += len; *pseg = CDATA; return oldoff; } int ElfObj_data_readonly(char *p, int len) { int pseg; return ElfObj_data_readonly(p, len, &pseg); } /****************************** * Get segment for readonly string literals. * The linker will pool strings in this section. * Params: * sz = number of bytes per character (1, 2, or 4) * Returns: * segment index */ int ElfObj_string_literal_segment(uint sz) { /* Elf special sections: * .rodata.strM.N - M is size of character * N is alignment * .rodata.cstN - N fixed size readonly constants N bytes in size, * aligned to the same size */ static immutable char[4][3] name = [ "1.1", "2.2", "4.4" ]; const int i = (sz == 4) ? 2 : sz - 1; const IDXSEC seg = ElfObj_getsegment(".rodata.str".ptr, name[i].ptr, SHT_PROGBITS, SHF_ALLOC | SHF_MERGE | SHF_STRINGS, sz); return seg; } /****************************** * Perform initialization that applies to all .o output files. * Called before any other obj_xxx routines * Called by Obj.initialize() * Params: * objbuf = where to write the object file data * filename = source file name * csegname = name for code segment */ Obj ElfObj_init(OutBuffer *objbuf, const(char)* filename, const(char)* csegname) { //printf("ElfObj_init(filename = %s, csegname = %s)\n",filename,csegname); Obj obj = cast(Obj)mem_calloc(__traits(classInstanceSize, Obj)); cseg = CODE; fobjbuf = objbuf; mapsec2sym = null; note_data = null; secidx_note = 0; comment_data = null; seg_tlsseg = UNKNOWN; seg_tlsseg_bss = UNKNOWN; GOTsym = null; // Initialize buffers if (symtab_strings) symtab_strings.setsize(1); else { symtab_strings = cast(OutBuffer*) calloc(1, OutBuffer.sizeof); if (!symtab_strings) err_nomem(); symtab_strings.reserve(2048); symtab_strings.writeByte(0); } SecHdrTab.reset(); enum NAMIDX : IDXSTR { NONE = 0, SYMTAB = 1, // .symtab STRTAB = 9, // .strtab SHSTRTAB = 17, // .shstrtab TEXT = 27, // .text DATA = 33, // .data BSS = 39, // .bss NOTE = 44, // .note COMMENT = 50, // .comment RODATA = 59, // .rodata GNUSTACK = 67, // .note.GNU-stack CDATAREL = 83, // .data.rel.ro RELTEXT = 96, // .rel.text and .rela.text RELDATA = 106, // .rel.data RELDATA64 = 107, // .rela.data } if (I64) { static immutable char[107 + 12] section_names_init64 = "\0.symtab\0.strtab\0.shstrtab\0.text\0.data\0.bss\0.note" ~ "\0.comment\0.rodata\0.note.GNU-stack\0.data.rel.ro\0.rela.text\0.rela.data"; if (section_names) section_names.setsize(section_names_init64.sizeof); else { section_names = cast(OutBuffer*) calloc(1, OutBuffer.sizeof); if (!section_names) err_nomem(); section_names.reserve(1024); section_names.writen(section_names_init64.ptr, section_names_init64.sizeof); } if (section_names_hashtable) AApair2.destroy(section_names_hashtable); section_names_hashtable = AApair2.create(section_names.bufptr); // name,type,flags,addr,offset,size,link,info,addralign,entsize elf_newsection2(0, SHT_NULL, 0, 0,0,0,0,0, 0,0); elf_newsection2(NAMIDX.TEXT,SHT_PROGBITS,SHF_ALLOC|SHF_EXECINSTR,0,0,0,0,0, 4,0); elf_newsection2(NAMIDX.RELTEXT,SHT_RELA, 0,0,0,0,SHN_SYMTAB, SHN_TEXT, 8,0x18); elf_newsection2(NAMIDX.DATA,SHT_PROGBITS,SHF_ALLOC|SHF_WRITE, 0,0,0,0,0, 8,0); elf_newsection2(NAMIDX.RELDATA64,SHT_RELA, 0,0,0,0,SHN_SYMTAB, SHN_DATA, 8,0x18); elf_newsection2(NAMIDX.BSS, SHT_NOBITS,SHF_ALLOC|SHF_WRITE, 0,0,0,0,0, 16,0); elf_newsection2(NAMIDX.RODATA,SHT_PROGBITS,SHF_ALLOC, 0,0,0,0,0, 16,0); elf_newsection2(NAMIDX.STRTAB,SHT_STRTAB, 0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.SYMTAB,SHT_SYMTAB, 0, 0,0,0,0,0, 8,0); elf_newsection2(NAMIDX.SHSTRTAB,SHT_STRTAB, 0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.COMMENT, SHT_PROGBITS,0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.NOTE,SHT_NOTE, 0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.GNUSTACK,SHT_PROGBITS,0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.CDATAREL,SHT_PROGBITS,SHF_ALLOC|SHF_WRITE,0,0,0,0,0, 16,0); foreach (idxname; __traits(allMembers, NAMIDX)[1 .. $]) { NAMIDX idx = mixin("NAMIDX." ~ idxname); section_names_hashtable.get(idx, cast(uint)section_names_init64.sizeof).start = idx; } } else { static immutable char[106 + 12] section_names_init = "\0.symtab\0.strtab\0.shstrtab\0.text\0.data\0.bss\0.note" ~ "\0.comment\0.rodata\0.note.GNU-stack\0.data.rel.ro\0.rel.text\0.rel.data"; if (section_names) section_names.setsize(section_names_init.sizeof); else { section_names = cast(OutBuffer*) calloc(1, OutBuffer.sizeof); if (!section_names) err_nomem(); section_names.reserve(100*1024); section_names.writen(section_names_init.ptr, section_names_init.sizeof); } if (section_names_hashtable) AApair2.destroy(section_names_hashtable); section_names_hashtable = AApair2.create(section_names.bufptr); // name,type,flags,addr,offset,size,link,info,addralign,entsize elf_newsection2(0, SHT_NULL, 0, 0,0,0,0,0, 0,0); elf_newsection2(NAMIDX.TEXT,SHT_PROGBITS,SHF_ALLOC|SHF_EXECINSTR,0,0,0,0,0, 16,0); elf_newsection2(NAMIDX.RELTEXT,SHT_REL, 0,0,0,0,SHN_SYMTAB, SHN_TEXT, 4,8); elf_newsection2(NAMIDX.DATA,SHT_PROGBITS,SHF_ALLOC|SHF_WRITE, 0,0,0,0,0, 4,0); elf_newsection2(NAMIDX.RELDATA,SHT_REL, 0,0,0,0,SHN_SYMTAB, SHN_DATA, 4,8); elf_newsection2(NAMIDX.BSS, SHT_NOBITS,SHF_ALLOC|SHF_WRITE, 0,0,0,0,0, 32,0); elf_newsection2(NAMIDX.RODATA,SHT_PROGBITS,SHF_ALLOC, 0,0,0,0,0, 4,0); elf_newsection2(NAMIDX.STRTAB,SHT_STRTAB, 0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.SYMTAB,SHT_SYMTAB, 0, 0,0,0,0,0, 4,0); elf_newsection2(NAMIDX.SHSTRTAB,SHT_STRTAB, 0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.COMMENT, SHT_PROGBITS,0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.NOTE,SHT_NOTE, 0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.GNUSTACK,SHT_PROGBITS,0, 0,0,0,0,0, 1,0); elf_newsection2(NAMIDX.CDATAREL,SHT_PROGBITS,SHF_ALLOC|SHF_WRITE,0,0,0,0,0, 1,0); foreach (idxname; __traits(allMembers, NAMIDX)[1 .. $]) { NAMIDX idx = mixin("NAMIDX." ~ idxname); section_names_hashtable.get(idx, cast(uint)section_names_init.sizeof).start = idx; } } elfobj.SymbolTable.reset(); elfobj.SymbolTable64.reset(); foreach (s; elfobj.resetSyms) symbol_reset(s); elfobj.resetSyms.reset(); if (shndx_data) shndx_data.reset(); if (note_data) note_data.reset(); if (comment_data) comment_data.reset(); symbol_idx = 0; local_cnt = 0; // The symbols that every object file has elf_addsym(0, 0, 0, STT_NOTYPE, STB_LOCAL, 0); elf_addsym(0, 0, 0, STT_FILE, STB_LOCAL, SHN_ABS); // STI_FILE elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, SHN_TEXT); // STI_TEXT elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, SHN_DATA); // STI_DATA elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, SHN_BSS); // STI_BSS elf_addsym(0, 0, 0, STT_NOTYPE, STB_LOCAL, SHN_TEXT); // STI_GCC elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, SHN_RODAT); // STI_RODAT elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, SHN_NOTE); // STI_NOTE elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, SHN_COM); // STI_COM elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, SHN_CDATAREL); // STI_CDATAREL // Initialize output buffers for CODE, DATA and COMMENTS // (NOTE not supported, BSS not required) SegData.reset(); // recycle memory SegData.push(); // element 0 is reserved elf_addsegment2(SHN_TEXT, STI_TEXT, SHN_RELTEXT); assert(SegData[CODE].SDseg == CODE); elf_addsegment2(SHN_DATA, STI_DATA, SHN_RELDATA); assert(SegData[DATA].SDseg == DATA); elf_addsegment2(SHN_RODAT, STI_RODAT, 0); assert(SegData[CDATA].SDseg == CDATA); elf_addsegment2(SHN_BSS, STI_BSS, 0); assert(SegData[UDATA].SDseg == UDATA); elf_addsegment2(SHN_CDATAREL, STI_CDATAREL, 0); assert(SegData[CDATAREL].SDseg == CDATAREL); elf_addsegment2(SHN_COM, STI_COM, 0); assert(SegData[COMD].SDseg == COMD); dwarf_initfile(filename); return obj; } /************************** * Initialize the start of object output for this particular .o file. * Called by Obj.initfile() * * Input: * filename: Name of source file * csegname: User specified default code segment name */ void ElfObj_initfile(const(char)* filename, const(char)* csegname, const(char)* modname) { //printf("ElfObj_initfile(filename = %s, modname = %s)\n",filename,modname); IDXSTR name = ElfObj_addstr(symtab_strings, filename); if (I64) elfobj.SymbolTable64[STI_FILE].st_name = name; else elfobj.SymbolTable[STI_FILE].st_name = name; static if (0) { // compiler flag for linker if (I64) elfobj.SymbolTable64[STI_GCC].st_name = ElfObj_addstr(symtab_strings,"gcc2_compiled."); else elfobj.SymbolTable[STI_GCC].st_name = ElfObj_addstr(symtab_strings,"gcc2_compiled."); } if (csegname && *csegname && strcmp(csegname,".text")) { // Define new section and make it the default for cseg segment // NOTE: cseg is initialized to CODE const newsecidx = elf_newsection(csegname,null,SHT_PROGBITS,SHF_ALLOC|SHF_EXECINSTR); SecHdrTab[newsecidx].sh_addralign = 4; SegData[cseg].SDshtidx = newsecidx; SegData[cseg].SDsymidx = elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, newsecidx); } if (config.fulltypes) dwarf_initmodule(filename, modname); } /*************************** * Renumber symbols so they are * ordered as locals, weak and then global * Returns: * sorted symbol table, caller must free with util_free() */ void *elf_renumbersyms() { void *symtab; int nextlocal = 0; int nextglobal = local_cnt; SYMIDX *sym_map = cast(SYMIDX *)util_malloc(SYMIDX.sizeof,symbol_idx); if (I64) { Elf64_Sym *oldsymtab = &elfobj.SymbolTable64[0]; Elf64_Sym *symtabend = oldsymtab+symbol_idx; symtab = util_malloc(Elf64_Sym.sizeof,symbol_idx); Elf64_Sym *sl = cast(Elf64_Sym *)symtab; Elf64_Sym *sg = sl + local_cnt; int old_idx = 0; for(Elf64_Sym *s = oldsymtab; s != symtabend; s++) { // reorder symbol and map new #s to old int bind = ELF64_ST_BIND(s.st_info); if (bind == STB_LOCAL) { *sl++ = *s; sym_map[old_idx] = nextlocal++; } else { *sg++ = *s; sym_map[old_idx] = nextglobal++; } old_idx++; } } else { Elf32_Sym *oldsymtab = &elfobj.SymbolTable[0]; Elf32_Sym *symtabend = oldsymtab+symbol_idx; symtab = util_malloc(Elf32_Sym.sizeof,symbol_idx); Elf32_Sym *sl = cast(Elf32_Sym *)symtab; Elf32_Sym *sg = sl + local_cnt; int old_idx = 0; for(Elf32_Sym *s = oldsymtab; s != symtabend; s++) { // reorder symbol and map new #s to old int bind = ELF32_ST_BIND(s.st_info); if (bind == STB_LOCAL) { *sl++ = *s; sym_map[old_idx] = nextlocal++; } else { *sg++ = *s; sym_map[old_idx] = nextglobal++; } old_idx++; } } // Reorder extended section header indices if (shndx_data && shndx_data.length()) { // fill with zeros up to symbol_idx const size_t shndx_idx = shndx_data.length() / Elf64_Word.sizeof; shndx_data.writezeros(cast(uint)((symbol_idx - shndx_idx) * Elf64_Word.sizeof)); Elf64_Word *old_buf = cast(Elf64_Word *)shndx_data.buf; Elf64_Word *tmp_buf = cast(Elf64_Word *)util_malloc(Elf64_Word.sizeof, symbol_idx); for (SYMIDX old_idx = 0; old_idx < symbol_idx; ++old_idx) { const SYMIDX new_idx = sym_map[old_idx]; tmp_buf[new_idx] = old_buf[old_idx]; } memcpy(old_buf, tmp_buf, Elf64_Word.sizeof * symbol_idx); util_free(tmp_buf); } // Renumber the relocations for (int i = 1; i < SegData.length; i++) { // Map indicies in the segment table seg_data *pseg = SegData[i]; pseg.SDsymidx = cast(uint) sym_map[pseg.SDsymidx]; if (SecHdrTab[pseg.SDshtidx].sh_type == SHT_GROUP) { // map symbol index of group section header uint oidx = SecHdrTab[pseg.SDshtidx].sh_info; assert(oidx < symbol_idx); // we only have one symbol table assert(SecHdrTab[pseg.SDshtidx].sh_link == SHN_SYMTAB); SecHdrTab[pseg.SDshtidx].sh_info = cast(uint) sym_map[oidx]; } if (pseg.SDrel) { if (I64) { Elf64_Rela *rel = cast(Elf64_Rela *) pseg.SDrel.buf; for (int r = 0; r < pseg.SDrelcnt; r++) { uint t = ELF64_R_TYPE(rel.r_info); uint si = ELF64_R_SYM(rel.r_info); assert(si < symbol_idx); rel.r_info = ELF64_R_INFO(sym_map[si],t); rel++; } } else { Elf32_Rel *rel = cast(Elf32_Rel *) pseg.SDrel.buf; assert(pseg.SDrelcnt == pseg.SDrel.length() / Elf32_Rel.sizeof); for (int r = 0; r < pseg.SDrelcnt; r++) { uint t = ELF32_R_TYPE(rel.r_info); uint si = ELF32_R_SYM(rel.r_info); assert(si < symbol_idx); rel.r_info = ELF32_R_INFO(cast(uint) sym_map[si],t); rel++; } } } } return symtab; } /*************************** * Fixup and terminate object file. * Pairs with ElfObj_initfile() */ void ElfObj_termfile() { //dbg_printf("ElfObj_termfile\n"); if (configv.addlinenumbers) { dwarf_termmodule(); } } /********************************* * Finish up creating the object module and putting it in fobjbuf[]. * Does not write the file. * Pairs with ElfObj_init() * Params: * objfilename = file name for object module (not used) */ void ElfObj_term(const(char)* objfilename) { //printf("ElfObj_term()\n"); outfixlist(); // backpatches if (configv.addlinenumbers) dwarf_termfile(); if (config.useModuleInfo) obj_rtinit(); int foffset; Elf32_Shdr *sechdr; seg_data *seg; void *symtab = elf_renumbersyms(); FILE *fd = null; int hdrsize = (I64 ? Elf64_Ehdr.sizeof : Elf32_Ehdr.sizeof); ushort e_shnum; if (SecHdrTab.length < SHN_LORESERVE) e_shnum = cast(ushort)SecHdrTab.length; else { e_shnum = SHN_UNDEF; SecHdrTab[0].sh_size = cast(uint)SecHdrTab.length; } // uint16_t e_shstrndx = SHN_SECNAMES; fobjbuf.writezeros(hdrsize); /* Walk through sections determining size and file offsets * Sections will be output in the following order * Null segment * For each Code/Data Segment * code/data to load * relocations without addens * .bss * notes * comments * section names table * symbol table * strings table */ foffset = hdrsize; // start after header // section header table at end /* First output individual section data associated with program * code and data */ //printf("Setup offsets and sizes foffset %d\n\tSecHdrTab.length %d, SegData.length %d\n",foffset,cast(int)SecHdrTab.length,SegData.length); foreach (int i; 1 .. cast(int)SegData.length) { seg_data *pseg = SegData[i]; Elf32_Shdr *sechdr2 = MAP_SEG2SEC(i); // corresponding section if (sechdr2.sh_addralign < pseg.SDalignment) sechdr2.sh_addralign = pseg.SDalignment; foffset = elf_align(sechdr2.sh_addralign,foffset); if (i == UDATA) // 0, BSS never allocated { // but foffset as if it has sechdr2.sh_offset = foffset; sechdr2.sh_size = cast(uint)pseg.SDoffset; // accumulated size continue; } else if (sechdr2.sh_type == SHT_NOBITS) // .tbss never allocated { sechdr2.sh_offset = foffset; sechdr2.sh_size = cast(uint)pseg.SDoffset; // accumulated size continue; } else if (!pseg.SDbuf) continue; // For others leave sh_offset as 0 sechdr2.sh_offset = foffset; //printf("\tsection name %d,",sechdr2.sh_name); if (pseg.SDbuf && pseg.SDbuf.length()) { //printf(" - size %d\n",pseg.SDbuf.length()); const size_t size = pseg.SDbuf.length(); fobjbuf.write(pseg.SDbuf.buf[0 .. size]); const int nfoffset = elf_align(sechdr2.sh_addralign, cast(uint)(foffset + size)); sechdr2.sh_size = nfoffset - foffset; foffset = nfoffset; } //printf(" assigned offset %d, size %d\n",foffset,sechdr2.sh_size); } /* Next output any notes or comments */ if (note_data) { sechdr = &SecHdrTab[secidx_note]; // Notes sechdr.sh_size = cast(uint)note_data.length(); sechdr.sh_offset = foffset; fobjbuf.write(note_data.buf[0 .. sechdr.sh_size]); foffset += sechdr.sh_size; } if (comment_data) { sechdr = &SecHdrTab[SHN_COM]; // Comments sechdr.sh_size = cast(uint)comment_data.length(); sechdr.sh_offset = foffset; fobjbuf.write(comment_data.buf[0 .. sechdr.sh_size]); foffset += sechdr.sh_size; } /* Then output string table for section names */ sechdr = &SecHdrTab[SHN_SECNAMES]; // Section Names sechdr.sh_size = cast(uint)section_names.length(); sechdr.sh_offset = foffset; //dbg_printf("section names offset %d\n",foffset); fobjbuf.write(section_names.buf[0 .. sechdr.sh_size]); foffset += sechdr.sh_size; /* Symbol table and string table for symbols next */ //dbg_printf("output symbol table size %d\n",SYMbuf.length()); sechdr = &SecHdrTab[SHN_SYMTAB]; // Symbol Table sechdr.sh_size = I64 ? cast(uint)(elfobj.SymbolTable64.length * Elf64_Sym.sizeof) : cast(uint)(elfobj.SymbolTable.length * Elf32_Sym.sizeof); sechdr.sh_entsize = I64 ? (Elf64_Sym).sizeof : (Elf32_Sym).sizeof; sechdr.sh_link = SHN_STRINGS; sechdr.sh_info = local_cnt; foffset = elf_align(4,foffset); sechdr.sh_offset = foffset; fobjbuf.write(symtab[0 .. sechdr.sh_size]); foffset += sechdr.sh_size; util_free(symtab); if (shndx_data && shndx_data.length()) { assert(SecHdrTab.length >= secidx_shndx); sechdr = &SecHdrTab[secidx_shndx]; sechdr.sh_size = cast(uint)shndx_data.length(); sechdr.sh_offset = foffset; fobjbuf.write(shndx_data.buf[0 .. sechdr.sh_size]); foffset += sechdr.sh_size; } //dbg_printf("output section strings size 0x%x,offset 0x%x\n",symtab_strings.length(),foffset); sechdr = &SecHdrTab[SHN_STRINGS]; // Symbol Strings sechdr.sh_size = cast(uint)symtab_strings.length(); sechdr.sh_offset = foffset; fobjbuf.write(symtab_strings.buf[0 .. sechdr.sh_size]); foffset += sechdr.sh_size; /* Now the relocation data for program code and data sections */ foffset = elf_align(4,foffset); //dbg_printf("output relocations size 0x%x, foffset 0x%x\n",section_names.length(),foffset); for (int i=1; i < SegData.length; i++) { seg = SegData[i]; if (!seg.SDbuf) { //sechdr = &SecHdrTab[seg.SDrelidx]; //if (I64 && sechdr.sh_type == SHT_RELA) //sechdr.sh_offset = foffset; continue; // 0, BSS never allocated } if (seg.SDrel && seg.SDrel.length()) { assert(seg.SDrelidx); sechdr = &SecHdrTab[seg.SDrelidx]; sechdr.sh_size = cast(uint)seg.SDrel.length(); sechdr.sh_offset = foffset; // sort the relocations by offset if (I64) { assert(seg.SDrelcnt == seg.SDrel.length() / Elf64_Rela.sizeof); extern (C) @trusted nothrow static int elf64_rel_fp(scope const(void*) e1, scope const(void*) e2) { Elf64_Rela *r1 = cast(Elf64_Rela *)e1; Elf64_Rela *r2 = cast(Elf64_Rela *)e2; return (r1.r_offset > r2.r_offset) - (r1.r_offset < r2.r_offset); } qsort( seg.SDrel.buf, seg.SDrel.length() / Elf64_Rela.sizeof, Elf64_Rela.sizeof, &elf64_rel_fp ); } else { assert(seg.SDrelcnt == seg.SDrel.length() / Elf32_Rel.sizeof); extern (C) @trusted nothrow static int elf32_rel_fp(scope const(void*) e1, scope const(void*) e2) { Elf32_Rel *r1 = cast(Elf32_Rel *)e1; Elf32_Rel *r2 = cast(Elf32_Rel *)e2; return (r1.r_offset > r2.r_offset) - (r1.r_offset < r2.r_offset); } qsort( seg.SDrel.buf, seg.SDrel.length() / Elf32_Rel.sizeof, Elf32_Rel.sizeof, &elf32_rel_fp ); } fobjbuf.write(seg.SDrel.buf[0 .. sechdr.sh_size]); foffset += sechdr.sh_size; } } /* Finish off with the section header table */ ulong e_shoff = foffset; // remember location in elf header //dbg_printf("output section header table\n"); // Output the completed Section Header Table if (I64) { // Translate section headers to 64 bits int sz = cast(int)(SecHdrTab.length * Elf64_Shdr.sizeof); fobjbuf.reserve(sz); foreach (ref sh; SecHdrTab) { Elf64_Shdr s; s.sh_name = sh.sh_name; s.sh_type = sh.sh_type; s.sh_flags = sh.sh_flags; s.sh_addr = sh.sh_addr; s.sh_offset = sh.sh_offset; s.sh_size = sh.sh_size; s.sh_link = sh.sh_link; s.sh_info = sh.sh_info; s.sh_addralign = sh.sh_addralign; s.sh_entsize = sh.sh_entsize; fobjbuf.write((&s)[0 .. 1]); } foffset += sz; } else { fobjbuf.write(&SecHdrTab[0], cast(uint)(SecHdrTab.length * Elf32_Shdr.sizeof)); foffset += SecHdrTab.length * Elf32_Shdr.sizeof; } /* Now that we have correct offset to section header table, e_shoff, * go back and re-output the elf header */ ubyte ELFOSABI; switch (config.exe) { case EX_LINUX: case EX_LINUX64: ELFOSABI = ELFOSABI_LINUX; break; case EX_FREEBSD: case EX_FREEBSD64: ELFOSABI = ELFOSABI_FREEBSD; break; case EX_OPENBSD: case EX_OPENBSD64: ELFOSABI = ELFOSABI_OPENBSD; break; case EX_SOLARIS: case EX_SOLARIS64: case EX_DRAGONFLYBSD64: ELFOSABI = ELFOSABI_SYSV; break; default: assert(0); } fobjbuf.position(0, hdrsize); if (I64) { __gshared Elf64_Ehdr h64 = { [ ELFMAG0,ELFMAG1,ELFMAG2,ELFMAG3, ELFCLASS64, // EI_CLASS ELFDATA2LSB, // EI_DATA EV_CURRENT, // EI_VERSION 0,0, // EI_OSABI,EI_ABIVERSION 0,0,0,0,0,0,0 ], ET_REL, // e_type EM_X86_64, // e_machine EV_CURRENT, // e_version 0, // e_entry 0, // e_phoff 0, // e_shoff 0, // e_flags Elf64_Ehdr.sizeof, // e_ehsize Elf64_Phdr.sizeof, // e_phentsize 0, // e_phnum Elf64_Shdr.sizeof, // e_shentsize 0, // e_shnum SHN_SECNAMES // e_shstrndx }; h64.EHident[EI_OSABI] = ELFOSABI; h64.e_shoff = e_shoff; h64.e_shnum = e_shnum; fobjbuf.write(&h64, hdrsize); } else { __gshared Elf32_Ehdr h32 = { [ ELFMAG0,ELFMAG1,ELFMAG2,ELFMAG3, ELFCLASS32, // EI_CLASS ELFDATA2LSB, // EI_DATA EV_CURRENT, // EI_VERSION 0,0, // EI_OSABI,EI_ABIVERSION 0,0,0,0,0,0,0 ], ET_REL, // e_type EM_386, // e_machine EV_CURRENT, // e_version 0, // e_entry 0, // e_phoff 0, // e_shoff 0, // e_flags Elf32_Ehdr.sizeof, // e_ehsize Elf32_Phdr.sizeof, // e_phentsize 0, // e_phnum Elf32_Shdr.sizeof, // e_shentsize 0, // e_shnum SHN_SECNAMES // e_shstrndx }; h32.EHident[EI_OSABI] = ELFOSABI; h32.e_shoff = cast(uint)e_shoff; h32.e_shnum = e_shnum; fobjbuf.write(&h32, hdrsize); } fobjbuf.position(foffset, 0); } /***************************** * Line number support. */ /*************************** * Record file and line number at segment and offset. * The actual .debug_line segment is put out by dwarf_termfile(). * Params: * srcpos = source file position * seg = segment it corresponds to * offset = offset within seg */ void ElfObj_linnum(Srcpos srcpos, int seg, targ_size_t offset) { if (srcpos.Slinnum == 0) return; static if (0) { printf("ElfObj_linnum(seg=%d, offset=0x%lx) ", seg, offset); srcpos.print(""); } if (!srcpos.Sfilename) return; size_t i; seg_data *pseg = SegData[seg]; // Find entry i in SDlinnum_data[] that corresponds to srcpos filename for (i = 0; 1; i++) { if (i == pseg.SDlinnum_data.length) { // Create new entry pseg.SDlinnum_data.push(linnum_data(srcpos.Sfilename)); break; } if (pseg.SDlinnum_data[i].filename == srcpos.Sfilename) break; } linnum_data *ld = &pseg.SDlinnum_data[i]; // printf("i = %d, ld = x%x\n", i, ld); ld.linoff.push(LinOff(srcpos.Slinnum, cast(uint)offset)); } /******************************* * Set start address */ void ElfObj_startaddress(Symbol *s) { //dbg_printf("ElfObj_startaddress(Symbol *%s)\n",s.Sident.ptr); //obj.startaddress = s; } /******************************* * Output library name. */ bool ElfObj_includelib(scope const char[] name) { //dbg_printf("ElfObj_includelib(name *%s)\n",name); return false; } /******************************* * Output linker directive. */ bool ElfObj_linkerdirective(const(char)* name) { return false; } /********************************** * Do we allow zero sized objects? */ bool ElfObj_allowZeroSize() { return true; } /************************** * Embed string in executable. */ void ElfObj_exestr(const(char)* p) { //dbg_printf("ElfObj_exestr(char *%s)\n",p); } /************************** * Embed string in obj. */ void ElfObj_user(const(char)* p) { //printf("ElfObj_user(char *%s)\n",p); if (!comment_data) { comment_data = cast(OutBuffer*) calloc(1, OutBuffer.sizeof); if (!comment_data) err_nomem(); comment_data.writeByte(0); } comment_data.writestring(p); comment_data.writeByte(0); } /******************************* * Output a weak extern record. */ void ElfObj_wkext(Symbol *s1,Symbol *s2) { //dbg_printf("ElfObj_wkext(Symbol *%s,Symbol *s2)\n",s1.Sident.ptr,s2.Sident.ptr); } /******************************* * Output file name record. * * Currently assumes that obj_filename will not be called * twice for the same file. */ void ElfObj_filename(const(char)* modname) { //dbg_printf("ElfObj_filename(char *%s)\n",modname); uint strtab_idx = ElfObj_addstr(symtab_strings,modname); elf_addsym(strtab_idx,0,0,STT_FILE,STB_LOCAL,SHN_ABS); } /******************************* * Embed compiler version in .obj file. */ void ElfObj_compiler(const(char)* p) { //dbg_printf("ElfObj_compiler\n"); ElfObj_user(p); } /************************************** * Symbol is the function that calls the static constructors. * Put a pointer to it into a special segment that the startup code * looks at. * Input: * s static constructor function * dtor !=0 if leave space for static destructor * seg 1: user * 2: lib * 3: compiler */ void ElfObj_staticctor(Symbol *s, int, int) { ElfObj_setModuleCtorDtor(s, true); } /************************************** * Symbol is the function that calls the static destructors. * Put a pointer to it into a special segment that the exit code * looks at. * Input: * s static destructor function */ void ElfObj_staticdtor(Symbol *s) { ElfObj_setModuleCtorDtor(s, false); } /*************************************** * Stuff pointer to function in its own segment. * Used for static ctor and dtor lists. */ void ElfObj_setModuleCtorDtor(Symbol *sfunc, bool isCtor) { IDXSEC seg; if (USE_INIT_ARRAY()) seg = isCtor ? ElfObj_getsegment(".init_array", null, SHT_INIT_ARRAY, SHF_ALLOC|SHF_WRITE, _tysize[TYnptr]) : ElfObj_getsegment(".fini_array", null, SHT_FINI_ARRAY, SHF_ALLOC|SHF_WRITE, _tysize[TYnptr]); else seg = ElfObj_getsegment(isCtor ? ".ctors" : ".dtors", null, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE, _tysize[TYnptr]); const reltype_t reltype = I64 ? R_X86_64_64 : R_386_32; const size_t sz = ElfObj_writerel(seg, cast(uint)SegData[seg].SDoffset, reltype, sfunc.Sxtrnnum, 0); SegData[seg].SDoffset += sz; } /*************************************** * Stuff the following data in a separate segment: * pointer to function * pointer to ehsym * length of function */ void ElfObj_ehtables(Symbol *sfunc,uint size,Symbol *ehsym) { assert(0); // converted to Dwarf EH debug format } /********************************************* * Don't need to generate section brackets, use __start_SEC/__stop_SEC instead. */ void ElfObj_ehsections() { obj_tlssections(); } /********************************************* * Put out symbols that define the beginning/end of the thread local storage sections. */ private void obj_tlssections() { const align_ = I64 ? 16 : 4; { const sec = ElfObj_getsegment(".tdata", null, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, align_); ElfObj_bytes(sec, 0, align_, null); const namidx = ElfObj_addstr(symtab_strings,"_tlsstart"); elf_addsym(namidx, 0, align_, STT_TLS, STB_GLOBAL, MAP_SEG2SECIDX(sec)); } ElfObj_getsegment(".tdata.", null, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, align_); { const sec = ElfObj_getsegment(".tcommon", null, SHT_NOBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, align_); const namidx = ElfObj_addstr(symtab_strings,"_tlsend"); elf_addsym(namidx, 0, align_, STT_TLS, STB_GLOBAL, MAP_SEG2SECIDX(sec)); } } /********************************* * Setup for Symbol s to go into a COMDAT segment. * Output (if s is a function): * cseg segment index of new current code segment * Offset(cseg) starting offset in cseg * Returns: * "segment index" of COMDAT * References: * Section Groups http://www.sco.com/developers/gabi/2003-12-17/ch4.sheader.html#section_groups * COMDAT section groups https://www.airs.com/blog/archives/52 */ private void setup_comdat(Symbol *s) { const(char)* prefix; int type; int flags; int align_ = 4; //printf("ElfObj_comdat(Symbol *%s\n",s.Sident.ptr); //symbol_print(s); symbol_debug(s); if (tyfunc(s.ty())) { if (!ELF_COMDAT()) { prefix = ".text."; // undocumented, but works type = SHT_PROGBITS; flags = SHF_ALLOC|SHF_EXECINSTR; } else { elfobj.resetSyms.push(s); const(char)* p = cpp_mangle2(s); bool added = false; Pair* pidx = elf_addsectionname(".text.", p, &added); int groupseg; if (added) { // Create a new COMDAT section group Pair* pidx2 = elf_addsectionname(".group"); groupseg = elf_addsegment(pidx2.start, SHT_GROUP, 0, (IDXSYM).sizeof); MAP_SEG2SEC(groupseg).sh_link = SHN_SYMTAB; MAP_SEG2SEC(groupseg).sh_entsize = (IDXSYM).sizeof; // Create a new TEXT section for the comdat symbol with the SHF_GROUP bit set s.Sseg = elf_addsegment(pidx.start, SHT_PROGBITS, SHF_ALLOC|SHF_EXECINSTR|SHF_GROUP, align_); // add TEXT section to COMDAT section group SegData[groupseg].SDbuf.write32(GRP_COMDAT); SegData[groupseg].SDbuf.write32(MAP_SEG2SECIDX(s.Sseg)); SegData[s.Sseg].SDassocseg = groupseg; } else { /* If the section already existed, we've hit one of the few * occurences of different symbols with identical mangling. This should * not happen, but as a workaround we just use the existing sections. * Also see https://issues.dlang.org/show_bug.cgi?id=17352, * https://issues.dlang.org/show_bug.cgi?id=14831, and * https://issues.dlang.org/show_bug.cgi?id=17339. */ if (!pidx.end) pidx.end = elf_getsegment(pidx.start); s.Sseg = pidx.end; groupseg = SegData[s.Sseg].SDassocseg; assert(groupseg); } // Create a weak symbol for the comdat const namidxcd = ElfObj_addstr(symtab_strings, p); s.Sxtrnnum = elf_addsym(namidxcd, 0, 0, STT_FUNC, STB_WEAK, MAP_SEG2SECIDX(s.Sseg)); if (added) { /* Set the weak symbol as comdat group symbol. This symbol determines * whether all or none of the sections in the group get linked. It's * also the only symbol in all group sections that might be referenced * from outside of the group. */ MAP_SEG2SEC(groupseg).sh_info = s.Sxtrnnum; SegData[s.Sseg].SDsym = s; } else { // existing group symbol, and section symbol assert(MAP_SEG2SEC(groupseg).sh_info); assert(MAP_SEG2SEC(groupseg).sh_info == SegData[s.Sseg].SDsym.Sxtrnnum); } if (s.Salignment > align_) SegData[s.Sseg].SDalignment = s.Salignment; return; } } else if ((s.ty() & mTYLINK) == mTYthread) { /* Ensure that ".tdata" precedes any other .tdata. section, as the ld * linker script fails to work right. */ if (I64) align_ = 16; ElfObj_getsegment(".tdata", null, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, align_); s.Sfl = FLtlsdata; prefix = ".tdata."; type = SHT_PROGBITS; flags = SHF_ALLOC|SHF_WRITE|SHF_TLS; } else { if (I64) align_ = 16; s.Sfl = FLdata; //prefix = ".gnu.linkonce.d."; prefix = ".data."; type = SHT_PROGBITS; flags = SHF_ALLOC|SHF_WRITE; } s.Sseg = ElfObj_getsegment(prefix, cpp_mangle2(s), type, flags, align_); // find or create new segment if (s.Salignment > align_) SegData[s.Sseg].SDalignment = s.Salignment; SegData[s.Sseg].SDsym = s; } int ElfObj_comdat(Symbol *s) { setup_comdat(s); if (s.Sfl == FLdata || s.Sfl == FLtlsdata) { ElfObj_pubdef(s.Sseg,s,0); } return s.Sseg; } int ElfObj_comdatsize(Symbol *s, targ_size_t symsize) { setup_comdat(s); if (s.Sfl == FLdata || s.Sfl == FLtlsdata) { ElfObj_pubdefsize(s.Sseg,s,0,symsize); } s.Soffset = 0; return s.Sseg; } int ElfObj_readonly_comdat(Symbol *s) { assert(0); } int ElfObj_jmpTableSegment(Symbol *s) { segidx_t seg = jmpseg; if (seg) // memoize the jmpseg on a per-function basis return seg; if (config.flags & CFGromable) seg = cseg; else { seg_data *pseg = SegData[s.Sseg]; if (pseg.SDassocseg) { /* `s` is in a COMDAT, so the jmp table segment must also * go into its own segment in the same group. */ seg = ElfObj_getsegment(".rodata.", s.Sident.ptr, SHT_PROGBITS, SHF_ALLOC|SHF_GROUP, _tysize[TYnptr]); addSegmentToComdat(seg, s.Sseg); } else seg = CDATA; } jmpseg = seg; return seg; } /**************************************** * If `comdatseg` has a group, add `secidx` to the group. * Params: * secidx = section to add to the group * comdatseg = comdat that started the group */ private void addSectionToComdat(IDXSEC secidx, segidx_t comdatseg) { seg_data *pseg = SegData[comdatseg]; segidx_t groupseg = pseg.SDassocseg; if (groupseg) { seg_data *pgroupseg = SegData[groupseg]; /* Don't write it if it is already there */ OutBuffer *buf = pgroupseg.SDbuf; assert(int.sizeof == 4); // loop depends on this for (size_t i = buf.length(); i > 4;) { /* A linear search, but shouldn't be more than 4 items * in it. */ i -= 4; if (*cast(int*)(buf.buf + i) == secidx) return; } buf.write32(secidx); } } /*********************************** * Returns: * jump table segment for function s */ void addSegmentToComdat(segidx_t seg, segidx_t comdatseg) { addSectionToComdat(SegData[seg].SDshtidx, comdatseg); } private segidx_t elf_addsegment2(IDXSEC shtidx, IDXSYM symidx, IDXSEC relidx) { //printf("SegData = %p\n", SegData); const segidx_t seg = cast(segidx_t)SegData.length; seg_data** ppseg = SegData.push(); seg_data* pseg = *ppseg; if (!pseg) { pseg = cast(seg_data *)mem_calloc(seg_data.sizeof); //printf("test2: SegData[%d] = %p\n", seg, SegData[seg]); SegData[seg] = pseg; } else memset(pseg, 0, seg_data.sizeof); pseg.SDseg = seg; pseg.SDshtidx = shtidx; pseg.SDoffset = 0; if (pseg.SDbuf) pseg.SDbuf.reset(); else { if (SecHdrTab[shtidx].sh_type != SHT_NOBITS) { pseg.SDbuf = cast(OutBuffer*) calloc(1, OutBuffer.sizeof); if (!pseg.SDbuf) err_nomem(); pseg.SDbuf.reserve(1024); } } if (pseg.SDrel) pseg.SDrel.reset(); pseg.SDsymidx = symidx; pseg.SDrelidx = relidx; pseg.SDrelcnt = 0; pseg.SDshtidxout = 0; pseg.SDsym = null; pseg.SDaranges_offset = 0; pseg.SDlinnum_data.reset(); return seg; } /******************************** * Add a new section and get corresponding seg_data entry. * * Input: * nameidx = string index of section name * type = section header type, e.g. SHT_PROGBITS * flags = section header flags, e.g. SHF_ALLOC * align_ = section alignment * Returns: * SegData index of newly created section. */ private segidx_t elf_addsegment(IDXSTR namidx, int type, int flags, int align_) { //dbg_printf("\tNew segment - %d size %d\n", seg,SegData[seg].SDbuf); IDXSEC shtidx = elf_newsection2(namidx,type,flags,0,0,0,0,0,0,0); SecHdrTab[shtidx].sh_addralign = align_; IDXSYM symidx = elf_addsym(0, 0, 0, STT_SECTION, STB_LOCAL, shtidx); segidx_t seg = elf_addsegment2(shtidx, symidx, 0); //printf("-ElfObj_getsegment() = %d\n", seg); return seg; } /******************************** * Find corresponding seg_data entry for existing section. * * Input: * nameidx = string index of section name * Returns: * SegData index of found section or 0 if none was found. */ private int elf_getsegment(IDXSTR namidx) { // find existing section for (int seg = CODE; seg < SegData.length; seg++) { // should be in segment table if (MAP_SEG2SEC(seg).sh_name == namidx) { return seg; // found section for segment } } return 0; } /******************************** * Get corresponding seg_data entry for an existing or newly added section. * * Input: * name = name of section * suffix = append to name * type = section header type, e.g. SHT_PROGBITS * flags = section header flags, e.g. SHF_ALLOC * align_ = section alignment * Returns: * SegData index of found or newly created section. */ segidx_t ElfObj_getsegment(const(char)* name, const(char)* suffix, int type, int flags, int align_) { //printf("ElfObj_getsegment(%s,%s,flags %x, align_ %d)\n",name,suffix,flags,align_); bool added = false; Pair* pidx = elf_addsectionname(name, suffix, &added); if (!added) { // Existing segment if (!pidx.end) pidx.end = elf_getsegment(pidx.start); return pidx.end; } else // New segment, cache the segment index in the hash table pidx.end = elf_addsegment(pidx.start, type, flags, align_); return pidx.end; } /********************************** * Reset code seg to existing seg. * Used after a COMDAT for a function is done. */ void ElfObj_setcodeseg(int seg) { cseg = seg; } /******************************** * Define a new code segment. * Input: * name name of segment, if null then revert to default * suffix 0 use name as is * 1 append "_TEXT" to name * Output: * cseg segment index of new current code segment * Offset(cseg) starting offset in cseg * Returns: * segment index of newly created code segment */ int ElfObj_codeseg(const char *name,int suffix) { int seg; const(char)* sfx; //dbg_printf("ElfObj_codeseg(%s,%x)\n",name,suffix); sfx = (suffix) ? "_TEXT".ptr : null; if (!name) // returning to default code segment { if (cseg != CODE) // not the current default { SegData[cseg].SDoffset = Offset(cseg); Offset(cseg) = SegData[CODE].SDoffset; cseg = CODE; } return cseg; } seg = ElfObj_getsegment(name, sfx, SHT_PROGBITS, SHF_ALLOC|SHF_EXECINSTR, 4); // find or create code segment cseg = seg; // new code segment index Offset(cseg) = 0; return seg; } /********************************* * Define segments for Thread Local Storage. * Here's what the elf tls spec says: * Field .tbss .tdata * sh_name .tbss .tdata * sh_type SHT_NOBITS SHT_PROGBITS * sh_flags SHF_ALLOC|SHF_WRITE| SHF_ALLOC|SHF_WRITE| * SHF_TLS SHF_TLS * sh_addr virtual addr of section virtual addr of section * sh_offset 0 file offset of initialization image * sh_size size of section size of section * sh_link SHN_UNDEF SHN_UNDEF * sh_info 0 0 * sh_addralign alignment of section alignment of section * sh_entsize 0 0 * We want _tlsstart and _tlsend to bracket all the D tls data. * The default linker script (ld -verbose) says: * .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } * .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } * so if we assign names: * _tlsstart .tdata * symbols .tdata. * symbols .tbss * _tlsend .tbss. * this should work. * Don't care about sections emitted by other languages, as we presume they * won't be storing D gc roots in their tls. * Output: * seg_tlsseg set to segment number for TLS segment. * Returns: * segment for TLS segment */ seg_data *ElfObj_tlsseg() { /* Ensure that ".tdata" precedes any other .tdata. section, as the ld * linker script fails to work right. */ ElfObj_getsegment(".tdata", null, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, 4); static immutable char[8] tlssegname = ".tdata."; //dbg_printf("ElfObj_tlsseg(\n"); if (seg_tlsseg == UNKNOWN) { seg_tlsseg = ElfObj_getsegment(tlssegname.ptr, null, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, I64 ? 16 : 4); } return SegData[seg_tlsseg]; } /********************************* * Define segments for Thread Local Storage. * Output: * seg_tlsseg_bss set to segment number for TLS segment. * Returns: * segment for TLS segment */ seg_data *ElfObj_tlsseg_bss() { static immutable char[6] tlssegname = ".tbss"; //dbg_printf("ElfObj_tlsseg_bss(\n"); if (seg_tlsseg_bss == UNKNOWN) { seg_tlsseg_bss = ElfObj_getsegment(tlssegname.ptr, null, SHT_NOBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, I64 ? 16 : 4); } return SegData[seg_tlsseg_bss]; } seg_data *ElfObj_tlsseg_data() { // specific for Mach-O assert(0); } /******************************* * Output an alias definition record. */ void ElfObj_alias(const(char)* n1,const(char)* n2) { //printf("ElfObj_alias(%s,%s)\n",n1,n2); assert(0); static if (0) { char *buffer = cast(char *) alloca(strlen(n1) + strlen(n2) + 2 * ONS_OHD); uint len = obj_namestring(buffer,n1); len += obj_namestring(buffer + len,n2); objrecord(ALIAS,buffer,len); } } private extern (D) char* unsstr(uint value) { __gshared char[64] buffer = void; snprintf(buffer.ptr, buffer.length, "%d", value); return buffer.ptr; } /******************************* * Mangle a name. * Returns: * mangled name */ private extern (D) char *obj_mangle2(Symbol *s,char *dest, size_t *destlen) { char *name; //dbg_printf("ElfObj_mangle('%s'), mangle = x%x\n",s.Sident.ptr,type_mangle(s.Stype)); symbol_debug(s); assert(dest); // C++ name mangling is handled by front end name = s.Sident.ptr; size_t len = strlen(name); // # of bytes in name //dbg_printf("len %d\n",len); switch (type_mangle(s.Stype)) { case mTYman_pas: // if upper case case mTYman_for: if (len >= DEST_LEN) dest = cast(char *)mem_malloc(len + 1); memcpy(dest,name,len + 1); // copy in name and ending 0 for (int i = 0; 1; i++) { char c = dest[i]; if (!c) break; if (c >= 'a' && c <= 'z') dest[i] = cast(char)(c + 'A' - 'a'); } break; case mTYman_std: { bool cond = (tyfunc(s.ty()) && !variadic(s.Stype)); if (cond) { char *pstr = unsstr(type_paramsize(s.Stype)); size_t pstrlen = strlen(pstr); size_t dlen = len + 1 + pstrlen; if (dlen >= DEST_LEN) dest = cast(char *)mem_malloc(dlen + 1); memcpy(dest,name,len); dest[len] = '@'; memcpy(dest + 1 + len, pstr, pstrlen + 1); len = dlen; break; } } goto case; case mTYman_cpp: case mTYman_c: case mTYman_d: case mTYman_sys: case 0: if (len >= DEST_LEN) dest = cast(char *)mem_malloc(len + 1); memcpy(dest,name,len+1);// copy in name and trailing 0 break; default: debug { printf("mangling %x\n",type_mangle(s.Stype)); symbol_print(s); } printf("%d\n", type_mangle(s.Stype)); assert(0); } //dbg_printf("\t %s\n",dest); *destlen = len; return dest; } /******************************* * Export a function name. */ void ElfObj_export_symbol(Symbol *s,uint argsize) { //dbg_printf("ElfObj_export_symbol(%s,%d)\n",s.Sident.ptr,argsize); } /******************************* * Update data information about symbol * align for output and assign segment * if not already specified. * * Input: * sdata data symbol * datasize output size * seg default seg if not known * Returns: * actual seg */ int ElfObj_data_start(Symbol *sdata, targ_size_t datasize, int seg) { targ_size_t alignbytes; //printf("ElfObj_data_start(%s,size %llx,seg %d)\n",sdata.Sident.ptr,datasize,seg); //symbol_print(sdata); if (sdata.Sseg == UNKNOWN) // if we don't know then there sdata.Sseg = seg; // wasn't any segment override else seg = sdata.Sseg; targ_size_t offset = Offset(seg); if (sdata.Salignment > 0) { if (SegData[seg].SDalignment < sdata.Salignment) SegData[seg].SDalignment = sdata.Salignment; alignbytes = ((offset + sdata.Salignment - 1) & ~(sdata.Salignment - 1)) - offset; } else alignbytes = _align(datasize, offset) - offset; if (alignbytes) ElfObj_lidata(seg, offset, alignbytes); sdata.Soffset = offset + alignbytes; return seg; } /******************************* * Update function info before codgen * * If code for this function is in a different segment * than the current default in cseg, switch cseg to new segment. */ void ElfObj_func_start(Symbol *sfunc) { //dbg_printf("ElfObj_func_start(%s)\n",sfunc.Sident.ptr); symbol_debug(sfunc); if ((tybasic(sfunc.ty()) == TYmfunc) && (sfunc.Sclass == SC.extern_)) { // create a new code segment sfunc.Sseg = ElfObj_getsegment(".gnu.linkonce.t.", cpp_mangle2(sfunc), SHT_PROGBITS, SHF_ALLOC|SHF_EXECINSTR,4); } else if (sfunc.Sseg == UNKNOWN) sfunc.Sseg = CODE; //dbg_printf("sfunc.Sseg %d CODE %d cseg %d Coffset %d\n",sfunc.Sseg,CODE,cseg,Offset(cseg)); cseg = sfunc.Sseg; jmpseg = 0; // only 1 jmp seg per function assert(cseg == CODE || cseg > COMD); if (ELF_COMDAT()) { if (!symbol_iscomdat2(sfunc)) { ElfObj_pubdef(cseg, sfunc, Offset(cseg)); } } else { ElfObj_pubdef(cseg, sfunc, Offset(cseg)); } sfunc.Soffset = Offset(cseg); dwarf_func_start(sfunc); } /******************************* * Update function info after codgen */ void ElfObj_func_term(Symbol *sfunc) { //dbg_printf("ElfObj_func_term(%s) offset %x, Coffset %x symidx %d\n", // sfunc.Sident.ptr, sfunc.Soffset,Offset(cseg),sfunc.Sxtrnnum); // fill in the function size if (I64) elfobj.SymbolTable64[sfunc.Sxtrnnum].st_size = Offset(cseg) - sfunc.Soffset; else elfobj.SymbolTable[sfunc.Sxtrnnum].st_size = cast(uint)(Offset(cseg) - sfunc.Soffset); dwarf_func_term(sfunc); } /******************************** * Output a public definition. * Input: * seg = segment index that symbol is defined in * s . symbol * offset = offset of name within segment */ void ElfObj_pubdef(int seg, Symbol *s, targ_size_t offset) { const targ_size_t symsize= tyfunc(s.ty()) ? Offset(s.Sseg) - offset : type_size(s.Stype); ElfObj_pubdefsize(seg, s, offset, symsize); } /******************************** * Output a public definition. * Input: * seg = segment index that symbol is defined in * s . symbol * offset = offset of name within segment * symsize size of symbol */ void ElfObj_pubdefsize(int seg, Symbol *s, targ_size_t offset, targ_size_t symsize) { int bind; ubyte visibility = STV_DEFAULT; switch (s.Sclass) { case SC.global: case SC.inline: bind = STB_GLOBAL; break; case SC.comdat: case SC.comdef: bind = STB_WEAK; break; case SC.static_: if (s.Sflags & SFLhidden) { visibility = STV_HIDDEN; bind = STB_GLOBAL; break; } goto default; default: bind = STB_LOCAL; break; } //printf("\nElfObj_pubdef(%d,%s,%d)\n",seg,s.Sident.ptr,offset); //symbol_print(s); symbol_debug(s); elfobj.resetSyms.push(s); const namidx = elf_addmangled(s); //printf("\tnamidx %d,section %d\n",namidx,MAP_SEG2SECIDX(seg)); if (tyfunc(s.ty())) { s.Sxtrnnum = elf_addsym(namidx, offset, cast(uint)symsize, STT_FUNC, bind, MAP_SEG2SECIDX(seg), visibility); } else { const uint typ = (s.ty() & mTYthread) ? STT_TLS : STT_OBJECT; s.Sxtrnnum = elf_addsym(namidx, offset, cast(uint)symsize, typ, bind, MAP_SEG2SECIDX(seg), visibility); } } /******************************* * Output an external symbol for name. * Input: * name Name to do EXTDEF on * (Not to be mangled) * Returns: * Symbol table index of the definition * NOTE: Numbers will not be linear. */ int ElfObj_external_def(const(char)* name) { //dbg_printf("ElfObj_external_def('%s')\n",name); assert(name); const namidx = ElfObj_addstr(symtab_strings,name); const symidx = elf_addsym(namidx, 0, 0, STT_NOTYPE, STB_GLOBAL, SHN_UNDEF); return symidx; } /******************************* * Output an external for existing symbol. * Input: * s Symbol to do EXTDEF on * (Name is to be mangled) * Returns: * Symbol table index of the definition * NOTE: Numbers will not be linear. */ int ElfObj_external(Symbol *s) { int symtype,sectype; uint size; //dbg_printf("ElfObj_external('%s') %x\n",s.Sident.ptr,s.Svalue); symbol_debug(s); elfobj.resetSyms.push(s); const namidx = elf_addmangled(s); symtype = STT_NOTYPE; sectype = SHN_UNDEF; size = 0; if (s.ty() & mTYthread) { //printf("ElfObj_external('%s') %x TLS\n",s.Sident.ptr,s.Svalue); symtype = STT_TLS; } s.Sxtrnnum = elf_addsym(namidx, size, size, symtype, /*(s.ty() & mTYweak) ? STB_WEAK : */STB_GLOBAL, sectype); return s.Sxtrnnum; } /******************************* * Output a common block definition. * Input: * p . external identifier * size size in bytes of each elem * count number of elems * Returns: * Symbol table index for symbol */ int ElfObj_common_block(Symbol *s,targ_size_t size,targ_size_t count) { //printf("ElfObj_common_block('%s',%d,%d)\n",s.Sident.ptr,size,count); symbol_debug(s); int align_ = I64 ? 16 : 4; if (s.ty() & mTYthread) { s.Sseg = ElfObj_getsegment(".tbss.", cpp_mangle2(s), SHT_NOBITS, SHF_ALLOC|SHF_WRITE|SHF_TLS, align_); s.Sfl = FLtlsdata; SegData[s.Sseg].SDsym = s; SegData[s.Sseg].SDoffset += size * count; ElfObj_pubdefsize(s.Sseg, s, 0, size * count); return s.Sseg; } else { s.Sseg = ElfObj_getsegment(".bss.", cpp_mangle2(s), SHT_NOBITS, SHF_ALLOC|SHF_WRITE, align_); s.Sfl = FLudata; SegData[s.Sseg].SDsym = s; SegData[s.Sseg].SDoffset += size * count; ElfObj_pubdefsize(s.Sseg, s, 0, size * count); return s.Sseg; } static if (0) { elfobj.resetSyms.push(s); const namidx = elf_addmangled(s); alignOffset(UDATA,size); const symidx = elf_addsym(namidx, SegData[UDATA].SDoffset, size*count, (s.ty() & mTYthread) ? STT_TLS : STT_OBJECT, STB_WEAK, SHN_BSS); //dbg_printf("\tElfObj_common_block returning symidx %d\n",symidx); s.Sseg = UDATA; s.Sfl = FLudata; SegData[UDATA].SDoffset += size * count; return symidx; } } int ElfObj_common_block(Symbol *s, int flag, targ_size_t size, targ_size_t count) { return ElfObj_common_block(s, size, count); } /*************************************** * Append an iterated data block of 0s. * (uninitialized data only) */ void ElfObj_write_zeros(seg_data *pseg, targ_size_t count) { ElfObj_lidata(pseg.SDseg, pseg.SDoffset, count); } /*************************************** * Output an iterated data block of 0s. * * For boundary alignment and initialization */ void ElfObj_lidata(int seg,targ_size_t offset,targ_size_t count) { //printf("ElfObj_lidata(%d,%x,%d)\n",seg,offset,count); if (seg == UDATA || seg == UNKNOWN) { // Use SDoffset to record size of .BSS section SegData[UDATA].SDoffset += count; } else if (MAP_SEG2SEC(seg).sh_type == SHT_NOBITS) { // Use SDoffset to record size of .TBSS section SegData[seg].SDoffset += count; } else { ElfObj_bytes(seg, offset, cast(uint)count, null); } } /*********************************** * Append byte to segment. */ void ElfObj_write_byte(seg_data *pseg, uint byte_) { ElfObj_byte(pseg.SDseg, pseg.SDoffset, byte_); } /************************************ * Output byte to object file. */ void ElfObj_byte(int seg,targ_size_t offset,uint byte_) { OutBuffer *buf = SegData[seg].SDbuf; int save = cast(int)buf.length(); //dbg_printf("ElfObj_byte(seg=%d, offset=x%lx, byte_=x%x)\n",seg,offset,byte_); buf.setsize(cast(uint)offset); buf.writeByte(byte_); if (save > offset+1) buf.setsize(save); else SegData[seg].SDoffset = offset+1; //dbg_printf("\tsize now %d\n",buf.length()); } /*********************************** * Append bytes to segment. */ void ElfObj_write_bytes(seg_data *pseg, const(void[]) a) { ElfObj_bytes(pseg.SDseg, pseg.SDoffset, a.length, a.ptr); } /************************************ * Output bytes to object file. * Returns: * nbytes */ size_t ElfObj_bytes(int seg, targ_size_t offset, size_t nbytes, const(void)* p) { static if (0) { if (!(seg >= 0 && seg < SegData.length)) { printf("ElfObj_bytes: seg = %d, SegData.length = %d\n", seg, SegData.length); *cast(char*)0=0; } } assert(seg >= 0 && seg < SegData.length); OutBuffer *buf = SegData[seg].SDbuf; if (buf == null) { //dbg_printf("ElfObj_bytes(seg=%d, offset=x%lx, nbytes=%d, p=x%x)\n", seg, offset, nbytes, p); //raise(SIGSEGV); assert(buf != null); } const save = buf.length(); //dbg_printf("ElfObj_bytes(seg=%d, offset=x%lx, nbytes=%d, p=x%x)\n", //seg,offset,nbytes,p); buf.position(cast(size_t)offset, nbytes); if (p) buf.writen(p, nbytes); else // Zero out the bytes buf.writezeros(nbytes); if (save > offset+nbytes) buf.setsize(save); else SegData[seg].SDoffset = offset+nbytes; return nbytes; } /******************************* * Output a relocation entry for a segment * Input: * seg = where the address is going * offset = offset within seg * type = ELF relocation type R_ARCH_XXXX * index = Related symbol table index * val = addend or displacement from address */ __gshared int relcnt=0; void ElfObj_addrel(int seg, targ_size_t offset, uint type, IDXSYM symidx, targ_size_t val) { seg_data *segdata; OutBuffer *buf; IDXSEC secidx; //assert(val == 0); relcnt++; //dbg_printf("%d-ElfObj_addrel(seg %d,offset x%x,type x%x,symidx %d,val %d)\n", //relcnt,seg, offset, type, symidx,val); assert(seg >= 0 && seg < SegData.length); segdata = SegData[seg]; secidx = MAP_SEG2SECIDX(seg); assert(secidx != 0); if (segdata.SDrel == null) { segdata.SDrel = cast(OutBuffer*) calloc(1, OutBuffer.sizeof); if (!segdata.SDrel) err_nomem(); } if (segdata.SDrel.length() == 0) { IDXSEC relidx; if (secidx == SHN_TEXT) relidx = SHN_RELTEXT; else if (secidx == SHN_DATA) relidx = SHN_RELDATA; else { import dmd.common.string : SmallBuffer; // Get the section name, and make a copy because // elf_newsection() may reallocate the string buffer. char *section_name = cast(char *)GET_SECTION_NAME(secidx); size_t len = strlen(section_name) + 1; char[20] buf2 = void; auto sb = SmallBuffer!char(len, buf2[]); char *p = sb.ptr; memcpy(p, section_name, len); relidx = elf_newsection(I64 ? ".rela" : ".rel", p, I64 ? SHT_RELA : SHT_REL, 0); segdata.SDrelidx = relidx; addSectionToComdat(relidx,seg); } if (I64) { /* Note that we're using Elf32_Shdr here instead of Elf64_Shdr. This is to make * the code a bit simpler. In ElfObj_term(), we translate the Elf32_Shdr into the proper * Elf64_Shdr. */ Elf32_Shdr *relsec = &SecHdrTab[relidx]; relsec.sh_link = SHN_SYMTAB; relsec.sh_info = secidx; relsec.sh_entsize = Elf64_Rela.sizeof; relsec.sh_addralign = 8; } else { Elf32_Shdr *relsec = &SecHdrTab[relidx]; relsec.sh_link = SHN_SYMTAB; relsec.sh_info = secidx; relsec.sh_entsize = Elf32_Rel.sizeof; relsec.sh_addralign = 4; } } if (I64) { Elf64_Rela rel; rel.r_offset = offset; // build relocation information rel.r_info = ELF64_R_INFO(symidx,type); rel.r_addend = val; buf = segdata.SDrel; buf.write(&rel,(rel).sizeof); segdata.SDrelcnt++; } else { Elf32_Rel rel; rel.r_offset = cast(uint)offset; // build relocation information rel.r_info = ELF32_R_INFO(symidx,type); buf = segdata.SDrel; buf.write(&rel,rel.sizeof); segdata.SDrelcnt++; } } private size_t relsize64(uint type) { assert(I64); switch (type) { case R_X86_64_NONE: return 0; case R_X86_64_64: return 8; case R_X86_64_PC32: return 4; case R_X86_64_GOT32: return 4; case R_X86_64_PLT32: return 4; case R_X86_64_COPY: return 0; case R_X86_64_GLOB_DAT: return 8; case R_X86_64_JUMP_SLOT: return 8; case R_X86_64_RELATIVE: return 8; case R_X86_64_GOTPCREL: return 4; case R_X86_64_32: return 4; case R_X86_64_32S: return 4; case R_X86_64_16: return 2; case R_X86_64_PC16: return 2; case R_X86_64_8: return 1; case R_X86_64_PC8: return 1; case R_X86_64_DTPMOD64: return 8; case R_X86_64_DTPOFF64: return 8; case R_X86_64_TPOFF64: return 8; case R_X86_64_TLSGD: return 4; case R_X86_64_TLSLD: return 4; case R_X86_64_DTPOFF32: return 4; case R_X86_64_GOTTPOFF: return 4; case R_X86_64_TPOFF32: return 4; case R_X86_64_PC64: return 8; case R_X86_64_GOTOFF64: return 8; case R_X86_64_GOTPC32: return 4; default: assert(0); } } private size_t relsize32(uint type) { assert(I32); switch (type) { case R_386_NONE: return 0; case R_386_32: return 4; case R_386_PC32: return 4; case R_386_GOT32: return 4; case R_386_PLT32: return 4; case R_386_COPY: return 0; case R_386_GLOB_DAT: return 4; case R_386_JMP_SLOT: return 4; case R_386_RELATIVE: return 4; case R_386_GOTOFF: return 4; case R_386_GOTPC: return 4; case R_386_TLS_TPOFF: return 4; case R_386_TLS_IE: return 4; case R_386_TLS_GOTIE: return 4; case R_386_TLS_LE: return 4; case R_386_TLS_GD: return 4; case R_386_TLS_LDM: return 4; case R_386_TLS_GD_32: return 4; case R_386_TLS_GD_PUSH: return 4; case R_386_TLS_GD_CALL: return 4; case R_386_TLS_GD_POP: return 4; case R_386_TLS_LDM_32: return 4; case R_386_TLS_LDM_PUSH: return 4; case R_386_TLS_LDM_CALL: return 4; case R_386_TLS_LDM_POP: return 4; case R_386_TLS_LDO_32: return 4; case R_386_TLS_IE_32: return 4; case R_386_TLS_LE_32: return 4; case R_386_TLS_DTPMOD32: return 4; case R_386_TLS_DTPOFF32: return 4; case R_386_TLS_TPOFF32: return 4; default: assert(0); } } /******************************* * Write/Append a value to the given segment and offset. * targseg = the target segment for the relocation * offset = offset within target segment * val = addend or displacement from symbol * size = number of bytes to write */ private size_t writeaddrval(int targseg, size_t offset, targ_size_t val, size_t size) { assert(targseg >= 0 && targseg < SegData.length); OutBuffer *buf = SegData[targseg].SDbuf; const save = buf.length(); buf.setsize(cast(uint)offset); buf.write(&val, cast(uint)size); // restore OutBuffer position if (save > offset + size) buf.setsize(cast(uint)save); return size; } /******************************* * Write/Append a relocatable value to the given segment and offset. * Input: * targseg = the target segment for the relocation * offset = offset within target segment * reltype = ELF relocation type R_ARCH_XXXX * symidx = symbol base for relocation * val = addend or displacement from symbol */ size_t ElfObj_writerel(int targseg, size_t offset, reltype_t reltype, IDXSYM symidx, targ_size_t val) { assert(reltype != R_X86_64_NONE); size_t sz; if (I64) { // Elf64_Rela stores addend in Rela.r_addend field sz = relsize64(reltype); writeaddrval(targseg, offset, 0, sz); ElfObj_addrel(targseg, offset, reltype, symidx, val); } else { assert(I32); // Elf32_Rel stores addend in target location sz = relsize32(reltype); writeaddrval(targseg, offset, val, sz); ElfObj_addrel(targseg, offset, reltype, symidx, 0); } return sz; } /******************************* * Refer to address that is in the data segment. * Input: * seg = where the address is going * offset = offset within seg * val = displacement from address * targetdatum = DATA, CDATA or UDATA, depending where the address is * flags = CFoff, CFseg, CFoffset64, CFswitch * Example: * int *abc = &def[3]; * to allocate storage: * ElfObj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA); * Note: * For I64 && (flags & CFoffset64) && (flags & CFswitch) * targetdatum is a symidx rather than a segment. */ void ElfObj_reftodatseg(int seg,targ_size_t offset,targ_size_t val, uint targetdatum,int flags) { static if (0) { printf("ElfObj_reftodatseg(seg=%d, offset=x%llx, val=x%llx,data %x, flags %x)\n", seg,cast(ulong)offset,cast(ulong)val,targetdatum,flags); } reltype_t relinfo; IDXSYM targetsymidx = STI_RODAT; if (I64) { if (flags & CFoffset64) { relinfo = R_X86_64_64; if (flags & CFswitch) targetsymidx = targetdatum; } else if (flags & CFswitch) { relinfo = R_X86_64_PC32; targetsymidx = MAP_SEG2SYMIDX(targetdatum); } else if (MAP_SEG2TYP(seg) == CODE && config.flags3 & CFG3pic) { relinfo = R_X86_64_PC32; val -= 4; targetsymidx = MAP_SEG2SYMIDX(targetdatum); } else if (MAP_SEG2SEC(targetdatum).sh_flags & SHF_TLS) { if (config.flags3 & CFG3pie) relinfo = R_X86_64_TPOFF32; else relinfo = config.flags3 & CFG3pic ? R_X86_64_TLSGD : R_X86_64_TPOFF32; } else { relinfo = targetdatum == CDATA ? R_X86_64_32 : R_X86_64_32S; targetsymidx = MAP_SEG2SYMIDX(targetdatum); } } else { if (MAP_SEG2TYP(seg) == CODE && config.flags3 & CFG3pic) relinfo = R_386_GOTOFF; else if (MAP_SEG2SEC(targetdatum).sh_flags & SHF_TLS) { if (config.flags3 & CFG3pie) relinfo = R_386_TLS_LE; else relinfo = config.flags3 & CFG3pic ? R_386_TLS_GD : R_386_TLS_LE; } else relinfo = R_386_32; targetsymidx = MAP_SEG2SYMIDX(targetdatum); } ElfObj_writerel(seg, cast(uint)offset, relinfo, targetsymidx, val); } /******************************* * Refer to address that is in the code segment. * Only offsets are output, regardless of the memory model. * Used to put values in switch address tables. * Input: * seg = where the address is going (CODE or DATA) * offset = offset within seg * val = displacement from start of this module */ void ElfObj_reftocodeseg(int seg,targ_size_t offset,targ_size_t val) { //printf("ElfObj_reftocodeseg(seg=%d, offset=x%llx, val=x%llx, off=x%llx )\n",seg,offset,val, val - funcsym_p.Soffset); reltype_t relinfo; static if (0) { if (MAP_SEG2TYP(seg) == CODE) { relinfo = RI_TYPE_PC32; ElfObj_writerel(seg, offset, relinfo, funcsym_p.Sxtrnnum, val - funcsym_p.Soffset); return; } } if (I64) relinfo = (config.flags3 & CFG3pic) ? R_X86_64_PC32 : R_X86_64_32; else relinfo = (config.flags3 & CFG3pic) ? R_386_GOTOFF : R_386_32; ElfObj_writerel(seg, cast(uint)offset, relinfo, funcsym_p.Sxtrnnum, val - funcsym_p.Soffset); } /******************************* * Refer to an identifier. * Input: * segtyp = where the address is going (CODE or DATA) * offset = offset within seg * s = Symbol table entry for identifier * val = displacement from identifier * flags = CFselfrel: self-relative * CFseg: get segment * CFoff: get offset * CFoffset64: 64 bit fixup * CFpc32: I64: PC relative 32 bit fixup * Returns: * number of bytes in reference (4 or 8) */ int ElfObj_reftoident(int seg, targ_size_t offset, Symbol *s, targ_size_t val, int flags) { bool external = true; reltype_t relinfo = R_X86_64_NONE; int refseg; const segtyp = MAP_SEG2TYP(seg); //assert(val == 0); int retsize = (flags & CFoffset64) ? 8 : 4; static if (0) { printf("\nElfObj_reftoident('%s' seg %d, offset x%llx, val x%llx, flags x%x)\n", s.Sident.ptr,seg,offset,val,flags); printf("Sseg = %d, Sxtrnnum = %d, retsize = %d\n",s.Sseg,s.Sxtrnnum,retsize); symbol_print(s); } const tym_t ty = s.ty(); if (s.Sxtrnnum) { // identifier is defined somewhere else if (I64) { if (elfobj.SymbolTable64[s.Sxtrnnum].st_shndx != SHN_UNDEF) external = false; } else { if (elfobj.SymbolTable[s.Sxtrnnum].st_shndx != SHN_UNDEF) external = false; } } switch (s.Sclass) { case SC.locstat: if (I64) { if (s.Sfl == FLtlsdata) { if (config.flags3 & CFG3pie) relinfo = R_X86_64_TPOFF32; else relinfo = config.flags3 & CFG3pic ? R_X86_64_TLSGD : R_X86_64_TPOFF32; } else { relinfo = config.flags3 & CFG3pic ? R_X86_64_PC32 : R_X86_64_32; if (flags & CFpc32) relinfo = R_X86_64_PC32; } } else { if (s.Sfl == FLtlsdata) { if (config.flags3 & CFG3pie) relinfo = R_386_TLS_LE; else relinfo = config.flags3 & CFG3pic ? R_386_TLS_GD : R_386_TLS_LE; } else relinfo = config.flags3 & CFG3pic ? R_386_GOTOFF : R_386_32; } if (flags & CFoffset64 && relinfo == R_X86_64_32) { relinfo = R_X86_64_64; retsize = 8; } refseg = STI_RODAT; val += s.Soffset; goto outrel; case SC.comdat: case_SCcomdat: case SC.static_: static if (0) { if ((s.Sflags & SFLthunk) && s.Soffset) { // A thunk symbol that has been defined assert(s.Sseg == seg); val = (s.Soffset+val) - (offset+4); goto outaddrval; } } goto case; case SC.extern_: case SC.comdef: case_extern: case SC.global: if (!s.Sxtrnnum) { // not in symbol table yet - class might change //printf("\tadding %s to fixlist\n",s.Sident.ptr); size_t numbyteswritten = addtofixlist(s,offset,seg,val,flags); assert(numbyteswritten == retsize); return retsize; } else { refseg = s.Sxtrnnum; // default to name symbol table entry if (flags & CFselfrel) { // only for function references within code segments if (!external && // local definition found s.Sseg == seg && // within same code segment (!(config.flags3 & CFG3pic) || // not position indp code s.Sclass == SC.static_)) // or is pic, but declared static { // Can use PC relative //dbg_printf("\tdoing PC relative\n"); val = (s.Soffset+val) - (offset+4); } else { //dbg_printf("\tadding relocation\n"); if (s.Sclass == SC.global && config.flags3 & CFG3pie && tyfunc(s.ty())) relinfo = I64 ? R_X86_64_PC32 : R_386_PC32; else if (I64) relinfo = config.flags3 & CFG3pic ? R_X86_64_PLT32 : R_X86_64_PC32; else relinfo = config.flags3 & CFG3pic ? R_386_PLT32 : R_386_PC32; val = -cast(targ_size_t)4; } } else { // code to code code to data, data to code, data to data refs if (s.Sclass == SC.static_) { // offset into .data or .bss seg if ((s.ty() & mTYLINK) & mTYthread) { } else refseg = MAP_SEG2SYMIDX(s.Sseg); // use segment symbol table entry val += s.Soffset; if (!(config.flags3 & CFG3pic) || // all static refs from normal code segtyp == DATA) // or refs from data from posi indp { if (I64) relinfo = (flags & CFpc32) ? R_X86_64_PC32 : R_X86_64_32; else relinfo = R_386_32; } else { relinfo = I64 ? R_X86_64_PC32 : R_386_GOTOFF; } } else if (config.flags3 & CFG3pic && s == GOTsym) { // relocation for Gbl Offset Tab relinfo = I64 ? R_X86_64_NONE : R_386_GOTPC; } else if (segtyp == DATA) { // relocation from within DATA seg relinfo = I64 ? R_X86_64_32 : R_386_32; if (I64 && flags & CFpc32) relinfo = R_X86_64_PC32; } else { // relocation from within CODE seg if (I64) { if (config.flags3 & CFG3pie && s.Sclass == SC.global) relinfo = R_X86_64_PC32; else if (config.flags3 & CFG3pic) relinfo = R_X86_64_GOTPCREL; else relinfo = (flags & CFpc32) ? R_X86_64_PC32 : R_X86_64_32; } else { if (config.flags3 & CFG3pie && s.Sclass == SC.global) relinfo = R_386_GOTOFF; else relinfo = config.flags3 & CFG3pic ? R_386_GOT32 : R_386_32; } } if ((s.ty() & mTYLINK) & mTYthread) { if (I64) { if (config.flags3 & CFG3pie) { if (s.Sclass == SC.static_ || s.Sclass == SC.global) relinfo = R_X86_64_TPOFF32; else relinfo = R_X86_64_GOTTPOFF; } else if (config.flags3 & CFG3pic) { /+if (s.Sclass == SC.static_ || s.Sclass == SC.locstat) // Could use 'local dynamic (LD)' to optimize multiple local TLS reads relinfo = R_X86_64_TLSGD; else+/ relinfo = R_X86_64_TLSGD; } else { if (s.Sclass == SC.static_ || s.Sclass == SC.locstat) relinfo = R_X86_64_TPOFF32; else relinfo = R_X86_64_GOTTPOFF; } } else { if (config.flags3 & CFG3pie) { if (s.Sclass == SC.static_ || s.Sclass == SC.global) relinfo = R_386_TLS_LE; else relinfo = R_386_TLS_GOTIE; } else if (config.flags3 & CFG3pic) { /+if (s.Sclass == SC.static_) // Could use 'local dynamic (LD)' to optimize multiple local TLS reads relinfo = R_386_TLS_GD; else+/ relinfo = R_386_TLS_GD; } else { if (s.Sclass == SC.static_) relinfo = R_386_TLS_LE; else relinfo = R_386_TLS_IE; } } } if (flags & CFoffset64 && relinfo == R_X86_64_32) { relinfo = R_X86_64_64; } } if (relinfo == R_X86_64_NONE) { outaddrval: writeaddrval(seg, cast(uint)offset, val, retsize); } else { outrel: //printf("\t\t************* adding relocation\n"); const size_t nbytes = ElfObj_writerel(seg, cast(uint)offset, relinfo, refseg, val); assert(nbytes == retsize); } } break; case SC.sinline: case SC.einline: printf ("Undefined inline value <<fixme>>\n"); //warerr(WM_undefined_inline,s.Sident.ptr); goto case; case SC.inline: if (tyfunc(ty)) { s.Sclass = SC.extern_; goto case_extern; } else if (config.flags2 & CFG2comdat) goto case_SCcomdat; // treat as initialized common block goto default; default: //symbol_print(s); assert(0); } return retsize; } /***************************************** * Generate far16 thunk. * Input: * s Symbol to generate a thunk for */ void ElfObj_far16thunk(Symbol *s) { //dbg_printf("ElfObj_far16thunk('%s')\n", s.Sident.ptr); assert(0); } /************************************** * Mark object file as using floating point. */ void ElfObj_fltused() { //dbg_printf("ElfObj_fltused()\n"); } /************************************ * Close and delete .OBJ file. */ void elfobjfile_delete() { //remove(fobjname); // delete corrupt output file } /********************************** * Terminate. */ void elfobjfile_term() { static if (TERMCODE) { mem_free(fobjname); fobjname = null; } } /********************************** * Write to the object file */ /+void objfile_write(FILE *fd, void *buffer, uint len) { fobjbuf.write(buffer[0 .. len]); } +/ private extern (D) int elf_align(targ_size_t size,int foffset) { if (size <= 1) return foffset; int offset = cast(int)((foffset + size - 1) & ~(size - 1)); if (offset > foffset) fobjbuf.writezeros(offset - foffset); return offset; } /*************************************** * Stuff pointer to ModuleInfo into its own section (minfo). */ void ElfObj_moduleinfo(Symbol *scc) { const CFflags = I64 ? (CFoffset64 | CFoff) : CFoff; // needs to be writeable for PIC code, see Bugzilla 13117 const shf_flags = SHF_ALLOC | SHF_WRITE; const seg = ElfObj_getsegment("minfo", null, SHT_PROGBITS, shf_flags, _tysize[TYnptr]); SegData[seg].SDoffset += ElfObj_reftoident(seg, SegData[seg].SDoffset, scc, 0, CFflags); } /*************************************** * Stuff pointer to DEH into its own section (deh). */ void ElfObj_dehinfo(Symbol *scc) { const CFflags = I64 ? (CFoffset64 | CFoff) : CFoff; // needs to be writeable for PIC code, see Bugzilla 13117 const shf_flags = SHF_ALLOC | SHF_WRITE; const seg = ElfObj_getsegment("deh", null, SHT_PROGBITS, shf_flags, _tysize[TYnptr]); SegData[seg].SDoffset += ElfObj_reftoident(seg, SegData[seg].SDoffset, scc, 0, CFflags); } /*************************************** * Create startup/shutdown code to register an executable/shared * library (DSO) with druntime. Create one for each object file and * put the sections into a COMDAT group. This will ensure that each * DSO gets registered only once. * TODO: this should not be emitted for .c files */ private void obj_rtinit() { // section start/stop symbols are defined by the linker (https://www.airs.com/blog/archives/56) // make the symbols hidden so that each DSO gets its own brackets IDXSYM minfo_beg, minfo_end, dso_rec; IDXSYM deh_beg, deh_end; { // needs to be writeable for PIC code, see Bugzilla 13117 const shf_flags = SHF_ALLOC | SHF_WRITE; if (config.exe & (EX_OPENBSD | EX_OPENBSD64)) { const namidx3 = ElfObj_addstr(symtab_strings,"__start_deh"); deh_beg = elf_addsym(namidx3, 0, 0, STT_NOTYPE, STB_GLOBAL, SHN_UNDEF, STV_HIDDEN); ElfObj_getsegment("deh", null, SHT_PROGBITS, shf_flags, _tysize[TYnptr]); const namidx4 = ElfObj_addstr(symtab_strings,"__stop_deh"); deh_end = elf_addsym(namidx4, 0, 0, STT_NOTYPE, STB_GLOBAL, SHN_UNDEF, STV_HIDDEN); } const namidx = ElfObj_addstr(symtab_strings,"__start_minfo"); minfo_beg = elf_addsym(namidx, 0, 0, STT_NOTYPE, STB_GLOBAL, SHN_UNDEF, STV_HIDDEN); ElfObj_getsegment("minfo", null, SHT_PROGBITS, shf_flags, _tysize[TYnptr]); const namidx2 = ElfObj_addstr(symtab_strings,"__stop_minfo"); minfo_end = elf_addsym(namidx2, 0, 0, STT_NOTYPE, STB_GLOBAL, SHN_UNDEF, STV_HIDDEN); } // Create a COMDAT section group const groupseg = ElfObj_getsegment(".group.d_dso", null, SHT_GROUP, 0, 0); SegData[groupseg].SDbuf.write32(GRP_COMDAT); { /* * Create an instance of DSORec as global static data in the section .data.d_dso_rec * It is writeable and allows the runtime to store information. * Make it a COMDAT so there's only one per DSO. * * typedef union * { * size_t id; * void *data; * } DSORec; */ const seg = ElfObj_getsegment(".data.d_dso_rec", null, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE|SHF_GROUP, _tysize[TYnptr]); dso_rec = MAP_SEG2SYMIDX(seg); ElfObj_bytes(seg, 0, _tysize[TYnptr], null); // add to section group SegData[groupseg].SDbuf.write32(MAP_SEG2SECIDX(seg)); /* * Create an instance of DSO on the stack: * * typedef struct * { * size_t version; * DSORec *dso_rec; * void *minfo_beg, *minfo_end; * } DSO; * * Generate the following function as a COMDAT so there's only one per DSO: * .text.d_dso_init segment * push EBP * mov EBP,ESP * sub ESP,align * lea RAX,minfo_end[RIP] * push RAX * lea RAX,minfo_beg[RIP] * push RAX * lea RAX,.data.d_dso_rec[RIP] * push RAX * push 1 // version * mov RDI,RSP * call _d_dso_registry@PLT32 * leave * ret * and then put a pointer to that function in .init_array and in .fini_array so it'll * get executed once upon loading and once upon unloading the DSO. */ const codseg = ElfObj_getsegment(".text.d_dso_init", null, SHT_PROGBITS, SHF_ALLOC|SHF_EXECINSTR|SHF_GROUP, _tysize[TYnptr]); // add to section group SegData[groupseg].SDbuf.write32(MAP_SEG2SECIDX(codseg)); debug { // adds a local symbol (name) to the code, useful to set a breakpoint const namidx = ElfObj_addstr(symtab_strings, "__d_dso_init"); elf_addsym(namidx, 0, 0, STT_FUNC, STB_LOCAL, MAP_SEG2SECIDX(codseg)); } OutBuffer *buf = SegData[codseg].SDbuf; assert(!buf.length()); size_t off = 0; // 16-byte align for call const size_t sizeof_dso = 6 * _tysize[TYnptr]; const size_t align_ = I64 ? // return address, RBP, DSO (-(2 * _tysize[TYnptr] + sizeof_dso) & 0xF) : // return address, EBP, EBX, DSO, arg (-(3 * _tysize[TYnptr] + sizeof_dso + _tysize[TYnptr]) & 0xF); // push EBP buf.writeByte(0x50 + BP); off += 1; // mov EBP, ESP if (I64) { buf.writeByte(REX | REX_W); off += 1; } buf.writeByte(0x8B); buf.writeByte(modregrm(3,BP,SP)); off += 2; // sub ESP, align_ if (align_) { if (I64) { buf.writeByte(REX | REX_W); off += 1; } buf.writeByte(0x81); buf.writeByte(modregrm(3,5,SP)); buf.writeByte(align_ & 0xFF); buf.writeByte(align_ >> 8 & 0xFF); buf.writeByte(0); buf.writeByte(0); off += 6; } if (config.flags3 & CFG3pic && I32) { // see cod3_load_got() for reference // push EBX buf.writeByte(0x50 + BX); off += 1; // call L1 buf.writeByte(0xE8); buf.write32(0); // L1: pop EBX (now contains EIP) buf.writeByte(0x58 + BX); off += 6; // add EBX,_GLOBAL_OFFSET_TABLE_+3 buf.writeByte(0x81); buf.writeByte(modregrm(3,0,BX)); off += 2; off += ElfObj_writerel(codseg, off, R_386_GOTPC, ElfObj_external(ElfObj_getGOTsym()), 3); } reltype_t reltype; opcode_t op; if (0 && config.flags3 & CFG3pie) { op = LOD; reltype = I64 ? R_X86_64_GOTPCREL : R_386_GOT32; } else if (config.flags3 & CFG3pic) { op = LEA; reltype = I64 ? R_X86_64_PC32 : R_386_GOTOFF; } else { op = LEA; reltype = I64 ? R_X86_64_32 : R_386_32; } void writeSym(IDXSYM sym) { if (config.flags3 & CFG3pic) { if (I64) { // lea RAX, sym[RIP] buf.writeByte(REX | REX_W); buf.writeByte(op); buf.writeByte(modregrm(0,AX,5)); off += 3; off += ElfObj_writerel(codseg, off, reltype, sym, -4); } else { // lea EAX, sym[EBX] buf.writeByte(op); buf.writeByte(modregrm(2,AX,BX)); off += 2; off += ElfObj_writerel(codseg, off, reltype, sym, 0); } } else { // mov EAX, sym buf.writeByte(0xB8 + AX); off += 1; off += ElfObj_writerel(codseg, off, reltype, sym, 0); } // push RAX buf.writeByte(0x50 + AX); off += 1; } if (config.exe & (EX_OPENBSD | EX_OPENBSD64)) { writeSym(deh_end); writeSym(deh_beg); } writeSym(minfo_end); writeSym(minfo_beg); writeSym(dso_rec); buf.writeByte(0x6A); // PUSH 1 buf.writeByte(1); // version flag to simplify future extensions off += 2; if (I64) { // mov RDI, DSO* buf.writeByte(REX | REX_W); buf.writeByte(0x8B); buf.writeByte(modregrm(3,DI,SP)); off += 3; } else { // push DSO* buf.writeByte(0x50 + SP); off += 1; } if (REQUIRE_DSO_REGISTRY()) { const IDXSYM symidx = ElfObj_external_def("_d_dso_registry"); // call _d_dso_registry@PLT buf.writeByte(0xE8); off += 1; off += ElfObj_writerel(codseg, off, I64 ? R_X86_64_PLT32 : R_386_PLT32, symidx, -4); } else { // use a weak reference for _d_dso_registry const namidx2 = ElfObj_addstr(symtab_strings, "_d_dso_registry"); const IDXSYM symidx = elf_addsym(namidx2, 0, 0, STT_NOTYPE, STB_WEAK, SHN_UNDEF); if (config.flags3 & CFG3pic) { if (I64) { // cmp foo@GOT[RIP], 0 buf.writeByte(REX | REX_W); buf.writeByte(0x83); buf.writeByte(modregrm(0,7,5)); off += 3; const reltype2 = /*config.flags3 & CFG3pie ? R_X86_64_PC32 :*/ R_X86_64_GOTPCREL; off += ElfObj_writerel(codseg, off, reltype2, symidx, -5); buf.writeByte(0); off += 1; } else { // cmp foo[GOT], 0 buf.writeByte(0x81); buf.writeByte(modregrm(2,7,BX)); off += 2; const reltype2 = /*config.flags3 & CFG3pie ? R_386_GOTOFF :*/ R_386_GOT32; off += ElfObj_writerel(codseg, off, reltype2, symidx, 0); buf.write32(0); off += 4; } // jz +5 buf.writeByte(0x74); buf.writeByte(0x05); off += 2; // call foo@PLT[RIP] buf.writeByte(0xE8); off += 1; off += ElfObj_writerel(codseg, off, I64 ? R_X86_64_PLT32 : R_386_PLT32, symidx, -4); } else { // mov ECX, offset foo buf.writeByte(0xB8 + CX); off += 1; const reltype2 = I64 ? R_X86_64_32 : R_386_32; off += ElfObj_writerel(codseg, off, reltype2, symidx, 0); // test ECX, ECX buf.writeByte(0x85); buf.writeByte(modregrm(3,CX,CX)); // jz +5 (skip call) buf.writeByte(0x74); buf.writeByte(0x05); off += 4; // call _d_dso_registry[RIP] buf.writeByte(0xE8); off += 1; off += ElfObj_writerel(codseg, off, I64 ? R_X86_64_PC32 : R_386_PC32, symidx, -4); } } if (config.flags3 & CFG3pic && I32) { // mov EBX,[EBP-4-align_] buf.writeByte(0x8B); buf.writeByte(modregrm(1,BX,BP)); buf.writeByte(cast(int)(-4-align_)); off += 3; } // leave buf.writeByte(0xC9); // ret buf.writeByte(0xC3); off += 2; Offset(codseg) = off; // put a reference into .init_array/.fini_array each // needs to be writeable for PIC code, see Bugzilla 13117 const int flags = SHF_ALLOC | SHF_WRITE | SHF_GROUP; { const fini_name = USE_INIT_ARRAY() ? ".fini_array.d_dso_dtor" : ".dtors.d_dso_dtor"; const fini_type = USE_INIT_ARRAY() ? SHT_FINI_ARRAY : SHT_PROGBITS; const cdseg = ElfObj_getsegment(fini_name.ptr, null, fini_type, flags, _tysize[TYnptr]); assert(!SegData[cdseg].SDbuf.length()); // add to section group SegData[groupseg].SDbuf.write32(MAP_SEG2SECIDX(cdseg)); // relocation const reltype2 = I64 ? R_X86_64_64 : R_386_32; SegData[cdseg].SDoffset += ElfObj_writerel(cdseg, 0, reltype2, MAP_SEG2SYMIDX(codseg), 0); } { const init_name = USE_INIT_ARRAY() ? ".init_array.d_dso_ctor" : ".ctors.d_dso_ctor"; const init_type = USE_INIT_ARRAY() ? SHT_INIT_ARRAY : SHT_PROGBITS; const cdseg = ElfObj_getsegment(init_name.ptr, null, init_type, flags, _tysize[TYnptr]); assert(!SegData[cdseg].SDbuf.length()); // add to section group SegData[groupseg].SDbuf.write32(MAP_SEG2SECIDX(cdseg)); // relocation const reltype2 = I64 ? R_X86_64_64 : R_386_32; SegData[cdseg].SDoffset += ElfObj_writerel(cdseg, 0, reltype2, MAP_SEG2SYMIDX(codseg), 0); } } // set group section infos Offset(groupseg) = SegData[groupseg].SDbuf.length(); Elf32_Shdr *p = MAP_SEG2SEC(groupseg); p.sh_link = SHN_SYMTAB; p.sh_info = dso_rec; // set the dso_rec as group symbol p.sh_entsize = IDXSYM.sizeof; p.sh_size = cast(uint)Offset(groupseg); } /************************************* */ void ElfObj_gotref(Symbol *s) { //printf("ElfObj_gotref(%x '%s', %d)\n",s,s.Sident.ptr, s.Sclass); switch(s.Sclass) { case SC.static_: case SC.locstat: s.Sfl = FLgotoff; break; case SC.extern_: case SC.global: case SC.comdat: case SC.comdef: s.Sfl = FLgot; break; default: break; } } Symbol *ElfObj_tlv_bootstrap() { // specific for Mach-O assert(0); } void ElfObj_write_pointerRef(Symbol* s, uint off) { } /****************************************** * Generate fixup specific to .eh_frame and .gcc_except_table sections. * Params: * seg = segment of where to write fixup * offset = offset of where to write fixup * s = fixup is a reference to this Symbol * val = displacement from s * Returns: * number of bytes written at seg:offset */ int elf_dwarf_reftoident(int seg, targ_size_t offset, Symbol *s, targ_size_t val) { if (config.flags3 & CFG3pic) { /* fixup: R_X86_64_PC32 sym="DW.ref.name" * symtab: .weak DW.ref.name,@OBJECT,VALUE=.data.DW.ref.name+0x00,SIZE=8 * Section 13 .data.DW.ref.name PROGBITS,ALLOC,WRITE,SIZE=0x0008(8),OFFSET=0x0138,ALIGN=8 * 0138: 0 0 0 0 0 0 0 0 ........ * Section 14 .rela.data.DW.ref.name RELA,ENTRIES=1,OFFSET=0x0E18,ALIGN=8,LINK=22,INFO=13 * 0 offset=00000000 addend=0000000000000000 type=R_X86_64_64 sym="name" */ if (!s.Sdw_ref_idx) { const dataDWref_seg = ElfObj_getsegment(".data.DW.ref.", s.Sident.ptr, SHT_PROGBITS, SHF_ALLOC|SHF_WRITE, I64 ? 8 : 4); OutBuffer *buf = SegData[dataDWref_seg].SDbuf; assert(buf.length() == 0); ElfObj_reftoident(dataDWref_seg, 0, s, 0, I64 ? CFoffset64 : CFoff); // Add "DW.ref." ~ name to the symtab_strings table const namidx = cast(IDXSTR)symtab_strings.length(); symtab_strings.writeStringz("DW.ref."); symtab_strings.setsize(cast(uint)(symtab_strings.length() - 1)); // back up over terminating 0 symtab_strings.writeStringz(s.Sident.ptr); s.Sdw_ref_idx = elf_addsym(namidx, val, 8, STT_OBJECT, STB_WEAK, MAP_SEG2SECIDX(dataDWref_seg), STV_HIDDEN); } ElfObj_writerel(seg, cast(uint)offset, I64 ? R_X86_64_PC32 : R_386_PC32, s.Sdw_ref_idx, 0); } else { ElfObj_reftoident(seg, offset, s, val, CFoff); //dwarf_addrel(seg, offset, s.Sseg, s.Soffset); //et.write32(s.Soffset); } return 4; }
D
module kprop.api.digitalocean.digitalocean; import std.stdio; import std.json; import std.net.curl; import std.exception:Exception,enforce,assumeUnique; import std.conv:to; import std.algorithm:countUntil,map,each; import std.traits:EnumMembers; import std.array:array,appender; import std.format:format; import std.variant:Algebraic; import kprop.api.digitalocean.auth; // replace by your own key import kprop.helper.prettyjson; /** Implemented in the D Programming Language 2015 by Laeeth Isharc and Kaleidic Associates Boost Licensed Use at your own risk - this is not tested at all and if you end up deleting all your instances and creating 10,000 pricey new ones then it will not be my fault */ static this() { OceanRegions=[EnumMembers!OceanRegion].map!(a=>a.toString).array.assumeUnique; DropletActions=[EnumMembers!DropletAction].map!(a=>a.toString).array.assumeUnique; OceanImages= [ OceanGlobalImage(false,"CoreOS-766.4.0-(beta)",13578467,OceanDistro.CoreOS,""), OceanGlobalImage(false,"CentOS-5.10-x64",6372321,OceanDistro.CentOS,""), OceanGlobalImage(false,"5.10 x32",6372425, OceanDistro.CentOS), OceanGlobalImage(false,"6.0 x64",6372581, OceanDistro.Debian), OceanGlobalImage(false,"6.0 x32",6372662, OceanDistro.Debian), OceanGlobalImage(false,"21 x64",9640922, OceanDistro.Fedora), OceanGlobalImage(false,"10.1",10144573, OceanDistro.FreeBSD), OceanGlobalImage(false,"12.04.5 x64",10321756, OceanDistro.Ubuntu), OceanGlobalImage(false,"12.04.5 x32",10321777, OceanDistro.Ubuntu), OceanGlobalImage(false,"7.0 x64",10322059, OceanDistro.Debian), OceanGlobalImage(false,"7.0 x32",10322378, OceanDistro.Debian), OceanGlobalImage(false,"7 x64",10322623, OceanDistro.CentOS), OceanGlobalImage(false,"22 x64",12065782, OceanDistro.Fedora), OceanGlobalImage(false,"15.04 x64",12658446, OceanDistro.Ubuntu), OceanGlobalImage(false,"15.04 x32",12660649, OceanDistro.Ubuntu), OceanGlobalImage(false,"8.1 x64",12778278, OceanDistro.Debian), OceanGlobalImage(false,"8.1 x32",12778337, OceanDistro.Debian), OceanGlobalImage(false,"14.04 x64",13089493, OceanDistro.Ubuntu), OceanGlobalImage(false,"14.04 x32",13089823, OceanDistro.Ubuntu), OceanGlobalImage(false,"6.7 x64",13090046, OceanDistro.CentOS), OceanGlobalImage(false,"6.7 x32",13090097, OceanDistro.CentOS), OceanGlobalImage(false,"10.2",13321858, OceanDistro.FreeBSD), OceanGlobalImage(false,"815.0.0 (alpha)",13683512, OceanDistro.CoreOS), OceanGlobalImage(false,"766.4.0 (stable)",13750582, OceanDistro.CoreOS), OceanGlobalImage(false,"FreeBSD AMP on 10.1",10163059, OceanDistro.FreeBSD), OceanGlobalImage(true,"Drone on 14.04",11774848, OceanDistro.Ubuntu,"Drone"), OceanGlobalImage(true,"Cassandra on 14.04",12540744, OceanDistro.Ubuntu,"Cassandra"), OceanGlobalImage(true,"ELK Logging Stack on 14.04",12542038, OceanDistro.Ubuntu,"ELK Logging"), OceanGlobalImage(true,"Django on 14.04",12740667, OceanDistro.Ubuntu,"Django"), OceanGlobalImage(true,"Mumble Server (murmur) on 14.04",12914152, OceanDistro.Ubuntu,"murmur"), OceanGlobalImage(true,"Joomla! 3.4.3 on 14.04",13014869, OceanDistro.Ubuntu,"Joomla"), OceanGlobalImage(true,"Magento-1.9.2.1 CE on 14.04",13115155, OceanDistro.Ubuntu,"Magento"), OceanGlobalImage(true,"MongoDB 3.0.5 on 14.04",13115659, OceanDistro.Ubuntu,"MongoDB"), OceanGlobalImage(true,"LEMP on 14.04",13138234, OceanDistro.Ubuntu,"LEMP"), OceanGlobalImage(true,"LAMP on 14.04",13138235, OceanDistro.Ubuntu,"LAMP"), OceanGlobalImage(true,"MediaWiki on 14.04",13185409, OceanDistro.Ubuntu,"MediaWiki"), OceanGlobalImage(true,"WordPress on 14.04",13229890, OceanDistro.Ubuntu,"WordPress"), OceanGlobalImage(true,"Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn)",13400199, OceanDistro.Ubuntu,"Ruby on Rails"), OceanGlobalImage(true,"MEAN on 14.04",13413549, OceanDistro.Ubuntu,"MEAN"), OceanGlobalImage(true,"Drupal 7.39 on 14.04",13414327, OceanDistro.Ubuntu,"Drupal"), OceanGlobalImage(true,"Docker 1.8.2 on 14.04",13495049, OceanDistro.Ubuntu,"Docker"), OceanGlobalImage(true,"node v4.1.0 on 14.04",13586846, OceanDistro.Ubuntu,"nodejs"), OceanGlobalImage(true,"Redis 3.0.4 on 14.04",13601457, OceanDistro.Ubuntu,"Redis"), OceanGlobalImage(true,"ownCloud 8.1.3 on 14.04",13603669, OceanDistro.Ubuntu,"ownCloud"), OceanGlobalImage(true,"GitLab 8.0.1 CE on 14.04",13670476, OceanDistro.Ubuntu,"GitLab"), OceanGlobalImage(true,"Ghost 0.7.1 on 14.04",13750431, OceanDistro.Ubuntu,"Ghost"), OceanGlobalImage(true,"Dokku v0.4.1 on 14.04",13750783, OceanDistro.Ubuntu,"Dokku"), OceanGlobalImage(true,"Discourse on 14.04",13846109, OceanDistro.Ubuntu,"Discourse"), OceanGlobalImage(true,"PHPMyAdmin on 14.04",11730661, OceanDistro.Ubuntu,"PHPMyAdmin"), OceanGlobalImage(true,"Redmine on 14.04",12438838, OceanDistro.Ubuntu,"Redmine"), ]; } string joinUrl(string url, string endpoint) { enforce(url.length>0, "broken url"); if (url[$-1]=='/') url=url[0..$-1]; return url~"/"~endpoint; } /** auto __str__(self): return b"<{:s} at {:#x}>".format(type(self).__name__, id(self)) auto __unicode__(self): return "<{:s} at {:#x}>".format(type(self).__name__, id(self)) */ struct OceanAPI { string endpoint = "https://api.digitalocean.com/v2/"; string token; this(string token) { this.token=token; } this(string endpoint, string token) { this.endpoint=endpoint; this.token=token; } } JSONValue request(OceanAPI api, string url, HTTP.Method method=HTTP.Method.get, JSONValue params=JSONValue(null)) { enforce(api.token.length>0,"no token provided"); url=api.endpoint.joinUrl(url); auto client=HTTP(url); client.addRequestHeader("Authorization", "Bearer "~api.token); auto response=appender!(ubyte[]); client.method=method; switch(method) with(HTTP.Method) { case del: client.setPostData(cast(void[])params.toString,"application/x-www-form-urlencoded"); break; case get,head: client.setPostData(cast(void[])params.toString,"application/json"); break; default: client.setPostData(cast(void[])params.toString,"application/json"); break; } client.onReceive = (ubyte[] data) { response.put(data); return data.length; }; client.perform(); // rely on curl to throw exceptions on 204, >=500 return parseJSON(cast(string)response.data); } // List all Actions auto listActions(OceanAPI api) { return api.request("actions",HTTP.Method.get); } // retrieve existing Action auto retrieveAction(OceanAPI api, string id) { return api.request("actions/"~id, HTTP.Method.get); } auto allNeighbours(OceanAPI api) { return api.request("reports/droplet_neighbors",HTTP.Method.get); } auto listUpgrades(OceanAPI api) { return api.request("droplet_upgrades",HTTP.Method.get); } // List all Domains (managed through Ocean DNS interface) auto listDomains(OceanAPI api) { return api.request("domains", HTTP.Method.get); } struct OceanDomain { OceanAPI api; string id; alias id this; this(OceanAPI api, string id) { this.api=api; this.id=id; } // Create new Domain static auto create(OceanAPI api, string name, string ip) { JSONValue params; params["name"]=name; params["ip_address"]=ip; return api.request("domains", HTTP.Method.post, params); } auto request(string url, HTTP.Method method=HTTP.Method.get, JSONValue params=JSONValue(null)) { return api.request(url,method,params); } } // Retrieve an existing Domain auto get(OceanDomain domain) { return domain.request("domains/"~domain.id, HTTP.Method.get); } // Delete a Domain auto del(OceanDomain domain) { return domain.request("domains/"~domain.id, HTTP.Method.del); } // List all Domain Records auto listDomainRecords(OceanDomain domain) { return domain.request(format("domains/%s/records",domain.id), HTTP.Method.get); } // Create a new Domain Record auto createRecord(OceanDomain domain, string rtype=null, string name=null, string data=null, string priority=null, string port=null, string weight=null) { JSONValue params; params["type"]=rtype; if(name.length>0) params["name"]=name; if(data.length>0) params["data"]=data; if(priority.length>0) params["priority"]=priority; if(port.length>0) params["port"]=port; if(weight.length>0) params["weight"]=weight; return domain.request( format("domains/%s/records",domain.id), HTTP.Method.post, params); } // Retrieve an existing Domain Record auto getRecord(OceanDomain domain, string recordId) { return domain.request( format("domains/%s/records/%s",domain.id,recordId), HTTP.Method.get); } // Delete a Domain Record auto delRecord(OceanDomain domain, string recordId) { return domain.request( format("domains/%s/records/%s",domain.id,recordId), HTTP.Method.del); } // Update a Domain Record auto updateRecord(OceanDomain domain, string recordId,string name) { JSONValue params; params["name"] = name; return domain.request(format("domains/%s/records/%s",domain.id, recordId), HTTP.Method.put, params); } // list all droplets auto listDroplets(OceanAPI api) { return api.request("droplets",HTTP.Method.get); } enum OceanRegion { ams2, ams3, fra1, lon1, nyc1, nyc2, nyc3, sfo1, sgp1, tor1, } immutable string[] OceanRegions; OceanRegion oceanRegion(string region) { OceanRegion ret; auto i=OceanRegions.countUntil(region); enforce(i>=0, new Exception("unknown droplet region: "~region)); return cast(OceanRegion)i; } string toString(OceanRegion region) { final switch(region) with(OceanRegion) { case ams2: return "Amsterdam 2"; case ams3: return "Amsterdam 3"; case fra1: return "Frankfurt 1"; case lon1: return "London 1"; case nyc1: return "New York 1"; case nyc2: return "New York 2"; case nyc3: return "New York 3"; case sfo1: return "San Francisco 1"; case sgp1: return "Singapore 1"; case tor1: return "Toronto 1"; } assert(0); } enum OceanDistro { CoreOS, Debian, Fedora, CentOS, FreeBSD, Ubuntu, } alias OceanImageId=Algebraic!(int,string); struct OceanGlobalImage { bool isApplication=false; string slug; int id; OceanDistro distro; string application; } OceanGlobalImage[] OceanImages; struct Droplet { OceanAPI api; int id; this(OceanAPI api, int id) { this.api=api; this.id=id; } string toString() { return id.to!string; } auto request(string uri, HTTP.Method method=HTTP.Method.get, JSONValue params=JSONValue(null)) { return api.request(uri,method,params); } // Create a new Droplet static auto create(OceanAPI api,string name, OceanRegion region, string size, OceanImageId image, string[] sshKeys, string backups=null, string ipv6=null, string privateNetworking=null, string userData=null) { JSONValue params; params["name"]=name; params["region"]=region.to!string; params["size"]=size; if(image.type==typeid(string)) params["image"]=image.get!string; else params["image"]=image.get!int; if (sshKeys.length>0) params["ssh_keys"]=sshKeys; if(backups.length>0) params["backups"]=backups.to!bool; if (ipv6.length>0) params["ipv6"]=ipv6.to!bool; if (privateNetworking.length>0) params["private_networking"]=privateNetworking.to!bool; if (userData.length>0) params["user_data"]=userData; return api.request("droplets", HTTP.Method.post, params); } } // Makes an action JSONValue action(Droplet droplet, DropletAction actionType,JSONValue params=JSONValue(null)) { params["type"]=actionType.toString; return droplet.request(format("droplets/%s/actions",droplet.id), HTTP.Method.post, params); } enum DropletAction { reboot, powerCycle, shutdown, powerOff, powerOn, passwordReset, resize, restore, rebuild, rename, changeKernel, enableIPv6, disableBackups, enablePrivateNetworking, snapshot, upgrade, } string toString(DropletAction action) { final switch(action) with(DropletAction) { case reboot: return "reboot"; case powerCycle: return "power_cycle"; case shutdown: return "shutdown"; case powerOff: return "power_off"; case powerOn: return "power_on"; case passwordReset: return "password_reset"; case resize: return "resize"; case restore: return "restore"; case rebuild: return "rebuild"; case rename: return "rename"; case changeKernel: return "change_kernel"; case enableIPv6: return "enable_ipv6"; case disableBackups: return "disable_backups"; case enablePrivateNetworking: return "enable_private_networking"; case snapshot: return "snapshot"; case upgrade: return "upgrade"; } } immutable string[] DropletActions; DropletAction dropletAction(string action) { auto i=DropletActions.countUntil(action); enforce(i>=0,new Exception("unknown droplet action: "~action)); return cast(DropletAction)i; } struct OceanResult(T) { bool found; T result; } // find droplet ID from anme OceanResult!Droplet findDroplet(OceanAPI ocean, string name) { auto ret=ocean.Droplet(-1); auto dropletResults=ocean.listDroplets; auto droplets="droplets" in dropletResults; enforce(droplets !is null, new Exception("bad response from Digital Ocean: "~dropletResults.prettyPrint)); enforce((*droplets).type==JSON_TYPE.ARRAY, new Exception ("bad response from Digital Ocean: "~dropletResults.prettyPrint)); (*droplets).array.each!(a=>enforce(("name" in a.object) && a.object["name"].type==JSON_TYPE.STRING)); auto i=(*droplets).array.map!(a=>a.object["name"].str).array.countUntil(name); if (i==-1) { return OceanResult!Droplet(false,ret); } //auto p=("id" in ((*droplets).array[i])); //enforce(p !is null, new Exception // ("findDroplet cannot find id in results - malformed JSON?\n"~dropletResults.prettyPrint)); return OceanResult!Droplet(true,ocean.Droplet((*droplets).array[i].object["id"].integer.to!int)); } // List all available Kernels for a Droplet auto kernels(Droplet droplet) { return droplet.request(format("droplets/%s/kernels",droplet.id), HTTP.Method.get); } // Retrieve snapshots for a Droplet auto snapshots(Droplet droplet) { return droplet.request(format("droplets/%s/snapshots",droplet.id), HTTP.Method.get); } // Retrieve backups for a Droplet auto backups(Droplet droplet) { return droplet.request(format("droplets/%s/backups",droplet.id), HTTP.Method.get); } // Retrieve actions for a Droplet auto actions(Droplet droplet) { return droplet.request(format("droplets/%s/actions",droplet.id), HTTP.Method.get); } // Retrieve an existing Droplet by id auto retrieve(Droplet droplet) { return droplet.request("droplets/"~droplet.id.to!string, HTTP.Method.get); } // Delete a Droplet auto del(Droplet droplet) { return droplet.request("droplets/"~droplet.id.to!string, HTTP.Method.del); } auto neighbours(Droplet droplet) { return droplet.request(format("droplets/%s/neighbors",droplet.id),HTTP.Method.get); } // Reboot a Droplet auto reboot(Droplet droplet) { return droplet.action(DropletAction.reboot); } // Power Cycle a Droplet auto powerCycle(Droplet droplet) { return droplet.action(DropletAction.powerCycle); } // Shutdown a Droplet auto shutdown(Droplet droplet) { return droplet.action(DropletAction.shutdown); } // Power Off a Droplet auto powerOff(Droplet droplet) { return droplet.action(DropletAction.powerOff); } // Power On a Droplet auto powerOn(Droplet droplet) { return droplet.action(DropletAction.powerOn); } // Password Reset a Droplet auto passwordReset(Droplet droplet) { return droplet.action(DropletAction.passwordReset); } // Resize a Droplet auto resize(Droplet droplet, string size) { JSONValue params; params["size"]=size; return droplet.action(DropletAction.resize, params); } // Restore a Droplet auto restore(Droplet droplet, string image) { JSONValue params; params["image"]=image; return droplet.action(DropletAction.restore, params); } // Rebuild a Droplet auto rebuild(Droplet droplet, string image) { JSONValue params; params["image"]=image; return droplet.action(DropletAction.rebuild, params); } // Rename a Droplet auto rename(OceanAPI api, Droplet droplet, string name) { JSONValue params; params["name"]=name; return droplet.action(DropletAction.rename,params); } // Change the Kernel auto changeKernel(Droplet droplet, string kernel) { JSONValue params; params["kernel"]=kernel; return droplet.action(DropletAction.changeKernel, params); } // Enable IPv6 auto enableIPv6(Droplet droplet) { return droplet.action(DropletAction.enableIPv6); } // Disable Backups auto disableBackups(Droplet droplet) { return droplet.action(DropletAction.disableBackups); } // Enable Private Networking auto enablePrivateNetworking(Droplet droplet) { return droplet.action(DropletAction.enablePrivateNetworking); } // Snapshot auto doSnapshot(Droplet droplet, string name=null) { JSONValue params; if (name.length>0) params["name"]=name; return droplet.action(DropletAction.snapshot, params); } // Retrieve a Droplet Action auto retrieveAction(Droplet droplet, string actionId) { return droplet.request( format("droplets/%s/actions/%s",droplet.id, actionId), HTTP.Method.get); } auto upgrade(Droplet droplet) { JSONValue params; params["upgrade"]=true; droplet.action(DropletAction.upgrade,params); } struct OceanImage { OceanAPI api; string id; alias id this; this(OceanAPI api, string id) { this.api=api; this.id=id; } auto request(string uri, HTTP.Method method=HTTP.Method.get, JSONValue params=JSONValue(null)) { return api.request(uri,method,params); } } // List all images auto listImages(OceanAPI api) { return api.request("images", HTTP.Method.get); } // Retrieve an existing Image by id or slug auto get(OceanImage image) { return image.request("images/"~image.id, HTTP.Method.get); } // Delete an Image auto del(OceanImage image) { return image.request("images/"~image.id, HTTP.Method.del); } // Update an Image auto update(OceanImage image, string name) { JSONValue params; params["name"]=name; return image.request("images/"~image.id, HTTP.Method.put, params); } // Transfer an Image auto transfer(OceanImage image, OceanRegion region) { JSONValue params; params["type"]="transfer"; params["region"]=region.to!string; return image.request(format("images/%s/actions",image.id), HTTP.Method.post,params); } // Retrieve an existing Image Action auto getImageAction(OceanImage image, string actionId) { return image.request(format("images/%s/actions/%s",image.id,actionId), HTTP.Method.get); } struct OceanKey { OceanAPI api; string value; this(OceanAPI api,string key) { this.api=api; this.value=key; } auto request(string uri, HTTP.Method method=HTTP.Method.get, JSONValue params=JSONValue(null)) { return api.request(uri,method,params); } // Create a new Key static auto create(OceanAPI api, string name, string publicKey) { JSONValue params; params["name"]=name; params["public_key"]=publicKey; return api.request("account/keys", HTTP.Method.post, params); } } // list all keys auto listKeys(OceanAPI api) { return api.request("account/keys", HTTP.Method.get); } // Retrieve an existing Key by Id or Fingerprint auto retrieve(OceanKey key) { return key.request("account/keys/"~key.value, HTTP.Method.get); } // Update an existing Key by Id or Fingerprint auto updateName(OceanKey key, string name) { JSONValue params; params["name"]=name; return key.request("account/keys/"~key.value, HTTP.Method.put, params); } // Destroy an existing Key by Id or Fingerprint auto del(OceanKey key) { return key.request("account/keys/"~key.value, HTTP.Method.del); } // list all regions auto listRegions(OceanAPI api) { return api.request("regions", HTTP.Method.get); } // list all sizes auto listSizes(OceanAPI api) { return api.request("sizes", HTTP.Method.get); }
D
/home/josh7gas/Oficina/Rust/CLI_tool_practice/training_Buffer/target/debug/deps/vec_map-86b9a1b07cd2a98d.rmeta: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs /home/josh7gas/Oficina/Rust/CLI_tool_practice/training_Buffer/target/debug/deps/libvec_map-86b9a1b07cd2a98d.rlib: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs /home/josh7gas/Oficina/Rust/CLI_tool_practice/training_Buffer/target/debug/deps/vec_map-86b9a1b07cd2a98d.d: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs:
D
/home/fluix/Documents/CMPT383/Final_Project/Round2/CMPT383-Raytracer/raytracer/server/target/debug/deps/doc_comment-e6b1fa05b4969544.rmeta: /home/fluix/.cargo/registry/src/github.com-1ecc6299db9ec823/doc-comment-0.3.3/src/lib.rs /home/fluix/Documents/CMPT383/Final_Project/Round2/CMPT383-Raytracer/raytracer/server/target/debug/deps/libdoc_comment-e6b1fa05b4969544.rlib: /home/fluix/.cargo/registry/src/github.com-1ecc6299db9ec823/doc-comment-0.3.3/src/lib.rs /home/fluix/Documents/CMPT383/Final_Project/Round2/CMPT383-Raytracer/raytracer/server/target/debug/deps/doc_comment-e6b1fa05b4969544.d: /home/fluix/.cargo/registry/src/github.com-1ecc6299db9ec823/doc-comment-0.3.3/src/lib.rs /home/fluix/.cargo/registry/src/github.com-1ecc6299db9ec823/doc-comment-0.3.3/src/lib.rs:
D
const int Value_Goldnugget = 18; const int Value_WhitePearl = 120; const int Value_Addon_Joint_01 = 60; instance ItMi_GoldNugget_Addon(C_Item) { name = "Gold nugget"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = Value_Goldnugget; visual = "ItMi_GoldNugget_01.3ds"; material = MAT_STONE; description = name; text[5] = NAME_Value; count[5] = value; inv_zbias = INVCAM_ENTF_MISC2_STANDARD; }; instance ItMi_Addon_WhitePearl(C_Item) { name = "Pearl"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = Value_WhitePearl; visual = "ItMi_WhitePearl_01.3ds"; material = MAT_STONE; description = name; text[5] = NAME_Value; count[5] = value; inv_zbias = INVCAM_ENTF_MISC_STANDARD; }; instance ItMi_Addon_Joint_01(C_Item) { name = "Green Novice"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = Value_Addon_Joint_01; visual = "ItMi_Joint_US.3ds"; material = MAT_LEATHER; scemeName = "JOINT"; on_state[0] = Use_Addon_Joint_01; description = name; text[5] = NAME_Value; count[5] = value; inv_zbias = INVCAM_ENTF_RING_STANDARD; }; var int FirstJoint; func void Use_Addon_Joint_01() { if(Npc_IsPlayer(self)) { if(FirstJoint == FALSE) { FirstJoint = TRUE; B_GivePlayerXP(5); }; Wld_PlayEffect("SLOW_TIME",self,self,0,0,0,FALSE); }; }; instance ItMi_BaltramPaket(C_Item) { name = "Baltram's Shipment"; mainflag = ITEM_KAT_NONE; flags = ITEM_MISSION; value = 200; visual = "ItMi_Packet.3ds"; material = MAT_LEATHER; description = name; text[2] = "A heavy package of"; text[3] = "good things."; text[4] = "from Akil the farmer"; }; instance ItMi_Packet_Baltram4Skip_Addon(C_Item) { name = "Package for Skip"; mainflag = ITEM_KAT_NONE; flags = ITEM_MISSION; value = 200; visual = "ItMi_Packet.3ds"; material = MAT_LEATHER; description = name; text[2] = "This heavy package"; text[3] = "good things."; text[4] = "is meant for the pirate Skip"; }; instance ItMi_BromorsGeld_Addon(C_Item) { name = "Bromor's golden bowl"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI | ITEM_MISSION; value = Value_Nugget; visual = "ItMi_GoldChalice.3DS"; material = MAT_METAL; description = name; text[2] = "The name 'Bromor' is"; text[3] = "scratched into the bottom"; text[4] = "of the bowl with a sharp object."; text[5] = NAME_Value; count[5] = value; }; instance ItSe_ADDON_CavalornsBeutel(C_Item) { name = "Cavalorn's leather bag"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI | ITEM_MISSION; value = Value_Nugget; visual = "ItMi_Pocket.3ds"; scemeName = "MAPSEALED"; material = MAT_LEATHER; on_state[0] = Use_CavalornsBeutel; description = name; text[0] = ""; text[1] = "It bears a tag with"; text[2] = "the name 'Cavalorn'"; text[3] = "There is 1 lump of ore inside"; text[4] = ""; text[5] = NAME_Value; count[5] = value; }; func void Use_CavalornsBeutel() { CreateInvItems(hero,ItMi_Nugget,1); Print(PRINT_FoundOreNugget); SC_OpenedCavalornsBeutel = TRUE; //Log_CreateTopic(TOPIC_Addon_CavalornTheHut,LOG_MISSION); //Log_SetTopicStatus(TOPIC_Addon_CavalornTheHut,LOG_Running); //B_LogEntry(TOPIC_Addon_CavalornTheHut,"I found a bag with one lump of ore near Cavalorn's hut in the Valley of mines. That old rogue Cavalorn must have forgotten it here."); }; instance ItMi_Skull(C_Item) { name = "Skull"; mainflag = ITEM_KAT_NONE; flags = ITEM_MISSION; value = 10; visual = "DT_SKELETON_V01_HEAD.3ds"; material = MAT_LEATHER; description = name; }; instance ItMi_IECello(C_Item) { name = "Cello"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_Cello.3ds"; material = MAT_WOOD; scemeName = "CELLO"; on_state[0] = Use_Cello; description = name; }; func void Use_Cello() { }; instance ItMi_IECelloBow(C_Item) { name = "Cello bow"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_CelloBow.3ds"; material = MAT_WOOD; description = name; }; instance ItMi_IEDrum(C_Item) { name = "Drum"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_Drum.3ds"; material = MAT_WOOD; scemeName = "PAUKE"; on_state[0] = Use_Drum; description = name; }; func void Use_Drum() { }; instance ItMi_IEDrumScheit(C_Item) { name = "Tromba marina"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_Drumscheit.3ds"; material = MAT_WOOD; scemeName = "DRUMSCHEIT"; on_state[0] = Use_Drumscheit; description = name; }; func void Use_Drumscheit() { }; instance ItMi_IEDrumStick(C_Item) { name = "Drumstick"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_DrumStick.3ds"; material = MAT_WOOD; description = name; }; instance ItMi_IEDudelBlau(C_Item) { name = "Blue bagpipes"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_DudelBlau.3ds"; material = MAT_WOOD; scemeName = "DUDEL"; on_state[0] = Use_Dudel; description = name; }; func void Use_Dudel() { }; instance ItMi_IEDudelGelb(C_Item) { name = "Yellow bagpipes"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_DudelGelb.3ds"; material = MAT_WOOD; scemeName = "DUDEL"; on_state[0] = Use_Dudel; description = name; }; instance ItMi_IEHarfe(C_Item) { name = "Harp"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_Harfe.3ds"; material = MAT_WOOD; scemeName = "HARFE"; on_state[0] = Use_Harfe; description = name; }; func void Use_Harfe() { }; instance ItMi_IELaute(C_Item) { name = "Lute"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = 1; visual = "Itmi_IE_Laute.3ds"; material = MAT_WOOD; scemeName = "IELAUTE"; on_state[0] = Use_Laute; description = name; }; func void Use_Laute() { }; instance ItMi_Addon_Lennar_Paket(C_Item) { name = "Jingling package"; mainflag = ITEM_KAT_NONE; flags = ITEM_MISSION; value = 300; visual = "ItMi_Packet.3ds"; scemeName = "MAPSEALED"; on_state[0] = Use_LennarPaket; material = MAT_LEATHER; description = name; text[2] = "There are lock picks inside"; text[3] = ""; text[4] = "Many lock picks"; text[5] = NAME_Value; count[5] = value; }; func void Use_LennarPaket() { B_PlayerFindItem(ItKE_lockpick,Lennar_picklock_amount); Snd_Play("Geldbeutel"); LennarPaket_Open = TRUE; }; instance ItMi_Zeitspalt_Addon(C_Item) { name = "Black ore"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = 0; visual = "ItMi_Zeitspalt_Addon.3DS"; scemeName = "MAPSEALED"; on_state[0] = Use_Zeitspalt_Addon; material = MAT_STONE; wear = WEAR_EFFECT; effect = "SPELLFX_WEAKGLIMMER"; description = name; text[3] = "Effects unknown."; inv_zbias = INVCAM_ENTF_MISC_STANDARD; }; func void Use_Zeitspalt_Addon() { if(Npc_IsPlayer(self)) { Wld_PlayEffect("spellFX_BELIARSRAGE",self,self,0,0,0,FALSE); Wld_StopEffect("SLOW_MOTION"); Wld_PlayEffect("SLOW_MOTION",self,self,0,0,0,FALSE); }; };
D
///////////////////////////////////////// // Dr Pymonte /////////////////////////// ///////////////////////////////////////// instance InExtremo_DrPymonte(Npc_Default) { //-------- primary data -------- name = "Dr Pymonte"; npctype = npctype_main; guild = GIL_NONE; level = 4; voice = 11; id = 390; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- // CreateInvItem (self,ItMiHarp); //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"HUM_IE_PYMONTE_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_PYMONTE",DEFAULT,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_Concert_390; //start_aistate = ZS_iepymonte; }; FUNC VOID Rtn_concert_390 () { TA_IEPymonte (08,00,20,00,"OCR_IE_PYMONTE"); TA_IEPymonte (20,00,08,00,"OCR_IE_PYMONTE"); }; FUNC VOID Rtn_off_390 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // The Flail //////////////////////////// ///////////////////////////////////////// instance InExtremo_TheFlail(Npc_Default) { //-------- primary data -------- name = "The Flail"; npctype = npctype_main; guild = GIL_NONE; level = 4; flags = 0; voice = 11;//10; id = 391; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- // CreateInvItem (self,ItMiDrumstick); //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"HUM_IE_FLAIL_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_FLAIL",DEFAULT,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_391; //start_aistate = ZS_ieflail; }; FUNC VOID Rtn_concert_391 () { TA_IEFlail (08,00,20,00,"OCR_IE_FLAIL"); TA_IEFlail (20,00,08,00,"OCR_IE_FLAIL"); }; FUNC VOID Rtn_off_391 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Thomas,the Forger /////////////////// ///////////////////////////////////////// instance InExtremo_ThomasTheForger(Npc_Default) { //-------- primary data -------- name = "Thomas the forger"; npctype = npctype_main; guild = GIL_NONE; level = 4; flags = 0; voice = 11;//10; id = 392; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- // CreateInvItem (self,ItMiCello); // CreateInvItem (self,ItMiCellobow); //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"HUM_IE_THOMAS_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_THOMAS",DEFAULT,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_392; //start_aistate = ZS_iethomas; }; FUNC VOID Rtn_concert_392 () { TA_IEThomas (08,00,20,00,"OCR_IE_THOMAS"); TA_IEThomas (20,00,08,00,"OCR_IE_THOMAS"); }; FUNC VOID Rtn_off_392 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Unicorn ////////////////////////////// ///////////////////////////////////////// instance InExtremo_Unicorn(Npc_Default) { //-------- primary data -------- name = "Unicorn"; npctype = npctype_main; guild = GIL_NONE; level = 4; flags = 0; voice = 11;//10; id = 393; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- // CreateInvItem (self,ItMiLuteIE); //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"HUM_IE_UNICORN_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_UNICORN",DEFAULT,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_393; //start_aistate = ZS_ieunicorn; }; FUNC VOID Rtn_concert_393 () { TA_IEUnicorn (08,00,20,00,"OCR_IE_UNICORN"); TA_IEUnicorn (20,00,08,00,"OCR_IE_UNICORN"); }; FUNC VOID Rtn_off_393 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Yellow Pfeiffer ////////////////////// ///////////////////////////////////////// instance InExtremo_YellowPfeiffer(Npc_Default) { //-------- primary data -------- name = "Yellow Pfeiffer"; npctype = npctype_main; guild = GIL_NONE; level = 4; flags = 0; voice = 11;//10; id = 394; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- // CreateInvItem (self,ItMiYellowpipe); //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"Hum_IE_Pfeiffer_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_Pfeiffer",DEFAULT,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_394; //start_aistate = ZS_iepfeiffer; }; FUNC VOID Rtn_concert_394 () { TA_IEPfeiffer (08,00,20,00,"OCR_IE_PFEIFFER"); TA_IEPfeiffer (20,00,08,00,"OCR_IE_PFEIFFER"); }; FUNC VOID Rtn_off_394 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Lutter /////////////////////////////// ///////////////////////////////////////// instance InExtremo_Lutter(Npc_Default) { //-------- primary data -------- name = "Lutter"; npctype = npctype_main; guild = GIL_NONE; level = 4; voice = 11;//10; id = 395; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- //CreateInvItem (self,ItMiDrumscheit); //CreateInvItem (self,ItMiCellobow); //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"Hum_IE_Lutter_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_Lutter",DEFAULT,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_395; //start_aistate = ZS_ielutter; }; FUNC VOID Rtn_concert_395 () { TA_IELutter (08,00,20,00,"OCR_IE_LUTTER"); TA_IELutter (20,00,08,00,"OCR_IE_LUTTER"); }; FUNC VOID Rtn_off_395() { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Flex ///////////////////////////////// ///////////////////////////////////////// instance InExtremo_Flex(Npc_Default) { //-------- primary data -------- name = "Flex"; npctype = npctype_main; guild = GIL_NONE; level = 4; flags = 0; voice = 11;//10; id = 396; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- // CreateInvItem (self,ItMiBluepipe); //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"Hum_IE_Flex_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_Flex",DEFAULT,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_396; //start_aistate = ZS_ieflex; }; FUNC VOID Rtn_concert_396 () { TA_IEFlex (08,00,20,00,"OCR_IE_FLEX"); TA_IEFlex (20,00,08,00,"OCR_IE_FLEX"); }; FUNC VOID Rtn_off_396 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // STEVE G�TCHEN /////////////////// ///////////////////////////////////////// // Ansager f�r In Extremo instance IE_397_Announcer(Npc_Default) { //-------- primary data -------- name = "Steve"; npctype = npctype_main; guild = GIL_NONE; level = 4; voice = 11; id = 397; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_HITPOINTS] = 88; //-------- inventory -------- //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"Hum_Body_Naked0",4,1,"Hum_Head_Fatbald",113,DEFAULT,-1); fight_tactic = FAI_HUMAN_STRONG; Npc_SetTalentSkill (self,NPC_TALENT_1H,1); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_announce_397; }; FUNC VOID Rtn_announce_397 () { TA_Stay (08,00,20,00,"OCR_AUDIENCE_02"); TA_Stay (20,00,08,00,"OCR_AUDIENCE_02"); }; FUNC VOID Rtn_concert_397 () { TA_Firespit (08,00,20,00,"OCR_AUDIENCE_02"); TA_Firespit (20,00,08,00,"OCR_AUDIENCE_02"); }; FUNC VOID Rtn_off_397 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // CHARLOTTE /////////////////// ///////////////////////////////////////// // Babe von VIVA instance Charlotte (Npc_Default) { //-------- primary data -------- name = "Charlotte"; npctype = npctype_main; guild = GIL_BAB; level = 1; voice = 16; id = 398; flags = NPC_FLAG_IMMORTAL; //-------- abilities -------- attribute[ATR_STRENGTH] = 5; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX]= 40; attribute[ATR_HITPOINTS] = 40; //-------- visuals -------- // animations Mdl_SetVisual (self,"BABE.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"Bab_body_Naked0",0,2,"Bab_Head_Hair1",0,DEFAULT,-1); Npc_SetAivar(self,AIV_IMPORTANT, TRUE); fight_tactic = FAI_HUMAN_COWARD; //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_announce_398; }; FUNC VOID Rtn_announce_398 () { TA_Stay (08,00,20,00,"OCR_AUDIENCE_03"); TA_Stay (20,00,08,00,"OCR_AUDIENCE_03"); }; FUNC VOID Rtn_concert_398 () { TA_Charlotte_Dance (08,00,20,00,"OCR_AUDIENCE_03"); TA_Charlotte_Dance (20,00,08,00,"OCR_AUDIENCE_03"); }; FUNC VOID Rtn_off_398 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Publikum 1 /////////////////// ///////////////////////////////////////// instance IEFan1 (Npc_Default) { //-------- primary data -------- name = Name_Buddler; npctype = NPCTYPE_MAIN; guild = GIL_VLK; level = 5; voice = 2; id = 399; //-------- abilities -------- attribute[ATR_STRENGTH] = 25; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 100; attribute[ATR_HITPOINTS] = 100; //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"hum_body_Naked0",1,1,"Hum_Head_FatBald",74,DEFAULT,-1); B_Scale (self); Mdl_SetModelFatness (self,0); fight_tactic = FAI_HUMAN_COWARD; //-------- Talents -------- //-------- inventory -------- EquipItem (self,ALL_MW_01); CreateInvItem (self,ItFoLoaf); CreateInvItem (self,ItFoBeer); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_399; }; FUNC VOID Rtn_concert_399 () { TA_WatchInExtremo (08,00,20,00,"OCR_CROWD_01"); TA_WatchInExtremo (20,00,08,00,"OCR_CROWD_01"); }; FUNC VOID Rtn_off_399 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Publikum 2 /////////////////// ///////////////////////////////////////// instance IEFan2 (Npc_Default) { //-------- primary data -------- name = Name_Buddler; npctype = NPCTYPE_MAIN; guild = GIL_VLK; level = 5; voice = 2; id = 400; //-------- abilities -------- attribute[ATR_STRENGTH] = 25; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 100; attribute[ATR_HITPOINTS] = 100; //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"hum_body_Naked0",2,1,"Hum_Head_FatBald",73,DEFAULT,-1); B_Scale (self); Mdl_SetModelFatness (self,0); fight_tactic = FAI_HUMAN_COWARD; //-------- Talents -------- //-------- inventory -------- CreateInvItem (self,ItFoLoaf); CreateInvItem (self,ItFoBeer); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_400; }; FUNC VOID Rtn_concert_400 () { TA_WatchInExtremo (08,00,20,00,"OCR_CROWD_02"); TA_WatchInExtremo (20,00,08,00,"OCR_CROWD_02"); }; FUNC VOID Rtn_off_400 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Publikum 3 /////////////////// ///////////////////////////////////////// instance IEFan3 (Npc_Default) { //-------- primary data -------- name = Name_Buddler; npctype = NPCTYPE_MAIN; guild = GIL_VLK; level = 5; voice = 2; id = 401; //-------- abilities -------- attribute[ATR_STRENGTH] = 25; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 100; attribute[ATR_HITPOINTS] = 100; //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"hum_body_Naked0",2,0,"Hum_Head_FatBald",10,DEFAULT,-1); B_Scale (self); Mdl_SetModelFatness (self,0); fight_tactic = FAI_HUMAN_COWARD; //-------- Talents -------- //-------- inventory -------- EquipItem (self,ALL_MW_01); CreateInvItem (self,ItFoLoaf); CreateInvItem (self,ItFoBeer); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_401; }; FUNC VOID Rtn_concert_401 () { TA_WatchInExtremo (08,00,20,00,"OCR_CROWD_03"); TA_WatchInExtremo (20,00,08,00,"OCR_CROWD_03"); }; FUNC VOID Rtn_off_401 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); }; ///////////////////////////////////////// // Publikum 4 /////////////////// ///////////////////////////////////////// instance IEFan4 (Npc_Default) { //-------- primary data -------- name = Name_Buddler; npctype = NPCTYPE_MAIN; guild = GIL_VLK; level = 5; voice = 2; id = 402; //-------- abilities -------- attribute[ATR_STRENGTH] = 25; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 100; attribute[ATR_HITPOINTS] = 100; //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self,"hum_body_Naked0",4,2,"Hum_Head_FatBald",4,DEFAULT,-1); B_Scale (self); Mdl_SetModelFatness (self,0); fight_tactic = FAI_HUMAN_COWARD; //-------- Talents -------- //-------- inventory -------- CreateInvItem (self,ItFoLoaf); CreateInvItem (self,ItFoBeer); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_concert_402; }; FUNC VOID Rtn_concert_402 () { TA_WatchInExtremo (08,00,20,00,"OCR_CROWD_04"); TA_WatchInExtremo (20,00,08,00,"OCR_CROWD_04"); }; FUNC VOID Rtn_off_402 () { TA_Stay (08,00,20,00,"NOWHERE"); TA_Stay (20,00,08,00,"NOWHERE"); };
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved // // License for redistribution is given by the Artistic License 2.0 // see file LICENSE for further details module vdc.ast.iasm; import vdc.util; import vdc.lexer; import vdc.ast.node; import vdc.ast.writer; class AsmInstruction : Node { mixin ForwardCtor!(); Token[] tokens; void addToken(Token tok) { Token ntok = new Token; ntok.copy(tok); tokens ~= ntok; } override void toD(CodeWriter writer) { foreach(t; tokens) { writer(t.txt, " "); } } } //AsmInstruction: // Identifier : AsmInstruction // "align" IntegerExpression // "even" // "naked" // "db" Operands // "ds" Operands // "di" Operands // "dl" Operands // "df" Operands // "dd" Operands // "de" Operands // Opcode // Opcode Operands // //Operands: // Operand // Operand , Operands // //IntegerExpression: // IntegerLiteral // Identifier // //Operand: // AsmExp // //AsmExp: // AsmLogOrExp // AsmLogOrExp ? AsmExp : AsmExp // //AsmLogOrExp: // AsmLogAndExp // AsmLogAndExp || AsmLogAndExp // //AsmLogAndExp: // AsmOrExp // AsmOrExp && AsmOrExp // //AsmOrExp: // AsmXorExp // AsmXorExp | AsmXorExp // //AsmXorExp: // AsmAndExp // AsmAndExp ^ AsmAndExp // //AsmAndExp: // AsmEqualExp // AsmEqualExp & AsmEqualExp // //AsmEqualExp: // AsmRelExp // AsmRelExp == AsmRelExp // AsmRelExp != AsmRelExp // //AsmRelExp: // AsmShiftExp // AsmShiftExp < AsmShiftExp // AsmShiftExp <= AsmShiftExp // AsmShiftExp > AsmShiftExp // AsmShiftExp >= AsmShiftExp // //AsmShiftExp: // AsmAddExp // AsmAddExp << AsmAddExp // AsmAddExp >> AsmAddExp // AsmAddExp >>> AsmAddExp // //AsmAddExp: // AsmMulExp // AsmMulExp + AsmMulExp // AsmMulExp - AsmMulExp // //AsmMulExp: // AsmBrExp // AsmBrExp * AsmBrExp // AsmBrExp / AsmBrExp // AsmBrExp % AsmBrExp // //AsmBrExp: // AsmUnaExp // AsmBrExp [ AsmExp ] // //AsmUnaExp: // AsmTypePrefix AsmExp // "offsetof" AsmExp // "seg" AsmExp // + AsmUnaExp // - AsmUnaExp // ! AsmUnaExp // ~ AsmUnaExp // AsmPrimaryExp // //AsmPrimaryExp: // IntegerLiteral // FloatLiteral // "__LOCAL_SIZE" // $ // Register // DotIdentifier // //DotIdentifier: // Identifier // Identifier . DotIdentifier // //AsmTypePrefix: // "near" "ptr" // "far" "ptr" // byte "ptr" // short "ptr" // int "ptr" // "word" "ptr" // "dword" "ptr" // "qword" "ptr" // float "ptr" // double "ptr" // real "ptr" // //Register: // TOK_register // //Opcode: // TOK_opcode // //Identifier: // TOK_Identifier // //Integer: // IntegerLiteral // //IntegerLiteral: // TOK_IntegerLiteral // //FloatLiteral: // TOK_FloatLiteral // //StringLiteral: // TOK_StringLiteral // //CharacterLiteral: // TOK_CharacterLiteral // //// removed from grammar: //// ////Register: //// AL AH AX EAX //// BL BH BX EBX //// CL CH CX ECX //// DL DH DX EDX //// BP EBP //// SP ESP //// DI EDI //// SI ESI //// ES CS SS DS GS FS //// CR0 CR2 CR3 CR4 //// DR0 DR1 DR2 DR3 DR6 DR7 //// TR3 TR4 TR5 TR6 TR7 //// ST //// ST(0) ST(1) ST(2) ST(3) ST(4) ST(5) ST(6) ST(7) //// MM0 MM1 MM2 MM3 MM4 MM5 MM6 MM7 //// XMM0 XMM1 XMM2 XMM3 XMM4 XMM5 XMM6 XMM7 ////
D
/** * TypeInfo support code. * * Copyright: Copyright Digital Mars 2004 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Walter Bright */ /* Copyright Digital Mars 2004 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * http://www.boost.org/LICENSE_1_0.txt) */ module rt.typeinfo.ti_Areal; private import rt.typeinfo.ti_real; private import rt.util.hash; // real[] class TypeInfo_Ae : TypeInfo { @trusted: const: pure: nothrow: override string toString() const pure nothrow @safe { return "real[]"; } override hash_t getHash(in void* p) { real[] s = *cast(real[]*)p; return hashOf(s.ptr, s.length * real.sizeof); } override equals_t equals(in void* p1, in void* p2) { real[] s1 = *cast(real[]*)p1; real[] s2 = *cast(real[]*)p2; size_t len = s1.length; if (len != s2.length) return false; for (size_t u = 0; u < len; u++) { if (!TypeInfo_e._equals(s1[u], s2[u])) return false; } return true; } override int compare(in void* p1, in void* p2) { real[] s1 = *cast(real[]*)p1; real[] s2 = *cast(real[]*)p2; size_t len = s1.length; if (s2.length < len) len = s2.length; for (size_t u = 0; u < len; u++) { int c = TypeInfo_e._compare(s1[u], s2[u]); if (c) return c; } if (s1.length < s2.length) return -1; else if (s1.length > s2.length) return 1; return 0; } @property override size_t tsize() nothrow pure { return (real[]).sizeof; } @property override uint flags() nothrow pure { return 1; } @property override TypeInfo next() nothrow pure { return typeid(real); } @property override size_t talign() nothrow pure { return (real[]).alignof; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { //arg1 = typeid(size_t); //arg2 = typeid(void*); return 0; } } // ireal[] class TypeInfo_Aj : TypeInfo_Ae { @trusted: const: pure: nothrow: override string toString() const pure nothrow @safe { return "ireal[]"; } @property override TypeInfo next() nothrow pure { return typeid(ireal); } }
D
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorView.o : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVP/Pods/Target\ Support\ Files/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorView~partial.swiftmodule : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVP/Pods/Target\ Support\ Files/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorView~partial.swiftdoc : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVP/Pods/Target\ Support\ Files/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorView~partial.swiftsourceinfo : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallDoubleBounce.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorShape.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorAnimationDelegate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBlank.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationPacman.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/NVActivityIndicatorView.swift /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationLineScaleParty.swift /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/hanykaram/Desktop/MVP/Pods/Target\ Support\ Files/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/unextended-module.modulemap /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/hanykaram/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
// written in the D programming language module samples.Springies; import dchip.all; import samples.ChipmunkDemo; static cpSpace *space; static cpFloat springForce(cpConstraint *spring, cpFloat dist) { cpFloat clamp = 20.0f; return cpfclamp(cpDampedSpringGetRestLength(spring) - dist, -clamp, clamp)*cpDampedSpringGetStiffness(spring); } static cpConstraint * new_spring(cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2, cpFloat restLength, cpFloat stiff, cpFloat damp) { cpConstraint *spring = cpDampedSpringNew(a, b, anchr1, anchr2, restLength, stiff, damp); cpDampedSpringSetSpringForceFunc(spring, &springForce); return spring; } static void update(int ticks) { enum int steps = 1; enum cpFloat dt = 1.0f/60.0f/cast(cpFloat)steps; for(int i=0; i<steps; i++){ cpSpaceStep(space, dt); } } static cpBody * add_bar(cpVect a, cpVect b, int group) { cpVect center = cpvmult(cpvadd(a, b), 1.0f/2.0f); cpFloat length = cpvlength(cpvsub(b, a)); cpFloat mass = length/160.0f; cpBody *_body = cpSpaceAddBody(space, cpBodyNew(mass, mass*length*length/12.0f)); _body.p = center; cpShape *shape = cpSpaceAddShape(space, cpSegmentShapeNew(_body, cpvsub(a, center), cpvsub(b, center), 10.0f)); shape.group = group; return _body; } static cpSpace * init() { space = cpSpaceNew(); cpBody *staticBody = space.staticBody; cpBody *body1 = add_bar(cpv(-240, 160), cpv(-160, 80), 1); cpBody *body2 = add_bar(cpv(-160, 80), cpv( -80, 160), 1); cpBody *body3 = add_bar(cpv( 0, 160), cpv( 80, 0), 0); cpBody *body4 = add_bar(cpv( 160, 160), cpv( 240, 160), 0); cpBody *body5 = add_bar(cpv(-240, 0), cpv(-160, -80), 2); cpBody *body6 = add_bar(cpv(-160, -80), cpv( -80, 0), 2); cpBody *body7 = add_bar(cpv( -80, 0), cpv( 0, 0), 2); cpBody *body8 = add_bar(cpv( 0, -80), cpv( 80, -80), 0); cpBody *body9 = add_bar(cpv( 240, 80), cpv( 160, 0), 3); cpBody *body10 = add_bar(cpv( 160, 0), cpv( 240, -80), 3); cpBody *body11 = add_bar(cpv(-240, -80), cpv(-160, -160), 4); cpBody *body12 = add_bar(cpv(-160, -160), cpv( -80, -160), 0); cpBody *body13 = add_bar(cpv( 0, -160), cpv( 80, -160), 0); cpBody *body14 = add_bar(cpv( 160, -160), cpv( 240, -160), 0); cpSpaceAddConstraint(space, cpPivotJointNew2( body1, body2, cpv( 40,-40), cpv(-40,-40))); cpSpaceAddConstraint(space, cpPivotJointNew2( body5, body6, cpv( 40,-40), cpv(-40,-40))); cpSpaceAddConstraint(space, cpPivotJointNew2( body6, body7, cpv( 40, 40), cpv(-40, 0))); cpSpaceAddConstraint(space, cpPivotJointNew2( body9, body10, cpv(-40,-40), cpv(-40, 40))); cpSpaceAddConstraint(space, cpPivotJointNew2(body11, body12, cpv( 40,-40), cpv(-40, 0))); cpFloat stiff = 100.0f; cpFloat damp = 0.5f; cpSpaceAddConstraint(space, new_spring(staticBody, body1, cpv(-320, 240), cpv(-40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body1, cpv(-320, 80), cpv(-40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body1, cpv(-160, 240), cpv(-40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body2, cpv(-160, 240), cpv( 40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body2, cpv( 0, 240), cpv( 40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body3, cpv( 80, 240), cpv(-40, 80), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body4, cpv( 80, 240), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body4, cpv( 320, 240), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body5, cpv(-320, 80), cpv(-40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body9, cpv( 320, 80), cpv( 40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body10, cpv( 320, 0), cpv( 40,-40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body10, cpv( 320,-160), cpv( 40,-40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body11, cpv(-320,-160), cpv(-40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body12, cpv(-240,-240), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body12, cpv( 0,-240), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body13, cpv( 0,-240), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body13, cpv( 80,-240), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body14, cpv( 80,-240), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body14, cpv( 240,-240), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(staticBody, body14, cpv( 320,-160), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body1, body5, cpv( 40,-40), cpv(-40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body1, body6, cpv( 40,-40), cpv( 40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body2, body3, cpv( 40, 40), cpv(-40, 80), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body3, body4, cpv(-40, 80), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body3, body4, cpv( 40,-80), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body3, body7, cpv( 40,-80), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body3, body7, cpv(-40, 80), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body3, body8, cpv( 40,-80), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body3, body9, cpv( 40,-80), cpv(-40,-40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body4, body9, cpv( 40, 0), cpv( 40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body5, body11, cpv(-40, 40), cpv(-40, 40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body5, body11, cpv( 40,-40), cpv( 40,-40), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body7, body8, cpv( 40, 0), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body8, body12, cpv(-40, 0), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body8, body13, cpv(-40, 0), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body8, body13, cpv( 40, 0), cpv( 40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring( body8, body14, cpv( 40, 0), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(body10, body14, cpv( 40,-40), cpv(-40, 0), 0.0f, stiff, damp)); cpSpaceAddConstraint(space, new_spring(body10, body14, cpv( 40,-40), cpv(-40, 0), 0.0f, stiff, damp)); return space; } static void destroy() { ChipmunkDemoFreeSpaceChildren(space); cpSpaceFree(space); } chipmunkDemo Springies = { "Springies", null, &init, &update, &destroy, };
D
// URL: https://yukicoder.me/problems/no/313 import std.algorithm, std.array, std.bitmanip, std.container, std.conv, std.format, std.functional, std.math, std.range, std.traits, std.typecons, std.stdio, std.string; version(unittest) {} else void main() { string s; io.getV(s); auto a = new int[](10); foreach (c; s.filter!(c => c != '.')) ++a[c-'0']; a[] -= b[]; io.put(a.maxIndex, a.minIndex); } const b = [20104, 20063, 19892, 20011, 19874, 20199, 19898, 20163, 19956, 19841]; auto io = IO!()(); import lib.io;
D
/Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/Objects-normal/x86_64/ViewManager.o : /Users/mac/Desktop/lelabtest/UserDetails/SceneDelegate.swift /Users/mac/Desktop/lelabtest/UserDetails/AppDelegate.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/User_Details+CoreDataModel.swift /Users/mac/Desktop/lelabtest/UserDetails/TableCell/UserTableViewCell.swift /Users/mac/Desktop/lelabtest/UserDetails/DBManager/DataBaseManager.swift /Users/mac/Desktop/lelabtest/UserDetails/InteractorModels/ViewManager.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserListingViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsNavigationViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Models/User.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/UserDetails/Common/ApiUrls.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataClass.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/Objects-normal/x86_64/ViewManager~partial.swiftmodule : /Users/mac/Desktop/lelabtest/UserDetails/SceneDelegate.swift /Users/mac/Desktop/lelabtest/UserDetails/AppDelegate.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/User_Details+CoreDataModel.swift /Users/mac/Desktop/lelabtest/UserDetails/TableCell/UserTableViewCell.swift /Users/mac/Desktop/lelabtest/UserDetails/DBManager/DataBaseManager.swift /Users/mac/Desktop/lelabtest/UserDetails/InteractorModels/ViewManager.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserListingViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsNavigationViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Models/User.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/UserDetails/Common/ApiUrls.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataClass.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/Objects-normal/x86_64/ViewManager~partial.swiftdoc : /Users/mac/Desktop/lelabtest/UserDetails/SceneDelegate.swift /Users/mac/Desktop/lelabtest/UserDetails/AppDelegate.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/User_Details+CoreDataModel.swift /Users/mac/Desktop/lelabtest/UserDetails/TableCell/UserTableViewCell.swift /Users/mac/Desktop/lelabtest/UserDetails/DBManager/DataBaseManager.swift /Users/mac/Desktop/lelabtest/UserDetails/InteractorModels/ViewManager.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserListingViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsNavigationViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Models/User.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/UserDetails/Common/ApiUrls.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataClass.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/Objects-normal/x86_64/ViewManager~partial.swiftsourceinfo : /Users/mac/Desktop/lelabtest/UserDetails/SceneDelegate.swift /Users/mac/Desktop/lelabtest/UserDetails/AppDelegate.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/User_Details+CoreDataModel.swift /Users/mac/Desktop/lelabtest/UserDetails/TableCell/UserTableViewCell.swift /Users/mac/Desktop/lelabtest/UserDetails/DBManager/DataBaseManager.swift /Users/mac/Desktop/lelabtest/UserDetails/InteractorModels/ViewManager.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserListingViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsNavigationViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Controllers/UserDetailsViewController.swift /Users/mac/Desktop/lelabtest/UserDetails/Models/User.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataProperties.swift /Users/mac/Desktop/lelabtest/UserDetails/Common/ApiUrls.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/LocationModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/UserModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/AddressModel+CoreDataClass.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/DerivedSources/CoreDataGenerated/User_Details/CompanyModel+CoreDataClass.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-umbrella.h /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/mac/Desktop/lelabtest/build/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module pyd.util.typelist; template Join(string delimit, T...) { static if(T.length == 0) { enum Join = ""; }else static if(T.length == 1) { enum Join = T[0]; }else { enum Join = T[0] ~ delimit ~ Join!(delimit,T[1..$]); } }
D
import std.stdio; import std.string; import std.conv; import std.algorithm; import std.range; import std.traits; import std.math; import std.conv; void main() { auto n = ri(); auto a = n.to!double.sqrt.to!int; int res = int.max; foreach(i; 1..a+1) { auto r = n/i; res = min(res, (n-i*r) + abs(r-i)); } res.writeln; } // =================================== T readAs(T)() if (isBasicType!T) { return readln.chomp.to!T; } T readAs(T)() if (isArray!T) { return readln.split.to!T; } T[][] readMatrix(T)(uint height, uint width) if (isBasicType!T) { auto res = new T[][](height, width); foreach(i; 0..height) { res[i] = readAs!(T[]); } return res; } int ri() { return readAs!int; }
D
module engine.ecs.shape_renderer; import engine.core.ecs; import engine.renderer; import engine.utils.math; import engine.utils.color; import engine.utils.maybe; import engine.ecs.transform; import engine.ecs.shape; @component struct ShapeRenderer { vec4 color; Maybe!float outline; }
D
/** This module contains compiler support for casting dynamic arrays Copyright: Copyright Digital Mars 2000 - 2019. License: Distributed under the $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). (See accompanying file LICENSE) Source: $(DRUNTIMESRC core/internal/_array/_casting.d) */ module core.internal.array.casting; /** Used by `__ArrayCast` to emit a descriptive error message. It is a template so it can be used by `__ArrayCast` in -betterC builds. It is separate from `__ArrayCast` to minimize code bloat. Params: fromType = name of the type being cast from fromSize = total size in bytes of the array being cast from toType = name of the type being cast o toSize = total size in bytes of the array being cast to */ private void onArrayCastError()(string fromType, size_t fromSize, string toType, size_t toSize) @trusted { import core.internal.string : unsignedToTempString; import core.memory : pureMalloc; // convert discontiguous `msgComponents` to contiguous string on the C heap enum msgLength = 2048; // note: never freed! char* msg = cast(char *)pureMalloc(msgLength); size_t index = 0; void add(const(char)[] m) { auto N = msgLength - 1 - index; if (N > m.length) N = m.length; msg[index .. index + N] = m[0 .. N]; index += N; } add("An array of size "); auto s = unsignedToTempString(fromSize); add(s[]); add(" does not align on an array of size "); s = unsignedToTempString(toSize); add(s[]); add(", so `"); add(fromType); add("` cannot be cast to `"); add(toType); add("`"); msg[index] = '\0'; // null-termination // first argument must evaluate to `false` at compile-time to maintain memory safety in release builds assert(false, msg[0 .. index]); } /** The compiler lowers expressions of `cast(TTo[])TFrom[]` to this implementation. Params: from = the array to reinterpret-cast Returns: `from` reinterpreted as `TTo[]` */ TTo[] __ArrayCast(TFrom, TTo)(TFrom[] from) @nogc pure @trusted { const fromSize = from.length * TFrom.sizeof; const toLength = fromSize / TTo.sizeof; if ((fromSize % TTo.sizeof) != 0) { onArrayCastError(TFrom.stringof, fromSize, TTo.stringof, toLength * TTo.sizeof); } struct Array { size_t length; void* ptr; } auto a = cast(Array*)&from; a.length = toLength; // jam new length return *cast(TTo[]*)a; } @safe @nogc pure nothrow unittest { byte[int.sizeof * 3] b = cast(byte) 0xab; int[] i; short[] s; i = __ArrayCast!(byte, int)(b); assert(i.length == 3); foreach (v; i) assert(v == cast(int) 0xabab_abab); s = __ArrayCast!(byte, short)(b); assert(s.length == 6); foreach (v; s) assert(v == cast(short) 0xabab); s = __ArrayCast!(int, short)(i); assert(s.length == 6); foreach (v; s) assert(v == cast(short) 0xabab); }
D
/* DSFML - The Simple and Fast Multimedia Library for D Copyright (c) 2013 - 2015 Jeremy DeHaan (dehaan.jeremiah@gmail.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution */ module dsfml.window.window; import dsfml.window.event; import dsfml.window.videomode; import dsfml.window.contextsettings; import dsfml.window.windowhandle; import dsfml.system.vector2; import dsfml.system.err; /** *Window that serves as a target for OpenGL rendering. * *Window is the main class of the Window module. * *It defines an OS window that is able to receive an OpenGL rendering. * *A Window can create its own new window, or be embedded into an already existing control using the create(handle) function. This can be useful for embedding an OpenGL rendering area into a view which is part of a bigger GUI with existing windows, controls, etc. It can also serve as embedding an OpenGL rendering area into a window created by another (probably richer) GUI library like Qt or wxWidgets. * *The Window class provides a simple interface for manipulating the window: move, resize, show/hide, control mouse cursor, etc. It also provides event handling through its pollEvent() and waitEvent() functions. * *Note that OpenGL experts can pass their own parameters (antialiasing level, bits for the depth and stencil buffers, etc.) to the OpenGL context attached to the window, with the ContextSettings structure which is passed as an optional argument when creating the window. */ class Window { //Choices for window style enum Style { None = 0, Titlebar = 1 << 0, Resize = 1 << 1, Close = 1 << 2, Fullscreen = 1 << 3, DefaultStyle = Titlebar | Resize | Close } package sfWindow* sfPtr; private bool m_needsToDelete = true; //Default constructor this() { sfPtr = sfWindow_construct(); } //Construct a window without calling sfWindow_construct //This allows a RenderWindow to be created without creating a Window first protected this(int) { m_needsToDelete = false; } //allows RenderWindow to delete the Window pointer when it is created //so that there are not both instances. protected void deleteWindowPtr() { sfWindow_destroy(sfPtr); m_needsToDelete = false; } //TODO: Reduce to one constructor with a template parameter for the string types. Use sfWindow_createUnicode in case it has unicode in the title. //in order to envoke this constructor when using string literals, be sure to use the d suffix, i.e. "素晴らしい !"d ///Construct a new window. /// ///This constructor creates the window with the size and pixel depth defined in mode. An optional style can be passed to customize the look and behaviour of the window (borders, title bar, resizable, closable, ...). If style contains Style::Fullscreen, then mode must be a valid video mode. /// ///The fourth parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. /// ///Params: /// mode = Video mode to use (defines the width, height and depth of the rendering area of the window). /// title = Title of the window. /// style = Window style. /// settings = Additional settings for the underlying OpenGL context. this(T)(VideoMode mode, immutable(T)[] title, Style style = Style.DefaultStyle, ref const(ContextSettings) settings = ContextSettings.Default) if (is(T == dchar)||is(T == wchar)||is(T == char)) { import dsfml.system.string; this(); create(mode, title, style, settings); } ///Construct the window from an existing control. /// ///Use this constructor if you want to create an OpenGL rendering area into an already existing control. /// ///The second parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. /// ///Params: /// handle = Platform-specific handle of the control. /// settings = Additional settings for the underlying OpenGL context. this(WindowHandle handle, ref const(ContextSettings) settings = ContextSettings.Default) { this(); create(handle, settings); } ~this() { import dsfml.system.config; //this takes care of not freeing a null pointer due to inheritance //(RenderWindow does not create the inherited sfWindow) if(m_needsToDelete) { mixin(destructorOutput); sfWindow_destroy(sfPtr); } } ///Get's or set's the window's position. /// ///This function only works for top-level windows (i.e. it will be ignored for windows created from the handle of a child window/control). @property { Vector2i position(Vector2i newPosition) { sfWindow_setPosition(sfPtr,newPosition.x, newPosition.y); return newPosition; } Vector2i position() { Vector2i temp; sfWindow_getPosition(sfPtr,&temp.x, &temp.y); return temp; } } ///Get's or set's the window's size. @property { Vector2u size(Vector2u newSize) { sfWindow_setSize(sfPtr, newSize.x, newSize.y); return newSize; } Vector2u size() { Vector2u temp; sfWindow_getSize(sfPtr,&temp.x, &temp.y); return temp; } } ///Activate or deactivate the window as the current target for OpenGL rendering. /// ///A window is active only on the current thread, if you want to make it active on another thread you have to deactivate it on the previous thread first if it was active. Only one window can be active on a thread at a time, thus the window previously active (if any) automatically gets deactivated. /// ///Params: /// active = True to activate, false to deactivate. /// ///Returns: True if operation was successful, false otherwise. bool setActive(bool active) { import dsfml.system.string; bool toReturn = sfWindow_setActive(sfPtr, active); err.write(toString(sfErr_getOutput())); return toReturn; } ///Limit the framerate to a maximum fixed frequency. /// ///If a limit is set, the window will use a small delay after each call to display() to ensure that the current frame lasted long enough to match the framerate limit. SFML will try to match the given limit as much as it can, but since it internally uses sf::sleep, whose precision depends on the underlying OS, the results may be a little unprecise as well (for example, you can get 65 FPS when requesting 60). /// ///Params: /// limit = Framerate limit, in frames per seconds (use 0 to disable limit). void setFramerateLimit(uint limit) { sfWindow_setFramerateLimit(sfPtr, limit); } ///Change the window's icon. /// ///pixels must be an array of width x height pixels in 32-bits RGBA format. /// ///The OS default icon is used by default. /// ///Params: /// width = Icon's width, in pixels. /// height = Icon's height, in pixels. /// pixels = Pointer to the array of pixels in memory. void setIcon(uint width, uint height, const(ubyte[]) pixels) { sfWindow_setIcon(sfPtr,width, height, pixels.ptr); } ///Change the joystick threshold. /// ///The joystick threshold is the value below which no JoystickMoved event will be generated. /// ///The threshold value is 0.1 by default. /// ///Params: /// threshold = New threshold, in the range [0, 100]. void setJoystickThreshhold(float threshhold) { sfWindow_setJoystickThreshold(sfPtr, threshhold); } ///Enable or disable automatic key-repeat. /// ///If key repeat is enabled, you will receive repeated KeyPressed events while keeping a key pressed. If it is disabled, you will only get a single event when the key is pressed. /// ///Key repeat is enabled by default. /// ///Params: /// enabled = True to enable, false to disable. void setKeyRepeatEnabled(bool enabled) { enabled ? sfWindow_setKeyRepeatEnabled(sfPtr,true):sfWindow_setKeyRepeatEnabled(sfPtr,false); } ///Show or hide the mouse cursor. /// ///The mouse cursor is visible by default. /// ///Params: /// visible = True to show the mouse cursor, false to hide it. void setMouseCursorVisible(bool visible) { visible ? sfWindow_setMouseCursorVisible(sfPtr,true): sfWindow_setMouseCursorVisible(sfPtr,false); } //Cannot use templates here as template member functions cannot be virtual. ///Change the title of the window. /// ///Params: /// title = New title. void setTitle(string newTitle) { import dsfml.system.string; sfWindow_setUnicodeTitle(sfPtr, toStringz(stringConvert!(char, dchar)(newTitle))); } ///Change the title of the window. /// ///Params: /// title = New title. void setTitle(wstring newTitle) { import dsfml.system.string; sfWindow_setUnicodeTitle(sfPtr, toStringz(stringConvert!(wchar, dchar)(newTitle))); } ///Change the title of the window. /// ///Params: /// title = New title. void setTitle(dstring newTitle) { import dsfml.system.string; sfWindow_setUnicodeTitle(sfPtr, toStringz(newTitle)); } ///Show or hide the window. /// ///The window is shown by default. /// ///Params: /// visible = True to show the window, false to hide it. void setVisible(bool visible) { sfWindow_setVisible(sfPtr,visible); } ///Enable or disable vertical synchronization. /// ///Activating vertical synchronization will limit the number of frames displayed to the refresh rate of the monitor. This can avoid some visual artifacts, and limit the framerate to a good value (but not constant across different computers). /// ///Vertical synchronization is disabled by default. /// ///Params: /// enabled = True to enable v-sync, false to deactivate it. void setVerticalSyncEnabled(bool enabled) { enabled ? sfWindow_setVerticalSyncEnabled(sfPtr, true): sfWindow_setVerticalSyncEnabled(sfPtr, false); } ///Get the settings of the OpenGL context of the window. /// ///Note that these settings may be different from what was passed to the constructor or the create() function, if one or more settings were not supported. In this case, SFML chose the closest match. /// ///Returns: Structure containing the OpenGL context settings. ContextSettings getSettings() const { ContextSettings temp; sfWindow_getSettings(sfPtr,&temp.depthBits, &temp.stencilBits, &temp.antialiasingLevel, &temp.majorVersion, &temp.minorVersion); return temp; } ///Get the OS-specific handle of the window. /// ///The type of the returned handle is sf::WindowHandle, which is a typedef to the handle type defined by the OS. You shouldn't need to use this function, unless you have very specific stuff to implement that SFML doesn't support, or implement a temporary workaround until a bug is fixed. /// ///Returns: System handle of the window. WindowHandle getSystemHandle() const { return sfWindow_getSystemHandle(sfPtr); } //TODO: Consider adding these methods. //void onCreate //void onResize ///Close the window and destroy all the attached resources. /// ///After calling this function, the Window instance remains valid and you can call create() to recreate the window. All other functions such as pollEvent() or display() will still work (i.e. you don't have to test isOpen() every time), and will have no effect on closed windows. void close() { sfWindow_close(sfPtr); } //Cannot use templates here as template member functions cannot be virtual. ///Create (or recreate) the window. /// ///If the window was already created, it closes it first. If style contains Style::Fullscreen, then mode must be a valid video mode. /// ///The fourth parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. void create(VideoMode mode, string title, Style style = Style.DefaultStyle, ref const(ContextSettings) settings = ContextSettings.Default) { import dsfml.system.string; sfWindow_createFromSettings(sfPtr, mode.width, mode.height, mode.bitsPerPixel, toStringz(stringConvert!(char,dchar)(title)), style, settings.depthBits, settings.stencilBits, settings.antialiasingLevel, settings.majorVersion, settings.minorVersion); err.write(toString(sfErr_getOutput())); } ///Create (or recreate) the window. /// ///If the window was already created, it closes it first. If style contains Style::Fullscreen, then mode must be a valid video mode. /// ///The fourth parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. void create(VideoMode mode, wstring title, Style style = Style.DefaultStyle, ref const(ContextSettings) settings = ContextSettings.Default) { import dsfml.system.string; sfWindow_createFromSettings(sfPtr, mode.width, mode.height, mode.bitsPerPixel, toStringz(stringConvert!(wchar,dchar)(title)), style, settings.depthBits, settings.stencilBits, settings.antialiasingLevel, settings.majorVersion, settings.minorVersion); err.write(toString(sfErr_getOutput())); } ///Create (or recreate) the window. /// ///If the window was already created, it closes it first. If style contains Style::Fullscreen, then mode must be a valid video mode. /// ///The fourth parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. void create(VideoMode mode, dstring title, Style style = Style.DefaultStyle, ref const(ContextSettings) settings = ContextSettings.Default) { import dsfml.system.string; sfWindow_createFromSettings(sfPtr, mode.width, mode.height, mode.bitsPerPixel, toStringz(title), style, settings.depthBits, settings.stencilBits, settings.antialiasingLevel, settings.majorVersion, settings.minorVersion); err.write(toString(sfErr_getOutput())); } ///Create (or recreate) the window from an existing control. /// ///Use this function if you want to create an OpenGL rendering area into an already existing control. If the window was already created, it closes it first. /// ///The second parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. void create(WindowHandle handle, ref const(ContextSettings) settings = ContextSettings.Default) { import dsfml.system.string; sfWindow_createFromHandle(sfPtr, handle, settings.depthBits,settings.stencilBits, settings.antialiasingLevel, settings.majorVersion, settings.minorVersion); err.write(toString(sfErr_getOutput())); } ///Display on screen what has been rendered to the window so far. /// ///This function is typically called after all OpenGL rendering has been done for the current frame, in order to show it on screen. void display() { sfWindow_display(sfPtr); } ///Tell whether or not the window is open. /// ///This function returns whether or not the window exists. Note that a hidden window (setVisible(false)) is open (therefore this function would return true). /// ///Returns: True if the window is open, false if it has been closed. bool isOpen() { return (sfWindow_isOpen(sfPtr)); } ///Pop the event on top of the event queue, if any, and return it. /// ///This function is not blocking: if there's no pending event then it will return false and leave event unmodified. Note that more than one event may be present in the event queue, thus you should always call this function in a loop to make sure that you process every pending event. /// ///Params: /// event = Event to be returned. /// ///Returns: True if an event was returned, or false if the event queue was empty. bool pollEvent(ref Event event) { return (sfWindow_pollEvent(sfPtr, &event)); } ///Wait for an event and return it. /// ///This function is blocking: if there's no pending event then it will wait until an event is received. After this function returns (and no error occured), the event object is always valid and filled properly. This function is typically used when you have a thread that is dedicated to events handling: you want to make this thread sleep as long as no new event is received. /// ///Params: /// event = Event to be returned. /// ///Returns: False if any error occured. bool waitEvent(ref Event event) { return (sfWindow_waitEvent(sfPtr, &event)); } //TODO: Clean this shit up. The names are so bad. :( //Gives a way for RenderWindow to send its mouse position protected Vector2i getMousePosition()const { Vector2i temp; sfMouse_getPosition(sfPtr,&temp.x, &temp.y); return temp; } //A method for the Mouse class to use in order to get the mouse position relative to the window package Vector2i mouse_getPosition()const { return getMousePosition(); } //Gives a way for Render Window to set its mouse position protected void setMousePosition(Vector2i pos) const { sfMouse_setPosition(pos.x, pos.y, sfPtr); } //A method for the mouse class to use package void mouse_SetPosition(Vector2i pos) const { setMousePosition(pos); } //Circumvents the package restriction allowing Texture to get the internal pointer protected static void* getWindowPointer(Window window) { return window.sfPtr; } } unittest { version(DSFML_Unittest_Window) { import std.stdio; import dsfml.graphics.image; writeln("Unit test for Window class."); //constructor auto window = new Window(VideoMode(800,600),"Test Window"); //perform each window call Vector2u windowSize = window.size; windowSize.x = 1000; windowSize.y = 1000; window.size = windowSize; Vector2i windowPosition = window.position; windowPosition.x = 100; windowPosition.y = 100; window.position = windowPosition; window.setTitle("thing");//uses the first set title window.setTitle("素晴らしい !");//forces the dstring override and uses unicode window.setActive(true); window.setJoystickThreshhold(1); window.setVisible(true); window.setFramerateLimit(60); window.setMouseCursorVisible(true); window.setVerticalSyncEnabled(true); auto settings = window.getSettings(); auto image = new Image(); image.loadFromFile("res/TestImage.png"); window.setIcon(image.getSize().x,image.getSize().x,image.getPixelArray()); if(window.isOpen()) { Event event; if(window.pollEvent(event)) { } //requires users input if(window.waitEvent(event)) { } window.display(); } window.close(); } } package extern(C) struct sfWindow; private extern(C): //Construct a new window sfWindow* sfWindow_construct(); //Construct a new window (with a UTF-32 title) void sfWindow_createFromSettings(sfWindow* window, uint width, uint height, uint bitsPerPixel, const(dchar)* title, int style, uint depthBits, uint stencilBits, uint antialiasingLevel, uint majorVersion, uint minorVersion); //Construct a window from an existing control void sfWindow_createFromHandle(sfWindow* window, WindowHandle handle, uint depthBits, uint stencilBits, uint antialiasingLevel, uint majorVersion, uint minorVersion); // Destroy a window void sfWindow_destroy(sfWindow* window); //Close a window and destroy all the attached resources void sfWindow_close(sfWindow* window); //Tell whether or not a window is opened bool sfWindow_isOpen(const(sfWindow)* window); //Get the settings of the OpenGL context of a window void sfWindow_getSettings(const(sfWindow)* window, uint* depthBits, uint* stencilBits, uint* antialiasingLevel, uint* majorVersion, uint* minorVersion); //Pop the event on top of event queue, if any, and return it bool sfWindow_pollEvent(sfWindow* window, Event* event); //Wait for an event and return it bool sfWindow_waitEvent(sfWindow* window, Event* event); //Get the position of a window void sfWindow_getPosition(const(sfWindow)* window, int* x, int* y); //Change the position of a window on screen void sfWindow_setPosition(sfWindow* window, int x, int y); //Get the size of the rendering region of a window void sfWindow_getSize(const(sfWindow)* window, uint* width, uint* height); //Change the size of the rendering region of a window void sfWindow_setSize(sfWindow* window, uint width, uint height); //Change the title of a window void sfWindow_setTitle(sfWindow* window, const(char)* title); //Change the title of a window (with a UTF-32 string) void sfWindow_setUnicodeTitle(sfWindow* window, const(dchar)* title); //Change a window's icon void sfWindow_setIcon(sfWindow* window, uint width, uint height, const(ubyte)* pixels); //Show or hide a window void sfWindow_setVisible(sfWindow* window, bool visible); //Show or hide the mouse cursor void sfWindow_setMouseCursorVisible(sfWindow* window, bool visible); //Enable or disable vertical synchronization void sfWindow_setVerticalSyncEnabled(sfWindow* window, bool enabled); //Enable or disable automatic key-repeat void sfWindow_setKeyRepeatEnabled(sfWindow* window, bool enabled); //Activate or deactivate a window as the current target for OpenGL rendering bool sfWindow_setActive(sfWindow* window, bool active); //Display on screen what has been rendered to the window so far void sfWindow_display(sfWindow* window); //Limit the framerate to a maximum fixed frequency void sfWindow_setFramerateLimit(sfWindow* window, uint limit); //Change the joystick threshold void sfWindow_setJoystickThreshold(sfWindow* window, float threshold); //Get the OS-specific handle of the window WindowHandle sfWindow_getSystemHandle(const(sfWindow)* window); void sfMouse_getPosition(const(sfWindow)* relativeTo, int* x, int* y); void sfMouse_setPosition(int x, int y, const(sfWindow)* relativeTo); const(char)* sfErr_getOutput();
D
module android.java.android.opengl.EGLConfig_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; final class EGLConfig : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import bool equals(IJavaObject); @Import int getHandle(); @Import long getNativeHandle(); @Import int hashCode(); @Import import0.Class getClass(); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/opengl/EGLConfig;"; }
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 309 80 2 0 35 56 72 -112 1699 3.79999995 3.9000001 0.0952380952 intrusives, diabase 217 85 16 60 35 56 72 -112 1697 31 31 0.0952380952 extrusives, basalt 238 77 6 77 15 60 64.5999985 -127.900002 1745 11.6000004 11.8000002 0.0444444444 sediments, redbeds 219.300003 68.9000015 2.79999995 90.9000015 15 60 64.5 -128.5 343 5.5999999 5.5999999 0.0444444444 sediments, redbeds 142.300003 67.9000015 10.3000002 17 20 47 35.5 -106.099998 1004 11.1000004 11.1000004 0.0740740741 intrusives, extrusives 256.399994 77.0999985 13 0 2 56 46 -112 3368 21.7000008 21.7000008 0.037037037 extrusives, intrusives 185.300003 80 4.30000019 65.0999985 35 39 29.1000004 -103.199997 7660 5.4000001 5.4000001 0.25 intrusives, gabbro 211 81 13 27 29 39 37.4000015 -105 3151 16 20 0.1 intrusives 117.699997 85.5 2.4000001 0 34 42 55.9000015 -63.4000015 3235 3.4000001 4 0.25 metamorphics, impact melt rocks 164 83 5.80000019 32.2000008 15 65 58.5 -119.300003 7737 10 10 0.04 sediments, dolomite 240 82 34 55 2 65 45 -110 2808 49 58 0.0317460317 intrusives, porphyry 144.199997 83.9000015 7.69999981 40.4000015 38 50 43 -109.5 1138 8.80000019 11.6999998 0.166666667 sediments
D
/** License: $(HTTP www.apache.org/licenses/LICENSE-2.0, Apache-2.0) */ /** * Error Functions and Normal Distribution. * * Copyright: Based on the CEPHES math library, which is * Copyright (C) 1994 Stephen L. Moshier (moshier@world.std.com). * Authors: Stephen L. Moshier, ported to D by Don Clugston and David Nadlinger. Adopted to Mir by Ilia Ki. */ /** * Macros: * NAN = $(RED NAN) * INTEGRAL = &#8747; * POWER = $1<sup>$2</sup> * <caption>Special Values</caption> * $0</table> */ module mir.math.func.normal; import std.traits: isFloatingPoint; import mir.math.common; @safe pure nothrow @nogc: /// T normalPDF(T)(const T z) if (isFloatingPoint!T) { import mir.math.common: sqrt, exp; return T(SQRT2PIINV) * exp(z * z * -0.5); } /// ditto T normalPDF(T)(const T x, const T mean, const T stdDev) if (isFloatingPoint!T) { return normalPDF((x - mean) / stdDev) / stdDev; } /++ Computes the normal distribution cumulative distribution function (CDF). The normal (or Gaussian, or bell-shaped) distribution is defined as: normalDist(x) = 1/$(SQRT) &pi; $(INTEGRAL -$(INFINITY), x) exp( - $(POWER t, 2)/2) dt = 0.5 + 0.5 * erf(x/sqrt(2)) = 0.5 * erfc(- x/sqrt(2)) To maintain accuracy at high values of x, use normalCDF(x) = 1 - normalCDF(-x). Accuracy: Within a few bits of machine resolution over the entire range. References: $(LINK http://www.netlib.org/cephes/ldoubdoc.html), G. Marsaglia, "Evaluating the Normal Distribution", Journal of Statistical Software <b>11</b>, (July 2004). +/ T normalCDF(T)(const T a) if (isFloatingPoint!T) { pragma(inline, false); import mir.math.constant: SQRT1_2; T x = a * T(SQRT1_2); T z = fabs(x); if (z < 1) { return 0.5f + 0.5f * erf(x); } else { T y = 0.5f * erfce(z); /* Multiply by exp(-x^2 / 2) */ z = expx2(a, -1); y = y * sqrt(z); if (y != y) y = 0; if (x > 0) y = 1 - y; return y; } } /// ditto T normalCDF(T)(const T x, const T mean, const T stdDev) if (isFloatingPoint!T) { return normalCDF((x - mean) / stdDev); } version(mir_test) @safe unittest { assert(fabs(normalCDF(1.0L) - (0.841344746068543))< 0.0000000000000005); assert(normalCDF(double.infinity) == 1); assert(normalCDF(100.0) == 1); assert(normalCDF(8.0) < 1); assert(normalCDF(-double.infinity) == 0); assert(normalCDF(-100.0) == 0); assert(normalCDF(-8.0) > 0); } /// T normalInvCDF(T)(const T p) in { assert(p >= 0 && p <= 1, "Domain error"); } do { pragma(inline, false); if (p <= 0 || p >= 1) { if (p == 0) return -T.infinity; if ( p == 1 ) return T.infinity; return T.nan; // domain error } int code = 1; T y = p; if ( y > (1 - T(EXP_2)) ) { y = 1 - y; code = 0; } T x, z, y2, x0, x1; if ( y > T(EXP_2) ) { y = y - 0.5L; y2 = y * y; x = y + y * (y2 * rationalPoly!(P0, Q0)(y2)); return x * double(SQRT2PI); } x = sqrt( -2 * log(y) ); x0 = x - log(x)/x; z = 1/x; if ( x < 8 ) { x1 = z * rationalPoly!(P1, Q1)(z); } else if ( x < 32 ) { x1 = z * rationalPoly!(P2, Q2)(z); } else { x1 = z * rationalPoly!(P3, Q3)(z); } x = x0 - x1; if ( code != 0 ) { x = -x; } return x; } /// ditto T normalInvCDF(T)(const T p, const T mean, const T stdDev) if (isFloatingPoint!T) { return normalInvCDF(p) * stdDev + mean; } /// version(mir_test) @safe unittest { import std.math: feqrel; // TODO: Use verified test points. // The values below are from Excel 2003. assert(fabs(normalInvCDF(0.001) - (-3.09023230616779))< 0.00000000000005); assert(fabs(normalInvCDF(1e-50) - (-14.9333375347885))< 0.00000000000005); assert(feqrel(normalInvCDF(0.999L), -normalInvCDF(0.001L)) > real.mant_dig-6); // Excel 2003 gets all the following values wrong! assert(normalInvCDF(0.0) == -real.infinity); assert(normalInvCDF(1.0) == real.infinity); assert(normalInvCDF(0.5) == 0); // (Excel 2003 returns norminv(p) = -30 for all p < 1e-200). // The value tested here is the one the function returned in Jan 2006. real unknown1 = normalInvCDF(1e-250L); assert( fabs(unknown1 -(-33.79958617269L) ) < 0.00000005); } /// enum real SQRT2PI = 2.50662827463100050241576528481104525L; // sqrt(2pi) /// enum real SQRT2PIINV = 1 / SQRT2PI; // 1 / sqrt(2pi) package(mir) { enum real EXP_2 = 0.135335283236612691893999494972484403L; /* exp(-2) */ /// enum T MAXLOG(T) = log(T.max); /// enum T MINLOG(T) = log(T.min_normal * T.epsilon); // log(smallest denormal); } /** * Exponential of squared argument * * Computes y = exp(x*x) while suppressing error amplification * that would ordinarily arise from the inexactness of the * exponential argument x*x. * * If sign < 0, the result is inverted; i.e., y = exp(-x*x) . * * ACCURACY: * Relative error: * arithmetic domain # trials peak rms * IEEE -106.566, 106.566 10^5 1.6e-19 4.4e-20 */ package(mir) T expx2(T)(const T x_, int sign) { /* Cephes Math Library Release 2.9: June, 2000 Copyright 2000 by Stephen L. Moshier */ const T M = 32_768.0; const T MINV = 3.0517578125e-5L; T x = fabs(x_); if (sign < 0) x = -x; /* Represent x as an exact multiple of M plus a residual. M is a power of 2 chosen so that exp(m * m) does not overflow or underflow and so that |x - m| is small. */ T m = MINV * floor(M * x + 0.5f); T f = x - m; /* x^2 = m^2 + 2mf + f^2 */ T u = m * m; T u1 = 2 * m * f + f * f; if (sign < 0) { u = -u; u1 = -u1; } if (u + u1 > MAXLOG!T) return T.infinity; /* u is exact, u1 is small. */ return exp(u) * exp(u1); } /** Exponentially scaled erfc function exp(x^2) erfc(x) valid for x > 1. Use with ndtrl and expx2l. */ package(mir) T erfce(T)(const T x) { T y = 1 / x; if (x < 8) { return rationalPoly!(P, Q)(y); } else { return y * rationalPoly!(R, S)(y * y); } } private T rationalPoly(alias numerator, alias denominator, T)(const T x) pure nothrow { return x.poly!numerator / x.poly!denominator; } private T poly(alias vec, T)(const T x) { import mir.internal.utility: Iota; T y = T(vec[$ - 1]); foreach_reverse(i; Iota!(vec.length - 1)) { y *= x; y += T(vec[i]); } return y; } private { /* erfc(x) = exp(-x^2) P(1/x)/Q(1/x) 1/8 <= 1/x <= 1 Peak relative error 5.8e-21 */ immutable real[10] P = [ -0x1.30dfa809b3cc6676p-17, 0x1.38637cd0913c0288p+18, 0x1.2f015e047b4476bp+22, 0x1.24726f46aa9ab08p+25, 0x1.64b13c6395dc9c26p+27, 0x1.294c93046ad55b5p+29, 0x1.5962a82f92576dap+30, 0x1.11a709299faba04ap+31, 0x1.11028065b087be46p+31, 0x1.0d8ef40735b097ep+30 ]; immutable real[11] Q = [ 0x1.14d8e2a72dec49f4p+19, 0x1.0c880ff467626e1p+23, 0x1.04417ef060b58996p+26, 0x1.404e61ba86df4ebap+28, 0x1.0f81887bc82b873ap+30, 0x1.4552a5e39fb49322p+31, 0x1.11779a0ceb2a01cep+32, 0x1.3544dd691b5b1d5cp+32, 0x1.a91781f12251f02ep+31, 0x1.0d8ef3da605a1c86p+30, 1.0 ]; /* erfc(x) = exp(-x^2) 1/x R(1/x^2) / S(1/x^2) 1/128 <= 1/x < 1/8 Peak relative error 1.9e-21 */ immutable real[5] R = [ 0x1.b9f6d8b78e22459ep-6, 0x1.1b84686b0a4ea43ap-1, 0x1.b8f6aebe96000c2ap+1, 0x1.cb1dbedac27c8ec2p+2, 0x1.cf885f8f572a4c14p+1 ]; immutable real[6] S = [ 0x1.87ae3cae5f65eb5ep-5, 0x1.01616f266f306d08p+0, 0x1.a4abe0411eed6c22p+2, 0x1.eac9ce3da600abaap+3, 0x1.5752a9ac2faebbccp+3, 1.0 ]; /* erf(x) = x P(x^2)/Q(x^2) 0 <= x <= 1 Peak relative error 7.6e-23 */ immutable real[7] T = [ 0x1.0da01654d757888cp+20, 0x1.2eb7497bc8b4f4acp+17, 0x1.79078c19530f72a8p+15, 0x1.4eaf2126c0b2c23p+11, 0x1.1f2ea81c9d272a2ep+8, 0x1.59ca6e2d866e625p+2, 0x1.c188e0b67435faf4p-4 ]; immutable real[7] U = [ 0x1.dde6025c395ae34ep+19, 0x1.c4bc8b6235df35aap+18, 0x1.8465900e88b6903ap+16, 0x1.855877093959ffdp+13, 0x1.e5c44395625ee358p+9, 0x1.6a0fed103f1c68a6p+5, 1.0 ]; } package(mir) F erf(F)(const F x) if(isFloatingPoint!F) { if (x == 0) return x; // deal with negative zero if (x == -F.infinity) return -1; if (x == F.infinity) return 1; immutable ax = fabs(x); if (ax > 1) return 1 - erfc(x); return x * rationalPoly!(T, U)(x * x); } /** * Complementary error function * * erfc(x) = 1 - erf(x), and has high relative accuracy for * values of x far from zero. (For values near zero, use erf(x)). * * 1 - erf(x) = 2/ $(SQRT)(&pi;) * $(INTEGRAL x, $(INFINITY)) exp( - $(POWER t, 2)) dt * * * For small x, erfc(x) = 1 - erf(x); otherwise rational * approximations are computed. * * A special function expx2(x) is used to suppress error amplification * in computing exp(-x^2). */ package(mir) T erfc(T)(const T a) { if (a == T.infinity) return 0; if (a == -T.infinity) return 2; immutable x = (a < 0) ? -a : a; if (x < 1) return 1 - erf(a); if (-a * a < -MAXLOG!T) { // underflow if (a < 0) return 2; else return 0; } T y; immutable z = expx2(a, -1); y = 1 / x; if (x < 8) y = z * rationalPoly!(P, Q)(y); else y = z * y * rationalPoly!(R, S)(y * y); if (a < 0) y = 2 - y; if (y == 0) { // underflow if (a < 0) return 2; else return 0; } return y; } private: static immutable real[8] P0 = [ -0x1.758f4d969484bfdcp-7, 0x1.53cee17a59259dd2p-3, -0x1.ea01e4400a9427a2p-1, 0x1.61f7504a0105341ap+1, -0x1.09475a594d0399f6p+2, 0x1.7c59e7a0df99e3e2p+1, -0x1.87a81da52edcdf14p-1, 0x1.1fb149fd3f83600cp-7 ]; static immutable real[8] Q0 = [ -0x1.64b92ae791e64bb2p-7, 0x1.7585c7d597298286p-3, -0x1.40011be4f7591ce6p+0, 0x1.1fc067d8430a425ep+2, -0x1.21008ffb1e7ccdf2p+3, 0x1.3d1581cf9bc12fccp+3, -0x1.53723a89fd8f083cp+2, 1.0 ]; static immutable real[10] P1 = [ 0x1.20ceea49ea142f12p-13, 0x1.cbe8a7267aea80bp-7, 0x1.79fea765aa787c48p-2, 0x1.d1f59faa1f4c4864p+1, 0x1.1c22e426a013bb96p+4, 0x1.a8675a0c51ef3202p+5, 0x1.75782c4f83614164p+6, 0x1.7a2f3d90948f1666p+6, 0x1.5cd116ee4c088c3ap+5, 0x1.1361e3eb6e3cc20ap+2 ]; static immutable real[10] Q1 = [ 0x1.3a4ce1406cea98fap-13, 0x1.f45332623335cda2p-7, 0x1.98f28bbd4b98db1p-2, 0x1.ec3b24f9c698091cp+1, 0x1.1cc56ecda7cf58e4p+4, 0x1.92c6f7376bf8c058p+5, 0x1.4154c25aa47519b4p+6, 0x1.1b321d3b927849eap+6, 0x1.403a5f5a4ce7b202p+4, 1.0 ]; static immutable real[8] P2 = [ 0x1.8c124a850116a6d8p-21, 0x1.534abda3c2fb90bap-13, 0x1.29a055ec93a4718cp-7, 0x1.6468e98aad6dd474p-3, 0x1.3dab2ef4c67a601cp+0, 0x1.e1fb3a1e70c67464p+1, 0x1.b6cce8035ff57b02p+2, 0x1.9f4c9e749ff35f62p+1 ]; static immutable real[8] Q2 = [ 0x1.af03f4fc0655e006p-21, 0x1.713192048d11fb2p-13, 0x1.4357e5bbf5fef536p-7, 0x1.7fdac8749985d43cp-3, 0x1.4a080c813a2d8e84p+0, 0x1.c3a4b423cdb41bdap+1, 0x1.8160694e24b5557ap+2, 1.0 ]; static immutable real[8] P3 = [ -0x1.55da447ae3806168p-34, -0x1.145635641f8778a6p-24, -0x1.abf46d6b48040128p-17, -0x1.7da550945da790fcp-11, -0x1.aa0b2a31157775fap-8, 0x1.b11d97522eed26bcp-3, 0x1.1106d22f9ae89238p+1, 0x1.029a358e1e630f64p+1 ]; static immutable real[8] Q3 = [ -0x1.74022dd5523e6f84p-34, -0x1.2cb60d61e29ee836p-24, -0x1.d19e6ec03a85e556p-17, -0x1.9ea2a7b4422f6502p-11, -0x1.c54b1e852f107162p-8, 0x1.e05268dd3c07989ep-3, 0x1.239c6aff14afbf82p+1, 1.0 ];
D
module socks5d.packets; import std.bitmanip; import std.conv : to; import std.traits; import socks5d.driver; import socks5d.factory : logger; enum AuthMethod : ubyte { NOAUTH = 0x00, GSSAPI = 0x01, AUTH = 0x02, NOTAVAILABLE = 0xFF } enum AuthStatus : ubyte { YES = 0x00, NO = 0x01, } enum RequestCmd : ubyte { CONNECT = 0x01, BIND = 0x02, UDPASSOCIATE = 0x03 } enum AddressType : ubyte { IPV4 = 0x01, DOMAIN = 0x03, IPV6 = 0x04 } enum ReplyCode : ubyte { SUCCEEDED = 0x00, FAILURE = 0x01, NOTALLOWED = 0x02, NETWORK_UNREACHABLE = 0x03, HOST_UNREACHABLE = 0x04, CONNECTION_REFUSED = 0x05, TTL_EXPIRED = 0x06, CMD_NOTSUPPORTED = 0x07, ADDR_NOTSUPPORTED = 0x08 } string printFields(T)(T args) { import std.format : format; string result = typeid(T).toString() ~ ": "; auto values = args.tupleof; size_t max; size_t temp; foreach (index, value; values) { temp = T.tupleof[index].stringof.length; if (max < temp) max = temp; } max += 1; foreach (index, value; values) { if (T.tupleof[index].stringof == "connID") { continue; } result ~= format("%s=%s ", T.tupleof[index].stringof, value); } return result; } class SocksException : Exception { import std.exception; /// mixin basicExceptionCtors; } class AuthException : Exception { import std.exception; /// mixin basicExceptionCtors; } class RequestException : SocksException { public: ReplyCode replyCode; this(ReplyCode replyCode, string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null) @safe pure nothrow { super(msg, file, line, next); this.replyCode = replyCode; } } mixin template Socks5Packet() { uint connID; // connection ID } mixin template Socks5IncomingPacket() { mixin Socks5Packet; ubyte[1] ver = [0x05]; //should be 0x05 (or 0x01 for auth) ubyte getVersion() { return ver[0]; } @safe void receiveVersion(Connection conn, ubyte requiredVersion = 0x05) { import std.conv : to; conn.receive(ver); logger.trace("[%d] Received version: %d", connID, ver[0]); if (ver[0] != requiredVersion) { throw new SocksException("Incorrect protocol version: " ~ ver[0].to!string); } } @safe void receiveBuffer(Connection conn, ref ubyte[1] len, ref ubyte[] buf) { conn.receive(len); logger.trace("[%d] Received buffer length: %d", connID, len[0]); buf = new ubyte[len[0]]; conn.receive(buf); } } mixin template Socks5OutgoingPacket(TPacketFieldsStruct) { mixin Socks5Packet; private union { TPacketFieldsStruct fields; ubyte[fields.sizeof] buffer; } void send(Connection conn) { conn.send(buffer); } } enum bool isSocks5IncomingPacket(P) = hasMember!(P, "receive"); enum bool isSocks5OutgoingPacket(P) = hasMember!(P, "send"); struct RequestPacket { mixin Socks5IncomingPacket; import std.socket : InternetAddress; RequestCmd[1] cmd; ubyte[1] rsv; AddressType[1] atyp; ubyte[] dstaddr; ubyte[2] dstport; private string host; // fill structure with data from socket void receive(Connection conn) { receiveVersion(conn); readRequestCommand(conn); conn.receive(rsv); if (rsv[0] != 0x00) { throw new RequestException(ReplyCode.FAILURE, "Received incorrect rsv byte"); } readAddressAndPort(conn); } ushort getPort() { return dstport.bigEndianToNative!ushort; } string getHost() { return host; } private void readRequestCommand(Connection conn) { conn.receive(cast(ubyte[1])cmd); debug logger.trace("[%d] Received request command: %s", connID, cmd[0]); if (cmd[0] != RequestCmd.CONNECT) { throw new RequestException(ReplyCode.CMD_NOTSUPPORTED, "Only CONNECT method is supported, given " ~ cmd[0].to!string); } } @trusted private void readAddressAndPort(Connection conn) { import std.socket : InternetAddress; conn.receive(cast(ubyte[1])atyp); switch (atyp[0]) { case AddressType.IPV4: debug logger.trace("[%d] Address type: IPV4", connID); dstaddr = new ubyte[4]; conn.receive(dstaddr); conn.receive(dstport); host = InternetAddress.addrToString(dstaddr.read!uint); break; case AddressType.DOMAIN: debug logger.trace("[%d] Adress type: DOMAIN", connID); ubyte[1] length; receiveBuffer(conn, length, dstaddr); conn.receive(dstport); host = stringDstaddr(); logger.debugN("[%d] Request connect to %s", connID, host); break; case AddressType.IPV6: debug logger.trace("[%d] Address type: IPV6", connID); throw new RequestException(ReplyCode.ADDR_NOTSUPPORTED, "AddressType=ipv6 is not supported"); default: debug logger.trace("[%d] Address type: UNKNOWN", connID); throw new RequestException(ReplyCode.ADDR_NOTSUPPORTED, "Unknown AddressType: " ~ atyp[0]); } } @trusted private string stringDstaddr() { return cast(string)dstaddr; } /// test IPv4 address type unittest { import std.socket; import socks5d.drivers.standard; auto packet = new RequestPacket; auto sp = socketPair(); Connection conn = new StandardConnection(sp[1]); immutable ubyte[] input = [ 0x05, 0x01, 0x00, AddressType.IPV4, 10, 0, 35, 94, 0x00, 0x50 // port 80 ]; sp[0].send(input); packet.receive(conn); assert(packet.getVersion() == 5); assert(packet.getHost() == "10.0.35.94"); assert(packet.getPort() == 80); } /// test domain address type - do not resolve host name unittest { import std.socket; import socks5d.drivers.standard; auto packet = new RequestPacket; auto sp = socketPair(); Connection conn = new StandardConnection(sp[1]); immutable ubyte[] input = [ 0x05, 0x01, 0x00, AddressType.DOMAIN, "localhost".length, 'l', 'o', 'c', 'a', 'l', 'h', 'o', 's', 't', 0x00, 0x50 // port 80 ]; sp[0].send(input); packet.receive(conn); assert(packet.getVersion() == 5); assert(packet.getHost() == "localhost"); assert(packet.getPort() == 80); } } @safe struct ResponsePacket { private struct ResponsePacketFields { align(1): ubyte ver = 0x05; ReplyCode rep = ReplyCode.SUCCEEDED; ubyte rsv = 0x00; AddressType atyp; ubyte[uint.sizeof] bndaddr; ubyte[ushort.sizeof] bndport; } mixin Socks5OutgoingPacket!ResponsePacketFields; @property void replyCode(ReplyCode code) { fields.rep = code; } @property void addressType(AddressType type) { fields.atyp = type; } bool setBindAddress(uint ip4, ushort port) { fields.bndaddr = ip4.nativeToBigEndian(); fields.bndport = port.nativeToBigEndian(); debug { import std.socket : InternetAddress; auto address = new InternetAddress(ip4, port); logger.trace("[%d] Local target address: %s", connID, address.toAddrString()); } return true; } unittest { import std.socket; import socks5d.drivers.standard; auto packet = new ResponsePacket; auto address = new InternetAddress("127.0.0.1", 81); auto sp = socketPair(); auto conn = new StandardConnection(sp[0]); immutable ubyte[] output = [ 0x05, ReplyCode.SUCCEEDED, 0x00, AddressType.IPV4, 127, 0, 0, 1, // 127.0.0.1 0x00, 0x51 // port 81 ]; packet.setBindAddress(address.addr, address.port); packet.send(conn); ubyte[output.length] buf; sp[1].receive(buf); assert(buf == output); } }
D
import std.stdio; uint[] generatePrimes(uint upperBound) in { assert(upperBound >= 2); } body { bool[] sieve = new bool[upperBound / 2 - 1]; for (auto i = 3; i < upperBound; i += 2) if (!sieve[i / 2 - 1]) for (auto j = i + 2 * i; j < upperBound; j += 2 * i) sieve[j / 2 - 1] = true; uint[] result = [ 2 ]; foreach (i; 0 .. upperBound / 2 - 1) if (!sieve[i]) result ~= i * 2 + 3; return result; } immutable UPPER_BOUND = 1_000_000; void main() { uint[] primes = generatePrimes(UPPER_BOUND); uint[UPPER_BOUND] sums; foreach (i; 0 .. primes.length) { uint sum = 0; uint sumCount = 0; foreach (j; i .. primes.length) { sum += primes[j]; ++sumCount; if (sum >= UPPER_BOUND) break; if (sums[sum] < sumCount) sums[sum] = sumCount; } } uint bestPrime, longestSum; for (int i = primes.length - 1; i >= 0; --i) if (sums[primes[i]] > longestSum) { bestPrime = primes[i]; longestSum = sums[bestPrime]; } writeln(bestPrime, " ", longestSum); }
D
<!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/print_pagelayout.tpl (design:print_pagelayout.tpl) --> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da"> <!-- Mirrored from www.sik.dk/layout/set/print/layout/set/print/layout/set/print/layout/set/print/layout/set/print/layout/set/print/Virksomhed/Produktsikkerhed-for-fagfolk/Farlige-produkter/Arkiv-over-farlige-produkter/Arkiv-2015/Musikuro-Eventyr by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 30 Oct 2018 16:04:02 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> Musikuro Eventyr / Arkiv 2015 / Arkiv over farlige produkter / Farlige produkter / Produktsikkerhed for fagfolk / Virksomhed </title> <link rel="stylesheet" type="text/css" href="../../../../../../../../../../../../../../../../../../../../../../var/plain_site/cache/public/stylesheets/7f204311ca451417a9727e1bfe5dd85f_all.css" /> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl) --> <script type="text/javascript"> var bc_test = true; </script> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/header/javascript.tpl) --> <!--[if lt IE 8]> <style type="text/css" media="print"> @import url("/design/design_2013/stylesheets/ie6-print.css"); </style> <![endif]--> </head> <body onload="window.print();" id="print-layout"> <img src="../../../../../../../../../../../../../../../../../../../../../../extension/sikkerhedsstyrelsen/design/design_2013/images/Sikkerhedsstyrelsen_logo_230x69_transparent.png" id="main_logo" alt="Logo med link til forsiden" /> <!-- module_result start --> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/override/templates/full/dangerousproduct_node.tpl (design:node/view/full.tpl) --> <!-- dangerousproduct_node --> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl) --> <!-- submenu --> <div class="sub-menu"> <ol class="breadcrumb"> <li> <a href="../../../../Virksomhed.html">Virksomhed</a> </li> <li> <a href="../../../Produktsikkerhed-for-fagfolk.html">Produktsikkerhed for fagfolk</a> </li> <li> <a href="../../Farlige-produkter.html">Farlige produkter</a> </li> <li> <a href="../Arkiv-over-farlige-produkter.11d32.delaye">Arkiv over farlige produkter</a> </li> <li> <a href="Arkiv-2015.11e7a.delaye">Arkiv 2015</a> </li> <li class="active">Musikuro Eventyr</li> </ol> <hr> </div> <!-- /submenu --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/submenu.tpl) --> <div class="row"> <div class="col-md-3 link-box"> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl) --> <!-- left_menu_linkbox --> <div class="link-box left-menu"> <header> <h5> <a href="../../../Produktsikkerhed-for-fagfolk.html"> Produktsikkerhed for fagfolk </a> </h5> </header> <div class="body"> <ul> <li > <a href="../../I-fokus-paa-produktsikkerhed.html"> I fokus </a> </li> <li > <a href="../../Love-og-regler-for-produktsikkerhed.html"> Love og regler </a> </li> <li class="selected"> <a href="../../Farlige-produkter.html"> Farlige produkter </a> </li> <li > <a href="../../Maerkning-af-produkter.html"> Mærkning </a> </li> <li > <a href="../../Vejledninger-om-produktsikkerhed.html"> Vejledninger til producenter, importører og forhandlere </a> </li> <li > <a href="../../Markedsovervaagning-af-nye-omraader.html"> Markedsovervågning af nye områder </a> </li> </ul> </div> </div> <!-- /left_menu_linkbox --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/left_menu_linkbox.tpl) --> </div> <div class="col-md-6 center-col"> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl) --> <ol class="page-actions"> <li><a href="../../../../layout/set/print/Virksomhed/Produktsikkerhed-for-fagfolk/Farlige-produkter//Musikuro-Eventyr.11e83" title="Print" rel="nofollow" class="print" onclick="window.open(this.href, 'popupwindow', 'width=600,height=800,scrollbars,resizable'); return false;">Print</a></li> <li><a href="#" class="increaseFont font-action" title="Forst&oslash;r tekst st&oslash;rrelse">Zoom ind</a></li> <li><a href="#" class="decreaseFont font-action" title="Formindsk tekst st&oslash;rrelse">Zoom ud</a></li> </ol> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/page_actions.tpl) --> <!--Content-Begin--> <article> <h1>Musikuro Eventyr</h1> <summary> </summary> <hr> <table class="table"> <tr> <td class="first_col">Klik på billedet:</td> <td> <a class="lightbox-image" data-gall="dangerous-product-gallery" href="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr.10d54"><img src="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr_produk" alt="Musikuro Eventyr" /></a> <a class="lightbox-image" data-gall="dangerous-product-gallery" href="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr.10d56"><img src="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr_produk-2" alt="Musikuro Eventyr" /></a> <a class="lightbox-image" data-gall="dangerous-product-gallery" href="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr.10d58"><img src="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr_produk-3" alt="Musikuro Eventyr" /></a> <a class="lightbox-image" data-gall="dangerous-product-gallery" href="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr.10d5a"><img src="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Musikuro-Eventyr_produk-4" alt="Musikuro Eventyr" /></a> </td> </tr> <tr> <td colspan="2"> <div class="alert alert-warning"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Uroen er IKKE påført nogen advarselsmærkning om at holde den uden for børns rækkevidde.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Uroen indeholder lange snore, som kan udgøre en stranguleringsfare for børn.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Uroen indeholder en smådel, som kan udgøre en kvælningsfare for børn.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Risikoen er særlig udtalt for børn under 36 mdr.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> </div> </td> </tr> <tr> <td>Produkttype:</td> <td> <!-- START: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> Uro i træ m musik <!-- STOP: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> </td> </tr> <tr> <td>Produktnavn:</td> <td> <!-- START: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> Musikuro Eventyr <!-- STOP: including template: design/standard/templates/content/datatype/view/ezstring.tpl (design:content/datatype/view/ezstring.tpl) --> </td> </tr> <tr> <td>Anden information:</td> <td> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Uroen er ikke farlig, hvis den holdes uden for børns rækkevidde. Husk at tage højde for, at barnet på et tidspunkt vil blive i stand til at rejse sig.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> </td> </tr> <tr> <td>Dato:</td> <td>25. juni 2015</td> </tr> </table> </article> <!--Content-End--> </div> <div class="col-md-3"> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl) --> <!-- right_info_linkbox --> <div class="link-box inverted"> <header> <h5>Legetøjsregler.dk</h5> </header> <a href=http://www.xn--legetjsregler-fnb.dk/> <img src="../../../../var/plain_site/storage/images/forside/virksomhed/produktsikkerhed-for-fagfo/Legetoejsregler.dk_fron" class="img-responsive" alt="Legetøjsregler.dk" /> </a> <div class="body"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Få et samlet overblik over, hvilke regler, du skal være opmærksom på, når du fremstiller, importerer eller distribuerer legetøj i Danmark.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <ul> <li><a class="external" href="http://www.xn--legetjsregler-fnb.dk/">Link til legetøjsregler.dk</a></li> </ul> </div> </div> <div class="link-box inverted"> <header> <h5>Tekstiler til børn</h5> </header> <a href=https://mst.dk/kemi/kemikalier/fokus-paa-saerlige-produkter/tekstiler-til-boern/> <img src="../../../../../print.html" class="img-responsive" alt="" /> </a> <div class="body"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Få et overblik over reglerne for børnetøj og børneprodukter med tekstil.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <ul> <li><a class="external" href="https://mst.dk/kemi/kemikalier/fokus-paa-saerlige-produkter/tekstiler-til-boern/">Link til Børnetekstilregler.dk</a></li> </ul> </div> </div> <div class="link-box inverted"> <header> <h5>Foldere om produktsikkerhed</h5> </header> <div class="body"> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <!-- START: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <p>Se vores liste over foldere om produktsikkerhed.</p> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl (design:content/datatype/view/ezxmltags/paragraph.tpl) --> <!-- STOP: including template: design/standard/templates/content/datatype/view/ezxmltext.tpl (design:content/datatype/view/ezxmltext.tpl) --> <a class="more" href="../../../../Global/Publikationer/Foldere.html">Foldere om produktsikkerhed</a> </div> </div> <!-- /right_info_linkbox --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/right_info_linkbox.tpl) --> </div> </div> <!-- /dangerousproduct_node --> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/override/templates/full/dangerousproduct_node.tpl (design:node/view/full.tpl) --> <!-- module_result end--> <!-- Start page_footer --> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl) --> <footer class="row"> <hr> <div class="text-center"> Sikkerhedsstyrelsen&nbsp; | &nbsp;Nørregade 63&nbsp; | &nbsp;6700 Esbjerg&nbsp; | &nbsp;Tlf. 33 73 20 00&nbsp;<br> Email: <a href="mailto:sik@sik.dk">sik@sik.dk</a>&nbsp; | &nbsp;Åbningstider: Mandag - torsdag: 8:00 - 15:00 og fredag: 8:00 - 14:00 </div> </footer> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/body/footer.tpl) --> <!-- End page_footer --> <script type="text/javascript" src="../../../../../../../../../../../../../../../../../../../../../../var/plain_site/cache/public/javascript/3d978428d54df8302472b02c6f61631c.js" charset="utf-8"></script> <!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl) --> <script type="text/javascript"> /*<![CDATA[*/ (function() { var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; sz.src = 'http://ssl.siteimprove.com/js/siteanalyze_2666.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); })(); /*]]>*/ </script><script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','http://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-6298150-1', 'auto'); ga('send', 'pageview'); </script> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl (extension/sikkerhedsstyrelsen/design/design_2013/templates/partials/html/footer/javascript.tpl) --> </body> <!-- Mirrored from www.sik.dk/layout/set/print/layout/set/print/layout/set/print/layout/set/print/layout/set/print/layout/set/print/Virksomhed/Produktsikkerhed-for-fagfolk/Farlige-produkter/Arkiv-over-farlige-produkter/Arkiv-2015/Musikuro-Eventyr by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 30 Oct 2018 16:04:02 GMT --> </html> <!-- STOP: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/print_pagelayout.tpl (design:print_pagelayout.tpl) -->
D
module app.model.UserInfo; import hunt.entity; @Table("userinfo", "hunt_") class UserInfo : Model { mixin MakeModel; @AutoIncrement @PrimaryKey int id; @Column("nickname") @Length(0,50) string nickName; @Max(150) int age; ubyte[] image; @Transient string sex; override void onInitialized() { } }
D
/**************************************************************************** ** ** Copyright (C) 2011 Thiago Macieira <thiago@kde.org> ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and Digia. For licensing terms and ** conditions see http://qt.digia.com/licensing. For further information ** use the contact form at http://qt.digia.com/contact-us. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 or version 3 as published by the Free ** Software Foundation and appearing in the file LICENSE.LGPLv21 and ** LICENSE.LGPLv3 included in the packaging of this file. Please review the ** following information to ensure the GNU Lesser General Public License ** requirements will be met: https://www.gnu.org/licenses/lgpl.html and ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Digia gives you certain additional ** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** $QT_END_LICENSE$ ** ****************************************************************************/ module qt.QtCore.qgenericatomic; public import qt.QtCore.qglobal; public import qt.QtCore.qtypeinfo; struct QAtomicOpsSupport(int size) { enum IsSupported = 0; } struct QAtomicOpsSupport(int size) if(size == 4) { enum IsSupported = 1; } struct QAtomicAdditiveType(T) { alias AdditiveT = T; __gshared immutable int AddScale = 1; } struct QAtomicAdditiveType(T) if(isPointer!T) { alias AdditiveT = qptrdiff; __gshared immutable int AddScale = T.sizeof; } // not really atomic... struct QGenericAtomicOps(BaseClass) { struct AtomicType(T) { alias Type = T; alias PointerType = T*; } static void acquireMemoryFence(T)(ref const T _q_value) nothrow { atomicFence(); BaseClass.orderedMemoryFence(_q_value); } static void releaseMemoryFence(T)(ref const T _q_value) nothrow { atomicFence(); BaseClass.orderedMemoryFence(_q_value); } static void orderedMemoryFence(T)(ref const T) nothrow { } static /+inline+/ /+always_inline+/ T load(T)(ref const T _q_value) nothrow { return _q_value; } static /+inline+/ /+always_inline+/ void store(T, X)(ref T _q_value, X newValue) nothrow { _q_value = newValue; } static /+inline+/ /+always_inline+/ T loadAcquire(T)(ref const T _q_value) nothrow { T tmp = _q_value; BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ void storeRelease(T, X)(ref T _q_value, X newValue) nothrow { BaseClass.releaseMemoryFence(_q_value); _q_value = newValue; } static /+inline+/ bool isReferenceCountingNative() nothrow { return BaseClass.isFetchAndAddNative(); } static /+inline+/ bool isReferenceCountingWaitFree() nothrow { return BaseClass.isFetchAndAddWaitFree(); } static /+inline+/ /+always_inline+/ bool ref_(T)(ref T _q_value) nothrow { return BaseClass.fetchAndAddRelaxed(_q_value, 1) != T(-1); } static /+inline+/ /+always_inline+/ bool deref(T)(ref T _q_value) nothrow { return BaseClass.fetchAndAddRelaxed(_q_value, -1) != 1; } version(none) { /+ // These functions have no default implementation // Archictectures must implement them static /+inline+/ bool isTestAndSetNative() nothrow; static /+inline+/ bool isTestAndSetWaitFree() nothrow; static inline bool testAndSetRelaxed(T, X)(ref T _q_value, X expectedValue, X newValue) nothrow; static inline bool testAndSetRelaxed(T, X)(ref T _q_value, X expectedValue, X newValue, X *currentValue) nothrow; +/ } static /+inline+/ /+always_inline+/ bool testAndSetAcquire(T, X)(ref T _q_value, X expectedValue, X newValue) nothrow { bool tmp = BaseClass.testAndSetRelaxed(_q_value, expectedValue, newValue); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ bool testAndSetRelease(T, X)(ref T _q_value, X expectedValue, X newValue) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.testAndSetRelaxed(_q_value, expectedValue, newValue); } static /+inline+/ /+always_inline+/ bool testAndSetOrdered(T, X)(ref T _q_value, X expectedValue, X newValue) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.testAndSetRelaxed(_q_value, expectedValue, newValue); } static /+inline+/ /+always_inline+/ bool testAndSetAcquire(T, X)(ref T _q_value, X expectedValue, X newValue, X *currentValue) nothrow { bool tmp = BaseClass.testAndSetRelaxed(_q_value, expectedValue, newValue, currentValue); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ bool testAndSetRelease(T, X)(ref T _q_value, X expectedValue, X newValue, X *currentValue) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.testAndSetRelaxed(_q_value, expectedValue, newValue, currentValue); } static /+inline+/ /+always_inline+/ bool testAndSetOrdered(T, X)(ref T _q_value, X expectedValue, X newValue, X *currentValue) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.testAndSetRelaxed(_q_value, expectedValue, newValue, currentValue); } static /+inline+/ bool isFetchAndStoreNative() nothrow { return false; } static /+inline+/ bool isFetchAndStoreWaitFree() nothrow { return false; } static /+inline+/ /+always_inline+/ T fetchAndStoreRelaxed(T, X)(ref T _q_value, X newValue) nothrow { // implement fetchAndStore on top of testAndSet while(1) { T tmp = load(_q_value); if (BaseClass.testAndSetRelaxed(_q_value, tmp, newValue)) return tmp; } } static /+inline+/ /+always_inline+/ T fetchAndStoreAcquire(T, X)(ref T _q_value, X newValue) nothrow { T tmp = BaseClass.fetchAndStoreRelaxed(_q_value, newValue); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ T fetchAndStoreRelease(T, X)(ref T _q_value, X newValue) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.fetchAndStoreRelaxed(_q_value, newValue); } static /+inline+/ /+always_inline+/ T fetchAndStoreOrdered(T, X)(ref T _q_value, X newValue) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.fetchAndStoreRelaxed(_q_value, newValue); } static /+inline+/ bool isFetchAndAddNative() nothrow { return false; } static /+inline+/ bool isFetchAndAddWaitFree() nothrow { return false; } static /+inline+/ /+always_inline+/ T fetchAndAddRelaxed(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT valueToAdd) nothrow { // implement fetchAndAdd on top of testAndSet while(1) { T tmp = BaseClass.load(_q_value); if (BaseClass.testAndSetRelaxed(_q_value, tmp, T(tmp + valueToAdd))) return tmp; } } static /+inline+/ /+always_inline+/ T fetchAndAddAcquire(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT valueToAdd) nothrow { T tmp = BaseClass.fetchAndAddRelaxed(_q_value, valueToAdd); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ T fetchAndAddRelease(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT valueToAdd) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.fetchAndAddRelaxed(_q_value, valueToAdd); } static /+inline+/ /+always_inline+/ T fetchAndAddOrdered(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT valueToAdd) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.fetchAndAddRelaxed(_q_value, valueToAdd); } static /+inline+/ /+always_inline+/ T fetchAndSubRelaxed(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT operand) nothrow { // implement fetchAndSub on top of fetchAndAdd return fetchAndAddRelaxed(_q_value, -operand); } static /+inline+/ /+always_inline+/ T fetchAndSubAcquire(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT operand) nothrow { T tmp = BaseClass.fetchAndSubRelaxed(_q_value, operand); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ T fetchAndSubRelease(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT operand) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.fetchAndSubRelaxed(_q_value, operand); } static /+inline+/ /+always_inline+/ T fetchAndSubOrdered(T)(ref T _q_value, QAtomicAdditiveType!T.AdditiveT operand) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.fetchAndSubRelaxed(_q_value, operand); } /+ TODO... static /+inline+/ /+always_inline+/ T fetchAndAndRelaxed(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { // implement fetchAndAnd on top of testAndSet T tmp = BaseClass.load(_q_value); while(1) { if (BaseClass.testAndSetRelaxed(_q_value, tmp, T(tmp & operand), &tmp)) return tmp; } } static /+inline+/ /+always_inline+/ T fetchAndAndAcquire(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { T tmp = BaseClass.fetchAndAndRelaxed(_q_value, operand); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ T fetchAndAndRelease(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.fetchAndAndRelaxed(_q_value, operand); } static /+inline+/ /+always_inline+/ T fetchAndAndOrdered(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.fetchAndAndRelaxed(_q_value, operand); } static /+inline+/ /+always_inline+/ T fetchAndOrRelaxed(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { // implement fetchAndOr on top of testAndSet T tmp = BaseClass.load(_q_value); while(1) { if (BaseClass.testAndSetRelaxed(_q_value, tmp, T(tmp | operand), &tmp)) return tmp; } } static /+inline+/ /+always_inline+/ T fetchAndOrAcquire(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { T tmp = BaseClass.fetchAndOrRelaxed(_q_value, operand); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ T fetchAndOrRelease(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.fetchAndOrRelaxed(_q_value, operand); } static /+inline+/ /+always_inline+/ T fetchAndOrOrdered(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.fetchAndOrRelaxed(_q_value, operand); } static /+inline+/ /+always_inline+/ T fetchAndXorRelaxed(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { // implement fetchAndXor on top of testAndSet T tmp = BaseClass.load(_q_value); while(1) { if (BaseClass.testAndSetRelaxed(_q_value, tmp, T(tmp ^ operand), &tmp)) return tmp; } } static /+inline+/ /+always_inline+/ T fetchAndXorAcquire(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { T tmp = BaseClass.fetchAndXorRelaxed(_q_value, operand); BaseClass.acquireMemoryFence(_q_value); return tmp; } static /+inline+/ /+always_inline+/ T fetchAndXorRelease(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { BaseClass.releaseMemoryFence(_q_value); return BaseClass.fetchAndXorRelaxed(_q_value, operand); } static /+inline+/ /+always_inline+/ T fetchAndXorOrdered(T)(ref T _q_value, QtPrivate::QEnableIf<QTypeInfo!T.isIntegral, T>::Type operand) nothrow { BaseClass.orderedMemoryFence(_q_value); return BaseClass.fetchAndXorRelaxed(_q_value, operand); } +/ }
D
module scorpion.repository; import std.algorithm : map; import std.conv : to; import std.string : startsWith, join; import std.traits : ReturnType, Parameters, ParameterIdentifierTuple, hasUDA, getUDAs; import shark : Database, PrimaryKey; import scorpion.entity : Entity, ExtendEntity; /** * Base interface for repositories. Every repository that implements * this interface will be extended by scorpion and its methods implemented. * Every method in the interface must have either the attribute @Select, * @Insert, @Update or @Remove that indicates which action the repository * will perform using the database. * Example: * --- * @Entity("example") * class Example { * * @PrimaryKey * Integer a; * * String b; * * Time c; * * } * * interface ExampleRepository : Repository!Example { * * @Select * Example[] selectAll(); * * @Insert * void insert(Example); * * @Update * void update(Example); * * @Remove * void remove(Example); * * } * --- */ interface Repository(T) {} /** * Indicates that one or more entities will be selected from * the database. The return type of a method marked with the * @Select atribute can be either T or T[], where T is the entity * specified in the repository's declaration. * Example: * --- * interface ExampleRepository : Repository!Example { * * @Select * T[] selectAll(); * * @Select * T selectOne(Integer id); * * } * --- */ enum Select; /** * Indicates that a newly created entity will be inserted in * the database. If the entity has one or more primary keys * their values will be updated. * Example: * --- * interface ExampleRepository : Repository!Example { * * @Insert * void insert(Example entity); * * } * --- */ enum Insert; /** * Indicates that an existing entity will be updated. * The updated fields can be specified with the `Fields` * attribute; if the attributes is not present all fields * except the primary keys will be updated. * If the entity does not have any primary key the `Where` * attribute must also be present. * Example: * --- * interface ExampleRepository : Repository!Example { * * @Update * void update(Example entity); * * } * --- */ enum Update; /** * Deletes one or more entities from the database. * If the entity does not have any primary key the * `Where` attribute must also be present. * Example: * --- * interface ExampleRepository : Repository!Example { * * @Remove * void remove(Example entity); * * } * --- * The name of the attribute id `Remove` and not * `Delete` due to a conflict with the `Delete` HTTP * method name and the fact that `delete` is a reserved * keyword in D, thus methods could not be called simply * `delete`. */ enum Remove; /** * Adds a `where` clause to the query. This attribute can be * used with query that select, update and remove entities. * It is possible to use method's arguments in the `where` * clause by adding the dollar sign plus the index (starting * from 0, obviously) of the variable. * Example: * --- * interface ExampleRepository : Repository!Example { * * @Select * @Where("b=$0") * Example[] selectByB(string b); * * @Update * @Where("b=$0 or b=$1") * void update(string b0, string b1); * * } * --- */ struct Where { string clause; } /** * Specifies in which order the result of a select query * should be returned. * It is possible to add one or more `OrderBy` attributes * to the same method with different field names. * Example: * --- * interface ExampleRepository : Repository!Example { * * @OrderBy("b") * @OrderBy("a", OrderBy.desc) * Example[] select(); * * } * --- */ alias OrderBy = Database.Clause.Order.Field; /** * Specifies that the result of a select query should be * returned randomly ordered. This action is usually performed * directly from the database. * It's not possible to use any other order attribute associated * with this one. */ enum OrderByRandom; /** * Limits the number of results returned by a select query. * It is possible, like in the `Where` attribute, to specify * a value using the arguments by adding the dollar sign and * the argument's index in the method. * Example: * --- * interface ExampleRepository : Repository!Example { * * @Limit(5) * Example[] select5(); * * @Limit("$0", "$1") * Example[] selectInRange(size_t lowerLimit, size_t upperLimit); * * } * --- */ struct Limit { string lower, upper; this(L, U)(L lower, U upper) if(__traits(compiles, to!string(lower)) && __traits(compiles, to!string(upper))) { this.lower = lower.to!string; this.upper = upper.to!string; } this(U)(U upper) if(__traits(compiles, to!string(upper))) { this("0", upper); } } /** * Indicates which field(s) to update when updating an entity. * This is useful when having an entity with a field that holds * big data and and a small field that is updated frequently. * By adding the `Fields` attribute the big data is not sent to * the database and updated every time the small field is, saving * time. * Example: * --- * interface ExampleRepository : Repository!Example { * * @Update * @Fields("b") * void updateB(Example entity); * * @Update * @Fields("c") * void updateC(Example entity); * * } * --- */ struct Fields { string[] fields; this(string[] fields...) { this.fields = fields; } } class DatabaseRepository(T:Repository!R, R) : T { private enum __table = getUDAs!(R, Entity)[0].name; private alias E = ExtendEntity!(R, __table); private Database _database; public this(Database database) { _database = database; } mixin(extendInterface!(T, R)); } private string extendInterface(T, E)() { string ret = ""; foreach(i, immutable member; __traits(allMembers, T)) { alias M = __traits(getMember, T, member); alias R = ReturnType!M; ret ~= "override ReturnType!(__traits(getMember, T, `" ~ member ~ "`)) " ~ member ~ "(Parameters!(__traits(getMember, T, `" ~ member ~ "`)) args){"; static if(hasUDA!(M, Where)) { enum where = true; ret ~= "auto where = Database.Clause.Where.prepare!(E, `" ~ getUDAs!(M, Where)[0].clause ~ "`).build(args);"; } else { enum where = false; ret ~= "enum where = Database.Clause.Where.init;"; } static if(hasUDA!(M, OrderByRandom)) { ret ~= "enum order = Database.Clause.Order.random;"; } else static if(hasUDA!(M, OrderBy)) { ret ~= "enum order = Database.Clause.Order("; foreach(order ; getUDAs!(M, OrderBy)) { //TODO convert member name ret ~= "Database.Clause.Order.Field(`" ~ order.name ~ "`, Database.Clause.Order.Field." ~ (order._asc ? "asc" : "desc") ~ "),"; } ret ~= ");"; } else { ret ~= "enum order = Database.Clause.Order.init;"; } static if(hasUDA!(M, Limit)) { immutable limit = getUDAs!(__traits(getMember, T, member), Limit)[0]; ret ~= "auto limit = Database.Clause.Limit(" ~ convert(limit.lower) ~ "," ~ convert(limit.upper) ~ ");"; } else { ret ~= "enum limit = Database.Clause.Limit.init;"; } static if(hasUDA!(M, Select)) { static if(is(R == E)) { ret ~= "return _database.selectOne!E(Database.Select(where, order, limit));"; } else { ret ~= "R[] ret; foreach(entity ; _database.select!E(Database.Select(where, order, limit))){ ret ~= entity; } return ret;"; } } else static if(hasUDA!(M, Insert)) { static assert(is(R == void)); ret ~= "_database.insert(new E(args[0]));"; } else static if(hasUDA!(M, Update)) { static if(hasUDA!(M, Fields)) enum fields = getUDAs!(M, Fields).fields; else enum fields = members!E; static if(where) { ret ~= "_database.update!([" ~ fields.map!(str => '"' ~ str ~ '"').join(",") ~ "])(new E(args[0]), where);"; } else { ret ~= "_database.update!([" ~ fields.map!(str => '"' ~ str ~ '"').join(",") ~ "])(new E(args[0]));"; } } else static if(hasUDA!(M, Remove)) { static if(Parameters!M.length == 1 && is(Parameters!M[0] == E)) { ret ~= "_database.del(new E(args[0]));"; } else { ret ~= "_database.del(__table, where);"; } } else { static assert(0, "Cannot implement method " ~ member ~ " because it's missing either @Select, @Insert, @Update or @Remove"); } ret ~= "}"; } return ret; } private string convert(string str) { if(str.length && str[0] == '$') return "args[" ~ str[1..$] ~ "]"; else return str; } // copied from shark.database.getEntityMembers private string[] members(T)() { string[] ret; foreach(immutable member ; __traits(allMembers, T)) { static if(!is(typeof(__traits(getMember, T, member)) == function) && __traits(compiles, mixin("new T()." ~ member ~ "=T." ~ member ~ ".init")) && !hasUDA!(__traits(getMember, T, member), PrimaryKey)) { ret ~= member; } } return ret; }
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ module flow.event.registry.tenantdetector.InboundEventStaticTenantDetector; import flow.event.registry.api.InboundEventTenantDetector; /** * @author Joram Barrez */ class InboundEventStaticTenantDetector(T) : InboundEventTenantDetector!T { protected string staticTenantId; this(string staticTenantId) { this.staticTenantId = staticTenantId; } public string detectTenantId(T event) { return staticTenantId; } public string getStaticTenantId() { return staticTenantId; } }
D
/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtx.jface.internal.text.html.SubstitutionTextReader; import dwtx.jface.internal.text.html.HTML2TextReader; // packageimport import dwtx.jface.internal.text.html.HTMLPrinter; // packageimport import dwtx.jface.internal.text.html.BrowserInformationControl; // packageimport import dwtx.jface.internal.text.html.HTMLTextPresenter; // packageimport import dwtx.jface.internal.text.html.BrowserInput; // packageimport import dwtx.jface.internal.text.html.SingleCharReader; // packageimport import dwtx.jface.internal.text.html.BrowserInformationControlInput; // packageimport import dwtx.jface.internal.text.html.HTMLMessages; // packageimport import dwt.dwthelper.utils; import tango.core.Exception; /** * Reads the text contents from a reader and computes for each character * a potential substitution. The substitution may eat more characters than * only the one passed into the computation routine. * <p> * Moved into this package from <code>dwtx.jface.internal.text.revisions</code>.</p> */ public abstract class SubstitutionTextReader : SingleCharReader { private static String LINE_DELIM_; protected static String LINE_DELIM() { if( LINE_DELIM_ is null ){ LINE_DELIM_ = System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$ } return LINE_DELIM_; } private Reader fReader; protected bool fWasWhiteSpace; private int fCharAfterWhiteSpace; /** * Tells whether white space characters are skipped. */ private bool fSkipWhiteSpace= true; private bool fReadFromBuffer; private StringBuffer fBuffer; private int fIndex; protected this(Reader reader) { fReader= reader; fBuffer= new StringBuffer(); fIndex= 0; fReadFromBuffer= false; fCharAfterWhiteSpace= -1; fWasWhiteSpace= true; } /** * Computes the substitution for the given character and if necessary * subsequent characters. Implementation should use <code>nextChar</code> * to read subsequent characters. * * @param c the character to be substituted * @return the substitution for <code>c</code> * @throws IOException in case computing the substitution fails */ protected abstract String computeSubstitution(int c) ; /** * Returns the internal reader. * * @return the internal reader */ protected Reader getReader() { return fReader; } /** * Returns the next character. * @return the next character * @throws IOException in case reading the character fails */ protected int nextChar() { fReadFromBuffer= (fBuffer.length() > 0); if (fReadFromBuffer) { char ch= fBuffer.slice().charAt(fIndex++); if (fIndex >= fBuffer.length()) { fBuffer.truncate(0); fIndex= 0; } return ch; } int ch= fCharAfterWhiteSpace; if (ch is -1) { ch= fReader.read(); } if (fSkipWhiteSpace && Character.isWhitespace(cast(char)ch)) { do { ch= fReader.read(); } while (Character.isWhitespace(cast(char)ch)); if (ch !is -1) { fCharAfterWhiteSpace= ch; return ' '; } } else { fCharAfterWhiteSpace= -1; } return ch; } /// DWT protected int nextDChar() { char[4] buf = void; int ch1 = nextChar(); if( ch1 is -1 ) return -1; buf[0] = cast(char)ch1; if(( ch1 & 0x80 ) is 0x00 ){ return ch1; } else if(( ch1 & 0xE0 ) is 0xC0 ){ int ch2 = nextChar(); if( ch2 is -1 ) throw new UnicodeException(__FILE__,__LINE__); buf[1] = cast(char)ch2; } else if(( ch1 & 0xF0 ) is 0xE0 ){ int ch2 = nextChar(); if( ch1 is -1 ) throw new UnicodeException(__FILE__,__LINE__); buf[1] = cast(char)ch2; int ch3 = nextChar(); if( ch3 is -1 ) throw new UnicodeException(__FILE__,__LINE__); buf[2] = cast(char)ch3; } else if(( ch1 & 0xF8 ) is 0xF0 ){ int ch2 = nextChar(); if( ch1 is -1 ) throw new UnicodeException(__FILE__,__LINE__); buf[1] = cast(char)ch2; int ch3 = nextChar(); if( ch3 is -1 ) throw new UnicodeException(__FILE__,__LINE__); buf[2] = cast(char)ch3; int ch4 = nextChar(); if( ch4 is -1 ) throw new UnicodeException(__FILE__,__LINE__); buf[3] = cast(char)ch4; } else { throw new UnicodeException(__FILE__,__LINE__); } uint ate; return tango.text.convert.Utf.decode( buf, ate ); } /** * @see Reader#read() */ public int read() { int c; do { c= nextChar(); while (!fReadFromBuffer) { String s= computeSubstitution(c); if (s is null) break; if (s.length() > 0){ fBuffer.select(0, 0); fBuffer.replace(s); } c= nextChar(); } } while (fSkipWhiteSpace && fWasWhiteSpace && (c is ' ')); fWasWhiteSpace= (c is ' ' || c is '\r' || c is '\n'); return c; } /** * @see Reader#ready() */ public bool ready() { return fReader.ready(); } /** * @see Reader#close() */ public void close() { fReader.close(); } /** * @see Reader#reset() */ public void reset() { fReader.reset(); fWasWhiteSpace= true; fCharAfterWhiteSpace= -1; fBuffer.truncate(0); fIndex= 0; } protected final void setSkipWhitespace(bool state) { fSkipWhiteSpace= state; } protected final bool isSkippingWhitespace() { return fSkipWhiteSpace; } }
D
module android.java.java.lang.NullPointerException_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import1 = android.java.java.io.PrintStream_d_interface; import import4 = android.java.java.lang.Class_d_interface; import import3 = android.java.java.lang.StackTraceElement_d_interface; import import2 = android.java.java.io.PrintWriter_d_interface; import import0 = android.java.java.lang.JavaThrowable_d_interface; final class NullPointerException : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import this(arsd.jni.Default); @Import this(string); @Import string getMessage(); @Import string getLocalizedMessage(); @Import import0.JavaThrowable getCause(); @Import import0.JavaThrowable initCause(import0.JavaThrowable); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void printStackTrace(); @Import void printStackTrace(import1.PrintStream); @Import void printStackTrace(import2.PrintWriter); @Import import0.JavaThrowable fillInStackTrace(); @Import import3.StackTraceElement[] getStackTrace(); @Import void setStackTrace(import3.StackTraceElement[]); @Import void addSuppressed(import0.JavaThrowable); @Import import0.JavaThrowable[] getSuppressed(); @Import import4.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Ljava/lang/NullPointerException;"; }
D
import std.file; import core.stdc.stdlib; import std.stdio; import std.array:replace; /** * Simple utility file to get the source files used for a game project in Hipreme Engine. * This utility may be replaced in the future to prefer dub describe --data=source-files * */ int main(string[] args) { if(args.length != 3) { writeln("Usage: rdmd gemodules inputPath outputPath"); return EXIT_FAILURE; } string inputPath = args[1]; string outputPath = args[2]; if(!exists(inputPath)) { writeln("Input path '",inputPath," does not exists"); return EXIT_FAILURE; } if(!isDir(inputPath)) { writeln("Input path '",inputPath,"' is not a directory"); return EXIT_FAILURE; } if(exists(outputPath) && isDir(outputPath)) { writeln("Invalid output path '",outputPath,"', the output path is a directory"); return EXIT_FAILURE; } string output; foreach(string file; dirEntries(inputPath, "*.d", SpanMode.breadth)) { if(output != "") output~="\n"; //Remove .d, change / or \ to . output~= file[inputPath.length..$-2].replace('/', '.').replace('\\', '.'); } std.file.write(outputPath, output); return EXIT_SUCCESS; }
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ //module flow.job.service.impl.asyncexecutor.multitenant.TenantAwareResetExpiredJobsRunnable; // //import flow.common.cfg.multitenant.TenantInfoHolder; //import flow.job.service.impl.asyncexecutor.AcquireAsyncJobsDueRunnable; //import flow.job.service.impl.asyncexecutor.AsyncExecutor; // ///** // * Extends the default {@link AcquireAsyncJobsDueRunnable} by setting the 'tenant' context before executing. // * // * @author Joram Barrez // */ //class TenantAwareAcquireAsyncJobsDueRunnable extends AcquireAsyncJobsDueRunnable { // // protected TenantInfoHolder tenantInfoHolder; // protected string tenantId; // // public TenantAwareAcquireAsyncJobsDueRunnable(AsyncExecutor asyncExecutor, TenantInfoHolder tenantInfoHolder, string tenantId) { // super("flowable-tenant-" + tenantId + "-" + asyncExecutor.getJobServiceConfiguration().getEngineName() + "-acquire-jobs", // asyncExecutor, asyncExecutor.getJobServiceConfiguration().getJobEntityManager()); // this.tenantInfoHolder = tenantInfoHolder; // this.tenantId = tenantId; // } // // protected ExecutorPerTenantAsyncExecutor getTenantAwareAsyncExecutor() { // return (ExecutorPerTenantAsyncExecutor) asyncExecutor; // } // // @Override // public synchronized void run() { // tenantInfoHolder.setCurrentTenantId(tenantId); // super.run(); // tenantInfoHolder.clearCurrentTenantId(); // } // //}
D
INSTANCE Info_Mod_HofstaatPassantin02_Fluffy (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Fluffy_Condition; information = Info_Mod_HofstaatPassantin02_Fluffy_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_HofstaatPassantin02_Fluffy_Condition() { if (Mod_SL_PartFluffy == 4) { return 1; }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Fluffy_Info() { AI_Output(self, hero, "Info_Mod_HofstaatPassantin02_Fluffy_21_00"); //Stimmt genau. Ob jemand, der nicht mal einen Hund abrichten kann wirklich einen Staat leiten sollte? Ich weiß nicht ... Mod_SL_PartFluffy = 5; B_SetTopicStatus (TOPIC_MOD_SL_FLUFFY, LOG_SUCCESS); B_GivePlayerXP (200); AI_StopProcessInfos (self); }; INSTANCE Info_Mod_HofstaatPassantin02_Lochgraeber (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Lochgraeber_Condition; information = Info_Mod_HofstaatPassantin02_Lochgraeber_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_HofstaatPassantin02_Lochgraeber_Condition() { if (Mod_SL_PartLochgraeber == 3) { return 1; }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Lochgraeber_Info() { AI_Output(self, hero, "Info_Mod_HofstaatPassantin02_Lochgraeber_21_00"); //Was ist das für ein Königreich, das sich im internationalen Lochgräbervergleich nicht halten kann! Mod_SL_PartLochgraeber = 4; B_SetTopicStatus (TOPIC_MOD_SL_LOCHGRAEBER, LOG_SUCCESS); B_GivePlayerXP (200); AI_StopProcessInfos (self); }; INSTANCE Info_Mod_HofstaatPassantin02_Geliebte (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Geliebte_Condition; information = Info_Mod_HofstaatPassantin02_Geliebte_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_HofstaatPassantin02_Geliebte_Condition() { if (Mod_SL_PartGeliebte == 7) { return 1; }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Geliebte_Info() { AI_Output(self, hero, "Info_Mod_HofstaatPassantin02_Geliebte_21_00"); //Was ist das für ein Königreich, das sich im internationalen Lochgräbervergleich nicht halten kann! Mod_SL_PartGeliebte = 8; B_SetTopicStatus (TOPIC_MOD_SL_GELIEBTE, LOG_SUCCESS); B_GivePlayerXP (200); AI_StopProcessInfos (self); }; INSTANCE Info_Mod_HofstaatPassantin02_Blind (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Blind_Condition; information = Info_Mod_HofstaatPassantin02_Blind_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_HofstaatPassantin02_Blind_Condition() { if (Mod_SL_PartBlind == 4) { return 1; }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Blind_Info() { AI_Output(self, hero, "Info_Mod_HofstaatPassantin02_Blind_21_00"); //Was ist das denn für ein Königreich, ohne Export! Das geht doch gar nicht! Mod_SL_PartBlind = 5; B_SetTopicStatus (TOPIC_MOD_SL_BLIND, LOG_SUCCESS); B_GivePlayerXP (200); AI_StopProcessInfos (self); }; INSTANCE Info_Mod_HofstaatPassantin02_Brunnen (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Brunnen_Condition; information = Info_Mod_HofstaatPassantin02_Brunnen_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_HofstaatPassantin02_Brunnen_Condition() { if (Mod_SL_PartBrunnen == 2) { return 1; }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Brunnen_Info() { AI_Output(self, hero, "Info_Mod_HofstaatPassantin02_Brunnen_21_00"); //Da hast du recht! Was ist denn das für ein König, der in so einer Ruine lebt?? Mod_SL_PartBrunnen = 3; B_SetTopicStatus (TOPIC_MOD_SL_BRUNNEN, LOG_SUCCESS); B_GivePlayerXP (200); AI_StopProcessInfos (self); }; INSTANCE Info_Mod_HofstaatPassantin02_Geschwaecht (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Geschwaecht_Condition; information = Info_Mod_HofstaatPassantin02_Geschwaecht_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_HofstaatPassantin02_Geschwaecht_Condition() { if (Mod_SL_Schwaechen == 3) { return 1; }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Geschwaecht_Info() { AI_Output(self, hero, "Info_Mod_HofstaatPassantin02_Geschwaecht_21_00"); //Ja, du hast recht, ich fühle mich so ... geschwächt ... als wäre meine Motivation unterwandert und so. Mod_SL_Schwaechen = 4; B_LogEntry (TOPIC_MOD_SEKTE_ENTSCHEIDUNG, "Ich habe den Hofstaat geschwächt und ihre Motivation unterwandert und so. Ich sollte jetzt zu Baal Namib zurück kehren."); B_GivePlayerXP (500); AI_StopProcessInfos (self); }; INSTANCE Info_Mod_HofstaatPassantin02_Pickpocket (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Pickpocket_Condition; information = Info_Mod_HofstaatPassantin02_Pickpocket_Info; permanent = 1; important = 0; description = Pickpocket_60_Female; }; FUNC INT Info_Mod_HofstaatPassantin02_Pickpocket_Condition() { C_Beklauen (47, ItMi_Gold, 15); }; FUNC VOID Info_Mod_HofstaatPassantin02_Pickpocket_Info() { Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); Info_AddChoice (Info_Mod_HofstaatPassantin02_Pickpocket, DIALOG_BACK, Info_Mod_HofstaatPassantin02_Pickpocket_BACK); Info_AddChoice (Info_Mod_HofstaatPassantin02_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_HofstaatPassantin02_Pickpocket_DoIt); }; FUNC VOID Info_Mod_HofstaatPassantin02_Pickpocket_BACK() { Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); }; FUNC VOID Info_Mod_HofstaatPassantin02_Pickpocket_DoIt() { if (B_Beklauen() == TRUE) { Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); } else { Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); Info_AddChoice (Info_Mod_HofstaatPassantin02_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_HofstaatPassantin02_Pickpocket_Beschimpfen); Info_AddChoice (Info_Mod_HofstaatPassantin02_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_HofstaatPassantin02_Pickpocket_Bestechung); Info_AddChoice (Info_Mod_HofstaatPassantin02_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_HofstaatPassantin02_Pickpocket_Herausreden); }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Pickpocket_Beschimpfen() { B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN"); B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); }; FUNC VOID Info_Mod_HofstaatPassantin02_Pickpocket_Bestechung() { B_Say (hero, self, "$PICKPOCKET_BESTECHUNG"); var int rnd; rnd = r_max(99); if (rnd < 25) || ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50)) || ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100)) || ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200)) { B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); } else { if (rnd >= 75) { B_GiveInvItems (hero, self, ItMi_Gold, 200); } else if (rnd >= 50) { B_GiveInvItems (hero, self, ItMi_Gold, 100); } else if (rnd >= 25) { B_GiveInvItems (hero, self, ItMi_Gold, 50); }; B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01"); Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); AI_StopProcessInfos (self); }; }; FUNC VOID Info_Mod_HofstaatPassantin02_Pickpocket_Herausreden() { B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN"); if (r_max(99) < Mod_Verhandlungsgeschick) { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01"); Info_ClearChoices (Info_Mod_HofstaatPassantin02_Pickpocket); } else { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02"); }; }; INSTANCE Info_Mod_HofstaatPassantin02_EXIT (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_EXIT_Condition; information = Info_Mod_HofstaatPassantin02_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_HofstaatPassantin02_EXIT_Condition() { return 1; }; FUNC VOID Info_Mod_HofstaatPassantin02_EXIT_Info() { AI_StopProcessInfos (self); };
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2012 by Rainer Schuetze, All Rights Reserved // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt module vdc.dmdserver.semanalysis; import vdc.dmdserver.dmdinit; import vdc.dmdserver.dmderrors; import vdc.dmdserver.semvisitor; import vdc.ivdserver; import dmd.arraytypes; import dmd.cond; import dmd.dmodule; import dmd.dsymbolsem; import dmd.errors; import dmd.globals; import dmd.identifier; import dmd.semantic2; import dmd.semantic3; import std.algorithm; // debug version = traceGC; __gshared AnalysisContext lastContext; struct ModuleInfo { Module parsedModule; Module semanticModule; Module createSemanticModule(bool resolve) { if (semanticModule) return semanticModule; Module m = cloneModule(parsedModule); m.importedFrom = m; semanticModule = m; if (resolve) { m.resolvePackage(); // adds module to Module.amodules (ignore return which could be module with same name) Module.modules.insert(m); } return m; } } // context is kept as long as the options don't change class AnalysisContext { Options options; ModuleInfo[] modules; int findModuleInfo(Module parsedMod) { foreach (ref i, inf; modules) if (parsedMod is inf.parsedModule) return cast(int) i; return -1; } int findModuleInfo(const(char)[] filename) { foreach (ref i, inf; modules) if (filename == inf.parsedModule.srcfile.toString()) return cast(int)i; return -1; } Module loadModuleHandler(const ref Loc location, IdentifiersAtLoc* packages, Identifier ident) { // only called if module not found in Module.amodules L_nextMod: foreach (mi; modules) { if (mi.parsedModule.ident != ident) continue L_nextMod; if (auto md = mi.parsedModule.md) { if (!md.packages || !packages) if (!md.packages && !packages) return mi.createSemanticModule(false); if (md.packages.length != packages.length) continue L_nextMod; for (size_t p = 0; p < packages.length; p++) if (cast(Identifier)md.packages.opIndex(p) != md.packages.opIndex(p)) continue L_nextMod; } return mi.createSemanticModule(false); } return Module.loadFromFile(location, packages, ident, 1, 0); // enable doc comment parsing }; } // is the module already added implicitly during semantic analysis? Module findInAllModules(const(char)[] filename) { foreach(m; Module.amodules) { if (m.srcfile.toString() == filename) return m; } return null; } // Module analyzeModule(Module parsedModule, const ref Options opts) { int rootModuleIndex = -1; bool needsReinit = true; if (!lastContext) lastContext = new AnalysisContext; AnalysisContext ctxt = lastContext; auto filename = parsedModule.srcfile.toString(); int idx = ctxt.findModuleInfo(filename); if (ctxt.options == opts) { if (idx >= 0) { if (parsedModule !is ctxt.modules[idx].parsedModule) { // module updated, replace it ctxt.modules[idx].parsedModule = parsedModule; // TODO: only update dependent modules } else { if (!ctxt.modules[idx].semanticModule) { auto m = ctxt.modules[rootModuleIndex].createSemanticModule(true); } needsReinit = false; } rootModuleIndex = idx; } else { ctxt.modules ~= ModuleInfo(parsedModule); rootModuleIndex = cast(int)(ctxt.modules.length - 1); // is the module already added implicitly during semantic analysis? auto ma = findInAllModules(filename); if (ma is null) { // if not, no other module depends on it, so just append auto m = ctxt.modules[rootModuleIndex].createSemanticModule(true); needsReinit = false; } else { // TODO: check if the same as m // auto m = ctxt.modules[rootModuleIndex].createSemanticModule(); // m.importAll(null); // TODO: only update dependent modules } } } else { ctxt.options = opts; dmdSetupParams(opts); if (idx >= 0) { ctxt.modules[idx].parsedModule = parsedModule; rootModuleIndex = idx; } else { ctxt.modules ~= ModuleInfo(parsedModule); rootModuleIndex = cast(int)(ctxt.modules.length - 1); } } Module.loadModuleHandler = &ctxt.loadModuleHandler; if (needsReinit) { dmdReinit(); // clear existing semantically analyzed modules foreach(ref mi; ctxt.modules) mi.semanticModule = null; // analyze other modules lazily ctxt.modules[rootModuleIndex].createSemanticModule(true); version(none) // do this lazily foreach(ref mi; ctxt.modules) { mi.semanticModule.importAll(null); } } Module.rootModule = ctxt.modules[rootModuleIndex].semanticModule; Module.rootModule.importAll(null); Module.rootModule.dsymbolSemantic(null); Module.dprogress = 1; Module.runDeferredSemantic(); Module.rootModule.semantic2(null); Module.runDeferredSemantic2(); Module.rootModule.semantic3(null); Module.runDeferredSemantic3(); return Module.rootModule; } //////////////////////////////////////////////////////////////// version (traceGC) import tracegc; extern(C) int _CrtDumpMemoryLeaks(); extern(C) void dumpGC(); extern(Windows) void OutputDebugStringA(const(char)* lpOutputString); string[] guessImportPaths() { import std.file; if (std.file.exists(r"c:\s\d\dlang\druntime\import\object.d")) return [ r"c:\s\d\dlang\druntime\import", r"c:\s\d\dlang\phobos" ]; if (std.file.exists(r"c:\s\d\rainers\druntime\import\object.d")) return [ r"c:\s\d\rainers\druntime\import", r"c:\s\d\rainers\phobos" ]; return [ r"c:\d\dmd2\src\druntime\import", r"c:\s\d\rainers\src\phobos" ]; } unittest { version(traceGC) { import core.memory; import std.stdio; GC.collect(); writeln(GC.stats); dumpGC(); do_unittests(); writeln(GC.stats); lastContext = null; dmdInit(); dmdReinit(); wipeStack(); GC.collect(); auto stats = GC.stats; writeln(stats); //if (stats.usedSize > 2_000_000) dumpGC(); } else do_unittests(); } static void assert_equal(S, T)(S s, T t) { if (s == t) return; assert(false); } void do_unittests() { import core.memory; dmdInit(); dmdReinit(); lastContext = null; Options opts; opts.predefineDefaultVersions = true; opts.x64 = true; opts.msvcrt = true; opts.warnings = true; opts.noDeprecated = true; opts.unittestOn = true; opts.importDirs = guessImportPaths(); auto filename = "source.d"; Module checkErrors(string src, string expected_err) { initErrorMessages(filename); Module parsedModule = createModuleFromText(filename, src); assert(parsedModule); Module m = analyzeModule(parsedModule, opts); auto err = getErrorMessages(); auto other = getErrorMessages(true); if (expected_err == "<ignore>") { assert(err != ""); } else { assert_equal(err, expected_err); assert_equal(other, ""); } return m; } void checkTip(Module analyzedModule, int line, int col, string expected_tip, bool addlinks = false) { string tip = findTip(analyzedModule, line, col, line, col + 1, addlinks); if (expected_tip.endsWith("...")) assert(tip.startsWith(expected_tip[0..$-3])); else assert_equal(tip, expected_tip); } void checkDefinition(Module analyzedModule, int line, int col, string expected_fname, int expected_line, int expected_col) { string file = findDefinition(analyzedModule, line, col); assert_equal(file, expected_fname); assert_equal(line, expected_line); assert_equal(col, expected_col); } void checkBinaryIsInLocations(string src, Loc[] locs) { initErrorMessages(filename); Module parsedModule = createModuleFromText(filename, src); auto err = getErrorMessages(); assert(err == null); assert(parsedModule); Loc[] locdata = findBinaryIsInLocations(parsedModule); assert(locdata.length == locs.length); L_nextLoc: foreach(i; 0 .. locdata.length) { // not listed twice foreach(ref loc; locdata[i+1 .. $]) assert(locdata[i].linnum != loc.linnum || locdata[i].charnum != loc.charnum); // found in results foreach(ref loc; locs) if(locdata[i].linnum == loc.linnum && locdata[i].charnum == loc.charnum) continue L_nextLoc; assert(false); } } void checkExpansions(Module analyzedModule, int line, int col, string tok, string[] expected) { import std.algorithm, std.array; string[] expansions = findExpansions(analyzedModule, line, col, tok); expansions.sort(); expected.sort(); assert_equal(expansions.length, expected.length); for (size_t i = 0; i < expansions.length; i++) assert_equal(expansions[i].split(':')[0], expected[i]); } void checkIdentifierTypes(Module analyzedModule, IdTypePos[][string] expected) { static void assert_equalPositions(IdTypePos[] s, IdTypePos[] t) { assert_equal(s.length, t.length); assert_equal(s[0].type, t[0].type); foreach (i; 1.. s.length) assert_equal(s[i], t[i]); } import std.algorithm, std.array, std.string; auto idtypes = findIdentifierTypes(analyzedModule); assert_equal(idtypes.length, expected.length); auto ids = idtypes.keys(); ids.sort(); foreach (i, id; ids) assert_equalPositions(idtypes[id], expected[id]); } static struct TextPos { int line; int column; } void checkReferences(Module analyzedModule, int line, int col, TextPos[] expected) { import std.algorithm, std.array, std.string; auto refs = findReferencesInModule(analyzedModule, line, col); assert_equal(refs.length, expected.length); for (size_t i = 0; i < refs.length; i++) { assert_equal(refs[i].loc.linnum, expected[i].line); assert_equal(refs[i].loc.charnum, expected[i].column); } } void dumpAST(Module mod) { import dmd.root.outbuffer; import dmd.hdrgen; auto buf = OutBuffer(); buf.doindent = 1; moduleToBuffer(&buf, mod); OutputDebugStringA(buf.peekChars); } string source; Module m; source = q{ int main() { return abc; } }; m = checkErrors(source, "4,10,4,11:Error: undefined identifier `abc`\n"); source = q{ import std.stdio; int main(string[] args) { int xyz = 7; // Line 5 writeln(1, 2, 3); return xyz; } }; m = checkErrors(source, ""); checkTip(m, 5, 8, "(local variable) `int xyz`"); checkTip(m, 5, 10, "(local variable) `int xyz`"); checkTip(m, 6, 4, "`void std.stdio.writeln!(int, int, int)(int _param_0, int _param_1, int _param_2) @safe`\n..."); checkTip(m, 5, 11, ""); checkTip(m, 6, 8, "`void std.stdio.writeln!(int, int, int)(int _param_0, int _param_1, int _param_2) @safe`\n..."); checkTip(m, 7, 11, "(local variable) `int xyz`"); checkDefinition(m, 7, 11, "source.d", 5, 8); // xyz checkDefinition(m, 2, 14, opts.importDirs[1] ~ r"\std\stdio.d", 0, 0); // std.stdio //checkTypeIdentifiers(source); source = q{ module pkg.source; // Line 1 int main(in string[] args) in(args.length > 1) in{ assert(args.length > 1); } do { static if(is(typeof(args[0]) : string)) { // Line 5 if (args[0] is args[1]) {} else if (args[1] !is args[0]) {} } int[string] aa; if (auto p = args[0] in aa) // Line 10 if (auto q = args[1] !in aa) {} return 0; } static if(is(bool)) bool t = null is null; // Line 15 else bool f = 0 in [1:1]; enum EE { E1 = 3, E2 } void foo() // Line 20 { auto ee = EE.E1; } import core.cpuid : cpu_vendor = vendor, processor; import cpuid = core.cpuid; // Line 25 string cpu_info() { return cpu_vendor ~ " " ~ processor; } }; checkBinaryIsInLocations(source, [Loc(null, 6, 17), Loc(null, 7, 23), Loc(null, 10, 25), Loc(null, 11, 26), Loc(null, 15, 18), Loc(null, 17, 15)]); m = checkErrors(source, ""); checkTip(m, 2, 24, "(parameter) `const(string[]) args`"); // function arg checkTip(m, 3, 6, "(parameter) `const(string[]) args`"); // in contract checkTip(m, 3, 34, "(parameter) `const(string[]) args`"); // in contract checkTip(m, 5, 24, "(parameter) `const(string[]) args`"); // static if is typeof expression checkTip(m, 6, 10, "(parameter) `const(string[]) args`"); // if expression checkTip(m, 11, 21, "(parameter) `const(string[]) args`"); // !in expression checkTip(m, 10, 13, "(local variable) `int* p`"); checkTip(m, 10, 17, "(parameter) `const(string[]) args`"); // in expression checkTip(m, 10, 28, "(local variable) `int[string] aa`"); checkReferences(m, 10, 13, [TextPos(10,13)]); // p checkTip(m, 19, 9, "(enum) `pkg.source.EE`"); // enum EE checkTip(m, 19, 13, "(enum value) `pkg.source.EE.E1 = 3`"); // enum E1 checkTip(m, 19, 21, "(enum value) `pkg.source.EE.E2 = 4`"); // enum E2 checkTip(m, 22, 14, "(enum) `pkg.source.EE`"); // enum EE checkTip(m, 22, 17, "(enum value) `pkg.source.EE.E1 = 3`"); // enum E1 checkTip(m, 1, 9, "(package) `pkg`"); checkTip(m, 1, 13, "(module) `pkg.source`"); checkTip(m, 24, 10, "(package) `core`"); checkTip(m, 24, 15, "(module) `core.cpuid`\n..."); checkTip(m, 24, 23, "(alias) `pkg.source.cpu_vendor = string core.cpuid.vendor() pure nothrow @nogc @property @trusted`"); checkTip(m, 24, 36, "(alias) `pkg.source.cpu_vendor = string core.cpuid.vendor() pure nothrow @nogc @property @trusted`"); checkTip(m, 24, 44, "(alias) `pkg.source.processor = string core.cpuid.processor() pure nothrow @nogc @property @trusted`"); checkTip(m, 28, 11, "`string core.cpuid.vendor() pure nothrow @nogc @property @trusted`\n..."); source = q{ // Line 1 struct S { int field1 = 3; static long stat1 = 7; // Line 5 int fun(int par) { return field1 + par; } } void foo() { S anS; // Line 10 int x = anS.fun(1); } int fun(S s) { auto p = new S(1); // Line 15 auto seven = S.stat1; return s.field1; } }; m = checkErrors(source, ""); checkTip(m, 2, 10, "(struct) `source.S`"); checkTip(m, 4, 8, "(field) `int source.S.field1`"); checkTip(m, 6, 8, "`int source.S.fun(int par)`"); checkTip(m, 6, 16, "(parameter) `int par`"); checkTip(m, 6, 30, "(field) `int source.S.field1`"); checkTip(m, 6, 39, "(parameter) `int par`"); checkTip(m, 10, 4, "(struct) `source.S`"); checkTip(m, 10, 6, "(local variable) `source.S anS`"); checkTip(m, 11, 12, "(local variable) `source.S anS`"); checkTip(m, 11, 16, "`int source.S.fun(int par)`"); checkTip(m, 13, 11, "(struct) `source.S`"); checkTip(m, 16, 19, "(thread local global) `long source.S.stat1`"); checkTip(m, 16, 17, "(struct) `source.S`"); checkDefinition(m, 11, 16, "source.d", 6, 8); // fun checkDefinition(m, 15, 17, "source.d", 2, 10); // S source = q{ // Line 1 class C { int field1 = 3; static long stat1 = 7; // Line 5 int fun(int par) { return field1 + par; } } void foo() { C aC = new C; // Line 10 int x = aC.fun(1); } int fun(C c) { auto p = new C(); // Line 15 auto seven = C.stat1; return c.field1; } }; m = checkErrors(source, ""); checkTip(m, 2, 9, "(class) `source.C`"); checkTip(m, 4, 8, "(field) `int source.C.field1`"); checkTip(m, 6, 8, "`int source.C.fun(int par)`"); checkTip(m, 6, 16, "(parameter) `int par`"); checkTip(m, 6, 30, "(field) `int source.C.field1`"); checkTip(m, 6, 39, "(parameter) `int par`"); checkTip(m, 10, 4, "(class) `source.C`"); checkTip(m, 10, 15, "(class) `source.C`"); checkTip(m, 10, 6, "(local variable) `source.C aC`"); checkTip(m, 11, 12, "(local variable) `source.C aC`"); checkTip(m, 11, 16, "`int source.C.fun(int par)`"); checkTip(m, 13, 11, "(class) `source.C`"); checkTip(m, 16, 19, "(thread local global) `long source.C.stat1`"); checkTip(m, 16, 17, "(class) `source.C`"); checkDefinition(m, 11, 16, "source.d", 6, 8); // fun checkDefinition(m, 15, 17, "source.d", 2, 9); // C checkTip(m, 2, 9, "(class) `#<source#source.d#>.#<C#source.d,2,9#>`", true); checkTip(m, 4, 8, "(field) `int #<source#source.d#>.#<C#source.d,2,9#>.#<field1#source.d,4,8#>`", true); checkTip(m, 6, 8, "`int #<source#source.d#>.#<C#source.d,2,9#>.#<fun#source.d,6,8#>(int par)`", true); checkTip(m, 6, 16, "(parameter) `int par`", true); // enum value source = q{ // Line 1 enum TTT = 9; void fun(int y = TTT) { int x = TTT; // Line 5 static assert(msg.length == 4); } static assert(TTT == 9, msg); // compiler doesn't analyze the msg if the assert passes enum msg = "fail"; }; m = checkErrors(source, ""); checkTip(m, 2, 8, "(constant) `int source.TTT = 9`"); checkTip(m, 5, 13, "(constant) `int source.TTT = 9`"); checkTip(m, 3, 20, "(constant) `int source.TTT = 9`"); checkTip(m, 6, 18, "(constant) `string source.msg = \"fail\"`"); checkTip(m, 6, 22, "(constant) `ulong \"fail\".length = 4LU`"); // string.length? checkTip(m, 8, 17, "(constant) `int source.TTT = 9`"); checkTip(m, 8, 17, "(constant) `int source.TTT = 9`"); checkTip(m, 9, 8, "(constant) `string source.msg = \"fail\"`"); // template struct without instances source = q{ // Line 1 struct ST(T) { T f; } }; m = checkErrors(source, ""); checkTip(m, 2, 10, "(struct) `source.ST(T)`"); checkTip(m, 4, 4, "(unresolved type) `T`"); checkTip(m, 4, 6, "`T f`"); source = q{ // Line 1 inout(Exception) foo(inout(char)* ptr) { int x = 1; try { x++; } catch(Exception e) { // Line 10 auto err = cast(Error) e; Exception* pe = &e; const(Exception*) cpe = &e; throw new Error("unexpected"); } // Line 15 catch(Throwable) {} finally { x = 0; } return null; } }; m = checkErrors(source, ""); checkTip(m, 9, 20, "(local variable) `object.Exception e`"); checkTip(m, 9, 10, "(class) `object.Exception`\n..."); checkTip(m, 11, 21, "(class) `object.Error`\n..."); checkTip(m, 12, 5, "(class) `object.Exception`\n..."); checkTip(m, 13, 11, "(class) `object.Exception`\n..."); checkTip(m, 2, 9, "(class) `object.Exception`\n..."); checkTip(m, 16, 10, "(class) `object.Throwable`\n..."); source = q{ // Line 1 struct S { int field1 = 1; int field2 = 2; // Line 5 int fun(int par) { return field1 + par; } int more = 3; } void foo() { // Line 10 S anS; int x = anS.f(1); int y = anS. } }; m = checkErrors(source, "14,2,14,3:Error: identifier or `new` expected following `.`, not `}`\n" ~ "14,2,14,3:Error: semicolon expected, not `}`\n" ~ "12,15,12,16:Error: no property `f` for type `source.S`\n"); //dumpAST(m); string[] structProperties = [ "init", "sizeof", "alignof", "mangleof", "stringof", "tupleof" ]; checkExpansions(m, 12, 16, "f", [ "field1", "field2", "fun" ]); checkExpansions(m, 13, 16, "", [ "field1", "field2", "fun", "more" ] ~ structProperties); checkExpansions(m, 13, 13, "an", [ "anS" ]); source = q{ // Line 1 struct S { int field1 = 1; int field2 = 2; // Line 5 int fun(int par) { return field1 + par; } int more = 3; } int foo() { // Line 10 S anS; if (anS.fool == 1) {} return fok; } }; m = checkErrors(source, "12,11,12,12:Error: no property `fool` for type `source.S`\n" ~ "13,10,13,11:Error: undefined identifier `fok`, did you mean function `foo`?\n"); //dumpAST(m); checkExpansions(m, 12, 12, "f", [ "field1", "field2", "fun" ]); checkExpansions(m, 13, 11, "f", [ "foo" ]); source = q{ // Line 1 class C { int toDebug() { return 0; } } // Line 5 void foo() { C c = new C; c.toString(); if (c.toDebug()) {} // Line 10 } }; m = checkErrors(source, ""); checkExpansions(m, 9, 6, "to", [ "toString", "toHash", "toDebug" ]); checkExpansions(m, 10, 10, "to", [ "toString", "toHash", "toDebug" ]); source = q{ // Line 1 class C { int toDebug() { return 0; } } // Line 5 void foo() { C c = new C; if (c.to } // Line 10 }; m = checkErrors(source, "10,2,10,3:Error: found `}` when expecting `)`\n" ~ "10,2,10,3:Error: found `}` instead of statement\n" ~ "9,9,9,10:Error: no property `to` for type `source.C`, perhaps `import std.conv;` is needed?\n"); checkExpansions(m, 9, 10, "to", [ "toString", "toHash", "toDebug" ]); checkExpansions(m, 9, 8, "c", [ "c", "capacity", "clear" ]); source = q{ // Line 1 inout(void)* f10063(inout void* p) pure { return p; } // Line 5 immutable(void)* g10063(inout int* p) pure { return f10063(p); } }; m = checkErrors(source, "8,16,8,17:Error: cannot implicitly convert expression `f10063(cast(inout(void*))p)` of type `inout(void)*` to `immutable(void)*`\n"); checkExpansions(m, 8, 11, "f1", [ "f10063" ]); source = q{ // Line 1 int foo() { for return 1; // Line 5 } }; m = checkErrors(source, "<ignore>"); checkExpansions(m, 4, 4, "fo", [ "foo" ]); source = q{ // Line 1 enum Compiler { DMD, GDC, // Line 5 LDC } C }; m = checkErrors(source, "<ignore>"); checkExpansions(m, 8, 3, "C", [ "Compiler", "ClassInfo" ]); source = q{ // Line 1 enum Compiler { DMD, GDC, // Line 5 LDC } auto cc = Comp }; m = checkErrors(source, "<ignore>"); checkExpansions(m, 8, 13, "Comp", [ "Compiler" ]); source = q{ // Line 1 enum Compiler { DMD, GDC, // Line 5 LDC } auto cc = Compiler. }; m = checkErrors(source, "<ignore>"); string[] enumProperties = [ "init", "sizeof", "alignof", "mangleof", "stringof", "min", "max" ]; checkExpansions(m, 8, 22, "", [ "DMD", "GDC", "LDC" ] ~ enumProperties); source = q{ // Line 1 struct Task { enum Compiler { DMD, GDC, LDC } Com // Line 5 } }; m = checkErrors(source, "<ignore>"); checkExpansions(m, 5, 4, "Com", [ "Compiler" ]); source = q{ // Line 1 struct Task { enum Compiler { DMD, GDC, LDC } void foo(int x) // Line 5 { if (x == Compiler.DMD) {} } int member; // Line 10 } const eComp = Task.Compiler.DMD; const Task aTask; const aComp = aTask.Compiler.DMD; struct Proc // Line 15 { Task task; } void run() { // Line 20 Proc proc; proc.task.member = 3; } }; m = checkErrors(source, ""); checkExpansions(m, 7, 23, "", [ "DMD", "GDC", "LDC" ] ~ enumProperties); checkExpansions(m, 10, 1, "C", [ "Compiler", "ClassInfo" ]); checkExpansions(m, 10, 1, "Ob", [ "Object" ]); checkExpansions(m, 12, 22, "C", [ "Compiler" ]); checkExpansions(m, 12, 31, "D", [ "DMD" ]); checkExpansions(m, 14, 23, "C", [ "Compiler" ]); checkExpansions(m, 14, 32, "D", [ "DMD" ]); checkExpansions(m, 22, 14, "m", [ "member", "mangleof" ]); source = q{ // Line 1 void checkOverlappedFields() { foreach (loop; 0 .. 10) { // Line 5 const vd1 = true; } for (int loop2; loop2 < 10; loop2++) { const vd2 = true; // Line 10 } static foreach (loop3; 0 .. 10) { mixin("bool m" ~ ('0' + loop3) ~ " = true;"); } // Line 15 if (auto ifvar = null) { const vd3 = true; } else // Line 20 { const vd4 = true; } while (m1 == m2) { // Line 25 const vd5 = true; } do { const vd6 = true; } // Line 30 while (m3 == m4); struct S { int sm1, sm2; } S anS; with(anS) { } // Line 35 struct T { int sm3; S _s; alias _s this; } T aT; aT.sm1 = 3; with(aT) { } // Line 40 } bool smglob; bool vdglob; }; m = checkErrors(source, ""); checkExpansions(m, 7, 1, "vd", [ "vdglob", "vd1" ]); checkExpansions(m, 7, 1, "lo", [ "loop" ]); checkExpansions(m, 11, 1, "vd", [ "vdglob", "vd2" ]); checkExpansions(m, 11, 1, "lo", [ "loop2" ]); checkExpansions(m, 16, 1, "m", [ "m0", "m1", "m2", "m3", "m4", "m5", "m6", "m7", "m8", "m9" ]); checkExpansions(m, 19, 1, "vd", [ "vdglob", "vd3" ]); checkExpansions(m, 19, 1, "if", [ "ifvar" ]); checkExpansions(m, 23, 1, "vd", [ "vdglob", "vd4" ]); checkExpansions(m, 23, 1, "if", []); checkExpansions(m, 27, 1, "vd", [ "vdglob", "vd5" ]); checkExpansions(m, 30, 1, "vd", [ "vdglob", "vd6" ]); checkExpansions(m, 35, 1, "sm", [ "sm1", "sm2", "smglob" ]); checkExpansions(m, 37, 7, "sm", [ "sm1", "sm2", "sm3" ]); checkExpansions(m, 40, 1, "sm", [ "sm1", "sm2", "sm3", "smglob" ]); source = q{ // Line 1 struct S { int fun(int par) { return par; } } // Line 5 void fun(int rec) { S anS; int x = anS.fun(1); if (rec) // Line 10 fun(false); } }; m = checkErrors(source, ""); IdTypePos[][string] exp = [ "S": [ IdTypePos(TypeReferenceKind.Struct) ], "x": [ IdTypePos(TypeReferenceKind.LocalVariable) ], "anS": [ IdTypePos(TypeReferenceKind.LocalVariable) ], "rec": [ IdTypePos(TypeReferenceKind.ParameterVariable) ], "par": [ IdTypePos(TypeReferenceKind.ParameterVariable) ], "fun": [ IdTypePos(TypeReferenceKind.Method), IdTypePos(TypeReferenceKind.Function, 6, 8), IdTypePos(TypeReferenceKind.Method, 9, 16), IdTypePos(TypeReferenceKind.Function, 11, 5)], ]; checkIdentifierTypes(m, exp); // references source = q{ // Line 1 struct S { int fun(int par) { return par; } int foo() { return fun(1); } // Line 5 } void fun(int rec) { S anS; int x = anS.fun(1); // Line 10 if (rec) fun(false); } }; m = checkErrors(source, ""); checkReferences(m, 4, 8, [TextPos(4,8), TextPos(5, 23), TextPos(10, 16)]); // fun // foreach lowered to for source = q{ // Line 1 import std.range; int fun(int rec) { int sum = 0; // Line 5 foreach(i; iota(0, rec)) sum += i; return sum; } }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 6, 12, "(local variable) `int i`"); checkTip(m, 7, 5, "(local variable) `int sum`"); checkTip(m, 7, 12, "(local variable) `int i`"); source = q{ import std.array; void main() { auto s = split("abc", "b"); // Line 5 auto t = split( } }; m = checkErrors(source, "<ignore>"); // todo: deal with "ditto" checkTip(m, 5, 13, "`string[] std.array.split!(string, string)(string range, string sep) pure nothrow @safe`\n\nditto"); checkTip(m, 6, 13, "(template function) `std.array.split(S)(S s) if (isSomeString!S)`"); source = q{ // Line 1 enum TOK : ubyte { reserved, leftParentheses, // Line 5 rightParentheses, /// right parent doc } void foo(TOK op) { if (op == TOK.leftParentheses) {} // Line 10 } class Base : Object { this(TOK op, size_t sz) {} } // Line 15 /// right base doc class RightBase : Base { this() { // Line 20 super(TOK.rightParentheses, RightBase.sizeof); } } TOK[Base] mapBaseTOK; c_long testcase(int op) { switch(op) { // from object.d case TypeInfo_Class.ClassFlags.isCOMclass: // Line 30 case TypeInfo_Class.ClassFlags.noPointers: default: break; } return 0; } import core.stdc.config; }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 10, 8, "(parameter) `source.TOK op`"); checkTip(m, 10, 14, "(enum) `source.TOK`"); checkTip(m, 10, 18, "(enum value) `source.TOK.leftParentheses = 1`"); checkTip(m, 21, 11, "(enum) `source.TOK`"); checkTip(m, 21, 15, "(enum value) `source.TOK.rightParentheses = 2`"); checkTip(m, 21, 33, "(class) `source.RightBase`\n\nright base doc"); checkTip(m, 24, 19, "(thread local global) `source.TOK[source.Base] source.mapBaseTOK`"); checkTip(m, 24, 7, "(class) `source.Base`"); checkTip(m, 24, 3, "(enum) `source.TOK`"); checkTip(m, 30, 10, "(class) `object.TypeInfo_Class`\n..."); checkTip(m, 30, 25, "(enum) `object.TypeInfo_Class.ClassFlags`"); checkTip(m, 30, 36, "(enum value) `object.TypeInfo_Class.ClassFlags.isCOMclass = 1u`"); checkTip(m, 21, 43, "(constant) `ulong source.RightBase.sizeof = 8LU`"); IdTypePos[][string] exp2 = [ "size_t": [ IdTypePos(TypeReferenceKind.Alias) ], "Base": [ IdTypePos(TypeReferenceKind.Class) ], "mapBaseTOK": [ IdTypePos(TypeReferenceKind.TLSVariable) ], "TOK": [ IdTypePos(TypeReferenceKind.Enum) ], "testcase": [ IdTypePos(TypeReferenceKind.Function) ], "rightParentheses": [ IdTypePos(TypeReferenceKind.EnumValue) ], "__ctor": [ IdTypePos(TypeReferenceKind.Method) ], "sz": [ IdTypePos(TypeReferenceKind.ParameterVariable) ], "RightBase": [ IdTypePos(TypeReferenceKind.Class) ], "foo": [ IdTypePos(TypeReferenceKind.Function) ], "leftParentheses": [ IdTypePos(TypeReferenceKind.EnumValue) ], "op": [ IdTypePos(TypeReferenceKind.ParameterVariable) ], "reserved": [ IdTypePos(TypeReferenceKind.EnumValue) ], "noPointers": [ IdTypePos(TypeReferenceKind.EnumValue) ], "isCOMclass": [ IdTypePos(TypeReferenceKind.EnumValue) ], "TypeInfo_Class": [ IdTypePos(TypeReferenceKind.Class) ], "ClassFlags": [ IdTypePos(TypeReferenceKind.Enum) ], "Object": [ IdTypePos(TypeReferenceKind.Class) ], "core": [ IdTypePos(TypeReferenceKind.Package) ], "stdc": [ IdTypePos(TypeReferenceKind.Package) ], "config": [ IdTypePos(TypeReferenceKind.Module) ], "c_long": [ IdTypePos(TypeReferenceKind.Alias) ], "sizeof": [ IdTypePos(TypeReferenceKind.Constant) ], ]; checkIdentifierTypes(m, exp2); source = q{ // Line 1 /********************************** * Read line from `stdin`. */ S readln(S = string)(dchar terminator = '\n') { return null; } void foo() { // Line 10 cast(void)readln(); } }; m = checkErrors(source, ""); checkTip(m, 11, 14, "`string source.readln!string(dchar terminator = '\\x0a') pure nothrow @nogc @safe`" ~ "\n\nRead line from `stdin`."); source = q{ // Line 1 import std.stdio; void foo() { cast(void)readln(); // Line 5 } }; m = checkErrors(source, ""); checkTip(m, 5, 14, "`string std.stdio.readln!string(dchar terminator = '\\x0a') @system`" ~ "\n\nRead line from `stdin`..."); // string expressions with concat source = q{ void fun() { string cmd = "cmd"; bool isX86_64 = true; // Line 5 cmd = "pushd .\n" ~ `call vcvarsall.bat ` ~ (isX86_64 ? "amd64" : "x86") ~ "\n" ~ "popd\n" ~ cmd; } }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 6, 49, "(local variable) `bool isX86_64`"); checkTip(m, 6, 97, "(local variable) `string cmd`"); // alias source = q{ enum EE = 3; alias EE E1; alias E2 = EE; alias ET(T) = E1; // Line 5 alias ETint = ET!int; enum Enum { En1, En2 } alias En1 = Enum.En1; }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 2, 8, "(constant) `int source.EE = 3`"); checkTip(m, 3, 9, "(constant) `int source.EE = 3`"); checkTip(m, 3, 12, "(alias constant) `source.E1 = int source.EE = 3`"); checkTip(m, 4, 9, "(alias constant) `source.E2 = int source.EE = 3`"); checkTip(m, 4, 14, "(constant) `int source.EE = 3`"); checkTip(m, 5, 9, "(alias constant) `source.ET!int = int source.EE = 3`"); checkTip(m, 6, 9, "(alias constant) `source.ETint = int source.EE = 3`"); checkReferences(m, 7, 15, [TextPos(7,15), TextPos(8, 20)]); // En1 exp2 = [ "EE": [ IdTypePos(TypeReferenceKind.Constant) ], "E1": [ IdTypePos(TypeReferenceKind.Alias) ], "E2": [ IdTypePos(TypeReferenceKind.Alias) ], "ET": [ IdTypePos(TypeReferenceKind.Alias) ], //"T": [ IdTypePos(TypeReferenceKind.TemplateParameter) ], "ETint": [ IdTypePos(TypeReferenceKind.Alias) ], "Enum": [ IdTypePos(TypeReferenceKind.Enum) ], "En2": [ IdTypePos(TypeReferenceKind.EnumValue) ], "En1": [ IdTypePos(TypeReferenceKind.EnumValue), IdTypePos(TypeReferenceKind.Alias, 8, 9), IdTypePos(TypeReferenceKind.EnumValue, 8, 20) ], ]; checkIdentifierTypes(m, exp2); source = q{ int fun() { int sum; foreach(m; object.ModuleInfo) // Line 5 if (m) sum++; return sum; } }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 6, 9, "(foreach variable) `object.ModuleInfo* m`"); checkTip(m, 5, 12, "(foreach variable) `object.ModuleInfo* m`"); checkTip(m, 5, 15, "(module) `object`\n..."); checkTip(m, 5, 22, "(struct) `object.ModuleInfo`\n..."); exp2 = [ "fun": [ IdTypePos(TypeReferenceKind.Function) ], "sum": [ IdTypePos(TypeReferenceKind.LocalVariable) ], "m": [ IdTypePos(TypeReferenceKind.ParameterVariable) ], "object": [ IdTypePos(TypeReferenceKind.Module) ], "ModuleInfo": [ IdTypePos(TypeReferenceKind.Struct) ], ]; checkIdentifierTypes(m, exp2); source = q{ void fun() { string str = "hello"; string cmd = () // Line 5 { auto local = str.length; return str; }(); } }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 7, 10, "(local variable) `ulong local`"); checkTip(m, 7, 18, "(local variable) `string str`"); source = q{ struct S(T) { T member; } // Line 5 S!int x; }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 6, 9, "(thread local global) `source.S!int source.x`"); checkTip(m, 4, 6, "(field) `int source.S!int.member`"); checkTip(m, 6, 3, "(struct) `source.S!int`"); // scope statement in version caused crash source = q{ void fun(uint p) { switch (p) { // Line 5 case 1: version(all) { { int x = 4; // Line 10 int y = 3; } } else { { int y = 3; } } break; default: } } }; m = checkErrors(source, ""); //dumpAST(m); checkReferences(m, 10, 12, [TextPos(10, 12)]); // x exp2 = [ "all": [IdTypePos(TypeReferenceKind.VersionIdentifier)], "p": [IdTypePos(TypeReferenceKind.ParameterVariable)], "y": [IdTypePos(TypeReferenceKind.LocalVariable)], "fun": [IdTypePos(TypeReferenceKind.Function)], "x": [IdTypePos(TypeReferenceKind.LocalVariable)], ]; checkIdentifierTypes(m, exp2); // check for conditional not producing warning "unreachable code" source = q{ void foo() { version(none) { // Line 5 } int test; } }; m = checkErrors(source, ""); source = q{ static if(__traits(compiles, () { Object o = new Object; })) {} static if(!__traits(compiles, () { auto o = Object; })) {} }; m = checkErrors(source, ""); checkTip(m, 2, 37, "(class) `object.Object`\n..."); checkTip(m, 2, 44, "(local variable) `object.Object o`"); checkTip(m, 3, 47, "(class) `object.Object`\n..."); // check for semantics in unittest source = q{ unittest { int var1 = 1; int var2 = var1 + 1; // Line 5 } }; m = checkErrors(source, ""); checkTip(m, 5, 15, "(local variable) `int var1`"); // check position of var in AddrExp source = q{ void fun(int* p); void foo() { int var = 1; // Line 5 fun(&var); } }; m = checkErrors(source, ""); checkReferences(m, 5, 8, [TextPos(5,8), TextPos(6, 9)]); // var // check position of var in AddrExp source = q{ struct S { int x = 3; } void fun(T)(T* p) {} void foo() { S var; // Line 6 fun!(S)(&var); } }; m = checkErrors(source, ""); checkTip(m, 7, 9, "(struct) `source.S`"); // float properties source = q{ float flt; auto q = [flt.sizeof, flt.init, flt.epsilon, flt.mant_dig, flt.infinity, flt.min_normal, flt.min_10_exp, flt.min_exp, flt.max_10_exp, flt.max_exp]; // Line 5 float fre(cfloat f) { return f.re + f.im; } }; m = checkErrors(source, ""); checkTip(m, 3, 17, "(constant) `ulong float.sizeof = 4LU`"); checkTip(m, 3, 29, "(constant) `float float.init = nanF`"); checkTip(m, 3, 39, "(constant) `float float.epsilon = 1.19209e-07F`"); checkTip(m, 3, 52, "(constant) `int float.mant_dig = 24`"); checkTip(m, 4, 11, "(constant) `float float.infinity = infF`"); checkTip(m, 4, 25, "(constant) `float float.min_normal = 1.17549e-38F`"); checkTip(m, 4, 41, "(constant) `int float.min_10_exp = -37`"); checkTip(m, 4, 57, "(constant) `int float.min_exp = -125`"); checkTip(m, 5, 11, "(constant) `int float.max_10_exp = 38`"); checkTip(m, 5, 27, "(constant) `int float.max_exp = 128`"); checkTip(m, 8, 13, "(field) `float cfloat.re`"); checkTip(m, 8, 20, "(field) `float cfloat.im`"); // check template arguments source = q{ void fun(T)() {} void foo() { fun!(object.ModuleInfo)(); // Line 5 } }; m = checkErrors(source, ""); checkTip(m, 5, 9, "(module) `object`\n..."); checkTip(m, 5, 16, "(struct) `object.ModuleInfo`\n..."); exp2 = [ "fun": [ IdTypePos(TypeReferenceKind.Function) ], "foo": [ IdTypePos(TypeReferenceKind.Function) ], "object": [ IdTypePos(TypeReferenceKind.Module) ], "ModuleInfo": [ IdTypePos(TypeReferenceKind.Struct) ], ]; checkIdentifierTypes(m, exp2); // check template arguments source = q{ template Templ(T) { struct S { // Line 5 T payload; } enum value = 4; } void fun() // Line 10 { Templ!(ModuleInfo).S arr; int v = Templ!Object.value; }; struct Q { int q; } // Line 15 Templ!(Q).S tfun(Templ!(int).S s) { tmplfun!int(0); return typeof(return).init; } // Line 20 void tmplfun(T)(T x){} }; m = checkErrors(source, ""); checkTip(m, 2, 12, "(template) `source.Templ(T)`"); checkTip(m, 12, 4, "(template instance) `source.Templ!(object.ModuleInfo)`"); checkTip(m, 12, 23, "(struct) `source.Templ!(object.ModuleInfo).S`"); checkTip(m, 12, 11, "(struct) `object.ModuleInfo`\n..."); checkTip(m, 13, 12, "(template instance) `source.Templ!(object.Object)`"); checkTip(m, 13, 18, "(class) `object.Object`\n..."); checkTip(m, 13, 25, "(constant) `int source.Templ!(object.Object).value = 4`"); checkTip(m, 13, 25, "(constant) `int source.Templ!(object.Object).value = 4`"); checkTip(m, 16, 15, "`source.Templ!(Q).S source.tfun(source.Templ!int.S s)`"); // todo: Q not fqn checkTip(m, 16, 15, "`#<source#source.d#>.#<Templ#source.d,2,12#>!(Q).#<S#source.d,4,11#> " ~ "#<source#source.d#>.#<tfun#source.d,16,15#>(#<source#source.d#>.#<Templ#source.d,2,12#>!int.#<S#source.d,4,11#> s)`", true); checkTip(m, 18, 4, "`void #<source#source.d#>.#<tmplfun#source.d,21,8#>!int(int x) pure nothrow @nogc @safe`", true); // check FQN types in cast source = q{ void foo(Error*) { auto e = cast(object.Exception) null; auto p = cast(object.Exception*) null; // Line 5 } }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 2, 12, "(class) `object.Error`\n..."); checkTip(m, 4, 18, "(module) `object`\n..."); checkTip(m, 4, 25, "(class) `object.Exception`\n..."); checkTip(m, 5, 18, "(module) `object`\n..."); checkTip(m, 5, 25, "(class) `object.Exception`\n..."); exp2 = [ "foo": [ IdTypePos(TypeReferenceKind.Function) ], "object": [ IdTypePos(TypeReferenceKind.Module) ], "Exception": [ IdTypePos(TypeReferenceKind.Class) ], "e": [ IdTypePos(TypeReferenceKind.LocalVariable) ], "p": [ IdTypePos(TypeReferenceKind.LocalVariable) ], "Error": [ IdTypePos(TypeReferenceKind.Class) ], ]; checkIdentifierTypes(m, exp2); // fqn, function call on static members source = q{ struct Mem { static Mem foo(int sz) { return Mem(); } ref Mem func(ref Mem m); // Line 5 } __gshared Mem mem; void fun() { source.Mem m = source.mem.foo(1234); // Line 10 } }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 5, 12, "`source.Mem source.Mem.func(ref source.Mem m) ref`"); // TDOO: ref after func? checkTip(m, 5, 8, "(struct) `source.Mem`"); checkTip(m, 5, 21, "(struct) `source.Mem`"); checkTip(m, 5, 25, "(parameter) `source.Mem m`"); checkTip(m, 10, 30, "`source.Mem source.Mem.foo(int sz)`"); checkTip(m, 10, 19, "(module) `source`"); checkTip(m, 10, 26, "(__gshared global) `source.Mem source.mem`"); checkTip(m, 10, 11, "(struct) `source.Mem`"); checkTip(m, 10, 4, "(module) `source`"); // UFCS source = q{ int foo(Object o, int sz) { return sz * 2; } // Line 5 int fun() { auto o = new Object; return o. foo(4); } // Line 10 }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 9, 11, "(local variable) `object.Object o`"); checkTip(m, 9, 17, "`int source.foo(object.Object o, int sz)`"); // FQN source = q{ module pkg.pkg2.mod; static import pkg.pkg2.mod; void goo() { import pkg.pkg2.mod : poo = goo; // Line 5 pkg.pkg2.mod.goo(); poo(); pkg.pkg2.mod.tmpl(1); } void tmpl(T)(T t) {} // Line 10 }; m = checkErrors(source, ""); checkTip(m, 6, 17, "`void pkg.pkg2.mod.goo()`"); checkTip(m, 6, 13, "(module) `pkg.pkg2.mod`"); checkTip(m, 6, 4, "(package) `pkg`"); checkTip(m, 8, 4, "(package) `pkg`"); checkTip(m, 8, 13, "(module) `pkg.pkg2.mod`"); checkReferences(m, 6, 17, [TextPos(3, 8), TextPos(5, 32), TextPos(6, 17), TextPos(7, 4)]); // goo/poo checkReferences(m, 10, 8, [TextPos(8, 17), TextPos(10, 8)]); // tmpl checkReferences(m, 6, 13, [TextPos(2, 19), TextPos(2, 47), TextPos(5, 20), TextPos(6, 13), TextPos(8, 13)]); // mod checkReferences(m, 6, 4, [TextPos(2, 10), TextPos(2, 38), TextPos(5, 11), TextPos(6, 4), TextPos(8, 4)]); // pkg // UDA source = q{ struct uda {} @uda int x; void foo(@uda uint u); }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 3, 12, "(thread local global) `int source.x`"); checkTip(m, 3, 4, "(struct) `source.uda`"); checkTip(m, 4, 13, "(struct) `source.uda`"); checkReferences(m, 2, 10, [TextPos(2, 10), TextPos(3, 4), TextPos(4, 13)]); // uda // member template function instance source = q{ class ASTVisitor { void visitRecursive(T)(T node) { // Line 5 } void visitExpression(Node expr) { visitRecursive(expr); } // Line 10 } class Node {} }; m = checkErrors(source, ""); //dumpAST(m); checkTip(m, 9, 20, "(parameter) `source.Node expr`"); checkTip(m, 9, 5, "`void source.ASTVisitor.visitRecursive!(source.Node)(source.Node node) pure nothrow @nogc @safe`"); checkTip(m, 9, 5, "`void #<source#source.d#>.#<ASTVisitor#source.d,2,9#>.#<visitRecursive#source.d,4,9#>!" ~ "(#<source#source.d#>.#<Node#source.d,12,9#>)(#<source#source.d#>.#<Node#source.d,12,9#> node) pure nothrow @nogc @safe`", true); checkReferences(m, 9, 20, [TextPos(7, 30), TextPos(9, 20)]); // expr // deprecation source = q{ deprecated void dep() {} void foo() { dep(); source.dep(); } }; m = checkErrors(source, "5,3,5,4:Deprecation: function `source.dep` is deprecated\n" ~ "6,10,6,11:Deprecation: function `source.dep` is deprecated\n" ~ "6,10,6,11:Deprecation: function `source.dep` is deprecated\n"); //dumpAST(m); // type references source = q{ void foo(Object ss) { auto o = cast(Object)ss; auto s = S!Object(new Object); // Line 5 } struct S(T) { T payload; } }; m = checkErrors(source, ""); checkReferences(m, 2, 12, [TextPos(2,12), TextPos(4, 18), TextPos(5, 26), TextPos(5, 15)]); // Object // no semantics after error source = q{ int abc; void funky() { a = 1 if (a == 1) { } } }; m = checkErrors(source, "6,3,6,4:Error: found `if` when expecting `;` following statement\n" ~ "6,9,6,10:Error: found `==` when expecting `)`\n" ~ "6,12,6,13:Error: missing `{ ... }` for function literal\n" ~ "6,12,6,13:Error: found `1` when expecting `;` following statement\n" ~ "6,13,6,14:Error: found `)` instead of statement\n" ~ "9,2,9,3:Error: unrecognized declaration\n" ~ "5,3,5,4:Error: undefined identifier `a`\n" ~ "6,6,6,7:Error: undefined identifier `a`\n"); exp2 = [ "abc": [ IdTypePos(TypeReferenceKind.TLSVariable) ], "funky": [ IdTypePos(TypeReferenceKind.Function) ], ]; checkIdentifierTypes(m, exp2); /////////////////////////////////////////////////////////// // check array initializer filename = "tok.d"; source = q{ module tok; enum TOK : ubyte { reserved, // Other leftParentheses, rightParentheses, max_ } enum PREC : int { zero, expr, } }; m = checkErrors(source, ""); source = q{ import tok; immutable PREC[TOK.max_] precedence = [ TOK.reserved : PREC.zero, // Line 5 TOK.leftParentheses : PREC.expr, ]; }; filename = "source.d"; m = checkErrors(source, ""); // TODO: checkTip(m, 3, 18, "(enum) `tok.TOK`"); checkTip(m, 3, 22, "(enum value) `tok.TOK.max_ = 3`"); checkTip(m, 3, 13, "(enum) `tok.PREC`"); checkTip(m, 5, 4, "(enum) `tok.TOK`"); checkTip(m, 5, 8, "(enum value) `tok.TOK.reserved = cast(ubyte)0u`"); checkTip(m, 5, 19, "(enum) `tok.PREC`"); checkTip(m, 5, 24, "(enum value) `tok.PREC.zero = 0`"); IdTypePos[][string] exp4 = [ "tok": [ IdTypePos(TypeReferenceKind.Package) ], "zero": [ IdTypePos(TypeReferenceKind.EnumValue) ], "expr": [ IdTypePos(TypeReferenceKind.EnumValue) ], "reserved": [ IdTypePos(TypeReferenceKind.EnumValue) ], "leftParentheses": [ IdTypePos(TypeReferenceKind.EnumValue) ], "max_": [ IdTypePos(TypeReferenceKind.EnumValue) ], "PREC": [ IdTypePos(TypeReferenceKind.Enum) ], "TOK": [ IdTypePos(TypeReferenceKind.Enum) ], "precedence": [ IdTypePos(TypeReferenceKind.GSharedVariable) ], ]; checkIdentifierTypes(m, exp4); source = q{ int[] darr = [ TypeInfo_Class.ClassFlags.isCOMclass ]; int[int] aarr = [ TypeInfo_Class.ClassFlags.isCOMclass : 1, // Line 5 1 : TypeInfo_Class.ClassFlags.isCOMclass ]; int[] iarr = [ TypeInfo_Class.ClassFlags.noPointers : 1 ]; void fun() { // Line 10 auto a = darr.length + aarr.length; auto p = darr.ptr; } }; m = checkErrors(source, ""); checkTip(m, 2, 18, "(class) `object.TypeInfo_Class`\n..."); checkTip(m, 2, 33, "(enum) `object.TypeInfo_Class.ClassFlags`"); checkTip(m, 2, 44, "(enum value) `object.TypeInfo_Class.ClassFlags.isCOMclass = 1u`"); checkTip(m, 5, 4, "(class) `object.TypeInfo_Class`\n..."); checkTip(m, 5, 19, "(enum) `object.TypeInfo_Class.ClassFlags`"); checkTip(m, 5, 30, "(enum value) `object.TypeInfo_Class.ClassFlags.isCOMclass = 1u`"); checkTip(m, 6, 8, "(class) `object.TypeInfo_Class`\n..."); checkTip(m, 6, 23, "(enum) `object.TypeInfo_Class.ClassFlags`"); checkTip(m, 6, 34, "(enum value) `object.TypeInfo_Class.ClassFlags.isCOMclass = 1u`"); checkTip(m, 8, 18, "(class) `object.TypeInfo_Class`\n..."); checkTip(m, 8, 33, "(enum) `object.TypeInfo_Class.ClassFlags`"); checkTip(m, 8, 44, "(enum value) `object.TypeInfo_Class.ClassFlags.noPointers = 2u`"); checkTip(m, 11, 18, "(field) `ulong int[].length`"); checkTip(m, 11, 32, "(field) `ulong int[int].length`"); checkTip(m, 12, 18, "(field) `int* int[].ptr`"); checkReferences(m, 2, 44, [TextPos(2,44), TextPos(5, 30), TextPos(6, 34)]); // isCOMclass IdTypePos[][string] exp3 = [ "isCOMclass": [ IdTypePos(TypeReferenceKind.EnumValue) ], "noPointers": [ IdTypePos(TypeReferenceKind.EnumValue) ], "TypeInfo_Class": [ IdTypePos(TypeReferenceKind.Class) ], "ClassFlags": [ IdTypePos(TypeReferenceKind.Enum) ], "darr": [ IdTypePos(TypeReferenceKind.TLSVariable) ], "aarr": [ IdTypePos(TypeReferenceKind.TLSVariable) ], "iarr": [ IdTypePos(TypeReferenceKind.TLSVariable) ], "fun": [ IdTypePos(TypeReferenceKind.Function) ], "length": [ IdTypePos(TypeReferenceKind.MemberVariable) ], "ptr": [ IdTypePos(TypeReferenceKind.MemberVariable) ], "a": [ IdTypePos(TypeReferenceKind.LocalVariable) ], "p": [ IdTypePos(TypeReferenceKind.LocalVariable) ], ]; checkIdentifierTypes(m, exp3); // more than 7 cases translated to table source = q{ bool isReserved(const(char)[] ident) { // more than 7 cases use dup switch (ident) { case "DigitalMars": case "GNU": case "LDC": case "SDC": case "Windows": case "Win32": case "Win64": case "linux": case "OSX": case "iOS": case "TVOS": case "WatchOS": case "FreeBSD": case "OpenBSD": case "NetBSD": case "DragonFlyBSD": case "BSD": case "Solaris": return true; default: return false; } } }; m = checkErrors(source, ""); // change settings to restart everything opts.unittestOn = false; filename = "source2.d"; m = checkErrors(source, ""); // can object.d create reserved classes, e.g. Error? source = q{ module object; alias ulong size_t; class Object { } class Throwable { } class Error : Throwable { } }; m = checkErrors(source, ""); // beware: bad object.d after this point lastContext = null; /////////////////////////////////////////////////////////// // check imports, selective and renamed filename = "shell.d"; source = q{ module shell; alias uint VSITEMID; const VSITEMID VSITEMID_NIL = cast(VSITEMID)(-1); struct shell_struct {} class original {} void tmplFun(T)(T t) {} }; m = checkErrors(source, ""); source = q{ import shell : VSITEMID_NIL, shell_struct, renamed = original, tmplFun; void ffoo() { if (uint(1) == VSITEMID_NIL) {} // Line 5 } shell_struct s; renamed r; }; filename = "source.d"; m = checkErrors(source, ""); checkTip(m, 5, 19, "(constant global) `const(uint) shell.VSITEMID_NIL`"); checkDefinition(m, 5, 19, "shell.d", 4, 18); // VSITEMID_NIL checkDefinition(m, 7, 3, "shell.d", 5, 10); // shell_struct checkTip(m, 7, 3, "(struct) `shell.shell_struct`"); checkTip(m, 8, 3, "(alias) `shell.original source.renamed`"); checkDefinition(m, 2, 38, "shell.d", 5, 10); // shell_struct in import checkDefinition(m, 2, 56, "shell.d", 6, 9); // original in import checkDefinition(m, 2, 66, "shell.d", 7, 8); // tmplFun in import checkDefinition(m, 8, 3, "shell.d", 6, 9); // renamed IdTypePos[][string] exp5 = [ "shell": [ IdTypePos(TypeReferenceKind.Module) ], "VSITEMID_NIL": [ IdTypePos(TypeReferenceKind.GSharedVariable) ], "shell_struct": [ IdTypePos(TypeReferenceKind.Struct) ], "ffoo": [ IdTypePos(TypeReferenceKind.Function) ], "s": [ IdTypePos(TypeReferenceKind.TLSVariable) ], "r": [ IdTypePos(TypeReferenceKind.TLSVariable) ], "original": [ IdTypePos(TypeReferenceKind.Class) ], "renamed": [ IdTypePos(TypeReferenceKind.Alias) ], "tmplFun": [ IdTypePos(TypeReferenceKind.Template) ], ]; checkIdentifierTypes(m, exp5); /////////////////////////////////////////////////////////// // parameter storage class lastContext = null; filename = "source.d"; source = q{ void funIn(in int p) {} void funRef(ref int p) {} void funOut(out int p) {} void funLazy(lazy int p) {} // Line 5 void foo(int[] arr) { int x; funIn(x); // Line 10 funRef(x); funOut(x); funLazy(x); funRef(arr[3]); } }; m = checkErrors(source, ""); auto stcpos = findParameterStorageClass(m); assert_equal(stcpos.length, 4); assert_equal(stcpos[0], ParameterStorageClassPos(0, 11, 11)); assert_equal(stcpos[1], ParameterStorageClassPos(1, 12, 11)); assert_equal(stcpos[2], ParameterStorageClassPos(2, 13, 12)); assert_equal(stcpos[3], ParameterStorageClassPos(0, 14, 11)); } unittest { string filename = "source.d"; string source; Module checkOutline(string src, int depth, string[] expected) { initErrorMessages(filename); Module parsedModule = createModuleFromText(filename, src); assert(parsedModule); string[] lines = getModuleOutline(parsedModule, depth); assert_equal(lines.length, expected.length); for (size_t i = 0; i < lines.length; i++) assert_equal(lines[i], expected[i]); return parsedModule; } source = q{ // Line 1 struct S { int field1 = 3; static long stat1 = 7; // Line 5 int fun(int par) { return field1 + par; } } void foo() { S anS; // Line 10 int x = anS.fun(1); } int fun(S s) { class Nested // Line 15 { override string toString() { return "nested"; } void method() {} struct Inner { // Line 20 void test(); } } return 7; } // Line 25 template tmpl(T) { struct helper { T x; } class tmpl { helper* hlp; } enum E { E1, E2 } // Line 30 } auto tmplfun(T)(T x) { return x; } enum { anonymous } }; string[] expected = [ "1:2:7:STRU:S", "2:6:6:FUNC:fun(int par)", "1:8:12:FUNC:foo()", "1:13:25:FUNC:fun(S s)", "2:15:23:CLSS:Nested", "3:17:17:FUNC:toString()", "3:18:18:FUNC:method()", "3:19:22:STRU:Inner", // "4:21:FUNC:test()", "1:26:31:TMPL:tmpl(T)", "2:28:28:STRU:helper", "2:29:29:CLSS:tmpl(T)", "2:30:30:ENUM:E", "1:32:32:FUNC:tmplfun(T)(T x)", ]; checkOutline(source, 3, expected); } unittest { import core.memory; import std.path; import std.file; dmdInit(); string thisdir = std.path.dirName(__FILE_FULL_PATH__); string srcdir = std.path.buildPath(thisdir, "dmd", "src"); Options opts; opts.predefineDefaultVersions = true; opts.x64 = true; opts.msvcrt = true; opts.warnings = true; opts.importDirs = guessImportPaths() ~ srcdir ~ dirName(dirName(thisdir)); opts.stringImportDirs ~= srcdir ~ "/dmd/res"; // for default_ddoc_theme.ddoc opts.stringImportDirs ~= srcdir ~ "/.."; // for VERSION opts.versionIds ~= "MARS"; //opts.versionIds ~= "NoBackend"; auto filename = std.path.buildPath(srcdir, "dmd", "expressionsem.d"); Module checkErrors(string src, string expected_err) { try { initErrorMessages(filename); Module parsedModule = createModuleFromText(filename, src); assert(parsedModule); Module m = analyzeModule(parsedModule, opts); auto err = getErrorMessages(); auto other = getErrorMessages(true); if (expected_err != "<ignore>") { assert_equal(err, expected_err); assert_equal(other, ""); } return m; } catch(Throwable t) { throw t; } } version(traceGC) { import core.memory; import std.stdio; GC.collect(); writeln(GC.stats); dumpGC(); } bool dump = false; string source; Module m; int i = 0; //foreach(i; 0..40) { filename = __FILE_FULL_PATH__; source = cast(string)std.file.read(filename); if (i & 1) { import std.array; source = replace(source, "std", "stdx"); m = checkErrors(source, "<ignore>"); } else m = checkErrors(source, ""); //version(traceGC) { import std.stdio; if ((i % 10) == 0) GC.collect(); auto stats = GC.stats; writeln(stats); } version(traceGC) { if (stats.usedSize >= 400_000_000) dumpGC(); } } foreach(f; ["expressionsem.d", "typesem.d", "statementsem.d"]) { filename = std.path.buildPath(srcdir, "dmd", f); source = cast(string)std.file.read(filename); m = checkErrors(source, ""); version(traceGC) { GC.collect(); auto stats = GC.stats; writeln(stats); } } } version(test): // https://issues.dlang.org/show_bug.cgi?id=20253 enum TTT = 9; void dummy() { import std.file; std.file.read(""); // no tip on std and file auto x = TTT; int[] arr; auto s = arr.ptr; auto y = arr.length; enum my = arr.mangleof; enum zi = size_t.init; enum z0 = size_t.min; enum z1 = size_t.max; enum z2 = size_t.alignof; enum z3 = size_t.stringof; enum z4 = size_t.mangleof; cfloat flt = cfloat.nan; auto q = [flt.sizeof, flt.init, flt.epsilon, flt.mant_dig, flt.infinity, flt.re, flt.im, flt.min_normal, flt.min_10_exp]; //auto ti = Object.classinfo; } struct XMem { int x; void foo2(int xx = TTT + 1); static XMem foo(int sz) { return XMem(); } } __gshared XMem xmem; auto foo3(ref XMem x, @uda(EE) int sz) { XMem m; m.x = 3; fun!XMem(x); return x; } template Templ(T, int n) { struct Templ { T payload; } } import vdc.dmdserver.dmdinit; void fun(T)(T p) if(TTT == 9) { Templ!(XMem, TTT) arr; vdc.dmdserver.semanalysis.XMem m1 = vdc.dmdserver.semanalysis.xmem.foo(1234); vdc.dmdserver.semanalysis.XMem m2 = vdc.dmdserver.semanalysis.xmem.foo(1234); Enum* ee; } void goo() { import std.file; XMem m; vdc.dmdserver.semanalysis.foo3(m, 1234); std.file.read("abc"); } enum Enum { En1, En2, En3 } alias En1 = Enum.En1; enum EE = Enum.En2; alias object.Object E1; alias E2 = EE; alias E3 = E2; alias ET(T) = T.sizeof; // Line 5 enum msg = "huhu"; @nogc: struct uda { int x; string y; } @EE @uda(EE, msg) shared int x; import core.memory; static assert(__traits(compiles, () { Enum ee = En1; })); static assert(!__traits(compiles, () { Enum ee = En; })); int abc; void funky() { int a = 1; if (a == 1) { } }
D