code
stringlengths
3
10M
language
stringclasses
31 values
instance Mil_336_Rick(Npc_Default) { name[0] = "Rick"; guild = GIL_NONE; id = 336; voice = 10; flags = 0; npcType = npctype_main; aivar[AIV_DropDeadAndKill] = TRUE; B_SetAttributesToChapter(self,1); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1h_Mil_Sword); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Fatbald",Face_N_Ricelord,BodyTex_N,ITAR_Mil_L); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Militia.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,30); daily_routine = Rtn_Start_336; }; func void Rtn_Start_336() { TA_Smalltalk(8,0,22,0,"NW_FARM3_PATH_02"); TA_Smalltalk(22,0,8,0,"NW_FARM3_PATH_02"); }; func void Rtn_MilComing_336() { TA_Stand_ArmsCrossed(8,0,22,0,"NW_FARM3_HOUSE"); TA_Stand_ArmsCrossed(22,0,8,0,"NW_FARM3_HOUSE"); }; func void Rtn_Flucht2_336() { TA_Smalltalk(8,0,22,0,"NW_RUMBOLD_FLUCHT2"); TA_Smalltalk(22,0,8,0,"NW_RUMBOLD_FLUCHT2"); }; func void Rtn_Flucht3_336() { TA_Smalltalk(8,0,22,0,"NW_RUMBOLD_FLUCHT3"); TA_Smalltalk(22,0,8,0,"NW_RUMBOLD_FLUCHT3"); };
D
/* Copyright (c) 1996 Blake McBride 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 HOLDER 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. */ #ifdef _MSC_VER #if _MSC_VER > 1200 #define _CRT_SECURE_NO_DEPRECATE #define _POSIX_ #endif #endif #include <windows.h> #include <sql.h> #include <sqlext.h> #include <string.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #if defined(unix) && !defined(__WINE__) #include <unistd.h> #define O_BINARY 0 #else #include <io.h> #endif #include <sys/locking.h> #include <stddef.h> #include <errno.h> #include <ctype.h> #include <time.h> #include <fcntl.h> #include <winsock.h> #include "TransactionProcessing.h" #define LOCK_BYTES 100000000L defclass TransactionProcessing { char iMode; /* R or W */ int iFlushMode; /* 1, 2 or 3 */ object iTFile; /* transaction file name */ FILE *iFP; /* transaction file handle */ object iSFile; /* StringFile object */ int iBuflen; int iBufused; char *iBuf; long *(*iRouteFun)(char *tableName); Head iH; /* selection criteria */ long iDT; /* date YYYYMMDD */ int iTime; /* time HHMM */ iOutputStreamObjects; }; #define TP_VERSION 2 #define VERSION 1 static char AddTransCmd[] = "addtransaction"; static int AddTransCmdLen; static char what_type(object cls, object si); static long what_size(object cls, void *p, int varText); static int is_zero(object val, void *p); static char *make_date(long t); static void write_value(ivType *iv, object val, void *p, int flg, int varText, object stream); static int display_value(ivType *iv, FILE *fp, Field f, int n, char *RE, int change, object stream); static int set_field(ivType *iv, Field f, char *field, char *RE, int change, object stmt, int exists); static object make_object(ivType *iv, Field f, char *RE, int change, int exists); static void formatField(int type, char *buf, object fval); extern char *Getenv(char *); private imeth int pCommitOutputStreams(object self, object dataBuffStream); private imeth int pWriteHostInt(int val, object stream); private imeth void pCheckServer(); private imeth pConnectToServer(char *server); typedef unsigned long int uint32_t; private imeth int pWriteHostInt(int val, object stream) { uint32_t network_val; network_val = htonl(val); return gWrite(stream, (char *)&network_val, sizeof(network_val)); } private imeth pConnectToServer(char *server) { int listenPort = 9966; char *colonpos; object socketstream; if (!server || *server == '\0') gError(Object, "gNewTP: Invalid DataSync Server Name"); colonpos = strchr(server, ':'); if (colonpos) { *colonpos = '\0'; listenPort = atoi(colonpos + 1); } socketstream = gSocketConnect(Socket, server, listenPort, 0); if (!socketstream) gError(Object, "gNewTP: Unable to connect to Datasync Server"); return socketstream; } private imeth int pCommitOutputStreams(object dataBuffStream) { object s; object obj; int writebuflen; if (!gLength(dataBuffStream)) return 1; writebuflen = gLength(dataBuffStream); for (s=gSequence(iOutputStreamObjects) ; obj = gNext(s) ; ) { if (ClassOf(obj) == File) { gTPLock(CLASS, gPointerValue(obj)); if (gWrite(obj, gStringValue(dataBuffStream), writebuflen) != writebuflen) { gTPUnlock(CLASS, gPointerValue(obj)); return 0; } gFlush(obj); _commit(_fileno((FILE *)gPointerValue(obj))); gTPUnlock(CLASS, gPointerValue(obj)); } if (ClassOf(obj) == Socket) { int readlen; char donebuf[80]; object outbuf; *donebuf = '\0'; //build buffer with write command, buffer len, buffer data outbuf = gNew(String); pWriteHostInt(self, AddTransCmdLen, outbuf); gWrite(outbuf, AddTransCmd, AddTransCmdLen); pWriteHostInt(self, writebuflen, outbuf); gWrite(outbuf, gStringValue(dataBuffStream), writebuflen); //write buffer to socket if (!gWrite(obj, gStringValue(outbuf), gLength(outbuf)) == gLength(outbuf)) gError(Object, "Write Error in DataSync server"); //read response and check if (!gRead(obj, (char *)&readlen, sizeof(readlen)) == sizeof(readlen)) gError(Object, "Read Error in DataSync server"); readlen = ntohl(readlen); if (readlen > 100 || readlen < 0) gError(Object, "Read Length Error in DataSync server"); if (!gRead(obj, donebuf, readlen) == readlen) gError(Object, "Read Error in DataSync server"); donebuf[readlen] = '\0'; if (strcmp(donebuf, "DataSync Write Ok")) gError(Object, "Error writing transaction to DataSync server"); gDispose(outbuf); } } return 1; } cmeth gNewTP(char type, char *file, long station, long user) { char buf[256], envBuf[512], *envptr; int useTranFile; object obj = gNew(super); accessIVsOf(obj); useTranFile = 1; iOutputStreamObjects = gNew(LinkObject); AddTransCmdLen = strlen(AddTransCmd); if (type == 'W' || type == 'w') iMode = 'W'; else iMode = 'R'; envptr = Getenv("DATASYNC_SERVER_HOST"); if (envptr && iMode == 'W') { object socketstream; char *envAndTran = Getenv("DATASYNC_SERVER_AND_TRANFILE"); if (!(envAndTran && (*envAndTran == 'Y' || *envAndTran == 'y'))) useTranFile = 0; socketstream = pConnectToServer(obj, envptr); if (!socketstream) gError(Object, "gNewTP: Unable to connect to Datasync Server"); gAddLast(iOutputStreamObjects, socketstream); iSFile = gNewWithServer(StringFile, socketstream); } if (useTranFile) { object filestream; if (!iSFile) { sprintf(buf, "%s.sf", file); iSFile = gNewWithStr(StringFile, buf); } sprintf(buf, "%s.tf", file); iTFile = gNewWithStr(String, buf); // iFlushMode = ?? if (iMode == 'W') filestream = gOpenFile(File, buf, "a+b"); // I think I need the + for the rewind to work else filestream = gOpenFile(File, buf, "rb"); if (!filestream) return gDispose(obj); iFP = gPointerValue(filestream); gAddLast(iOutputStreamObjects, filestream); } iH.station = station; iH.user = user; iH.version = (unsigned char) TP_VERSION; // version 1 had 2 byte string lengths // version 2 has 4 byte string lengths return obj; } imeth gDispose, gDeepDispose () { gDeepDispose(iOutputStreamObjects); gDispose(iSFile); if (iTFile) iTFile = gDispose(iTFile); return gDispose(super); } imeth gTPAdd(stmt) { static char WE[] = "TPAdd: Error writing to transaction file."; char *table; object seq, si; Field f; object db = gDatabase(stmt); long *rv; int ri=1; object dataBuffStream; int status; if (!iRouteFun) return NULL; if (iMode != 'W') gError(Object, "TPAdd: transaction file not opened for writing"); iH.time = time(NULL); iH.type = 'A'; table = gName(stmt); if (!table) gError(Object, "TPAdd: no table name"); if (!stricmp(table, gHistoryTable(gDatabase(stmt)))) rv = iRouteFun(gFldGetString(stmt, "tablename")); else rv = iRouteFun(table); if (!rv && *rv <= 0) return NULL; dataBuffStream = gNew(String); iH.table = gGetStringIndex(iSFile, table); while (*rv >= ri) { if (!(iH.route = rv[ri++])) continue; gWrite(dataBuffStream, (char *)&iH, sizeof(iH)); for (seq=gSequence(gColumns(stmt)) ; si = gNext(seq) ; ) { long size; object val; void *p, *field; val = gGetValueToPut(si); if (!val || ClassOf(val) == UniqueIdentifier) // SQL_GUID types continue; p = ClassOf(val) == String ? (void *) gStringValue(val) : gPointerValue(val); if (is_zero(val, p)) continue; f.type = what_type(ClassOf(val), si); if (f.type == 'V') p = (void *) gStringValue(gGetColVarText(si)); size = what_size(ClassOf(val), p, f.type == 'V'); f.field = gGetStringIndex(iSFile, field=gName(si)); if (!f.type) gError(Object, "TPAdd: invalid field type"); if (ClassOf(val) == Character) f.cval = *(char *)p; gWrite(dataBuffStream, (char *)&f, sizeof(f)); write_value(iv, val, p, 0, f.type == 'V', dataBuffStream); } f.field = 0L; f.type = 'Z'; gWrite(dataBuffStream, (char *)&f, sizeof(f)); } status = pCommitOutputStreams(self, dataBuffStream); gDispose(dataBuffStream); if (!status) gError(Object, WE); return self; } imeth gTPChange(stmt) { static char WE[] = "TPChange: Error writing to transaction file."; char *table, *fname; object pk, seq, si, colDict, fld, old, new, db; Field f; void *p; int nkf; // number of key fields char *pks[40]; long *rv; int ri=1; object dataBuffStream; int status; if (!iRouteFun) return NULL; if (iMode != 'W') gError(Object, "TPChange: transaction file not opened for writing"); iH.time = time(NULL); iH.type = 'C'; table = gName(stmt); if (!table) gError(Object, "TPChange: no table name"); if (!stricmp(table, gHistoryTable(gDatabase(stmt)))) rv = iRouteFun(gFldGetString(stmt, "tablename")); else rv = iRouteFun(table); if (!rv && *rv <= 0) return NULL; dataBuffStream = gNew(String); iH.table = gGetStringIndex(iSFile, table); while (*rv >= ri) { if (!(iH.route = rv[ri++])) continue; gWrite(dataBuffStream, (char *)&iH, sizeof(iH)); pk = gGetPrimaryKey(db=gDatabase(stmt), table); if (!pk) vError(self, "Can't update %s when no primary key declared", table); colDict = gColumnDictionary(stmt); for (nkf=0, seq=gSequence(pk) ; fld=gNext(seq) ; ) { int diff; si = gFindValueStr(colDict, fname=gStringValue(fld)); pks[nkf++] = fname; old = gOriginalValue(si); new = gGetValueToPut(si); if (!old || !new || ClassOf(old) == UniqueIdentifier) // SQL_GUID continue; p = ClassOf(old) == String ? (void *) gStringValue(old) : gPointerValue(old); f.field = gGetStringIndex(iSFile, fname); f.type = what_type(ClassOf(old), NULL); diff = old && gCompare(old, new); f.cval = diff ? '2' : '1'; if (!f.type) gError(Object, "TPChange: invalid field type"); gWrite(dataBuffStream, (char *)&f, sizeof(f)); write_value(iv, old, p, 1, 0, dataBuffStream); if (diff) { p = ClassOf(new) == String ? (void *) gStringValue(new) : gPointerValue(new); write_value(iv, new, p, 1, 0, dataBuffStream); } } for (seq=gSequence(gColumns(stmt)) ; si=gNext(seq) ; ) { int i; // Don't write out primary key fields again! fname = gName(si); for (i=0 ; i < nkf ; i++) if (!strcmpi(fname, pks[i])) break; if (i != nkf) continue; old = gOriginalValue(si); new = gGetValueToPut(si); if (!old || !new || ClassOf(old) == UniqueIdentifier) // SQL_GUID continue; f.type = what_type(ClassOf(old), si); if (f.type == 'V') { old = gGetOrgVarText(si); new = gGetColVarText(si); } if (!old || !gCompare(old, new)) continue; p = ClassOf(old) == String ? (void *) gStringValue(old) : gPointerValue(old); f.field = gGetStringIndex(iSFile, fname); f.cval = '2'; if (!f.type) gError(Object, "TPChange: invalid field type"); gWrite(dataBuffStream, (char *)&f, sizeof(f)); write_value(iv, old, p, 1, f.type == 'V', dataBuffStream); p = ClassOf(new) == String ? (void *) gStringValue(new) : gPointerValue(new); write_value(iv, new, p, 1, f.type == 'V', dataBuffStream); } f.field = 0L; f.type = 'Z'; gWrite(dataBuffStream, (char *)&f, sizeof(f)); } status = pCommitOutputStreams(self, dataBuffStream); gDispose(dataBuffStream); if (!status) gError(Object, WE); return self; } imeth gTPDelete(stmt) { static char WE[] = "TPDelete: Error writing to transaction file."; char *table, *fname; object pk, seq, si, colDict, fld, old; Field f; void *p; long *rv; int ri=1; object dataBuffStream; int status; if (!iRouteFun) return NULL; if (iMode != 'W') gError(Object, "TPDelete: transaction file not opened for writing"); iH.time = time(NULL); iH.type = 'D'; table = gName(stmt); if (!table) gError(Object, "TPDelete: no table name"); if (!stricmp(table, gHistoryTable(gDatabase(stmt)))) rv = iRouteFun(gFldGetString(stmt, "tablename")); else rv = iRouteFun(table); rv = iRouteFun(table); if (!rv && *rv <= 0) return NULL; dataBuffStream = gNew(String); iH.table = gGetStringIndex(iSFile, table); while (*rv >= ri) { if (!(iH.route = rv[ri++])) continue; gWrite(dataBuffStream, (char *)&iH, sizeof(iH)); pk = gGetPrimaryKey(gDatabase(stmt), table); if (!pk) vError(self, "Can't update %s when no primary key declared", table); colDict = gColumnDictionary(stmt); for (seq=gSequence(pk) ; fld=gNext(seq) ; ) { si = gFindValueStr(colDict, fname=gStringValue(fld)); old = gOriginalValue(si); if (!old || ClassOf(old) == UniqueIdentifier) // SQL_GUID continue; p = ClassOf(old) == String ? (void *) gStringValue(old) : gPointerValue(old); f.type = what_type(ClassOf(old), NULL); f.field = gGetStringIndex(iSFile, fname); if (ClassOf(old) == Character) f.cval = *(char *)p; if (!f.type) { gTPUnlock(CLASS, iFP); gError(Object, "TPDelete: invalid field type"); } gWrite(dataBuffStream, (char *)&f, sizeof(f)); write_value(iv, old, p, 0, 0, dataBuffStream); } f.field = 0L; f.type = 'Z'; gWrite(dataBuffStream, (char *)&f, sizeof(f)); } status = pCommitOutputStreams(self, dataBuffStream); gDispose(dataBuffStream); if (!status) gError(Object, WE); return self; } imeth gTPExecute(char *table, char *cmd) { static char WE[] = "TPExecute: Error writing to transaction file."; long *rv; int ri=1; object dataBuffStream; int status; if (!iRouteFun) return NULL; rv = iRouteFun(table); if (!rv && *rv <= 0) return NULL; dataBuffStream = gNew(String); if (iMode != 'W') gError(Object, "TPExecute: transaction file not opened for writing"); iH.time = time(NULL); iH.type = 'E'; iH.table = strlen(cmd)+1; while (*rv >= ri) { if (!(iH.route = rv[ri++])) continue; gWrite(dataBuffStream, (char *)&iH, sizeof(iH)); gWrite(dataBuffStream, cmd, (int) iH.table); } status = pCommitOutputStreams(self, dataBuffStream); gDispose(dataBuffStream); if (!status) gError(Object, WE); return self; } #if 0 static int is_vartext(object stmt, char *table) { static char *v[3] = {"vartextdatabaseid", "vartextid", "vartextcount"}; int i; object kseq, fld, pk = gGetPrimaryKey(gDatabase(stmt), table); if (!pk || gSize(pk) != 3) return 0; for (kseq=gSequence(pk) ; fld = gNext(kseq) ; ) { for (i=0 ; i < 3 ; i++) if (!strcmp(v[i], gStringValue(fld))) break; if (i == 3) { gDispose(kseq); return 0; } } return 1; } #endif static void update_add(ivType *iv, object stmt, char *table, char *RE) { int r, texists; Field f; object cols; r = gInsert(stmt, table); texists = !r || r == SQL_NO_DATA_FOUND; if (texists) cols = gColumnDictionary(stmt); for (f.type = ' ' ; f.type != 'Z' ; ) { char *field; int exists; if (sizeof(f) != fread(&f, 1, sizeof(f), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (f.type != 'Z') { field = gStringFromIndex(iSFile, f.field); if (!field) gError(Object, "TPUpdate: Missing field name in string table."); exists = texists && !!gFindStr(cols, field); set_field(iv, f, field, RE, iH.type == 'C', stmt, exists); } } if (texists) gAddRecord(stmt); } #define BUFFER_SIZE 8192 #define GO_END \ while (*p) { \ p++; \ if (++n > BUFFER_SIZE) \ vError(Object, "QueryBuffer overflow"); \ } static void update_change(ivType *iv, object stmt, char *table, char *RE, char *buf) { int r, texists, exists, exec=0, type = gDBMS_type(stmt), nvt=0; Field f; object cols, vals, val1, val2; long vt[100]; r = gInsert(stmt, table); // get a list of valid columns texists = !r || r == SQL_NO_DATA_FOUND; if (texists) cols = gColumnDictionary(stmt); vals = gNewWithInt(StringDictionary, 101); for (f.type = ' ' ; f.type != 'Z' ; ) { char *field; if (sizeof(f) != fread(&f, 1, sizeof(f), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (f.type != 'Z') { field = gStringFromIndex(iSFile, f.field); if (!field) gError(Object, "TPUpdate: Missing field name in string table."); exists = texists && !!gFindStr(cols, field); val1 = make_object(iv, f, RE, iH.type == 'C', exists); if (f.cval == '2') { val2 = make_object(iv, f, RE, iH.type == 'C', exists); if (exists) gAddStr(vals, field, gNewWithObjObj(ObjectAssociation, val1, val2)); } else if (exists) gAddStr(vals, field, val1); } } if (texists) { char *p=buf, *name; object seq, si, pk, kseq, fld; int add_comma = 0, n=0; pk = gGetPrimaryKey(gDatabase(stmt), table); if (!pk) vError(Object, "Can't update %s when no primary key declared", table); sprintf(p, "select * from %s ", table); GO_END; strcpy(p, " WHERE "); GO_END; for (exec=1, add_comma=0, kseq=gSequence(pk) ; fld = gNext(kseq) ; ) { val1 = gFindValueStr(vals, name=gStringValue(fld)); if (val1) { if (add_comma) { strcpy(p, " AND "); GO_END; } else add_comma = 1; strcpy(p, name); strcat(p, " = "); GO_END; formatField(type, p, ClassOf(val1) == ObjectAssociation ? gKey(val1) : val1); GO_END; } else exec = 0; } } if (texists && exec) if (!gDBSelectOne(stmt, buf)) { object seq, sa, oa; for (seq = gSequence(vals) ; sa = gNext(seq) ; ) if (ClassOf(oa=gValue(sa)) == ObjectAssociation) { // val1 = gKey(oa); val2 = gValue(oa); if (ClassOf(val2) == Character) gFldSetChar(stmt, gStringKey(sa), (int) gCharValue(val2)); else if (ClassOf(val2) == String) { char *str = gStringValue(val2); if (*str == (char) 1) // VarText gFldSetString(stmt, gStringKey(sa), str+1); else gFldSetString(stmt, gStringKey(sa), str); } else if (ClassOf(val2) == ShortInteger) gFldSetShort(stmt, gStringKey(sa), gShortValue(val2)); else if (ClassOf(val2) == LongInteger || ClassOf(val2) == Date || ClassOf(val2) == Time) gFldSetLong(stmt, gStringKey(sa), gLongValue(val2)); else if (ClassOf(val2) == DoubleFloat) gFldSetDouble(stmt, gStringKey(sa), gDoubleValue(val2)); else if (ClassOf(val2) == DateTime) { long dt, tm; gDateTimeValues(val2, &dt, &tm); gFldSetDateTime(stmt, gStringKey(sa), dt, tm); } } gUpdateRecord(stmt); } gDeepDispose(vals); } #if 0 static void update_change(ivType *iv, object stmt, char *table, char *RE, char *buf) { int r, texists, exists, exec=0, type = gDBMS_type(stmt), nvt=0; Field f; object cols, vals, val1, val2; long vt[100]; r = gInsert(stmt, table); // get a list of valid columns texists = !r || r == SQL_NO_DATA_FOUND; if (texists) cols = gColumnDictionary(stmt); vals = gNewWithInt(StringDictionary, 101); for (f.type = ' ' ; f.type != 'Z' ; ) { char *field; if (sizeof(f) != fread(&f, 1, sizeof(f), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (f.type != 'Z') { field = gStringFromIndex(iSFile, f.field); if (!field) gError(Object, "TPUpdate: Missing field name in string table."); exists = texists && !!gFindStr(cols, field); val1 = make_object(iv, f, RE, iH.type == 'C', exists); if (f.cval == '2') { val2 = make_object(iv, f, RE, iH.type == 'C', exists); if (exists) gAddStr(vals, field, gNewWithObjObj(ObjectAssociation, val1, val2)); } else if (exists) gAddStr(vals, field, val1); } } if (texists) { char *p=buf, *name; object seq, si, pk, kseq, fld; int add_comma = 0, n=0; pk = gGetPrimaryKey(gDatabase(stmt), table); if (!pk) vError(Object, "Can't update %s when no primary key declared", table); sprintf(p, "UPDATE %s SET ", table); GO_END; for (seq=gSequence(gColumns(stmt)) ; si = gNext(seq) ; ) { val1 = gFindValueStr(vals, name=gName(si)); if (val1 && ClassOf(val1) == ObjectAssociation) { if (add_comma) { *p++ = ','; *p++ = ' '; n += 2; } else add_comma = 1; strcpy(p, name); strcat(p, " = "); GO_END; formatField(type, p, gValue(val1)); GO_END; } } strcpy(p, " WHERE "); GO_END; for (exec=1, add_comma=0, kseq=gSequence(pk) ; fld = gNext(kseq) ; ) { val1 = gFindValueStr(vals, name=gStringValue(fld)); if (val1) { if (add_comma) { strcpy(p, " AND "); GO_END; } else add_comma = 1; strcpy(p, name); strcat(p, " = "); GO_END; formatField(type, p, ClassOf(val1) == ObjectAssociation ? gKey(val1) : val1); GO_END; } else exec = 0; } } if (texists && exec) gExecute(stmt, buf); gDeepDispose(vals); } #endif static void update_delete(ivType *iv, object stmt, char *table, char *RE, char *buf) { int r, texists, exists, exec=0, type = gDBMS_type(stmt); Field f; object cols, vals, val1; r = gInsert(stmt, table); // get a list of valid columns texists = !r || r == SQL_NO_DATA_FOUND; if (texists) cols = gColumnDictionary(stmt); vals = gNewWithInt(StringDictionary, 101); for (f.type = ' ' ; f.type != 'Z' ; ) { char *field; if (sizeof(f) != fread(&f, 1, sizeof(f), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (f.type != 'Z') { field = gStringFromIndex(iSFile, f.field); if (!field) gError(Object, "TPUpdate: Missing field name in string table."); exists = texists && !!gFindStr(cols, field); val1 = make_object(iv, f, RE, iH.type == 'C', exists); if (exists) gAddStr(vals, field, val1); } } if (texists) { char *p=buf, *name; object seq, si, pk, kseq, fld; int add_comma = 0, n=0; pk = gGetPrimaryKey(gDatabase(stmt), table); if (!pk) vError(Object, "Can't update %s when no primary key declared", table); sprintf(p, "DELETE FROM %s WHERE ", table); GO_END; for (exec=1, add_comma=0, kseq=gSequence(pk) ; fld = gNext(kseq) ; ) { val1 = gFindValueStr(vals, name=gStringValue(fld)); if (val1) { if (add_comma) { strcpy(p, " AND "); GO_END; } else add_comma = 1; strcpy(p, name); strcat(p, " = "); GO_END; formatField(type, p, val1); GO_END; } else exec = 0; } } if (texists && exec) gExecute(stmt, buf); gDeepDispose(vals); } static void update_execute(ivType *iv, object stmt, long len, char *RE, char *buf) { if ((int) len != fread(buf, 1, (int) len, iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } gExecute(stmt, buf); } imeth gTPUpdate(db) { static char RE[] = "TPUpdate: Error reading from transaction file."; object stmt = gNewStatement(db); char *buf; if (iMode == 'W') gError(Object, "TPUpdate: transaction file not opened for reading"); gTPLock(CLASS, iFP); buf = malloc(BUFFER_SIZE); if (!buf) gError(Object, "Out of memory."); gReturnError(stmt, SQL_ERROR); // gLogODBC(Statement, "odbc.log"); rewind(iFP); while (sizeof(iH) == fread(&iH, 1, sizeof(iH), iFP)) { char *table; if (iH.version > TP_VERSION) vError(Object, "Transaction file wrong version (%d/%d)", iH.version, TP_VERSION); if (iH.type != 'E') { table = gStringFromIndex(iSFile, iH.table); if (!table) gError(Object, "TPUpdate: Missing table name in string table."); } if (iH.type == 'A') { update_add(iv, stmt, table, RE); } else if (iH.type == 'C') { update_change(iv, stmt, table, RE, buf); } else if (iH.type == 'D') { update_delete(iv, stmt, table, RE, buf); } else if (iH.type == 'E') { update_execute(iv, stmt, iH.table, RE, buf); } else gError(Object, "TPUpdate: Invalid record type."); } gTPUnlock(CLASS, iFP); gDispose(stmt); free(buf); // gLogODBC(Statement, NULL); return self; } imeth gTPDump(char *file) { static char RE[] = "TPDump: Error reading from transaction file."; FILE *fp = fopen(file, "w"); char *buf; object s; object obj, stream = NULL; long bytesReadAtStart; int dataLen; if (!fp) gError(Object, "Can't open TPDump file"); if (iMode == 'W') gError(Object, "TPDump: transaction file not opened for reading"); buf = malloc(BUFFER_SIZE); if (!buf) gError(Object, "Out of memory."); //find out what kind of stream we're using for (s=gSequence(iOutputStreamObjects) ; obj = gNext(s) ; ) { if (ClassOf(obj) == Socket) stream = obj; else if (ClassOf(obj) == File && !stream) stream = obj; } if (ClassOf(stream) == File) { gTPLock(CLASS, iFP); rewind(iFP); } else { char *cmd = "sendtranfile"; int cmdlen = strlen(cmd); //send cmd to get file gWriteInt32(stream, cmdlen); gWrite(stream, cmd, cmdlen); //read length if (!gReadInt32(stream, &dataLen)) gError(Object, "DataSync Server socket read error."); bytesReadAtStart = gGetTotalBytesRead(stream); } while (1) { int end, n; Field f; if (ClassOf(stream) == File) { if (sizeof(iH) != gRead(stream, (char *)&iH, sizeof(iH))) break; } else { if (gGetTotalBytesRead(stream) - bytesReadAtStart >= dataLen) break; gRead(stream, (char *)&iH, sizeof(iH)); } if (iH.version > TP_VERSION) vError(Object, "Transaction file wrong version (%d/%d)", iH.version, TP_VERSION); fprintf(fp, "%s - %hd - %hd - %c - %s (%ld)\n", make_date(iH.time), iH.station, iH.route, iH.type, iH.type != 'E' ? gStringFromIndex(iSFile, iH.table) : "", iH.table); if (iH.type == 'E') { if ((int) iH.table != gRead(stream, buf, (int) iH.table)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%s\n", buf); } else for (n=1, end=0 ; !end ; n++) { if (sizeof(f) != gRead(stream, (char *)&f, sizeof(f))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } end = display_value(iv, fp, f, n, RE, iH.type == 'C', stream); if (!end && iH.type == 'C' && f.cval == '2') display_value(iv, fp, f, n, RE, 1, stream); } fprintf(fp, "\n"); fflush(fp); } if (ClassOf(stream) == File) { gTPUnlock(CLASS, iFP); fclose(fp); } free(buf); return self; } static long copy_file(char *ffile, FILE *tfp, char *buf, int trunc) { int len=1; long tlen=0L; FILE *ffp; ffp = fopen(ffile, "rb"); if (!ffp) vError(Object, "Can't open %s", ffile); gTPLock(CLASS, ffp); while (len > 0) { len = fread(buf, 1, BUFFER_SIZE, ffp); if (len > 0) if (len != fwrite(buf, 1, len, tfp)) { gTPUnlock(CLASS, ffp); gError(Object, "write error"); } else tlen += len; else if (ferror(ffp)) { gTPUnlock(CLASS, ffp); gError(Object, "read error"); } } if (trunc) { _chsize(_fileno(ffp), 0L); _commit(_fileno(ffp)); } gTPUnlock(CLASS, ffp); fclose(ffp); return tlen; } static void copy_file2(char *tfile, FILE *ffp, char *buf, long mlen) { int len; FILE *tfp; tfp = fopen(tfile, "wb"); if (!tfp) vError(Object, "Can't create %s", tfile); while (mlen) { len = BUFFER_SIZE > mlen ? mlen : BUFFER_SIZE; len = fread(buf, 1, len, ffp); if (len > 0) if (len != fwrite(buf, 1, len, tfp)) gError(Object, "write error"); else mlen -= len; else if (ferror(ffp)) gError(Object, "read error"); } fclose(tfp); } cmeth gTPCombine(char *sfile, char *tfile, char *cfile) { static char WE[] = "gTPCombine: write error"; FILE *tfp; char *buf; CHead h; buf = malloc(BUFFER_SIZE); if (!buf) gError(self, "out of memory"); tfp = fopen(cfile, "wb"); if (!tfp) vError(self, "Can't create %s", cfile); strcpy(h.sig, "CTF"); h.version = VERSION; h.time = time(NULL); h.tlen = h.slen = 0L; if (1 != fwrite(&h, sizeof(h), 1, tfp)) gError(self, WE); h.tlen = copy_file(tfile, tfp, buf, 1); h.slen = copy_file(sfile, tfp, buf, 0); rewind(tfp); if (1 != fwrite(&h, sizeof(h), 1, tfp)) gError(self, WE); fclose(tfp); free(buf); return self; } cmeth gTPSplit(char *sfile, char *tfile, char *cfile) { static char RE[] = "gTPSplit: read error"; FILE *fp; char *buf; CHead h; buf = malloc(BUFFER_SIZE); if (!buf) gError(self, "out of memory"); fp = fopen(cfile, "rb"); if (!fp) vError(self, "Can't open %s", cfile); if (1 != fread(&h, sizeof(h), 1, fp)) gError(self, RE); if (strcmp("CTF", h.sig)) vError(self, "%s is not a combined transaction file.", cfile); if (h.version != VERSION) gError(self, "Incorrect CTF file version number."); if (sizeof(h) + h.tlen + h.slen != _filelength(_fileno(fp))) gError(self, "CTF file incorrect size."); copy_file2(tfile, fp, buf, h.tlen); copy_file2(sfile, fp, buf, h.slen); fclose(fp); free(buf); return self; } static object make_object(ivType *iv, Field f, char *RE, int change, int exists) { object rval = NULL; switch (f.type) { case '1': // Character { char val; if (!change) val = f.cval; else if (1 != fread(&val, 1, 1, iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithChar(Character, (int) val); } break; case '2': // String { long size; char *buf, buffer[256]; if (iH.version == 1) { unsigned short ssize; if (sizeof(ssize) != fread(&ssize, 1, sizeof(ssize), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } size = ssize; } else { if (sizeof(size) != fread(&size, 1, sizeof(size), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } } if (size > sizeof(buffer)) { buf = malloc((unsigned)size); if (!buf) { gTPUnlock(CLASS, iFP); gError(Object, "Out of memory."); } } else buf = buffer; if (size != fread(buf, 1, (int) size, iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithStr(String, buf); if (size > sizeof(buffer)) free(buf); } break; case 'V': // VarText { long size; char *buf, buffer[256]; if (iH.version == 1) { unsigned short ssize; if (sizeof(ssize) != fread(&ssize, 1, sizeof(ssize), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } size = ssize; } else { if (sizeof(size) != fread(&size, 1, sizeof(size), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } } if (size+1 > sizeof(buffer)) { buf = malloc((unsigned)size+1); if (!buf) { gTPUnlock(CLASS, iFP); gError(Object, "Out of memory."); } } else buf = buffer; *buf = (char) 1; // signify VarText if (size != fread(buf+1, 1, (int) size, iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithStr(String, buf); if (size+1 > sizeof(buffer)) free(buf); } break; case '3': // ShortInteger { short val; if (sizeof(short) != fread(&val, 1, sizeof(short), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithInt(ShortInteger, (int) val); } break; case '4': // LongInteger { long val; if (sizeof(long) != fread(&val, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithLong(LongInteger, val); } break; case '6': // DoubleFloat { double val; if (sizeof(double) != fread(&val, 1, sizeof(double), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithDouble(DoubleFloat, val); } break; case '7': // Date { long val; if (sizeof(long) != fread(&val, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithLong(Date, val); } break; case '8': // Time { long val; if (sizeof(long) != fread(&val, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewWithLong(Time, val); } break; case '9': // DateTime { long d, t; if (sizeof(long) != fread(&d, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (sizeof(long) != fread(&t, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) rval = gNewDateTime(DateTime, d, t); } break; case 'Z': break; } return rval; } static int set_field(ivType *iv, Field f, char *field, char *RE, int change, object stmt, int exists) { int end = 0; switch (f.type) { case '1': // Character { char val; if (!change) val = f.cval; else if (1 != fread(&val, 1, 1, iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) gFldSetChar(stmt, field, (int) val); } break; case '2': // String case 'V': // VarText { long size; char *buf, buffer[256]; if (iH.version == 1) { unsigned short ssize; if (sizeof(ssize) != fread(&ssize, 1, sizeof(ssize), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } size = ssize; } else { if (sizeof(size) != fread(&size, 1, sizeof(size), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } } if (size > sizeof(buffer)) { buf = malloc((unsigned)size); if (!buf) { gTPUnlock(CLASS, iFP); gError(Object, "Out of memory."); } } else buf = buffer; if (size != fread(buf, 1, (int) size, iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) if (f.type == 'V') gFldSetString(stmt, field, buf); else gFldSetString(stmt, field, buf); if (size > sizeof(buffer)) free(buf); } break; case '3': // ShortInteger { short val; if (sizeof(short) != fread(&val, 1, sizeof(short), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) gFldSetShort(stmt, field, (int) val); } break; case '4': // LongInteger { long val; if (sizeof(long) != fread(&val, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) gFldSetLong(stmt, field, val); } break; case '6': // DoubleFloat { double val; if (sizeof(double) != fread(&val, 1, sizeof(double), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) gFldSetDouble(stmt, field, val); } break; case '7': // Date { long val; if (sizeof(long) != fread(&val, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) gFldSetLong(stmt, field, val); } break; case '8': // Time { long val; if (sizeof(long) != fread(&val, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) gFldSetLong(stmt, field, val); } break; case '9': // DateTime { long d, t; if (sizeof(long) != fread(&d, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (sizeof(long) != fread(&t, 1, sizeof(long), iFP)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (exists) gFldSetDateTime(stmt, field, d, t); } break; case 'Z': end = 1; break; } return end; } static int display_value(ivType *iv, FILE *fp, Field f, int n, char *RE, int change, object stream) { int end = 0; switch (f.type) { case '1': // Character { char val; if (!change) val = f.cval; else if (1 != gRead(stream, (char *)&val, 1)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - Character - '%c'\n", n, gStringFromIndex(iSFile, f.field), f.field, val); } break; case '2': // String case 'V': // VarText { long size; char *buf, buffer[256]; if (iH.version == 1) { unsigned short ssize; if (sizeof(short) != gRead(stream, (char *)&ssize, sizeof(short))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } size = ssize; } else { if (sizeof(size) != gRead(stream, (char *)&size, sizeof(size))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } } if (size > sizeof(buffer)) { buf = malloc((unsigned)size); if (!buf) { gTPUnlock(CLASS, iFP); gError(Object, "Out of memory."); } } else buf = buffer; if (size != gRead(stream, buf, (int) size)) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - %s - \"%s\"\n", n, gStringFromIndex(iSFile, f.field), f.field, f.type == '2' ? "String" : "VarText", buf); if (size > sizeof(buffer)) free(buf); } break; case '3': // ShortInteger { short val; if (sizeof(short) != gRead(stream, (char *)&val, sizeof(short))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - Short - %hd\n", n, gStringFromIndex(iSFile, f.field), f.field, val); } break; case '4': // LongInteger { long val; if (sizeof(long) != gRead(stream, (char *)&val, sizeof(long))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - Long - %ld\n", n, gStringFromIndex(iSFile, f.field), f.field, val); } break; case '6': // DoubleFloat { double val; if (sizeof(double) != gRead(stream, (char *)&val, sizeof(double))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - Double - %f\n", n, gStringFromIndex(iSFile, f.field), f.field, val); } break; case '7': // Date { long val; if (sizeof(long) != gRead(stream, (char *)&val, sizeof(long))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - Date - %ld\n", n, gStringFromIndex(iSFile, f.field), f.field, val); } break; case '8': // Time { long val; if (sizeof(long) != gRead(stream, (char *)&val, sizeof(long))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - Time - %ld\n", n, gStringFromIndex(iSFile, f.field), f.field, val); } break; case '9': // DateTime { long d, t; if (sizeof(long) != gRead(stream, (char *)&d, sizeof(long))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } if (sizeof(long) != gRead(stream, (char *)&t, sizeof(long))) { gTPUnlock(CLASS, iFP); gError(Object, RE); } fprintf(fp, "\t%3d - %s (%ld) - DateTime - %ld, %ld\n", n, gStringFromIndex(iSFile, f.field), f.field, d, t); } break; case 'Z': end = 1; fprintf(fp, "\tEOF - %d fields\n", n-1); break; } return end; } static void write_value(ivType *iv, object val, void *p, int flg, int varText, object stream) { static char WE[] = "Error writing value to transaction file."; long size = what_size(ClassOf(val), p, varText); if (ClassOf(val) == String || varText) gWrite(stream, (char *)&size, sizeof(size)); if (ClassOf(val) == DateTime) { long d, t; gDateTimeValues(val, &d, &t); gWrite(stream, (char *)&d, sizeof(long)); gWrite(stream, (char *)&t, sizeof(long)); } else if (ClassOf(val) != Character || flg) { gWrite(stream, (char *)p, size); } } static char *make_date(long t) { char *p = asctime(localtime((time_t*)&t)); char *b = p; for ( ; *p ; p++) if (*p == '\r' || *p == '\n') { *p = '\0'; break; } return b; } static int is_zero(object val, void *p) { object cls = ClassOf(val); if (cls == Character || cls == String) return !*(char *)p; if (cls == ShortInteger) return !*(short *)p; if (cls == LongInteger || cls == Date || cls == Time) return !*(long *)p; if (cls == DoubleFloat) return *(double *)p == 0.0; if (cls == DateTime) { long d, t; gDateTimeValues(val, &d, &t); if (!d && !t) return 1; } return 0; } #define TY(x, y) if (cls == x) return y static char what_type(object cls, object si) { if ((cls == LongInteger || cls == ShortInteger) && si && gVarTextChanged(si)) return 'V'; // VarText TY(Character, '1'); TY(String, '2'); TY(ShortInteger, '3'); TY(LongInteger, '4'); TY(DoubleFloat, '6'); TY(Date, '7'); TY(Time, '8'); TY(DateTime, '9'); TY(UniqueIdentifier, 'U'); return '\0'; } static long what_size(object cls, void *p, int varText) { if (varText) return (unsigned) strlen((char *)p) + 1U; TY(Character, sizeof(char)); if (cls == String) return (unsigned) strlen((char *)p) + 1U; TY(ShortInteger, sizeof(short)); TY(LongInteger, sizeof(long)); TY(DoubleFloat, sizeof(double)); TY(Date, sizeof(long)); TY(Time, sizeof(long)); TY(DateTime, 2*sizeof(long)); TY(UniqueIdentifier, sizeof(GUID)); return 0; } cmeth gTPLock(FILE *fp) { int n = 0; rewind(fp); while (_locking(_fileno(fp), _LK_LOCK, LOCK_BYTES)) if (errno != EDEADLOCK || ++n == 40) gError(Object, "Can't get lock on file."); return self; } cmeth gTPUnlock(FILE *fp) { if (!fp) return self; rewind(fp); _locking(_fileno(fp), _LK_UNLCK, LOCK_BYTES); return self; } static void formatField(int type, char *buf, object fval) { if (ClassOf(fval) == String) sprintf(buf, "~%s~", gStringValue(fval)); else if (ClassOf(fval) == ShortInteger) sprintf(buf, "%d", (int) gShortValue(fval)); else if (ClassOf(fval) == LongInteger) sprintf(buf, "%ld", gLongValue(fval)); else if (ClassOf(fval) == DoubleFloat) sprintf(buf, "%f", gDoubleValue(fval)); else if (ClassOf(fval) == Time) { object obj, obj2; long tm; tm = gLongValue(fval); obj2 = tm ? fval : gNewWithLong(Time, 0L); sprintf(buf, "~%s~", gStringValue(obj=gFormatTime(obj2, "%H:%M:%S.%L"))); gDispose(obj); if (!tm) gDispose(obj2); } else if (ClassOf(fval) == Date) { object obj, obj2; long dt; dt = gLongValue(fval); if (type != DBMS_ACCESS) obj2 = dt ? fval : gNewWithLong(Date, 18000101L); else obj2 = dt ? fval : gNewWithLong(Date, 0L); sprintf(buf, "~%s~", gStringValue(obj=gFormatDate(obj2, "%Y-%N-%D"))); gDispose(obj); if (!dt) gDispose(obj2); } else if (ClassOf(fval) == DateTime) { object dobj, tobj, dobj2, tobj2; long dt, tm; gDateTimeValues(fval, &dt, &tm); if (type != DBMS_ACCESS) dobj2 = dt ? fval : gNewWithLong(Date, 18000101L); else dobj2 = dt ? fval : gNewWithLong(Date, 0L); tobj2 = tm ? fval : gNewWithLong(Time, 0L); sprintf(buf, "~%s %s~", gStringValue(dobj=gFormatDate(dobj2, "%Y-%N-%D")), gStringValue(tobj=gFormatTime(tobj2, "%H:%M:%S.%L%p"))); gDispose(dobj); gDispose(tobj); if (!dt) gDispose(dobj2); if (!tm) gDispose(tobj2); } else *buf = '\0'; } imeth gSetRouteFunction(long *(*fun)(char *tab)) { iRouteFun = fun; return self; }
D
instance GRD_233_Bloodwyn(Npc_Default) { name[0] = "Bloodwyn"; npcType = npctype_main; guild = GIL_GRD; level = 15; voice = 8; id = 233; attribute[ATR_STRENGTH] = 80; attribute[ATR_DEXTERITY] = 60; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 190; attribute[ATR_HITPOINTS] = 190; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Militia.mds"); Mdl_SetVisualBody(self,"hum_body_Naked0",0,1,"Hum_Head_Bald",18,1,grd_armor_m); B_Scale(self); Mdl_SetModelFatness(self,0); aivar[AIV_IMPORTANT] = TRUE; fight_tactic = FAI_HUMAN_Strong; Npc_SetTalentSkill(self,NPC_TALENT_1H,2); EquipItem(self,ItMw_1H_Sword_04); CreateInvItem(self,ItFoApple); CreateInvItems(self,ItMiNugget,10); daily_routine = Rtn_start_233; }; func void Rtn_start_233() { TA_Guard(6,0,7,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(7,0,8,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(8,0,9,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(9,0,10,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(10,0,11,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(11,0,12,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(12,0,13,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(13,0,14,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(14,0,15,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(15,0,16,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(16,0,17,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(17,0,18,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(18,0,19,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(19,0,20,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(20,0,21,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(21,0,22,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(22,0,23,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(23,0,0,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(0,0,1,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(1,0,2,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(2,0,3,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(3,0,4,0,"OCR_OUTSIDE_HUT_63"); TA_Guard(4,0,5,0,"OCR_OUTSIDE_HUT_77_INSERT"); TA_Guard(5,0,6,0,"OCR_OUTSIDE_HUT_63"); }; func void Rtn_FMTaken_233() { TA_StayNeutral(7,0,20,0,"OCR_NORTHGATE_LEFT_GUARD_CHANGE"); TA_StayNeutral(20,0,7,0,"OCR_NORTHGATE_LEFT_GUARD_CHANGE"); }; func void Rtn_FMTaken2_233() { TA_Stay(7,0,20,0,"OCR_NORTHGATE_LEFT_GUARD_CHANGE"); TA_Stay(20,0,7,0,"OCR_NORTHGATE_LEFT_GUARD_CHANGE"); };
D
void doStuff(T)() @safe if (isNumeric!T) { }
D
#!/usr/bin/env rdmd /* * Footer generator for the specification pages. * This script can be used to update the nav footers. * * Copyright (C) 2017 by D Language Foundation * * Author: Sebastian Wilzbach * * 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) */ // Written in the D programming language. void main() { import std.algorithm, std.array, std.ascii, std.conv, std.file, std.path, std.range, std.string, std.typecons; import std.stdio : File, writeln, writefln; auto specDir = __FILE_FULL_PATH__.dirName.buildNormalizedPath; auto mainFile = specDir.buildPath("./spec.ddoc"); enum ddocKey = "$(SPEC_SUBNAV_"; alias Entry = Tuple!(string, "name", string, "title"); Entry[] entries; // parse the menu from the Ddoc file auto specText = mainFile.readText; if (!specText.findSkip("SUBMENU2")) writeln("Menu file has an invalid format."); foreach (line; specText.splitter("\n")) { enum ddocEntryStart = "$(ROOT_DIR)spec/"; if (line.canFind(ddocEntryStart)) { auto ps = line.splitter(ddocEntryStart).dropOne.front.splitter(","); entries ~= Entry(ps.front.stripExtension.withExtension(".dd").to!string, ps.dropOne.front.idup.strip); } } foreach (i, entry; entries) { // build the prev|next Ddoc string string navString = ddocKey; if (i == 0) navString ~= text("NEXT ", entries[i + 1].name.stripExtension, ", ", entries[i + 1].title); else if (i < entries.length - 1) navString ~= text("PREV_NEXT ", entries[i - 1].name.stripExtension, ", ", entries[i - 1].title, ", ", entries[i + 1].name.stripExtension, ", ", entries[i + 1].title); else navString ~= text("PREV_NEXT ", entries[i - 1].name.stripExtension, ", ", entries[i - 1].title); navString ~= ")"; writefln("%s: %s", entry.name, navString); auto fileName = specDir.buildPath(entry.name); auto text = fileName.readText; // idempotency - check for existing tags, otherwise insert new auto pos = text.representation.countUntil(ddocKey); if (pos > 0) { auto len = text[pos .. $].representation.countUntil(")"); text = text.replace(text[pos .. pos + len + 1], navString); } else { // insert at the end of the ddoc page auto v = text[0 .. $ - text.retro.countUntil((newline ~ "Macros:").retro)]; pos = v.length - v.retro.countUntil(")"); text.insertInPlace(pos - 1, navString ~ "\n"); } fileName.write(text); } }
D
import std.stdio; class C { long v = 10; long get(){ return v; } void set(long n){ v = n; } } struct A { private C c; this(C _) { c = _; writefln("&_ = %08X", cast(void*)&_); writefln("&this = %08X", cast(int)&address_test); } alias c this; } void main() { auto a = A(new C()); int[10] arr; writefln("&a = %08X", cast(int)&a); //offset? pragma(msg, A.tupleof); }
D
/** Functions and structures for dealing with threads and concurrent access. This module is modeled after std.concurrency, but provides a fiber-aware alternative to it. All blocking operations will yield the calling fiber instead of blocking it. Copyright: © 2013 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.core.concurrency; public import std.concurrency : MessageMismatch, OwnerTerminated, LinkTerminated, PriorityMessageException, MailboxFull, OnCrowding; import core.time; import std.traits; import std.typecons; import std.typetuple; import std.variant; import std.string; import vibe.core.task; private extern (C) pure nothrow void _d_monitorenter(Object h); private extern (C) pure nothrow void _d_monitorexit(Object h); /** Locks the given shared object and returns a ScopedLock for accessing any unshared members. Using this function will ensure that there are no data races. For this reason, the class type T is required to contain no unshared or unisolated aliasing. Examples: --- import vibe.core.concurrency; class Item { private double m_value; this(double value) { m_value = value; } @property double value() const { return m_value; } } class Manager { private { string m_name; Isolated!(Item) m_ownedItem; Isolated!(shared(Item)[]) m_items; } this(string name) { m_name = name; auto itm = makeIsolated!Item(3.5); m_ownedItem = itm; } void addItem(shared(Item) item) { m_items ~= item; } double getTotalValue() const { double sum = 0; // lock() is required to access shared objects foreach( itm; m_items ) sum += itm.lock().value; // owned objects can be accessed without locking sum += m_ownedItem.value; return sum; } } void main() { import std.stdio; auto man = new shared(Manager)("My manager"); { auto l = man.lock(); l.addItem(new shared(Item)(1.5)); l.addItem(new shared(Item)(0.5)); } writefln("Total value: %s", man.lock().getTotalValue()); } --- See_Also: core.concurrency.isWeaklyIsolated */ ScopedLock!T lock(T : Object)(shared(T) object) pure nothrow { return ScopedLock!T(object); } /// ditto void lock(T : Object)(shared(T) object, scope void delegate(scope T) accessor) nothrow { auto l = lock(object); accessor(l.unsafeGet()); } /** Proxy structure that keeps the monitor of the given object locked until it goes out of scope. Any unshared members of the object are safely accessible during this time. The usual way to use it is by calling lock. See_Also: lock */ struct ScopedLock(T) { static assert(is(T == class), "ScopedLock is only usable with classes."); // static assert(isWeaklyIsolated!(FieldTypeTuple!T), T.stringof~" contains non-immutable, non-shared references. Accessing it in a multi-threaded environment is not safe."); private Rebindable!T m_ref; @disable this(this); this(shared(T) obj) pure nothrow { assert(obj !is null, "Attempting to lock null object."); m_ref = cast(T)obj; _d_monitorenter(getObject()); assert(getObject().__monitor !is null); } pure nothrow ~this() { assert(m_ref !is null); assert(getObject().__monitor !is null); _d_monitorexit(getObject()); } /** Returns an unshared reference to the locked object. Note that using this function breaks type safety. Be sure to not escape the reference beyond the life time of the lock. */ @property inout(T) unsafeGet() inout nothrow { return m_ref; } inout(T) opDot() inout nothrow { return m_ref; } //pragma(msg, "In ScopedLock!("~T.stringof~")"); //pragma(msg, isolatedRefMethods!T()); #line 1 "isolatedAggreateMethodsString" // mixin(isolatedAggregateMethodsString!T()); #line 151 "source/vibe/core/concurrency.d" private Object getObject() pure nothrow { static if( is(Rebindable!T == struct) ) return cast()m_ref.get(); else return cast()m_ref; } } /** Creates a new isolated object. Isolated objects contain no mutable aliasing outside of their own reference tree. They can thus be safely converted to immutable and they can be safely passed between threads. The function returns an instance of Isolated that will allow proxied access to the members of the object, as well as providing means to convert the object to immutable or to an ordinary mutable object. Examples: --- import vibe.core.concurrency; class Item { double value; string name; } void modifyItem(Isolated!Item itm) { itm.value = 1.3; // TODO: send back to initiating thread } void main() { immutable(Item)[] items; // create immutable item procedurally auto itm = makeIsolated!Item(); itm.value = 2.4; itm.name = "Test"; items ~= itm.freeze(); // send isolated item to other thread auto itm2 = makeIsolated!Item(); spawn(&modifyItem, itm2.move()); // ... } --- */ pure Isolated!T makeIsolated(T, ARGS...)(ARGS args) { static if (is(T == class)) return Isolated!T(new T(args)); else static if (is(T == struct)) return T(args); else static if (isPointer!T && is(PointerTarget!T == struct)) { alias TB = PointerTarget!T; return Isolated!T(new TB(args)); } else static assert(false, "makeIsolated works only for class and (pointer to) struct types."); } unittest { static class C { this(int x) pure {} } static struct S { this(int x) pure {} } alias CI = typeof(makeIsolated!C(0)); alias SI = typeof(makeIsolated!S(0)); alias SPI = typeof(makeIsolated!(S*)(0)); static assert(isStronglyIsolated!CI); static assert(is(CI == IsolatedRef!C)); static assert(isStronglyIsolated!SI); static assert(is(SI == S)); static assert(isStronglyIsolated!SPI); static assert(is(SPI == IsolatedRef!S)); } /** Creates a new isolated array. Examples: --- import vibe.core.concurrency; void compute(Tid tid, Isolated!(double[]) array, size_t start_index) { foreach( i; 0 .. array.length ) array[i] = (start_index + i) * 0.5; send(tid, array.move()); } void main() { import std.stdio; // compute contents of an array using multiple threads auto arr = makeIsolatedArray!double(256); // partition the array (no copying takes place) size_t[] indices = [64, 128, 192, 256]; Isolated!(double[])[] subarrays = arr.splice(indices); // start processing in threads Tid[] tids; foreach( i, idx; indices ) tids ~= spawn(&compute, thisTid, subarrays[i].move(), idx); // collect results auto resultarrays = new Isolated!(double[])[tids.length]; foreach( i, tid; tids ) resultarrays[i] = receiveOnly!(Isolated!(double[])).move(); // BUG: the arrays must be sorted here, but since there is no way to tell // from where something was received, this is difficult here. // merge results (no copying takes place again) foreach( i; 1 .. resultarrays.length ) resultarrays[0].merge(resultarrays[i]); // convert the final result to immutable auto result = resultarrays[0].freeze(); writefln("Result: %s", result); } --- */ pure Isolated!(T[]) makeIsolatedArray(T)(size_t size) { Isolated!(T[]) ret; ret.length = size; return ret.move(); } /** Unsafe facility to assume that an existing reference is unique. */ Isolated!T assumeIsolated(T)(T object) { return Isolated!T(object); } /** Encapsulates the given type in a way that guarantees memory isolation. See_Also: makeIsolated, makeIsolatedArray */ template Isolated(T) { static if( isWeaklyIsolated!T ){ alias T Isolated; } else static if( is(T == class) ){ alias IsolatedRef!T Isolated; } else static if( isPointer!T ){ alias IsolatedRef!(PointerTarget!T) Isolated; } else static if( isDynamicArray!T ){ alias IsolatedArray!(typeof(T.init[0])) Isolated; } else static if( isAssociativeArray!T ){ alias IsolatedAssociativeArray!(KeyType!T, ValueType!T) Isolated; } else static assert(false, T.stringof~": Unsupported type for Isolated!T - must be class, pointer, array or associative array."); } // unit tests fails with DMD 2.064 due to some cyclic import regression version (none) unittest { static class CE {} static struct SE {} static assert(is(Isolated!CE == IsolatedRef!CE)); static assert(is(Isolated!(SE*) == IsolatedRef!SE)); static assert(is(Isolated!(SE[]) == IsolatedArray!SE)); version(EnablePhobosFails){ // AAs don't work because they are impure static assert(is(Isolated!(SE[string]) == IsolatedAssociativeArray!(string, SE))); } } /// private private struct IsolatedRef(T) { pure: static assert(isWeaklyIsolated!(FieldTypeTuple!T), T.stringof ~ " contains non-immutable/non-shared references. Isolation cannot be guaranteed."); enum __isWeakIsolatedType = true; static if( isStronglyIsolated!(FieldTypeTuple!T) ) enum __isIsolatedType = true; alias T BaseType; static if( is(T == class) ){ alias T Tref; alias immutable(T) Tiref; } else { alias T* Tref; alias immutable(T)* Tiref; } private Tref m_ref; //mixin isolatedAggregateMethods!T; //pragma(msg, isolatedAggregateMethodsString!T()); #line 1 "isolatedAggregateMethodsString" mixin(isolatedAggregateMethodsString!T()); #line 359 "source/vibe/core/concurrency.d" @disable this(this); private this(Tref obj) { m_ref = obj; } this(ref IsolatedRef src) { m_ref = src.m_ref; src.m_ref = null; } void opAssign(ref IsolatedRef src) { m_ref = src.m_ref; src.m_ref = null; } /** Returns the raw reference. Note that using this function breaks type safety. Be sure to not escape the reference. */ inout(Tref) unsafeGet() inout { return m_ref; } /** Move the contained reference to a new IsolatedRef. Since IsolatedRef is not copyable, using this function may be necessary when passing a reference to a function or when returning it. The reference in this instance will be set to null after the call returns. */ IsolatedRef move() { auto r = m_ref; m_ref = null; return IsolatedRef(r); } /** Convert the isolated reference to a normal mutable reference. The reference in this instance will be set to null after the call returns. */ Tref extract() { auto ret = m_ref; m_ref = null; return ret; } /** Converts the isolated reference to immutable. The reference in this instance will be set to null after the call has returned. Note that this method is only available for strongly isolated references, which means references that do not contain shared aliasing. */ Tiref freeze()() { static assert(isStronglyIsolated!(FieldTypeTuple!T), "freeze() can only be called on strongly isolated values, but "~T.stringof~" contains shared references."); auto ret = m_ref; m_ref = null; return cast(immutable)ret; } /** Performs an up- or down-cast of the reference and moves it to a new IsolatedRef instance. The reference in this instance will be set to null after the call has returned. */ U opCast(U)() if (isInstanceOf!(IsolatedRef, U) && (is(U.BaseType : BaseType) || is(BaseType : U.BaseType))) { auto r = U(cast(U.BaseType)m_ref); m_ref = null; return r; } /** Determines if the contained reference is non-null. This method allows Isolated references to be used in boolean expressions without having to extract the reference. */ U opCast(U)() const if(is(U == bool)) { return m_ref !is null; } } /// private private struct IsolatedArray(T) { static assert(isWeaklyIsolated!T, T.stringof ~ " contains non-immutable references. Isolation cannot be guaranteed."); enum __isWeakIsolatedType = true; static if( isStronglyIsolated!T ) enum __isIsolatedType = true; alias T[] BaseType; private T[] m_array; mixin isolatedArrayMethods!T; @disable this(this); /** Returns the raw reference. Note that using this function breaks type safety. Be sure to not escape the reference. */ inout(T[]) unsafeGet() inout { return m_array; } IsolatedArray!T move() pure { auto r = m_array; m_array = null; return IsolatedArray(r); } T[] extract() pure { auto arr = m_array; m_array = null; return arr; } immutable(T)[] freeze()() pure { static assert(isStronglyIsolated!T, "Freeze can only be called on strongly isolated values, but "~T.stringof~" contains shared references."); auto arr = m_array; m_array = null; return cast(immutable)arr; } /** Splits the array into individual slices at the given incides. The indices must be in ascending order. Any items that are larger than the last given index will remain in this IsolatedArray. */ IsolatedArray!T[] splice(in size_t[] indices...) pure in { //import std.algorithm : isSorted; assert(indices.length > 0, "At least one splice index must be given."); //assert(isSorted(indices), "Indices must be in ascending order."); assert(indices[$-1] <= m_array.length, "Splice index out of bounds."); } body { auto ret = new IsolatedArray!T[indices.length]; size_t lidx = 0; foreach( i, sidx; indices ){ ret[i].m_array = m_array[lidx .. sidx]; lidx = sidx; } m_array = m_array[lidx .. $]; return ret; } void merge(ref IsolatedArray!T array) pure in { assert(array.m_array.ptr == m_array.ptr+m_array.length || array.m_array.ptr+array.length == m_array.ptr, "Argument to merge() must be a neighbouring array partition."); } body { if( array.m_array.ptr == m_array.ptr + m_array.length ){ m_array = m_array.ptr[0 .. m_array.length + array.length]; } else { m_array = array.m_array.ptr[0 .. m_array.length + array.length]; } array.m_array.length = 0; } } /// private private struct IsolatedAssociativeArray(K, V) { pure: static assert(isWeaklyIsolated!K, "Key type has aliasing. Memory isolation cannot be guaranteed."); static assert(isWeaklyIsolated!V, "Value type has aliasing. Memory isolation cannot be guaranteed."); enum __isWeakIsolatedType = true; static if( isStronglyIsolated!K && isStronglyIsolated!V ) enum __isIsolatedType = true; alias V[K] BaseType; private { V[K] m_aa; } mixin isolatedAssociativeArrayMethods!(K, V); /** Returns the raw reference. Note that using this function breaks type safety. Be sure to not escape the reference. */ inout(V[K]) unsafeGet() inout { return m_aa; } IsolatedAssociativeArray move() { auto r = m_aa; m_aa = null; return IsolatedAssociativeArray(r); } V[K] extract() { auto arr = m_aa; m_aa = null; return arr; } static if( is(typeof(IsolatedAssociativeArray.__isIsolatedType)) ){ immutable(V)[K] freeze() { auto arr = m_aa; m_aa = null; return cast(immutable(V)[K])(arr); } immutable(V[K]) freeze2() { auto arr = m_aa; m_aa = null; return cast(immutable(V[K]))(arr); } } } /** Encapsulates a reference in a way that disallows escaping it or any contained references. */ template ScopedRef(T) { static if( isAggregateType!T ) alias ScopedRefAggregate!T ScopedRef; else static if( isAssociativeArray!T ) alias ScopedRefAssociativeArray!T ScopedRef; else static if( isArray!T ) alias ScopedRefArray!T ScopedRef; else static if( isBasicType!T ) alias ScopedRefBasic!T ScopedRef; else static assert(false, "Unsupported type for ScopedRef: "~T.stringof); } /// private private struct ScopedRefBasic(T) { private T* m_ref; @disable this(this); this(ref T tref) pure { m_ref = &tref; } //void opAssign(T value) { *m_ref = value; } ref T unsafeGet() pure { return *m_ref; } alias unsafeGet this; } /// private private struct ScopedRefAggregate(T) { private T* m_ref; @disable this(this); this(ref T tref) pure { m_ref = &tref; } //void opAssign(T value) { *m_ref = value; } ref T unsafeGet() pure { return *m_ref; } static if( is(T == shared) ){ auto lock() pure { return .lock(unsafeGet()); } } else { #line 1 "isolatedAggregateMethodsString" mixin(isolatedAggregateMethodsString!T()); #line 625 "source/vibe/core/concurrency.d" //mixin isolatedAggregateMethods!T; } } /// private private struct ScopedRefArray(T) { alias typeof(T.init[0]) V; private T* m_ref; private @property ref T m_array() pure { return *m_ref; } private @property ref const(T) m_array() const pure { return *m_ref; } mixin isolatedArrayMethods!(V, !is(T == const) && !is(T == immutable)); @disable this(this); this(ref T tref) pure { m_ref = &tref; } //void opAssign(T value) { *m_ref = value; } ref T unsafeGet() pure { return *m_ref; } } /// private private struct ScopedRefAssociativeArray(K, V) { alias KeyType!T K; alias ValueType!T V; private T* m_ref; private @property ref T m_array() pure { return *m_ref; } private @property ref const(T) m_array() const pure { return *m_ref; } mixin isolatedAssociativeArrayMethods!(K, V); @disable this(this); this(ref T tref) pure { m_ref = &tref; } //void opAssign(T value) { *m_ref = value; } ref T unsafeGet() pure { return *m_ref; } } /******************************************************************************/ /* COMMON MIXINS FOR NON-REF-ESCAPING WRAPPER STRUCTS */ /******************************************************************************/ /// private /*private mixin template(T) isolatedAggregateMethods { #line 1 "isolatedAggregateMethodsString" mixin(isolatedAggregateMethodsString!T()); #line 681 "source/vibe/core/concurrency.d" }*/ /// private private string isolatedAggregateMethodsString(T)() { string ret = generateModuleImports!T(); //pragma(msg, "Type '"~T.stringof~"'"); foreach( mname; __traits(allMembers, T) ){ static if( !is(FunctionTypeOf!(__traits(getMember, T, mname)) == function) ){ static if( isMemberPublic!(T, mname) ){ alias typeof(__traits(getMember, T, mname)) mtype; auto mtypename = fullyQualifiedName!mtype; //pragma(msg, " field " ~ mname ~ " : " ~ mtype.stringof); ret ~= "@property ScopedRef!(const("~mtypename~")) "~mname~"() const pure { return ScopedRef!(const("~mtypename~"))(m_ref."~mname~"); }\n"; ret ~= "@property ScopedRef!("~mtypename~") "~mname~"() pure { return ScopedRef!("~mtypename~")(m_ref."~mname~"); }\n"; static if( !is(mtype == const) && !is(mtype == immutable) ){ static if( isWeaklyIsolated!mtype ){ ret ~= "@property void "~mname~"("~mtypename~" value) pure { m_ref."~mname~" = value; }\n"; } else { ret ~= "@property void "~mname~"(AT)(AT value) pure { static assert(isWeaklyIsolated!AT); m_ref."~mname~" = value.unsafeGet(); }\n"; } } } //else pragma(msg, " non-public field " ~ mname); } else { foreach( method; __traits(getOverloads, T, mname) ){ alias FunctionTypeOf!method ftype; // only pure functions are allowed (or they could escape references to global variables) // don't allow non-isolated references to be escaped if( functionAttributes!ftype & FunctionAttribute.pure_ && isWeaklyIsolated!(ReturnType!ftype) ) { static if( __traits(isStaticFunction, method) ){ //pragma(msg, " static method " ~ mname ~ " : " ~ ftype.stringof); ret ~= "static "~fullyQualifiedName!(ReturnType!ftype)~" "~mname~"("; foreach( i, P; ParameterTypeTuple!ftype ){ if( i > 0 ) ret ~= ", "; ret ~= fullyQualifiedName!P ~ " p"~i.stringof; } ret ~= "){ return "~fullyQualifiedName!T~"."~mname~"("; foreach( i, P; ParameterTypeTuple!ftype ){ if( i > 0 ) ret ~= ", "; ret ~= "p"~i.stringof; } ret ~= "); }\n"; } else if (mname != "__ctor") { //pragma(msg, " normal method " ~ mname ~ " : " ~ ftype.stringof); if( is(ftype == const) ) ret ~= "const "; if( is(ftype == shared) ) ret ~= "shared "; if( is(ftype == immutable) ) ret ~= "immutable "; if( functionAttributes!ftype & FunctionAttribute.pure_ ) ret ~= "pure "; if( functionAttributes!ftype & FunctionAttribute.property ) ret ~= "@property "; ret ~= fullyQualifiedName!(ReturnType!ftype)~" "~mname~"("; foreach( i, P; ParameterTypeTuple!ftype ){ if( i > 0 ) ret ~= ", "; ret ~= fullyQualifiedName!P ~ " p"~i.stringof; } ret ~= "){ return m_ref."~mname~"("; foreach( i, P; ParameterTypeTuple!ftype ){ if( i > 0 ) ret ~= ", "; ret ~= "p"~i.stringof; } ret ~= "); }\n"; } } } } } return ret; } /// private private mixin template isolatedArrayMethods(T, bool mutableRef = true) { @property size_t length() const pure { return m_array.length; } @property bool empty() const pure { return m_array.length == 0; } static if( mutableRef ){ @property void length(size_t value) pure { m_array.length = value; } void opCatAssign(T item) pure { static if( isCopyable!T ) m_array ~= item; else { m_array.length++; m_array[$-1] = item; } } void opCatAssign(IsolatedArray!T array) pure { static if( isCopyable!T ) m_array ~= array.m_array; else { size_t start = m_array.length; m_array.length += array.length; foreach( i, ref itm; array.m_array ) m_array[start+i] = itm; } } } ScopedRef!(const(T)) opIndex(size_t idx) const pure { return ScopedRef!(const(T))(m_array[idx]); } ScopedRef!T opIndex(size_t idx) pure { return ScopedRef!T(m_array[idx]); } static if( !is(T == const) && !is(T == immutable) ) void opIndexAssign(T value, size_t idx) pure { m_array[idx] = value; } int opApply(int delegate(ref size_t, ref ScopedRef!T) del) pure { foreach( idx, ref v; m_array ){ auto noref = ScopedRef!T(v); if( auto ret = (cast(int delegate(ref size_t, ref ScopedRef!T) pure)del)(idx, noref) ) return ret; } return 0; } int opApply(int delegate(ref size_t, ref ScopedRef!(const(T))) del) const pure { foreach( idx, ref v; m_array ){ auto noref = ScopedRef!(const(T))(v); if( auto ret = (cast(int delegate(ref size_t, ref ScopedRef!(const(T))) pure)del)(idx, noref) ) return ret; } return 0; } int opApply(int delegate(ref ScopedRef!T) del) pure { foreach( v; m_array ){ auto noref = ScopedRef!T(v); if( auto ret = (cast(int delegate(ref ScopedRef!T) pure)del)(noref) ) return ret; } return 0; } int opApply(int delegate(ref ScopedRef!(const(T))) del) const pure { foreach( v; m_array ){ auto noref = ScopedRef!(const(T))(v); if( auto ret = (cast(int delegate(ref ScopedRef!(const(T))) pure)del)(noref) ) return ret; } return 0; } } /// private private mixin template isolatedAssociativeArrayMethods(K, V, bool mutableRef = true) { @property size_t length() const pure { return m_aa.length; } @property bool empty() const pure { return m_aa.length == 0; } static if( !is(V == const) && !is(V == immutable) ) void opIndexAssign(V value, K key) pure { m_aa[key] = value; } inout(V) opIndex(K key) inout pure { return m_aa[key]; } int opApply(int delegate(ref ScopedRef!K, ref ScopedRef!V) del) pure { foreach( ref k, ref v; m_aa ) if( auto ret = (cast(int delegate(ref ScopedRef!K, ref ScopedRef!V) pure)del)(k, v) ) return ret; return 0; } int opApply(int delegate(ref ScopedRef!V) del) pure { foreach( ref v; m_aa ) if( auto ret = (cast(int delegate(ref ScopedRef!V) pure)del)(v) ) return ret; return 0; } int opApply(int delegate(ref ScopedRef!(const(K)), ref ScopedRef!(const(V))) del) const pure { foreach( ref k, ref v; m_aa ) if( auto ret = (cast(int delegate(ref ScopedRef!(const(K)), ref ScopedRef!(const(V))) pure)del)(k, v) ) return ret; return 0; } int opApply(int delegate(ref ScopedRef!(const(V))) del) const pure { foreach( v; m_aa ) if( auto ret = (cast(int delegate(ref ScopedRef!(const(V))) pure)del)(v) ) return ret; return 0; } } /******************************************************************************/ /* UTILITY FUNCTIONALITY */ /******************************************************************************/ // private private @property string generateModuleImports(T)() { bool[string] visited; //pragma(msg, "generateModuleImports "~T.stringof); return generateModuleImportsImpl!T(visited); } private @property string generateModuleImportsImpl(T, TYPES...)(ref bool[string] visited) { string ret; //pragma(msg, T); //pragma(msg, TYPES); static if( !haveTypeAlready!(T, TYPES) ){ void addModule(string mod){ if( mod !in visited ){ ret ~= "static import "~mod~";\n"; visited[mod] = true; } } static if( isAggregateType!T && !is(typeof(T.__isWeakIsolatedType)) ){ // hack to avoid a recursive template instantiation when Isolated!T is passed to moduleName addModule(moduleName!T); foreach( member; __traits(allMembers, T) ){ //static if( isMemberPublic!(T, member) ){ static if( !is(typeof(__traits(getMember, T, member))) ){ // ignore sub types } else static if( !is(FunctionTypeOf!(__traits(getMember, T, member)) == function) ){ alias typeof(__traits(getMember, T, member)) mtype; ret ~= generateModuleImportsImpl!(mtype, T, TYPES)(visited); } else static if( is(T == class) || is(T == interface) ){ foreach( overload; MemberFunctionsTuple!(T, member) ){ ret ~= generateModuleImportsImpl!(ReturnType!overload, T, TYPES)(visited); foreach( P; ParameterTypeTuple!overload ) ret ~= generateModuleImportsImpl!(P, T, TYPES)(visited); } } // TODO: handle structs! //} } } else static if( isPointer!T ) ret ~= generateModuleImportsImpl!(PointerTarget!T, T, TYPES)(visited); else static if( isArray!T ) ret ~= generateModuleImportsImpl!(typeof(T.init[0]), T, TYPES)(visited); else static if( isAssociativeArray!T ) ret ~= generateModuleImportsImpl!(KeyType!T, T, TYPES)(visited) ~ generateModuleImportsImpl!(ValueType!T, T, TYPES)(visited); } return ret; } template haveTypeAlready(T, TYPES...) { static if( TYPES.length == 0 ) enum haveTypeAlready = false; else static if( is(T == TYPES[0]) ) enum haveTypeAlready = true; else alias haveTypeAlready!(T, TYPES[1 ..$]) haveTypeAlready; } template isMemberPublic(T, string member) { static if( __traits(compiles, {tryAccess!(T, member)(); }()) ){ enum isMemberPublic = true; } else enum isMemberPublic = false; } /// private private void tryAccess(T, string member)() { mixin(generateModuleImports!T()); mixin(fullyQualifiedName!T~" inst;"); mixin("auto p = &inst."~member~";"); } /******************************************************************************/ /* Additional traits useful for handling isolated data */ /******************************************************************************/ /** Determines if the given list of types has any non-immutable aliasing outside of their object tree. The types in particular may only contain plain data, pointers or arrays to immutable data, or references encapsulated in stdx.typecons.Isolated. */ template isStronglyIsolated(T...) { static if (T.length == 0) enum bool isStronglyIsolated = true; else static if (T.length > 1) enum bool isStronglyIsolated = isStronglyIsolated!(T[0 .. $/2]) && isStronglyIsolated!(T[$/2 .. $]); else { static if (is(T[0] == immutable)) enum bool isStronglyIsolated = true; else static if(isInstanceOf!(Rebindable, T[0])) enum bool isStronglyIsolated = isStronglyIsolated!(typeof(T[0].get())); else static if (is(typeof(T[0].__isIsolatedType))) enum bool isStronglyIsolated = true; else static if (is(T[0] == class)) enum bool isStronglyIsolated = false; else static if (is(T[0] == delegate)) enum bool isStronglyIsolated = false; // can't know to what a delegate points else static if (isDynamicArray!(T[0])) enum bool isStronglyIsolated = is(typeof(T[0].init[0]) == immutable); else static if (isAssociativeArray!(T[0])) enum bool isStronglyIsolated = false; // TODO: be less strict here else static if (isSomeFunction!(T[0])) enum bool isStronglyIsolated = true; // functions are immutable else static if (isPointer!(T[0])) enum bool isStronglyIsolated = is(typeof(*T[0].init) == immutable); else static if (isAggregateType!(T[0])) enum bool isStronglyIsolated = isStronglyIsolated!(FieldTypeTuple!(T[0])); else enum bool isStronglyIsolated = true; } } /** Determines if the given list of types has any non-immutable and unshared aliasing outside of their object tree. The types in particular may only contain plain data, pointers or arrays to immutable or shared data, or references encapsulated in stdx.typecons.Isolated. Values that do not have unshared and unisolated aliasing are safe to be passed between threads. */ template isWeaklyIsolated(T...) { static if (T.length == 0) enum bool isWeaklyIsolated = true; else static if (T.length > 1) enum bool isWeaklyIsolated = isWeaklyIsolated!(T[0 .. $/2]) && isWeaklyIsolated!(T[$/2 .. $]); else { static if(is(T[0] == immutable)) enum bool isWeaklyIsolated = true; else static if(is(T[0] == shared)) enum bool isWeaklyIsolated = true; else static if(isInstanceOf!(Rebindable, T[0])) enum bool isWeaklyIsolated = isWeaklyIsolated!(typeof(T[0].get())); else static if(is(T[0] : Throwable)) enum bool isWeaklyIsolated = true; // WARNING: this is unsafe, but needed for send/receive! else static if(is(typeof(T[0].__isIsolatedType))) enum bool isWeaklyIsolated = true; else static if(is(typeof(T[0].__isWeakIsolatedType))) enum bool isWeaklyIsolated = true; else static if(is(T[0] == class)) enum bool isWeaklyIsolated = false; else static if(is(T[0] == delegate)) enum bool isWeaklyIsolated = false; // can't know to what a delegate points else static if(isDynamicArray!(T[0])) enum bool isWeaklyIsolated = is(typeof(T[0].init[0]) == immutable); else static if(isAssociativeArray!(T[0])) enum bool isWeaklyIsolated = false; // TODO: be less strict here else static if(isSomeFunction!(T[0])) enum bool isWeaklyIsolated = true; // functions are immutable else static if(isPointer!(T[0])) enum bool isWeaklyIsolated = is(typeof(*T[0].init) == immutable); else static if(isAggregateType!(T[0])) enum bool isWeaklyIsolated = isWeaklyIsolated!(FieldTypeTuple!(T[0])); else enum bool isWeaklyIsolated = true; // } } unittest { static class A { int x; string y; } static struct B { string a; // strongly isolated Isolated!A b; // strongly isolated version(EnablePhobosFails) Isolated!(Isolated!A[]) c; // strongly isolated version(EnablePhobosFails) Isolated!(Isolated!A[string]) c; // AA implementation does not like this version(EnablePhobosFails) Isolated!(int[string]) d; // strongly isolated } static struct C { string a; // strongly isolated shared(A) b; // weakly isolated Isolated!A c; // strongly isolated shared(A*) d; // weakly isolated shared(A[]) e; // weakly isolated shared(A[string]) f; // weakly isolated } static struct D { A a; } // not isolated static struct E { void delegate() a; } // not isolated static struct F { void function() a; } // strongly isolated (functions are immutable) static struct G { void test(); } // strongly isolated static struct H { A[] a; } // not isolated static assert(!isStronglyIsolated!A); static assert(isStronglyIsolated!(FieldTypeTuple!A)); static assert(isStronglyIsolated!B); static assert(!isStronglyIsolated!C); static assert(!isStronglyIsolated!D); static assert(!isStronglyIsolated!E); static assert(isStronglyIsolated!F); static assert(isStronglyIsolated!G); static assert(!isStronglyIsolated!H); static assert(!isWeaklyIsolated!A); static assert(isWeaklyIsolated!(FieldTypeTuple!A)); static assert(isWeaklyIsolated!B); static assert(isWeaklyIsolated!C); static assert(!isWeaklyIsolated!D); static assert(!isWeaklyIsolated!E); static assert(isWeaklyIsolated!F); static assert(isWeaklyIsolated!G); static assert(!isWeaklyIsolated!H); } template isCopyable(T) { static if( __traits(compiles, {foreach( t; [T.init]){}}) ) enum isCopyable = true; else enum isCopyable = false; } /******************************************************************************/ /******************************************************************************/ /* std.concurrency compatible interface for message passing */ /******************************************************************************/ /******************************************************************************/ alias Task Tid; void send(ARGS...)(Tid tid, ARGS args) { assert (tid != Task(), "Invalid task handle"); static assert(args.length > 0, "Need to send at least one value."); foreach(A; ARGS){ static assert(isWeaklyIsolated!A, "Only objects with no unshared or unisolated aliasing may be sent, not "~A.stringof~"."); } tid.messageQueue.send(Variant(IsolatedValueProxyTuple!ARGS(args))); } void prioritySend(ARGS...)(Tid tid, ARGS args) { assert (tid != Task(), "Invalid task handle"); static assert(args.length > 0, "Need to send at least one value."); foreach(A; ARGS){ static assert(isWeaklyIsolated!A, "Only objects with no unshared or unisolated aliasing may be sent, not "~A.stringof~"."); } tid.messageQueue.prioritySend(Variant(IsolatedValueProxyTuple!ARGS(args))); } // TODO: handle special exception types void receive(OPS...)(OPS ops) { auto tid = Task.getThis(); tid.messageQueue.receive(opsFilter(ops), opsHandler(ops)); } auto receiveOnly(ARGS...)() { ARGS ret; receive( (ARGS val) { ret = val; }, (LinkTerminated e) { throw e; }, (OwnerTerminated e) { throw e; }, (Variant val) { throw new MessageMismatch(format("Unexpected message type %s, expected %s.", val.type, ARGS.stringof)); } ); static if(ARGS.length == 1) return ret[0]; else return tuple(ret); } bool receiveTimeout(OPS...)(Duration timeout, OPS ops) { auto tid = Task.getThis(); return tid.messageQueue.receiveTimeout!OPS(timeout, opsFilter(ops), opsHandler(ops)); } void setMaxMailboxSize(Tid tid, size_t messages, OnCrowding on_crowding) { final switch(on_crowding){ case OnCrowding.block: setMaxMailboxSize(tid, messages, null); break; case OnCrowding.throwException: setMaxMailboxSize(tid, messages, &onCrowdingThrow); break; case OnCrowding.ignore: setMaxMailboxSize(tid, messages, &onCrowdingDrop); break; } } void setMaxMailboxSize(Tid tid, size_t messages, bool function(Tid) on_crowding) { tid.messageQueue.setMaxSize(messages, on_crowding); } unittest { static class CLS {} static assert(is(typeof(send(Tid.init, makeIsolated!CLS())))); static assert(is(typeof(send(Tid.init, 1)))); static assert(is(typeof(send(Tid.init, 1, "str", makeIsolated!CLS())))); static assert(!is(typeof(send(Tid.init, new CLS)))); static assert(is(typeof(receive((Isolated!CLS){})))); static assert(is(typeof(receive((int){})))); static assert(is(typeof(receive!(void delegate(int, string, Isolated!CLS))((int, string, Isolated!CLS){})))); static assert(!is(typeof(receive((CLS){})))); } private bool onCrowdingThrow(Task tid){ import std.concurrency : Tid; throw new MailboxFull(Tid()); } private bool onCrowdingDrop(Task tid){ return false; } private struct IsolatedValueProxyTuple(T...) { staticMap!(IsolatedValueProxy, T) fields; this(ref T values) { foreach (i, Ti; T) { static if (isInstanceOf!(IsolatedSendProxy, IsolatedValueProxy!Ti)) { fields[i] = IsolatedValueProxy!Ti(values[i].unsafeGet()); } else fields[i] = values[i]; } } } private template IsolatedValueProxy(T) { static if (isInstanceOf!(IsolatedRef, T) || isInstanceOf!(IsolatedArray, T) || isInstanceOf!(IsolatedAssociativeArray, T)) { alias IsolatedValueProxy = IsolatedSendProxy!(T.BaseType); } else { alias IsolatedValueProxy = T; } } /+unittest { static class Test {} void test() { Task.getThis().send(new immutable Test, makeIsolated!Test()); } }+/ private struct IsolatedSendProxy(T) { alias BaseType = T; T value; } private bool callBool(F, T...)(F fnc, T args) { static string caller(string prefix) { import std.conv; string ret = prefix ~ "fnc("; foreach (i, Ti; T) { static if (i > 0) ret ~= ", "; static if (isInstanceOf!(IsolatedSendProxy, Ti)) ret ~= "assumeIsolated(args["~to!string(i)~"].value)"; else ret ~= "args["~to!string(i)~"]"; } ret ~= ");"; return ret; } static assert(is(ReturnType!F == bool) || is(ReturnType!F == void), "Message handlers must return either bool or void."); static if (is(ReturnType!F == bool)) mixin(caller("return ")); else { mixin(caller("")); return true; } } private bool delegate(Variant) opsFilter(OPS...)(OPS ops) { return (Variant msg) { if (msg.convertsTo!Throwable) return true; foreach (i, OP; OPS) if (matchesHandler!OP(msg)) return true; return false; }; } private void delegate(Variant) opsHandler(OPS...)(OPS ops) { return (Variant msg) { foreach (i, OP; OPS) { alias PTypes = ParameterTypeTuple!OP; if (matchesHandler!OP(msg)) { static if (PTypes.length == 1 && is(PTypes[0] == Variant)) { if (callBool(ops[i], msg)) return; // WARNING: proxied isolated values will go through verbatim! } else { auto msgt = msg.get!(IsolatedValueProxyTuple!PTypes); if (callBool(ops[i], msgt.fields)) return; } } } if (msg.convertsTo!Throwable) throw msg.get!Throwable(); }; } private bool matchesHandler(F)(Variant msg) { alias PARAMS = ParameterTypeTuple!F; if (PARAMS.length == 1 && is(PARAMS[0] == Variant)) return true; else return msg.convertsTo!(IsolatedValueProxyTuple!PARAMS); }
D
<?xml version="1.0" encoding="ASCII" standalone="no"?> <di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0"> <pageList> <availablePage> <emfPageIdentifier href="VAR_3_BeT-6162752791.notation#_copSALmGEeKQQp7P9cQvNQ"/> </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="VAR_3_BeT-6162752791.notation#_copSALmGEeKQQp7P9cQvNQ"/> </children> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
/home/jackycck/SwiftDev7/.build/debug/SwiftGtk.build/ButtonBox.swift.o : /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Grid.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Image.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/PositionType.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Value.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Size.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Label.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Bin.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Application.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Orientation.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/BaselinePosition.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Common.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Button.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ToggleButton.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Calendar.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Container.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Widget+CastedPointer.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Signals.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Widget.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/TextView.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Window.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ApplicationWindow.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Box.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/SignalBox.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ButtonBox.swift /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Swift.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStddef.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/AssertionReporting.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStdbool.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RuntimeStubs.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/LibcShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/UnicodeShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RuntimeShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/FoundationShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/CoreFoundationShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/GlobalObjects.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/HeapObject.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStdint.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RefCount.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/Visibility.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/glibc.modulemap /home/jackycck/SwiftDev7/.build/checkouts/CGtk-Linux-1679347816078390339/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/dispatch/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/CoreFoundation/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/module.modulemap /home/jackycck/SwiftDev7/.build/debug/SwiftGtk.build/ButtonBox~partial.swiftmodule : /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Grid.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Image.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/PositionType.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Value.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Size.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Label.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Bin.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Application.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Orientation.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/BaselinePosition.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Common.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Button.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ToggleButton.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Calendar.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Container.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Widget+CastedPointer.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Signals.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Widget.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/TextView.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Window.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ApplicationWindow.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Box.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/SignalBox.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ButtonBox.swift /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Swift.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStddef.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/AssertionReporting.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStdbool.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RuntimeStubs.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/LibcShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/UnicodeShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RuntimeShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/FoundationShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/CoreFoundationShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/GlobalObjects.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/HeapObject.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStdint.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RefCount.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/Visibility.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/glibc.modulemap /home/jackycck/SwiftDev7/.build/checkouts/CGtk-Linux-1679347816078390339/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/dispatch/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/CoreFoundation/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/module.modulemap /home/jackycck/SwiftDev7/.build/debug/SwiftGtk.build/ButtonBox~partial.swiftdoc : /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Grid.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Image.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/PositionType.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Value.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Size.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Label.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Bin.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Application.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Orientation.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/BaselinePosition.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Common.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Button.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ToggleButton.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Calendar.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Container.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Widget+CastedPointer.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Signals.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Widget.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/TextView.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Window.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ApplicationWindow.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/Box.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/SignalBox.swift /home/jackycck/SwiftDev7/.build/checkouts/SwiftGtk-9216020197532268736/Sources/ButtonBox.swift /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/Swift.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStddef.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/AssertionReporting.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStdbool.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RuntimeStubs.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/LibcShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/UnicodeShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RuntimeShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/FoundationShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/CoreFoundationShims.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/GlobalObjects.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/HeapObject.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/SwiftStdint.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/RefCount.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/Visibility.h /home/jackycck/swiftDev/swiftDev/usr/lib/swift/linux/x86_64/glibc.modulemap /home/jackycck/SwiftDev7/.build/checkouts/CGtk-Linux-1679347816078390339/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/dispatch/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/CoreFoundation/module.modulemap /home/jackycck/swiftDev/swiftDev/usr/lib/swift/shims/module.modulemap
D
/* * Copyright (c) 2007-2013 Scott Lembcke and Howling Moon Software * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ module dchip.cpSweep1D; import core.stdc.stdlib : qsort; import dchip.chipmunk; import dchip.chipmunk_types; import dchip.cpBB; import dchip.cpSpatialIndex; import dchip.util; struct Bounds { cpFloat min, max; } struct TableCell { void* obj; Bounds bounds; } struct cpSweep1D { cpSpatialIndex spatialIndex; int num; int max; TableCell* table; } cpBool BoundsOverlap(Bounds a, Bounds b) { return (a.min <= b.max && b.min <= a.max); } Bounds BBToBounds(cpSweep1D* sweep, cpBB bb) { Bounds bounds = { bb.l, bb.r }; return bounds; } TableCell MakeTableCell(cpSweep1D* sweep, void* obj) { TableCell cell = { obj, BBToBounds(sweep, sweep.spatialIndex.bbfunc(obj)) }; return cell; } cpSweep1D* cpSweep1DAlloc() { return cast(cpSweep1D*)cpcalloc(1, cpSweep1D.sizeof); } void ResizeTable(cpSweep1D* sweep, int size) { sweep.max = size; sweep.table = cast(TableCell*)cprealloc(sweep.table, size * TableCell.sizeof); } cpSpatialIndex* cpSweep1DInit(cpSweep1D* sweep, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex) { cpSpatialIndexInit(cast(cpSpatialIndex*)sweep, Klass(), bbfunc, staticIndex); sweep.num = 0; ResizeTable(sweep, 32); return cast(cpSpatialIndex*)sweep; } cpSpatialIndex* cpSweep1DNew(cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex) { return cpSweep1DInit(cpSweep1DAlloc(), bbfunc, staticIndex); } void cpSweep1DDestroy(cpSweep1D* sweep) { cpfree(sweep.table); sweep.table = null; } //MARK: Misc int cpSweep1DCount(cpSweep1D* sweep) { return sweep.num; } void cpSweep1DEach(cpSweep1D* sweep, cpSpatialIndexIteratorFunc func, void* data) { TableCell* table = sweep.table; for (int i = 0, count = sweep.num; i < count; i++) func(table[i].obj, data); } int cpSweep1DContains(cpSweep1D* sweep, void* obj, cpHashValue hashid) { TableCell* table = sweep.table; for (int i = 0, count = sweep.num; i < count; i++) { if (table[i].obj == obj) return cpTrue; } return cpFalse; } //MARK: Basic Operations void cpSweep1DInsert(cpSweep1D* sweep, void* obj, cpHashValue hashid) { if (sweep.num == sweep.max) ResizeTable(sweep, sweep.max * 2); sweep.table[sweep.num] = MakeTableCell(sweep, obj); sweep.num++; } void cpSweep1DRemove(cpSweep1D* sweep, void* obj, cpHashValue hashid) { TableCell* table = sweep.table; for (int i = 0, count = sweep.num; i < count; i++) { if (table[i].obj == obj) { int num = --sweep.num; table[i] = table[num]; table[num].obj = null; return; } } } //MARK: Reindexing Functions void cpSweep1DReindexObject(cpSweep1D* sweep, void* obj, cpHashValue hashid) { // Nothing to do here } void cpSweep1DReindex(cpSweep1D* sweep) { // Nothing to do here // Could perform a sort, but queries are not accelerated anyway. } //MARK: Query Functions void cpSweep1DQuery(cpSweep1D* sweep, void* obj, cpBB bb, cpSpatialIndexQueryFunc func, void* data) { // Implementing binary search here would allow you to find an upper limit // but not a lower limit. Probably not worth the hassle. Bounds bounds = BBToBounds(sweep, bb); TableCell* table = sweep.table; for (int i = 0, count = sweep.num; i < count; i++) { TableCell cell = table[i]; if (BoundsOverlap(bounds, cell.bounds) && obj != cell.obj) func(obj, cell.obj, 0, data); } } void cpSweep1DSegmentQuery(cpSweep1D* sweep, void* obj, cpVect a, cpVect b, cpFloat t_exit, cpSpatialIndexSegmentQueryFunc func, void* data) { cpBB bb = cpBBExpand(cpBBNew(a.x, a.y, a.x, a.y), b); Bounds bounds = BBToBounds(sweep, bb); TableCell* table = sweep.table; for (int i = 0, count = sweep.num; i < count; i++) { TableCell cell = table[i]; if (BoundsOverlap(bounds, cell.bounds)) func(obj, cell.obj, data); } } //MARK: Reindex/Query int TableSort(TableCell* a, TableCell* b) { return (a.bounds.min < b.bounds.min ? -1 : (a.bounds.min > b.bounds.min ? 1 : 0)); } void cpSweep1DReindexQuery(cpSweep1D* sweep, cpSpatialIndexQueryFunc func, void* data) { TableCell* table = sweep.table; int count = sweep.num; // Update bounds and sort for (int i = 0; i < count; i++) table[i] = MakeTableCell(sweep, table[i].obj); alias extern(C) int function(const void*, const void*) TableSortFunc; qsort(table, count, TableCell.sizeof, safeCast!TableSortFunc(&TableSort)); // TODO use insertion sort instead for (int i = 0; i < count; i++) { TableCell cell = table[i]; cpFloat max = cell.bounds.max; for (int j = i + 1; table[j].bounds.min < max && j < count; j++) { func(cell.obj, table[j].obj, 0, data); } } // Reindex query is also responsible for colliding against the static index. // Fortunately there is a helper function for that. cpSpatialIndexCollideStatic(cast(cpSpatialIndex*)sweep, sweep.spatialIndex.staticIndex, func, data); } cpSpatialIndexClass klass; void _initModuleCtor_cpSweep1D() { klass = cpSpatialIndexClass( cast(cpSpatialIndexDestroyImpl)&cpSweep1DDestroy, cast(cpSpatialIndexCountImpl)&cpSweep1DCount, cast(cpSpatialIndexEachImpl)&cpSweep1DEach, cast(cpSpatialIndexContainsImpl)&cpSweep1DContains, cast(cpSpatialIndexInsertImpl)&cpSweep1DInsert, cast(cpSpatialIndexRemoveImpl)&cpSweep1DRemove, cast(cpSpatialIndexReindexImpl)&cpSweep1DReindex, cast(cpSpatialIndexReindexObjectImpl)&cpSweep1DReindexObject, cast(cpSpatialIndexReindexQueryImpl)&cpSweep1DReindexQuery, cast(cpSpatialIndexQueryImpl)&cpSweep1DQuery, cast(cpSpatialIndexSegmentQueryImpl)&cpSweep1DSegmentQuery, ); } cpSpatialIndexClass* Klass() { return &klass; }
D
/Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Intermediates.noindex/Browser.build/Debug-iphonesimulator/Browser.build/Objects-normal/x86_64/ViewController.o : /Users/blaketsuzaki/Development/ClassicKit/Components/CKTextField.swift /Users/blaketsuzaki/Development/ClassicKit/Browser/Browser/AppDelegate.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKLabel.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKImageButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKTextButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKVerticalScrollBar.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKHorizontalScrollBar.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKNavigationBar.swift /Users/blaketsuzaki/Development/ClassicKit/Browser/Browser/ViewController.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKDialogViewController.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKDefaults.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKImageView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKFillableView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKContentWrapperView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKProgressView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKStatusView.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/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/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/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImage-umbrella.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYFrameImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYSpriteSheetImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImageCoder.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYAnimatedImageView.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Intermediates.noindex/Browser.build/Debug-iphonesimulator/Browser.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/blaketsuzaki/Development/ClassicKit/Components/CKTextField.swift /Users/blaketsuzaki/Development/ClassicKit/Browser/Browser/AppDelegate.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKLabel.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKImageButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKTextButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKVerticalScrollBar.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKHorizontalScrollBar.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKNavigationBar.swift /Users/blaketsuzaki/Development/ClassicKit/Browser/Browser/ViewController.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKDialogViewController.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKDefaults.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKImageView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKFillableView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKContentWrapperView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKProgressView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKStatusView.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/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/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/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImage-umbrella.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYFrameImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYSpriteSheetImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImageCoder.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYAnimatedImageView.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Intermediates.noindex/Browser.build/Debug-iphonesimulator/Browser.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/blaketsuzaki/Development/ClassicKit/Components/CKTextField.swift /Users/blaketsuzaki/Development/ClassicKit/Browser/Browser/AppDelegate.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKLabel.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKImageButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKTextButton.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKVerticalScrollBar.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKHorizontalScrollBar.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKNavigationBar.swift /Users/blaketsuzaki/Development/ClassicKit/Browser/Browser/ViewController.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKDialogViewController.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKDefaults.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKImageView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKFillableView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKContentWrapperView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKProgressView.swift /Users/blaketsuzaki/Development/ClassicKit/Components/CKStatusView.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/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/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/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImage-umbrella.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYFrameImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYSpriteSheetImage.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYImageCoder.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Headers/YYAnimatedImageView.h /Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Products/Debug-iphonesimulator/YYImage/YYImage.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes
D
/Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/WindowIdJS.o : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/WindowIdJS~partial.swiftmodule : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/WindowIdJS~partial.swiftdoc : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/Objects-normal/x86_64/WindowIdJS~partial.swiftsourceinfo : /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/Size2D.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WindowIdJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnLoadResourceJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/LastTouchedAnchorOrImageJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/JavaScriptBridgeJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/EnableViewportScaleJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/ConsoleLogJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageChannelJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PromisePolyfillJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/SupportZoomJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/WebMessageListenerJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/CallAsyncJavaScriptBelowIOS14WrapperJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindTextHighlightJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OriginalViewPortMetaTagContentJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowBlurEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/OnWindowFocusEventJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/FindElementsAtPointJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PrintJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptFetchRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/InterceptAjaxRequestJS.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewStatic.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKContentWorld.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLProtectionSpace.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessage.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HttpAuthenticationChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ClientCertChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/ServerTrustChallenge.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CredentialDatabase.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationResponse.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SecCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslCertificate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/FlutterMethodCallDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserDelegate.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/NSAttributedString.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLCredential.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageChannel.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Util.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PlatformUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PluginScriptsJS/PluginScriptsUtil.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshControl.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKSecurityOrigin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SwiftFlutterPlugin.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKNavigationAction.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKFrameInfo.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/LeakAvoider.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyWebStorageManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/MyCookieManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/WKProcessPoolManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/ChromeSafariBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebViewManager.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewMethodHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/CustomeSchemeHandler.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKUserContentController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariViewController.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessageListener.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UIColor.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/SslError.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WKWindowFeatures.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Options.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/PullToRefresh/PullToRefreshOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/SafariViewController/SafariBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppBrowser/InAppBrowserOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/ContextMenuOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebViewOptions.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/HitTestResult.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/PluginScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/UserScript.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebMessagePort.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/WebViewTransport.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/Types/URLRequest.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/InAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/HeadlessInAppWebView/HeadlessInAppWebView.swift /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebView/FlutterWebViewFactory.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/simd.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Accessibility.framework/Modules/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMIDI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreMedia.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/simd.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/AVFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/DataDetection.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreAudio.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/FileProvider.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/WebKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/_Concurrency.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/15.0/Accessibility.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/OrderedSet/OrderedSet-umbrella.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/Pods/Target\ Support\ Files/flutter_inappwebview/flutter_inappwebview-umbrella.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCallbackCache.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngine.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterTexture.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterAppDelegate.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlugin.h /Users/tinh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Classes/InAppWebViewFlutterPlugin.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterEngineGroup.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterBinaryMessenger.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterViewController.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterHeadlessDartRunner.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/Flutter.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterCodecs.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterChannels.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterMacros.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterPlatformViews.h /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers/FlutterDartProject.h /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Headers/OrderedSet-Swift.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/device.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/flutter_inappwebview.build/unextended-module.modulemap /Users/tinh/Projects/Furniture-App-UI-2-Flutter/ios/build/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap /Users/tinh/Documents/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.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/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tinh/Projects/Furniture-App-UI-2-Flutter/build/ios/Debug-iphonesimulator/OrderedSet/OrderedSet.framework/Modules/OrderedSet.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
D
a police investigation to determine the perpetrator watch, observe, or inquire secretly
D
/* * 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 glib; public import glib.garray; public import glib.gasyncqueue; public import glib.gatomic; public import glib.gbacktrace; public import glib.gbase64; public import glib.gbitlock; public import glib.gbookmarkfile; public import glib.gbytes; public import glib.gcharset; public import glib.gchecksum; public import glib.gconvert; public import glib.gdataset; public import glib.gdate; public import glib.gdatetime; public import glib.gdir; public import glib.genviron; public import glib.gerror; public import glib.gfileutils; public import glib.ggettext; public import glib.ghash; public import glib.ghmac; public import glib.ghook; public import glib.ghostutils; public import glib.giochannel; public import glib.gkeyfile; public import glib.glist; public import glib.gmain; public import glib.gmappedfile; public import glib.gmarkup; public import glib.gmem; public import glib.gmessages; public import glib.gnode; public import glib.goption; public import glib.gpattern; public import glib.gpoll; public import glib.gprimes; public import glib.gprintf; public import glib.gqsort; public import glib.gquark; public import glib.gqueue; public import glib.grand; public import glib.gregex; public import glib.gscanner; public import glib.gsequence; public import glib.gshell; public import glib.gslice; public import glib.gslist; public import glib.gspawn; public import glib.gstdio; public import glib.gstrfuncs; public import glib.gstring; public import glib.gstringchunk; public import glib.gtestutils; public import glib.gthread; public import glib.gthreadpool; public import glib.gtimer; public import glib.gtimezone; public import glib.gtrashstack; public import glib.gtree; public import glib.gtypes; public import glib.gunicode; public import glib.gurifuncs; public import glib.gutils; public import glib.gvariant; public import glib.gvarianttype; public import glib.gversion; public import glib.gwin32;
D
{ depfiles_gcc = "build/.objs/cstructures/linux/x86_64/release/src/tools_avltree.c.o: src/tools_avltree.c include/tools_avltree.h\ ", files = { "src/tools_avltree.c" }, values = { "/usr/bin/gcc", { "-m64", "-fvisibility=hidden", "-O3", "-Iinclude", "-g", "-Wall", "-DNDEBUG" } } }
D
/home/zbf/workspace/git/RTAP/target/debug/deps/bufstream-ba4c24e2b46e843a.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bufstream-0.1.4/src/lib.rs /home/zbf/workspace/git/RTAP/target/debug/deps/libbufstream-ba4c24e2b46e843a.rlib: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bufstream-0.1.4/src/lib.rs /home/zbf/workspace/git/RTAP/target/debug/deps/bufstream-ba4c24e2b46e843a.d: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bufstream-0.1.4/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bufstream-0.1.4/src/lib.rs:
D
/Users/andrewwerner/Projects/rust_learning/enums/target/debug/deps/enums-8e550281d412b2b7.rmeta: src/main.rs /Users/andrewwerner/Projects/rust_learning/enums/target/debug/deps/enums-8e550281d412b2b7.d: src/main.rs src/main.rs:
D
a long depression in the surface of the land that usually contains a river
D
/************************************************************************** ВОСПРИЯТИЕ ТИХОГО ЗВУКА Персонаж self (я) услышал шаги other (он). Реакция только на ГГ. B_AssessQuietSound() вызывается для только обработки восприятия PERC_ASSESSQUIETSOUND. Вызывает обработку восприятия входа в помещение. Обычная реакция: начать следить за ГГ. Сюжетные особенности: если ГГ переодет в бандита, то бандиты не обращают на него внимания. ***************************************************************************/ func void B_AssessQuietSound() { // НЕ обращать внимания, если ------------------------------------------ // его вообще нет if(!Hlp_IsValidNpc(other)) { return; }; // он слишком высоко (или низко) if(Npc_GetHeightToNpc(self,other) > PERC_DIST_HEIGHT) { return; }; // мы в помещении, но он на другом этаже (проверка расстояния по вертикали) if((C_GetPlayerPortalGuild() != GIL_OUTDOOR) && (Npc_GetHeightToNpc(self,other) > PERC_DIST_INDOOR_HEIGHT)) { return; }; // я среагировал на вход в помещение if(B_AssessEnterRoom()) { return; }; //NS - я в помещении, а он (ГГ) - нет if((C_GetPlayerPortalGuild() == GIL_OUTDOOR) && (C_GetNpcPortalGuild(self) != GIL_OUTDOOR)) { return; }; // я охраняю проход или прячусь if(C_NpcIsGateGuard(self) || HasFlags(self.aivar[AIV_Behaviour], BEHAV_Hidden)) { return; }; //если я целюсь, но не вижу его //if (Npc_IsInState(self,ZS_AimTo)) { // return; //}; if (C_NpcIs(self,OUT_1210_Grimbald) && !self.aivar[AIV_TalkedToPlayer]) { AI_StartState(self,ZS_AimTo,1,""); return; }; // мы не враги и у меня нет важных сообщений для ГГ if((C_NpcGetAttitude(self,other) != ATT_HOSTILE) && (Npc_CheckInfo(self,1) == FALSE)) { return; }; // я не вижу источник звука if(Npc_CanSeeSource(self)) { return; }; // Во всех остальных случаях -------------------------------------------------- // прекратить другие действия Npc_ClearAIQueue(self); B_ClearPerceptions(self); // начать следить за ГГ AI_StartState(self,ZS_ObservePlayer,1,""); };
D
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Validation.build/Validators/NotValidator.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/ValidatorType.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/ValidationError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/URLValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/AndValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/RangeValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NilIgnoringValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NilValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/EmailValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/InValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/OrValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/CharacterSetValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/CountValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NotValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/EmptyValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validations.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/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/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.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/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/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Validation.build/Validators/NotValidator~partial.swiftmodule : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/ValidatorType.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/ValidationError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/URLValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/AndValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/RangeValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NilIgnoringValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NilValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/EmailValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/InValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/OrValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/CharacterSetValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/CountValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NotValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/EmptyValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validations.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/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/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.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/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/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Validation.build/Validators/NotValidator~partial.swiftdoc : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/ValidatorType.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/ValidationError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/URLValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/AndValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/RangeValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NilIgnoringValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NilValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/EmailValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/InValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/OrValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/CharacterSetValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/CountValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/NotValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validators/EmptyValidator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Validations.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/validation/Sources/Validation/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/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/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.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/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
/******************************************************************************* Server config class for use with ocean.util.config.ClassFiller. copyright: Copyright (c) 2012-2017 dunnhumby Germany GmbH. All rights reserved License: Boost Software License Version 1.0. See LICENSE.txt for details. *******************************************************************************/ module dmqnode.config.ServerConfig; import ConfigReader = ocean.util.config.ConfigFiller; /******************************************************************************* Server config values *******************************************************************************/ public class ServerConfig { import ocean.meta.types.Qualifiers : istring; ConfigReader.Required!(char[]) address; ConfigReader.Required!(ushort) port; ConfigReader.Required!(ushort) neoport; // CPU index counting from 0; negative: use any CPU ConfigReader.Min!(int, -1) cpu; ulong size_limit = 0; // 0 := no global size limit ConfigReader.Required!(ConfigReader.Min!(ulong, 1)) channel_size_limit; istring data_dir = "data"; uint connection_limit = 5000; uint backlog = 2048; ConfigReader.Required!(char[]) unix_socket_path; }
D
module mach.collect.readme; private: version(unittest){ import mach.collect; import mach.range.compare : equals; } /++ md # mach.collect This package provides some collection types. All collections in this package are either valid as ranges, or are themselves ranges. ## mach.collect.hashmap Defines a dense hash map, or hash table, and a dense hash set. A hash map functions like an associative array. A hash set is similar, but it recognizes keys and not values. Hash maps and sets come in both statically- and dynamically-sized flavors. Either can be rehashed via explicit calls, but only dynamically-sized maps and sets will grow when nearly full and shrink when nearly empty. Note that `DenseHashMap` and `DenseHashSet` instances are uncopyable, and in most cases a reference should be maintained. +/ unittest{ auto map = new HashMap!(string, string)(); map.set("hello", "world"); map.set("how", "are you?"); assert(map.length == 2); assert(map.contains("hello")); assert(map.contains("how")); assert(map.get("hello") == "world"); assert(!map.contains("not a key")); map.remove("how"); assert(!map.contains("how")); } unittest{ auto set = new HashSet!string(); set.add("abc"); set.add("xyz"); assert(set.length == 2); assert(set.contains("abc")); assert(set.contains("xyz")); assert(!set.contains("123")); set.remove("abc"); assert(!set.contains("abc")); } /++ md These types define operator overloads but, when using pointers, it becomes necessary to use the dereference operator `*`. +/ unittest{ HashMap!(string, string) map; map["hello"] = "world"; assert("hello" in map); assert(map["hello"] == "world"); } unittest{ auto map = new HashMap!(string, string)(); (*map)["hello"] = "world"; assert("hello" in *map); assert((*map)["hello"] == "world"); } /++ md ## mach.collect.heap Defines a [binary heap](https://en.wikipedia.org/wiki/Binary_heap) data structure, implemented using an array. +/ unittest{ Heap!int heap; heap.push(3); heap.push(1); heap.push(2); assert(heap.pop == 1); assert(heap.pop == 2); assert(heap.pop == 3); } /++ md ## mach.collect.linkedlist Defines a cyclic doubly-linked list type. Linked lists are more efficient than array lists for random insertions and removals, but are suboptimal for random access. Because the memory of a linked list is not stored sequentially, unlike an array list, traversal is also slower. Note that `DoublyLinkedList` instances are uncopyable, and in most cases a reference should be maintained. +/ unittest{ auto list = new LinkedList!string(); // Construct a list with the contents ["front", "middle", "back"]. list.append("back"); auto front = list.prepend("front"); list.insertafter(front, "middle"); // Verify the content of the list assert(list.equals(["front", "middle", "back"])); // Remove a node list.remove(front); assert(list.equals(["middle", "back"])); } /++ md The `DoublyLinkedList` type defines operator overloads but, when using pointers, it becomes necessary to use the dereference operator `*`. +/ unittest{ LinkedList!string list; list ~= "a"; list ~= ["b", "c"]; assert(list.equals(["a", "b", "c"])); } unittest{ auto list = new LinkedList!string(); *list ~= "a"; *list ~= ["b", "c"]; assert(list.equals(["a", "b", "c"])); } /++ md ## mach.collect.sortedlist The `SortedList` type is built on top of the `DoublyLinkedList` type. Its contents are maintained in sorted order as they are inserted using what amounts to a simple insertion sort. Note that `SortedList` instances are uncopyable, and in most cases a reference should be maintained. +/ unittest{ auto list = new SortedList!int(); auto one = list.insert(1); list.insert(4); list.insert(3); list.insert(2); assert(list.equals([1, 2, 3, 4])); list.remove(one); assert(list.equals([2, 3, 4])); } /++ md Groups of elements can be inserted at once, and different methods are provided for inserting elements that are or are not guaranteed to themselves be in sorted order. +/ unittest{ auto list = new SortedList!int(); list.insert([6, 2, 4]); // Values not sorted assert(list.equals([2, 4, 6])); list.insertsorted([1, 2, 3]); // Values already sorted assert(list.equals([1, 2, 2, 3, 4, 6])); } /++ md The `SortedList` type defines operator overloads but, when using pointers, it becomes necessary to use the dereference operator `*`. +/ unittest{ SortedList!int list; list ~= 3; list ~= 2; list ~= 1; assert(list.equals([1, 2, 3])); } unittest{ auto list = new SortedList!int(); *list ~= 3; *list ~= 2; *list ~= 1; assert(list.equals([1, 2, 3])); }
D
module aura.util.inflections.Inflector; import std.regex; import std.array; import std.algorithm; import std.uni; interface InflectionInterface { string inflect(const string input); bool matches(const string input) const; } class InflectionRule(string expression, string format, string matchOptions = "") : InflectionInterface { private static auto _regex = ctRegex!(expression, matchOptions); static InflectionInterface opCall() { return cast(InflectionInterface)(new InflectionRule!(expression, format, matchOptions)); } override string inflect(const string input) { return input.replaceFirst(_regex, format); } bool matches(const string input) const { return cast(bool)input.matchFirst(_regex); } } unittest { auto testInflector = InflectionRule!(`$`, `s`, "i")(); assert (testInflector.inflect("apple") == "apples"); } struct Translation { string singular; string plural; bool canPlural(const string input) { if (input.length < singular.length) return false; if (input[$ - singular.length..$].toLower == singular) { return true; } return false; } string toPlural(const string input) { assert(input.length >= singular.length); return input[0..$-singular.length] ~ plural; } bool canSingular(const string input) { if (input.length < plural.length) return false; if (input[$ - plural.length..$].toLower == plural) { return true; } return false; } string toSingular(const string input) { assert(input.length >= plural.length); return input[0..$-plural.length] ~ singular; } } unittest { auto t = Translation("person", "people"); assert(t.toPlural("oneperson") == "onepeople"); assert(t.toSingular("onepeople") == "oneperson"); } class Inflector { static InflectionInterface[] _plurals; static InflectionInterface[] _singulars; static Translation[] _irregulars; static string[] _uncountables; static void plural(string expression, string format, string matchOptions = "")() { _plurals ~= InflectionRule!(expression, format, matchOptions)(); } static void singular(string expression, string format, string matchOptions = "")() { _singulars ~= InflectionRule!(expression, format, matchOptions)(); } static void irregular(string singular, string plural) { _irregulars ~= Translation(singular, plural); } static void uncountable(string[] values ...) { _uncountables ~= values; } static string transform(bool plural)(const string input) { static if (plural) { alias _transforms = _plurals; } else { alias _transforms = _singulars; } auto lowerInput = input.toLower; if (_uncountables.canFind(lowerInput)) return input; foreach(irregular; _irregulars) { static if (plural) { if (irregular.canPlural(input)) return irregular.toPlural(input); } else { if (irregular.canSingular(input)) return irregular.toSingular(input); } } foreach(rule; _transforms) { if (rule.matches(input)) return rule.inflect(input); } return input; } alias pluralize = transform!true; alias singularize = transform!false; }
D
/Volumes/T7/rust/author/manning/prod/chapter8/ezytutors/tutor-web-app-ssr/target/rls/debug/deps/brotli_sys-7be7a104b2252b2e.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-sys-0.3.2/src/lib.rs /Volumes/T7/rust/author/manning/prod/chapter8/ezytutors/tutor-web-app-ssr/target/rls/debug/deps/brotli_sys-7be7a104b2252b2e.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-sys-0.3.2/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-sys-0.3.2/src/lib.rs:
D
a show or display a show of military force or preparedness a public display of group feelings (usually of a political nature proof by a process of argument or a series of proposition proving an asserted conclusion a visual presentation showing how something works
D
// NOTE: How to make this package architecture better?? module logic; import std.typecons; import gui:_CheckRunner, _InitChW; import std.process, std.regex; import std.file:exists; // ====== // LogicList base logic // ====== interface CheckLogic { public static _InitChW getInitInfo(); } interface CheckLogicNoShell { public static _InitChW getInitInfoNoShell(); } class LogicList { public static _InitChW[] _list; public static _InitChW[] _listNoShell; public static void addLogic(T:CheckLogic)() { _list ~= T.getInitInfo(); if (is(T == CheckLogicNoShell)) _listNoShell ~= (cast(CheckLogicNoShell)(T)).getInitInfoNoShell(); else { _InitChW ich = T.getInitInfo(); ich[1] = delegate() { return tuple(false , "System shell is unavailable"d); }; ich[2] = null; _listNoShell ~= ich; } } } static bool isShellEnabled() { try { auto cmd = executeShell("time /T"); return true; //return false; } catch (Exception e) { return false; } } // ====== // some helpful stuff for checking purposes // ====== // NOTE: Where to cast string to dstring? Here or in checktype.*? struct Report { bool answer; string comments; } Report checkCmd(string cmdStr, string rExStr, string rExFlags = "") { auto cmd = executeShell(cmdStr); if (cmd.status != 0) return Report(false, "failed to execute shell"); if (!matchFirst(cmd.output, regex(rExStr, rExFlags))) { return Report(false, cmd.output); } else { return Report(true, cmd.output); } } bool fsCheck(string path) { return exists(path); }
D
/* Converted to D from gsl_block_long_double.h by htod * and edited by daniel truemper <truemped.dsource <with> hence22.org> */ module auxc.gsl.gsl_block_long_double; /* block/gsl_block_long_double.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import tango.stdc.stdlib; import tango.stdc.stdio; public import auxc.gsl.gsl_errno; struct gsl_block_long_double_struct { size_t size; real *data; } extern (C): alias gsl_block_long_double_struct gsl_block_long_double; gsl_block_long_double * gsl_block_long_double_alloc(size_t n); gsl_block_long_double * gsl_block_long_double_calloc(size_t n); void gsl_block_long_double_free(gsl_block_long_double *b); int gsl_block_long_double_fread(FILE *stream, gsl_block_long_double *b); int gsl_block_long_double_fwrite(FILE *stream, gsl_block_long_double *b); int gsl_block_long_double_fscanf(FILE *stream, gsl_block_long_double *b); int gsl_block_long_double_fprintf(FILE *stream, gsl_block_long_double *b, char *format); int gsl_block_long_double_raw_fread(FILE *stream, real *b, size_t n, size_t stride); int gsl_block_long_double_raw_fwrite(FILE *stream, real *b, size_t n, size_t stride); int gsl_block_long_double_raw_fscanf(FILE *stream, real *b, size_t n, size_t stride); int gsl_block_long_double_raw_fprintf(FILE *stream, real *b, size_t n, size_t stride, char *format); size_t gsl_block_long_double_size(gsl_block_long_double *b); real * gsl_block_long_double_data(gsl_block_long_double *b);
D
module d.object; import d.ir.symbol; import d.context.location; import d.context.name; final class ObjectReference { private Module object; this(Module object) { this.object = object; } auto getSizeT() { return cast(TypeAlias) object.resolve( Location.init, BuiltinName!"size_t", ); } private auto getClass(Name name) { return cast(Class) object.resolve(Location.init, name); } auto getObject() { return getClass(BuiltinName!"Object"); } auto getTypeInfo() { return getClass(BuiltinName!"TypeInfo"); } auto getClassInfo() { return getClass(BuiltinName!"ClassInfo"); } auto getThrowable() { return getClass(BuiltinName!"Throwable"); } auto getException() { return getClass(BuiltinName!"Exception"); } auto getError() { return getClass(BuiltinName!"Error"); } private auto getFunction(Name name) { auto s = object.resolve(Location.init, name); if (auto f = cast(Function) s) { return f; } auto os = cast(OverloadSet) s; assert(os.set.length == 1); return cast(Function) os.set[0]; } auto getClassDowncast() { return getFunction(BuiltinName!"__sd_class_downcast"); } auto getThrow() { return getFunction(BuiltinName!"__sd_eh_throw"); } auto getPersonality() { return getFunction(BuiltinName!"__sd_eh_personality"); } auto getArrayConcat() { return cast(OverloadSet) object.resolve( Location.init, BuiltinName!"__sd_array_concat", ); } }
D
module gamesim; import tango.math.Math; import tango.time.Clock : Clock; import simulation : Simulation, Ent; import network : Buffer; import glutil : BlendFunc, Blend, Wrap, Image2D, RGBA, GLProgram, GLTexture2D, glState; import util : itoa, MatrixFixed, Vec2D, GameRand, Queue, open_text, Vec3D; import engine : MMHI; GameRand random; version = client; class GameSimulation : Simulation { override Ent spawn(uint type, Buffer* buf) { switch(type) { case EntType.map: return new Map(buf); case EntType.debris: return new Debris(buf); case EntType.structure: return new Structure(buf); case EntType.base: return new Base(buf); case EntType.bot: return new Bot(buf); case EntType.bolt: return new Bolt(buf); default: throw new Exception("unexpected type: " ~ itoa(type)); } } } enum EntType : uint { none, map, debris, structure, base, bot, bolt } enum Team { world, blue, red } class Entity : Ent { Vec2D location() { return m_location; } Vec2D velocity() { return m_velocity; } float radius() { return m_radius; } float rotation() { return m_rotation; } Team team() { return m_team; } void think(uint delay, int function(Entity* e) func) { m_think_time = simulation.time + delay; m_think_func = func; } void think() { if(m_think_time && simulation.time >= m_think_time) { int r = m_think_func(&this); m_think_time = r ? simulation.time + r : 0; } } private: Vec2D m_location = {0, 0}; Vec2D m_velocity = {0, 0}; float m_radius = 1.0; float m_rotation = 0.0; Team m_team; uint m_think_time; int function(Entity* e) m_think_func; } class Map : Entity { uint type() { return EntType.map; } static const uint map_size = 64+1; this(Buffer* data) { read(data, true); } this() { m_team = Team.world; MatrixFixed!(float, map_size, map_size) data; random.seed(Clock.now.ticks); data[ 0, 0] = 127.0 + random.dfrac() * 64.0; data[ 0, map_size - 1] = 127.0 + random.dfrac() * 64.0; data[map_size - 1, map_size - 1] = 127.0 + random.dfrac() * 64.0; data[map_size - 1, 0] = 127.0 + random.dfrac() * 64.0; struct WorkUnit { int minx; int maxx; int miny; int maxy; float scale; } WorkUnit wu; auto queue = new Queue!(WorkUnit, 2048); queue.push(WorkUnit(0, map_size - 1, 0, map_size - 1, 127.0)); while(queue.pop(wu)) { if(wu.maxx - wu.minx <= 1 || wu.maxy - wu.miny <= 1) continue; int midx = (wu.minx + wu.maxx) / 2; int midy = (wu.miny + wu.maxy) / 2; // get the four corners float ii = data[wu.minx, wu.miny]; float ia = data[wu.minx, wu.maxy]; float aa = data[wu.maxx, wu.maxy]; float ai = data[wu.maxx, wu.miny]; // set the middle data[ midx, midy] = ((ii + ia + aa + ai) / 4) + random.dfrac() * wu.scale; // set the midpoint of the sides data[wu.minx, midy] = ((ii + ia) / 2) - random.dfrac() * wu.scale; data[ midx, wu.maxy] = ((ia + aa) / 2) - random.dfrac() * wu.scale; data[wu.maxx, midy] = ((aa + ai) / 2) - random.dfrac() * wu.scale; data[ midx, wu.miny] = ((ai + ii) / 2) - random.dfrac() * wu.scale; // descend into four smaller squares queue.push(WorkUnit(wu.minx, midx, wu.miny, midy, wu.scale * 0.5)); queue.push(WorkUnit( midx, wu.maxx, wu.miny, midy, wu.scale * 0.5)); queue.push(WorkUnit(wu.minx, midx, midy, wu.maxy, wu.scale * 0.5)); queue.push(WorkUnit( midx, wu.maxx, midy, wu.maxy, wu.scale * 0.5)); } for(uint x = 0; x < map_size; x++) { for(uint y = 0; y < map_size; y++) { float p = data[x, y]; if(p < 0.0) p = 0.0; if(p > 255.0) p = 255.0; m_data[x, y] = cast(ubyte)p; } } } version(client) { void render(MMHI engine) { glState.program = m_program; glState.tu[0].texture = m_sky; glState.tu[1].texture = m_diffuse; glState.tu[2].texture = m_norm; m_program.uniform("camera", engine.camera.x, engine.camera.y); m_program.uniform("skymap", 0); m_program.uniform("colormap", 1); m_program.uniform("normmap", 2); glState.blendFunc = BlendFunc(Blend.one, Blend.one); glState.blend = true; engine.lights((Vec3D xyz, Vec3D rgb, float radius) { m_program.uniform("LightPos", xyz.x, xyz.y, xyz.z); m_program.uniform("LightColor", rgb.x, rgb.y, rgb.z, radius); engine.quad(-1024, -1024, 1024, 1024); }); glState.blend = false; glState.tu[2].texture = null; glState.tu[1].texture = null; glState.tu[0].texture = null; } void effects(MMHI engine) { engine.addLight(0.0, 0.0, 512.0f, 0.6, 0.6, 0.5, 2048.0); } } void read(Buffer* data, bool spawn = false) { uint x, y; for(x = 0; x < map_size; x++) for(y = 0; y < map_size; y++) m_data[x, y] = data.r!(ubyte); version(client) { MatrixFixed!(float, map_size, map_size) f_data; for(x = 0; x < map_size; x++) for(y = 0; y < map_size; y++) f_data[x, y] = m_data[x, y] * (1.0f / 255.0f); Image2D img = new Image2D(map_size, map_size); for(x = 0; x < map_size; x++) { uint x0 = x > 0 ? x - 1 : x; uint x1 = x; uint x2 = (x == map_size - 1 ? x : x + 1); for(y = 0; y < map_size; y++) { uint y0 = y > 0 ? y - 1 : y; uint y1 = y; uint y2 = (y == map_size - 1 ? y : y + 1); /* Coordinates are laid out as follows: 0,0 | 1,0 | 2,0 ----+-----+---- 0,1 | 1,1 | 2,1 ----+-----+---- 0,2 | 1,2 | 2,2 */ // Use of the sobel filter requires the eight samples // surrounding the current pixel: float h00 = f_data[x0, y0]; float h10 = f_data[x1, y0]; float h20 = f_data[x2, y0]; float h01 = f_data[x0, y1]; float h21 = f_data[x2, y1]; float h02 = f_data[x0, y2]; float h12 = f_data[x1, y2]; float h22 = f_data[x2, y2]; // The Sobel X kernel is: // [ 1.0 0.0 -1.0 ] // [ 2.0 0.0 -2.0 ] // [ 1.0 0.0 -1.0 ] float Gx = h00 - h20 + 2.0f * h01 - 2.0f * h21 + h02 - h22; // The Sobel Y kernel is: // [ 1.0 2.0 1.0 ] // [ 0.0 0.0 0.0 ] // [ -1.0 -2.0 -1.0 ] float Gy = h00 + 2.0f * h10 + h20 - h02 - 2.0f * h12 - h22; // Generate the missing Z component - tangent // space normals are +Z which makes things easier // The 0.5f leading coefficient can be used to control // how pronounced the bumps are - less than 1.0 enhances // and greater than 1.0 smoothes. float Gz = 0.7f * sqrt(1.0f - Gx * Gx - Gy * Gy); Vec3D v = Vec3D(2.0f * Gx, 2.0f * Gy, Gz).normalized * 0.5 + 0.5; img[x, y] = RGBA(cast(ubyte)(v.x * 255), cast(ubyte)(v.y * 255), cast(ubyte)(v.z * 255), m_data[x, y]); } } m_program = new GLProgram(); m_program.vertex(open_text("scripts/terrain.vert")); m_program.fragment(open_text("scripts/terrain.frag")); m_program.link(); m_sky = glState.texture2D("images/clouds.tga"); m_diffuse = new GLTexture2D(); m_diffuse.wrapS = Wrap.mirrored_repeat; m_diffuse.wrapT = Wrap.mirrored_repeat; m_diffuse.generateMipmap = true; m_diffuse.image = img; m_norm = glState.texture2D("images/terraintex/ground2_norm.tga"); } } void write(Buffer* data, bool spawn = false) { for(uint x = 0; x < map_size; x++) for(uint y = 0; y < map_size; y++) data.w!(ubyte) = m_data[x, y]; } MatrixFixed!(ubyte, map_size, map_size) data() { return m_data; } bool inWater(float x, float y) { return getHeight(x, y) < 64; } ubyte getHeight(float _x, float _y) { Vec2D xy = Vec2D(_x, _y) * (1.0f / 2048.0f) + 0.5f * map_size; return m_data[(cast(uint)xy.x), (cast(uint)xy.y)]; } private: MatrixFixed!(ubyte, map_size, map_size) m_data; version(client) { GLProgram m_program; GLTexture2D m_diffuse; GLTexture2D m_norm; GLTexture2D m_sky; } } GLProgram sprite_program; bool sprite_program_loaded = false; class Debris : Entity { uint type() { return EntType.debris; } this(Buffer* data) { read(data, true); } this(float x, float y) { m_location.x = x; m_location.y = y; } version(client) { void render(MMHI engine) { } } void read(Buffer* data, bool spawn = false) { m_location.x = data.r!(float); m_location.y = data.r!(float); } void write(Buffer* data, bool spawn = false) { data.w!(float) = m_location.x; data.w!(float) = m_location.y; } } class Structure : Entity { uint type() { return EntType.structure; } this(Buffer* data) { read(data, true); } this(float x, float y) { m_location.x = x; m_location.y = y; } version(client) { void render(MMHI engine) { glState.program = null; glState.blendFunc = BlendFunc(Blend.src_alpha, Blend.one_minus_src_alpha); glState.blend = true; glState.color = RGBA(127, 127, 127, 255); glState.tu[0].texture = glState.texture2D("images/debris01.tga"); engine.quad(m_location.x - 32, m_location.y - 32, m_location.x + 32, m_location.y + 32); } void effects(MMHI engine) { engine.addLight(location.x, location.y, 50.0f, 0.2, 0.2, 0.2, 256.0); } } void read(Buffer* data, bool spawn = false) { m_location.x = data.r!(float); m_location.y = data.r!(float); } void write(Buffer* data, bool spawn = false) { data.w!(float) = m_location.x; data.w!(float) = m_location.y; } } class Base : Entity { uint type() { return EntType.base; } this(Buffer* data) { read(data, true); } this(float x, float y, Team _team) { m_location.x = x; m_location.y = y; m_team = _team; } void init() { think(10, function int(Entity* e) { Vec2D location = e.location; e.simulation.attach(new Bot(location.x, location.y, e.m_team)); return 10000; }); } version(client) { void render(MMHI engine) { glState.color = m_team == Team.blue ? RGBA(0, 0, 255, 255) : RGBA(255, 0, 0, 255); engine.quad(location.x - 32, location.y - 32, location.x + 32, location.y + 32); } void effects(MMHI engine) { if(m_team == Team.blue) engine.addLight(location.x, location.y, 50.0f, 0.1, 0.1, 0.5, 256.0); else engine.addLight(location.x, location.y, 50.0f, 0.5, 0.1, 0.1, 256.0); } } void read(Buffer* data, bool spawn = false) { m_location.x = data.r!(float); m_location.y = data.r!(float); if(spawn) m_team = cast(Team)data.r!(ubyte); } void write(Buffer* data, bool spawn = false) { data.w!(float) = m_location.x; data.w!(float) = m_location.y; if(spawn) data.w!(ubyte) = cast(ubyte)m_team; } } class Bot : Entity { uint type() { return EntType.bot; } this(Buffer* data) { read(data, true); } this(float x, float y, Team _team) { m_location.x = x; m_location.y = y; m_team = _team; } void init() { think(1, function int(Entity* e) { e.m_location = e.m_location + Vec2D(random.dfrac() * 2, random.dfrac() * 2); e.modified; return 1; }); } version(client) { void render(MMHI engine) { if(!sprite_program_loaded) { sprite_program_loaded = true; sprite_program = new GLProgram(); sprite_program.vertex(open_text("scripts/sprite.vert")); sprite_program.fragment(open_text("scripts/sprite.frag")); sprite_program.link(); } glState.color = m_team == Team.blue ? RGBA(0, 0, 255, 255) : RGBA(255, 0, 0, 255); glState.program = sprite_program; glState.tu[0].texture = glState.texture2D("images/bot1_color.tga"); glState.tu[1].texture = glState.texture2D("images/bot1_bump.tga"); sprite_program.uniform("colormap", 0); sprite_program.uniform("normmap", 1); sprite_program.uniform("time", simulation.time * 0.001); glState.inMatrix({ glState.translate(location.x, location.y); glState.rotate(number * (simulation.time * 0.001), 0, 0, 1); engine.quad(-4, -4, 4, 4); }); glState.tu[1].texture = null; glState.tu[0].texture = null; } } void read(Buffer* data, bool spawn = false) { m_location.x = data.r!(float); m_location.y = data.r!(float); if(spawn) m_team = cast(Team)data.r!(ubyte); } void write(Buffer* data, bool spawn = false) { data.w!(float) = m_location.x; data.w!(float) = m_location.y; if(spawn) data.w!(ubyte) = cast(ubyte)m_team; } } class Bolt : Entity { uint type() { return EntType.bolt; } this(Buffer* data) { read(data, true); } this(float x, float y, float z, float w, Entity _owner) { m_location.x = x; m_location.y = y; m_velocity.x = z; m_velocity.y = w; m_owner = _owner; } version(client) { void render(MMHI engine) { glState.program = null; glState.color = RGBA(255, 255, 0, 255); Vec2D loc = Vec2D( location.x + velocity.x * (simulation.time - m_start_time) * 0.1f, location.y + velocity.y * (simulation.time - m_start_time) * 0.1f ); engine.point(1.0, loc.x, loc.y); } } void read(Buffer* data, bool spawn = false) { m_location.x = data.r!(float); m_location.y = data.r!(float); m_velocity.x = data.r!(float); m_velocity.y = data.r!(float); } void write(Buffer* data, bool spawn = false) { data.w!(float) = m_location.x; data.w!(float) = m_location.y; data.w!(float) = m_velocity.x; data.w!(float) = m_velocity.y; } private: Entity m_owner; uint m_start_time; }
D
module UnrealScript.TribesGame.TrProj_LightTurret; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrProjectile; extern(C++) interface TrProj_LightTurret : TrProjectile { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrProj_LightTurret")); } private static __gshared TrProj_LightTurret mDefaultProperties; @property final static TrProj_LightTurret DefaultProperties() { mixin(MGDPC("TrProj_LightTurret", "TrProj_LightTurret TribesGame.Default__TrProj_LightTurret")); } }
D
/* TEST_OUTPUT: --- fail_compilation/fail289.d(12): Error: cannot cast from function pointer to delegate --- */ alias void delegate() Dg; void fun() {} void gun() { Dg d = cast(void delegate())&fun; }
D
module java.lang.Long; import java.lang.util; import java.lang.exceptions; import java.lang.Number; import java.lang.Character; import java.lang.Class; import java.lang.String; version(Tango){ static import tango.text.convert.Integer; } else { // Phobos static import std.conv; static import std.string; } class Long : Number { public static const long MIN_VALUE = long.min; public static const long MAX_VALUE = long.max; private long value; this( long value ){ super(); this.value = value; } this( String str ){ super(); this.value = parseLong(str); } override public byte byteValue(){ return cast(byte)value; } override public short shortValue(){ return cast(short)value; } override public int intValue(){ return cast(int)value; } override public long longValue(){ return value; } override public float floatValue(){ return cast(float)value; } override public double doubleValue(){ return cast(double)value; } public static long parseLong(String s){ return parseLong( s, 10 ); } public static long parseLong(String s, int radix){ if(radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) throw new NumberFormatException("The radix is out of range"); version(Tango){ try{ return tango.text.convert.Integer.toLong( s, radix ); } catch( IllegalArgumentException e ){ throw new NumberFormatException( e ); } } else { // Phobos try{ immutable res = std.conv.parse!(long)( s, radix ); if(s.length) throw new NumberFormatException("String has invalid characters: " ~ s); return res; } catch( std.conv.ConvException e ){ throw new NumberFormatException( e ); } } } public static String toString( long i ){ return String_valueOf(i); } private static Class TYPE_; public static Class TYPE(){ if( TYPE_ is null ){ TYPE_ = Class.fromType!(long); } return TYPE_; } } alias Long ValueWrapperLong;
D
// **************************** // Nahkampf - AI Swampshark (19) // **************************** /* CONST INT MOVE_RUN = 1; // Gegner in meinem Fokus + steht wer dazwischen? (G) CONST INT MOVE_JUMPBACK = 3; // löst t_ParadeJumpB aus (Attacke wird nur pariert, wenn man schnell genug aus der W-Reichweite kommt! CONST INT MOVE_TURN = 4; // Immer bis Gegner im Fokus (also nie durch neue Aktion unterbrochen, höchstens durch Gegner-Attacke) CONST INT MOVE_STRAFE = 5; // (Richtung wird vom Programm entschieden) CONST INT MOVE_ATTACK = 6; // in ComboZone = Combo / im Rennen = Sturmattacke? CONST INT MOVE_PARADE = 17; // (keine Attacke = oben) CONST INT MOVE_WAIT = 19; // 200 ms */ // W - Waffen-Reichweite (FIGHT_RANGE_FIST * 3) // G - Gehen-Reichweite (3 * W). Puffer für Fernkämpfer in dem sie zur NK-Waffe wechseln sollten // FK - Fernkampf-Reichweite (30m) ////////////////////////////////////////////////// // Meine Reaktionen auf Gegner-Aktionen: ////////////////////////////////////////////////// // Gegner attackiert mich INSTANCE FA_ENEMY_PREHIT_19 (C_FightAI) { move[0] = MOVE_JUMPBACK; }; // Gegner macht Sturmattacke INSTANCE FA_ENEMY_STORMPREHIT_19 (C_FightAI) { // FIXME: Auch wenn ich einfach so auf das Monster zurenne, macht es eine ParadeJumpB! move[0] = MOVE_JUMPBACK; }; ////////////////////////////////////////////////// // Meine Aktionen wenn Gegner in Waffenreichweite: ////////////////////////////////////////////////// // was tun, wenn ich gerade auf den Gegner zurenne? INSTANCE FA_MY_W_RUNTO_19 (C_FightAI) { move[0] = MOVE_TURN; }; // was tun, wenn ich gerade Strafe? INSTANCE FA_MY_W_STRAFE_19 (C_FightAI) { move[0] = MOVE_TURN; }; // was tun, wenn ich den Gegner im Focus habe? INSTANCE FA_MY_W_FOCUS_19 (C_FightAI) { move[0] = MOVE_WAIT; move[1] = MOVE_WAIT; move[2] = MOVE_WAIT; move[3] = MOVE_WAIT; move[4] = MOVE_ATTACK; move[5] = MOVE_ATTACK; }; // was tun, wenn ich den Gegner nicht im Focus habe? INSTANCE FA_MY_W_NOFOCUS_19 (C_FightAI) { move[0] = MOVE_TURN; }; //////////////////////////////////////////////////////////// // Meine Aktionen wenn Gegner Waffenreichweite * 3 entfernt: //////////////////////////////////////////////////////////// // was tun, wenn ich gerade auf den Gegner zurenne? INSTANCE FA_MY_G_RUNTO_19 (C_FightAI) { move[0] = MOVE_TURN; }; // was tun, wenn ich gerade Strafe? // FIXME: wenn hier ATTACK eingetragen ist, müsste dann nicht nach jedem Strafe eine Attack kommen?? INSTANCE FA_MY_G_STRAFE_19 (C_FightAI) { move[0] = MOVE_TURN; move[1] = MOVE_ATTACK; }; // was tun, wenn ich den Gegner im Focus habe? INSTANCE FA_MY_G_FOCUS_19 (C_FightAI) { move[0] = MOVE_RUN; }; //////////////////////////////////// // Gegner weiter als Waffenreichweite * 3 entfernt //////////////////////////////////// // was tun, wenn ich den Gegner im Focus habe? INSTANCE FA_MY_FK_FOCUS_19 (C_FightAI) { move[0] = MOVE_RUN; }; // was tun, wenn ich den Gegner nicht im Focus habe? (gilt auch für G-Distanz!) INSTANCE FA_MY_G_FK_NOFOCUS_19 (C_FightAI) { move[0] = MOVE_TURN; };
D
/Users/harry/Desktop/sportsUp/Build/Intermediates/sportsUp.build/Debug-iphonesimulator/sportsUp.build/Objects-normal/x86_64/File.o : /Users/harry/Desktop/sportsUp/sportsUp/tools/File.swift /Users/harry/Desktop/sportsUp/sportsUp/AppDelegate.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListItemModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/StadiumModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UserModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LoginPageUiewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/RegisterViewController.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/harry/Desktop/sportsUp/Build/Intermediates/sportsUp.build/Debug-iphonesimulator/sportsUp.build/Objects-normal/x86_64/File~partial.swiftmodule : /Users/harry/Desktop/sportsUp/sportsUp/tools/File.swift /Users/harry/Desktop/sportsUp/sportsUp/AppDelegate.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListItemModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/StadiumModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UserModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LoginPageUiewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/RegisterViewController.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/harry/Desktop/sportsUp/Build/Intermediates/sportsUp.build/Debug-iphonesimulator/sportsUp.build/Objects-normal/x86_64/File~partial.swiftdoc : /Users/harry/Desktop/sportsUp/sportsUp/tools/File.swift /Users/harry/Desktop/sportsUp/sportsUp/AppDelegate.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListItemModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/StadiumModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UserModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/CreateStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/GetStadiumRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/LoginRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/RegisterRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/UnrollEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/NewEventRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventListRequestModel.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/LoginPageUiewController.swift /Users/harry/Desktop/sportsUp/sportsUp/controllers/RegisterViewController.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
D
/Users/joshblatt/Projects/learning-casper/erc20/erc20_token/target/release/deps/libdatasize_derive-a6d9196b337984b7.dylib: /Users/joshblatt/.cargo/registry/src/github.com-1ecc6299db9ec823/datasize_derive-0.2.9/src/lib.rs /Users/joshblatt/Projects/learning-casper/erc20/erc20_token/target/release/deps/datasize_derive-a6d9196b337984b7.d: /Users/joshblatt/.cargo/registry/src/github.com-1ecc6299db9ec823/datasize_derive-0.2.9/src/lib.rs /Users/joshblatt/.cargo/registry/src/github.com-1ecc6299db9ec823/datasize_derive-0.2.9/src/lib.rs:
D
Name{number} advzip - AdvanceCOMP ZIP Compression Utility Synopsis :advzip [-a, --add] [-x, --extract] [-l, --list] : [-z, --recompress] [-t, --test] [-0, --shrink-store] : [-1, --shrink-fast] [-2, --shrink-normal] [-3, --shrink-extra] : [-4, --shrink-insane] [-i, --iter N] : [-k, --keep-file-time] [-p, --pedantic] [-q, --quiet] : [-h, --help] [-V, --version] ARCHIVES... [FILES...] Description The main purpose of this utility is to recompress and test the zip archives to get the smallest possible size. For recompression the 7-Zip (www.7-zip.com) Deflate implementation is used. This implementation generally gives 5-10% more compression than the zLib Deflate implementation. For experimental purpose also the 7-Zip LZMA algorithm is available with the -N option. In this case, the generated zips WILL NOT BE USABLE by any other program. To make them usable you need to recompress them without the -N option. Generally this algorithm gives 10-20% more compression than the 7-Zip Deflate implementation. Options -a, --add ARCHIVE FILES... Create the specified archive with the specified files. You must specify only one archive. -x, --extract ARCHIVE Extract all the files on the specified archive. You must specify only one archive. -l, --list ARCHIVES... List the content of the specified archives. -z, --recompress ARCHIVES... Recompress the specified archives. If the -1, -2, -3, -4 options are specified, it's used the smallest file choice from: the previous compressed data, the new compression and the uncompressed format. If the -0 option is specified the archive is always rewritten without any compression. -t, --test ARCHIVES... Test the specified archives. The tests may be extended with the -p option. -k, --keep-file-time When recompressing with -z keep the .zip file time. -p, --pedantic Be pedantic on the zip tests. If this flag is enabled some more extensive tests on the zip integrity are done. These tests are generally not done by other zip utilities. -0, --shrink-store Disable the compression. The file is only stored and not compressed. This option is very useful to expand the archives of .png and .mp3 files. These files are already compressed, trying to compress them another time is really a waste of time and resource. -1, --shrink-fast Set the compression level to "fast" using the zlib compressor. -2, --shrink-normal Set the compression level to "normal" using the 7z compressor. This is the default level of compression. -3, --shrink-extra Set the compression level to "extra" using the 7z compressor. You can define the compressor iterations with the -i, --iter option. -4, --shrink-insane Set the compression level to "insane" using the zopfli compressor. You can define the compressor iterations with the -i, --iter option. -i, --iter N Define an additional numer of iterations for the 7z and zopfli compressors for modes -3 and -4. More iterations usually give a better compression, but may require a lot more time. Try for example with 10, 15, 20, and so on. Copyright This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima See Also advpng(1), advmng(1), advdef(1)
D
import std.stdio; import event; class EventReceiver { alias void delegate(Event) DgType; // Maps eventIDs to an array of all delegates that use that event private DgType[][long] receiverList; public bool CanHandle(const Event e) { return true; // stub function, temporary } public void Handle(Event e) { writeln("Event received"); long id = e.GetID(); // Call the appropriate function foreach (DgType handler; receiverList[id]) { handler(e); } } public void RegisterEvent(long e, DgType func) { DgType[] *funcptr = e in receiverList; DgType[] funclist; if (funcptr == null) { funclist = []; receiverList[e] = funclist; } else { funclist = *funcptr; } funclist ~= func; } }
D
predict or reveal through, or as if through, divine inspiration deliver a sermon
D
/** This module is a submodule of $(LINK2 std_range.html, std.range). It provides basic range functionality by defining several templates for testing whether a given object is a _range, and what kind of _range it is: $(BOOKTABLE , $(TR $(TD $(D $(LREF isInputRange))) $(TD Tests if something is an $(I input _range), defined to be something from which one can sequentially read data using the primitives $(D front), $(D popFront), and $(D empty). )) $(TR $(TD $(D $(LREF isOutputRange))) $(TD Tests if something is an $(I output _range), defined to be something to which one can sequentially write data using the $(D $(LREF put)) primitive. )) $(TR $(TD $(D $(LREF isForwardRange))) $(TD Tests if something is a $(I forward _range), defined to be an input _range with the additional capability that one can save one's current position with the $(D save) primitive, thus allowing one to iterate over the same _range multiple times. )) $(TR $(TD $(D $(LREF isBidirectionalRange))) $(TD Tests if something is a $(I bidirectional _range), that is, a forward _range that allows reverse traversal using the primitives $(D back) and $(D popBack). )) $(TR $(TD $(D $(LREF isRandomAccessRange))) $(TD Tests if something is a $(I random access _range), which is a bidirectional _range that also supports the array subscripting operation via the primitive $(D opIndex). )) ) It also provides number of templates that test for various _range capabilities: $(BOOKTABLE , $(TR $(TD $(D $(LREF hasMobileElements))) $(TD Tests if a given _range's elements can be moved around using the primitives $(D moveFront), $(D moveBack), or $(D moveAt). )) $(TR $(TD $(D $(LREF ElementType))) $(TD Returns the element type of a given _range. )) $(TR $(TD $(D $(LREF ElementEncodingType))) $(TD Returns the encoding element type of a given _range. )) $(TR $(TD $(D $(LREF hasSwappableElements))) $(TD Tests if a _range is a forward _range with swappable elements. )) $(TR $(TD $(D $(LREF hasAssignableElements))) $(TD Tests if a _range is a forward _range with mutable elements. )) $(TR $(TD $(D $(LREF hasLvalueElements))) $(TD Tests if a _range is a forward _range with elements that can be passed by reference and have their address taken. )) $(TR $(TD $(D $(LREF hasLength))) $(TD Tests if a given _range has the $(D length) attribute. )) $(TR $(TD $(D $(LREF isInfinite))) $(TD Tests if a given _range is an $(I infinite _range). )) $(TR $(TD $(D $(LREF hasSlicing))) $(TD Tests if a given _range supports the array slicing operation $(D R[x..y]). )) ) Finally, it includes some convenience functions for manipulating ranges: $(BOOKTABLE , $(TR $(TD $(D $(LREF popFrontN))) $(TD Advances a given _range by up to $(I n) elements. )) $(TR $(TD $(D $(LREF popBackN))) $(TD Advances a given bidirectional _range from the right by up to $(I n) elements. )) $(TR $(TD $(D $(LREF popFrontExactly))) $(TD Advances a given _range by up exactly $(I n) elements. )) $(TR $(TD $(D $(LREF popBackExactly))) $(TD Advances a given bidirectional _range from the right by exactly $(I n) elements. )) $(TR $(TD $(D $(LREF moveFront))) $(TD Removes the front element of a _range. )) $(TR $(TD $(D $(LREF moveBack))) $(TD Removes the back element of a bidirectional _range. )) $(TR $(TD $(D $(LREF moveAt))) $(TD Removes the $(I i)'th element of a random-access _range. )) $(TR $(TD $(D $(LREF walkLength))) $(TD Computes the length of any _range in O(n) time. )) ) Source: $(PHOBOSSRC std/range/_primitives.d) Macros: WIKI = Phobos/StdRange Copyright: Copyright by authors 2008-. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(WEB erdani.com, Andrei Alexandrescu), David Simcha, and Jonathan M Davis. Credit for some of the ideas in building this module goes to $(WEB fantascienza.net/leonardo/so/, Leonardo Maffi). */ module std.range.primitives; import std.traits; /** Returns $(D true) if $(D R) is an input range. An input range must define the primitives $(D empty), $(D popFront), and $(D front). The following code should compile for any input range. ---- R r; // can define a range object if (r.empty) {} // can test for empty r.popFront(); // can invoke popFront() auto h = r.front; // can get the front of the range of non-void type ---- The semantics of an input range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.empty) returns $(D false) iff there is more data available in the range.) $(LI $(D r.front) returns the current element in the range. It may return by value or by reference. Calling $(D r.front) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).) $(LI $(D r.popFront) advances to the next element in the range. Calling $(D r.popFront) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).)) Params: R = type to be tested Returns: true if R is an InputRange, false if not */ template isInputRange(R) { enum bool isInputRange = is(typeof( (inout int = 0) { R r = R.init; // can define a range object if (r.empty) {} // can test for empty r.popFront(); // can invoke popFront() auto h = r.front; // can get the front of the range })); } /// @safe unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } static assert(!isInputRange!A); static assert( isInputRange!B); static assert( isInputRange!(int[])); static assert( isInputRange!(char[])); static assert(!isInputRange!(char[4])); static assert( isInputRange!(inout(int)[])); } /+ puts the whole raw element $(D e) into $(D r). doPut will not attempt to iterate, slice or transcode $(D e) in any way shape or form. It will $(B only) call the correct primitive ($(D r.put(e)), $(D r.front = e) or $(D r(0)) once. This can be important when $(D e) needs to be placed in $(D r) unchanged. Furthermore, it can be useful when working with $(D InputRange)s, as doPut guarantees that no more than a single element will be placed. +/ private void doPut(R, E)(ref R r, auto ref E e) { static if(is(PointerTarget!R == struct)) enum usingPut = hasMember!(PointerTarget!R, "put"); else enum usingPut = hasMember!(R, "put"); static if (usingPut) { static assert(is(typeof(r.put(e))), "Cannot nativaly put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); r.put(e); } else static if (isInputRange!R) { static assert(is(typeof(r.front = e)), "Cannot nativaly put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); r.front = e; r.popFront(); } else static if (is(typeof(r(e)))) { r(e); } else { static assert (false, "Cannot nativaly put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); } } @safe unittest { static assert (!isNativeOutputRange!(int, int)); static assert ( isNativeOutputRange!(int[], int)); static assert (!isNativeOutputRange!(int[][], int)); static assert (!isNativeOutputRange!(int, int[])); static assert (!isNativeOutputRange!(int[], int[])); static assert ( isNativeOutputRange!(int[][], int[])); static assert (!isNativeOutputRange!(int, int[][])); static assert (!isNativeOutputRange!(int[], int[][])); static assert (!isNativeOutputRange!(int[][], int[][])); static assert (!isNativeOutputRange!(int[4], int)); static assert ( isNativeOutputRange!(int[4][], int)); //Scary! static assert ( isNativeOutputRange!(int[4][], int[4])); static assert (!isNativeOutputRange!( char[], char)); static assert (!isNativeOutputRange!( char[], dchar)); static assert ( isNativeOutputRange!(dchar[], char)); static assert ( isNativeOutputRange!(dchar[], dchar)); } /++ Outputs $(D e) to $(D r). The exact effect is dependent upon the two types. Several cases are accepted, as described below. The code snippets are attempted in order, and the first to compile "wins" and gets evaluated. In this table "doPut" is a method that places $(D e) into $(D r), using the correct primitive: $(D r.put(e)) if $(D R) defines $(D put), $(D r.front = e) if $(D r) is an input range (followed by $(D r.popFront())), or $(D r(e)) otherwise. $(BOOKTABLE , $(TR $(TH Code Snippet) $(TH Scenario) ) $(TR $(TD $(D r.doPut(e);)) $(TD $(D R) specifically accepts an $(D E).) ) $(TR $(TD $(D r.doPut([ e ]);)) $(TD $(D R) specifically accepts an $(D E[]).) ) $(TR $(TD $(D r.putChar(e);)) $(TD $(D R) accepts some form of string or character. put will transcode the character $(D e) accordingly.) ) $(TR $(TD $(D for (; !e.empty; e.popFront()) put(r, e.front);)) $(TD Copying range $(D E) into $(D R).) ) ) Tip: $(D put) should $(I not) be used "UFCS-style", e.g. $(D r.put(e)). Doing this may call $(D R.put) directly, by-passing any transformation feature provided by $(D Range.put). $(D put(r, e)) is prefered. +/ void put(R, E)(ref R r, E e) { //First level: simply straight up put. static if (is(typeof(doPut(r, e)))) { doPut(r, e); } //Optional optimization block for straight up array to array copy. else static if (isDynamicArray!R && !isNarrowString!R && isDynamicArray!E && is(typeof(r[] = e[]))) { immutable len = e.length; r[0 .. len] = e[]; r = r[len .. $]; } //Accepts E[] ? else static if (is(typeof(doPut(r, [e]))) && !isDynamicArray!R) { if (__ctfe) { E[1] arr = [e]; doPut(r, arr[]); } else doPut(r, (ref e) @trusted { return (&e)[0..1]; }(e)); } //special case for char to string. else static if (isSomeChar!E && is(typeof(putChar(r, e)))) { putChar(r, e); } //Extract each element from the range //We can use "put" here, so we can recursively test a RoR of E. else static if (isInputRange!E && is(typeof(put(r, e.front)))) { //Special optimization: If E is a narrow string, and r accepts characters no-wider than the string's //Then simply feed the characters 1 by 1. static if (isNarrowString!E && ( (is(E : const char[]) && is(typeof(doPut(r, char.max))) && !is(typeof(doPut(r, dchar.max))) && !is(typeof(doPut(r, wchar.max)))) || (is(E : const wchar[]) && is(typeof(doPut(r, wchar.max))) && !is(typeof(doPut(r, dchar.max)))) ) ) { foreach(c; e) doPut(r, c); } else { for (; !e.empty; e.popFront()) put(r, e.front); } } else { static assert (false, "Cannot put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); } } @safe pure nothrow @nogc unittest { static struct R() { void put(in char[]) {} } R!() r; put(r, 'a'); } //Helper function to handle chars as quickly and as elegantly as possible //Assumes r.put(e)/r(e) has already been tested private void putChar(R, E)(ref R r, E e) if (isSomeChar!E) { ////@@@9186@@@: Can't use (E[]).init ref const( char)[] cstringInit(); ref const(wchar)[] wstringInit(); ref const(dchar)[] dstringInit(); enum csCond = !isDynamicArray!R && is(typeof(doPut(r, cstringInit()))); enum wsCond = !isDynamicArray!R && is(typeof(doPut(r, wstringInit()))); enum dsCond = !isDynamicArray!R && is(typeof(doPut(r, dstringInit()))); //Use "max" to avoid static type demotion enum ccCond = is(typeof(doPut(r, char.max))); enum wcCond = is(typeof(doPut(r, wchar.max))); //enum dcCond = is(typeof(doPut(r, dchar.max))); //Fast transform a narrow char into a wider string static if ((wsCond && E.sizeof < wchar.sizeof) || (dsCond && E.sizeof < dchar.sizeof)) { enum w = wsCond && E.sizeof < wchar.sizeof; Select!(w, wchar, dchar) c = e; typeof(c)[1] arr = [c]; doPut(r, arr[]); } //Encode a wide char into a narrower string else static if (wsCond || csCond) { import std.utf : encode; /+static+/ Select!(wsCond, wchar[2], char[4]) buf; //static prevents purity. doPut(r, buf[0 .. encode(buf, e)]); } //Slowly encode a wide char into a series of narrower chars else static if (wcCond || ccCond) { import std.encoding : encode; alias C = Select!(wcCond, wchar, char); encode!(C, R)(e, r); } else { static assert (false, "Cannot put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); } } pure unittest { auto f = delegate (const(char)[]) {}; putChar(f, cast(dchar)'a'); } @safe pure unittest { static struct R() { void put(in char[]) {} } R!() r; putChar(r, 'a'); } unittest { struct A {} static assert(!isInputRange!(A)); struct B { void put(int) {} } B b; put(b, 5); } unittest { int[] a = [1, 2, 3], b = [10, 20]; auto c = a; put(a, b); assert(c == [10, 20, 3]); assert(a == [3]); } unittest { int[] a = new int[10]; int b; static assert(isInputRange!(typeof(a))); put(a, b); } unittest { void myprint(in char[] s) { } auto r = &myprint; put(r, 'a'); } unittest { int[] a = new int[10]; static assert(!__traits(compiles, put(a, 1.0L))); static assert( __traits(compiles, put(a, 1))); /* * a[0] = 65; // OK * a[0] = 'A'; // OK * a[0] = "ABC"[0]; // OK * put(a, "ABC"); // OK */ static assert( __traits(compiles, put(a, "ABC"))); } unittest { char[] a = new char[10]; static assert(!__traits(compiles, put(a, 1.0L))); static assert(!__traits(compiles, put(a, 1))); // char[] is NOT output range. static assert(!__traits(compiles, put(a, 'a'))); static assert(!__traits(compiles, put(a, "ABC"))); } unittest { int[][] a; int[] b; int c; static assert( __traits(compiles, put(b, c))); static assert( __traits(compiles, put(a, b))); static assert(!__traits(compiles, put(a, c))); } unittest { int[][] a = new int[][](3); int[] b = [1]; auto aa = a; put(aa, b); assert(aa == [[], []]); assert(a == [[1], [], []]); int[][3] c = [2]; aa = a; put(aa, c[]); assert(aa.empty); assert(a == [[2], [2], [2]]); } unittest { // Test fix for bug 7476. struct LockingTextWriter { void put(dchar c){} } struct RetroResult { bool end = false; @property bool empty() const { return end; } @property dchar front(){ return 'a'; } void popFront(){ end = true; } } LockingTextWriter w; RetroResult r; put(w, r); } unittest { import std.conv : to; import std.typecons : tuple; import std.typetuple; static struct PutC(C) { string result; void put(const(C) c) { result ~= to!string((&c)[0..1]); } } static struct PutS(C) { string result; void put(const(C)[] s) { result ~= to!string(s); } } static struct PutSS(C) { string result; void put(const(C)[][] ss) { foreach(s; ss) result ~= to!string(s); } } PutS!char p; putChar(p, cast(dchar)'a'); //Source Char foreach (SC; TypeTuple!(char, wchar, dchar)) { SC ch = 'I'; dchar dh = '♥'; immutable(SC)[] s = "日本語!"; immutable(SC)[][] ss = ["日本語", "が", "好き", "ですか", "?"]; //Target Char foreach (TC; TypeTuple!(char, wchar, dchar)) { //Testing PutC and PutS foreach (Type; TypeTuple!(PutC!TC, PutS!TC)) (){ // avoid slow optimizations for large functions @@@BUG@@@ 2396 Type type; auto sink = new Type(); //Testing put and sink foreach (value ; tuple(type, sink)) { put(value, ch); assert(value.result == "I"); put(value, dh); assert(value.result == "I♥"); put(value, s); assert(value.result == "I♥日本語!"); put(value, ss); assert(value.result == "I♥日本語!日本語が好きですか?"); } }(); } } } unittest { static struct CharRange { char c; enum empty = false; void popFront(){}; ref char front() return @property { return c; } } CharRange c; put(c, cast(dchar)'H'); put(c, "hello"d); } unittest { // issue 9823 const(char)[] r; void delegate(const(char)[]) dg = (s) { r = s; }; put(dg, ["ABC"]); assert(r == "ABC"); } unittest { // issue 10571 import std.format; string buf; formattedWrite((in char[] s) { buf ~= s; }, "%s", "hello"); assert(buf == "hello"); } unittest { import std.format; import std.typetuple; struct PutC(C) { void put(C){} } struct PutS(C) { void put(const(C)[]){} } struct CallC(C) { void opCall(C){} } struct CallS(C) { void opCall(const(C)[]){} } struct FrontC(C) { enum empty = false; auto front()@property{return C.init;} void front(C)@property{} void popFront(){} } struct FrontS(C) { enum empty = false; auto front()@property{return C[].init;} void front(const(C)[])@property{} void popFront(){} } void foo() { foreach(C; TypeTuple!(char, wchar, dchar)) { formattedWrite((C c){}, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite((const(C)[]){}, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(PutC!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(PutS!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); CallC!C callC; CallS!C callS; formattedWrite(callC, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(callS, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(FrontC!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(FrontS!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); } formattedWrite((dchar[]).init, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); } } /+ Returns $(D true) if $(D R) is a native output range for elements of type $(D E). An output range is defined functionally as a range that supports the operation $(D doPut(r, e)) as defined above. if $(D doPut(r, e)) is valid, then $(D put(r,e)) will have the same behavior. The two guarantees isNativeOutputRange gives over the larger $(D isOutputRange) are: 1: $(D e) is $(B exactly) what will be placed (not $(D [e]), for example). 2: if $(D E) is a non $(empty) $(D InputRange), then placing $(D e) is guaranteed to not overflow the range. +/ package template isNativeOutputRange(R, E) { enum bool isNativeOutputRange = is(typeof( (inout int = 0) { R r = void; E e; doPut(r, e); })); } /// @safe unittest { int[] r = new int[](4); static assert(isInputRange!(int[])); static assert( isNativeOutputRange!(int[], int)); static assert(!isNativeOutputRange!(int[], int[])); static assert( isOutputRange!(int[], int[])); if (!r.empty) put(r, 1); //guaranteed to succeed if (!r.empty) put(r, [1, 2]); //May actually error out. } /++ Returns $(D true) if $(D R) is an output range for elements of type $(D E). An output range is defined functionally as a range that supports the operation $(D put(r, e)) as defined above. +/ template isOutputRange(R, E) { enum bool isOutputRange = is(typeof( (inout int = 0) { R r = R.init; E e = E.init; put(r, e); })); } /// @safe unittest { void myprint(in char[] s) { } static assert(isOutputRange!(typeof(&myprint), char)); static assert(!isOutputRange!(char[], char)); static assert( isOutputRange!(dchar[], wchar)); static assert( isOutputRange!(dchar[], dchar)); } @safe unittest { import std.array; import std.stdio : writeln; auto app = appender!string(); string s; static assert( isOutputRange!(Appender!string, string)); static assert( isOutputRange!(Appender!string*, string)); static assert(!isOutputRange!(Appender!string, int)); static assert(!isOutputRange!(wchar[], wchar)); static assert( isOutputRange!(dchar[], char)); static assert( isOutputRange!(dchar[], string)); static assert( isOutputRange!(dchar[], wstring)); static assert( isOutputRange!(dchar[], dstring)); static assert(!isOutputRange!(const(int)[], int)); static assert(!isOutputRange!(inout(int)[], int)); } /** Returns $(D true) if $(D R) is a forward range. A forward range is an input range $(D r) that can save "checkpoints" by saving $(D r.save) to another value of type $(D R). Notable examples of input ranges that are $(I not) forward ranges are file/socket ranges; copying such a range will not save the position in the stream, and they most likely reuse an internal buffer as the entire stream does not sit in memory. Subsequently, advancing either the original or the copy will advance the stream, so the copies are not independent. The following code should compile for any forward range. ---- static assert(isInputRange!R); R r1; auto s1 = r1.save; static assert (is(typeof(s1) == R)); ---- Saving a range is not duplicating it; in the example above, $(D r1) and $(D r2) still refer to the same underlying data. They just navigate that data independently. The semantics of a forward range (not checkable during compilation) are the same as for an input range, with the additional requirement that backtracking must be possible by saving a copy of the range object with $(D save) and using it later. */ template isForwardRange(R) { enum bool isForwardRange = isInputRange!R && is(typeof( (inout int = 0) { R r1 = R.init; // NOTE: we cannot check typeof(r1.save) directly // because typeof may not check the right type there, and // because we want to ensure the range can be copied. auto s1 = r1.save; static assert (is(typeof(s1) == R)); })); } /// @safe unittest { static assert(!isForwardRange!(int)); static assert( isForwardRange!(int[])); static assert( isForwardRange!(inout(int)[])); // BUG 14544 struct R14544 { int front() { return 0;} void popFront() {} bool empty() { return false; } R14544 save() {return this;} } static assert( isForwardRange!R14544 ); } /** Returns $(D true) if $(D R) is a bidirectional range. A bidirectional range is a forward range that also offers the primitives $(D back) and $(D popBack). The following code should compile for any bidirectional range. The semantics of a bidirectional range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.back) returns (possibly a reference to) the last element in the range. Calling $(D r.back) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).)) */ template isBidirectionalRange(R) { enum bool isBidirectionalRange = isForwardRange!R && is(typeof( (inout int = 0) { R r = R.init; r.popBack(); auto t = r.back; auto w = r.front; static assert(is(typeof(t) == typeof(w))); })); } /// unittest { alias R = int[]; R r = [0,1]; static assert(isForwardRange!R); // is forward range r.popBack(); // can invoke popBack auto t = r.back; // can get the back of the range auto w = r.front; static assert(is(typeof(t) == typeof(w))); // same type for front and back } @safe unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } struct C { @property bool empty(); @property C save(); void popFront(); @property int front(); void popBack(); @property int back(); } static assert(!isBidirectionalRange!(A)); static assert(!isBidirectionalRange!(B)); static assert( isBidirectionalRange!(C)); static assert( isBidirectionalRange!(int[])); static assert( isBidirectionalRange!(char[])); static assert( isBidirectionalRange!(inout(int)[])); } /** Returns $(D true) if $(D R) is a random-access range. A random-access range is a bidirectional range that also offers the primitive $(D opIndex), OR an infinite forward range that offers $(D opIndex). In either case, the range must either offer $(D length) or be infinite. The following code should compile for any random-access range. The semantics of a random-access range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.opIndex(n)) returns a reference to the $(D n)th element in the range.)) Although $(D char[]) and $(D wchar[]) (as well as their qualified versions including $(D string) and $(D wstring)) are arrays, $(D isRandomAccessRange) yields $(D false) for them because they use variable-length encodings (UTF-8 and UTF-16 respectively). These types are bidirectional ranges only. */ template isRandomAccessRange(R) { enum bool isRandomAccessRange = is(typeof( (inout int = 0) { static assert(isBidirectionalRange!R || isForwardRange!R && isInfinite!R); R r = R.init; auto e = r[1]; auto f = r.front; static assert(is(typeof(e) == typeof(f))); static assert(!isNarrowString!R); static assert(hasLength!R || isInfinite!R); static if(is(typeof(r[$]))) { static assert(is(typeof(f) == typeof(r[$]))); static if(!isInfinite!R) static assert(is(typeof(f) == typeof(r[$ - 1]))); } })); } /// unittest { alias R = int[]; // range is finite and bidirectional or infinite and forward. static assert(isBidirectionalRange!R || isForwardRange!R && isInfinite!R); R r = [0,1]; auto e = r[1]; // can index auto f = r.front; static assert(is(typeof(e) == typeof(f))); // same type for indexed and front static assert(!isNarrowString!R); // narrow strings cannot be indexed as ranges static assert(hasLength!R || isInfinite!R); // must have length or be infinite // $ must work as it does with arrays if opIndex works with $ static if(is(typeof(r[$]))) { static assert(is(typeof(f) == typeof(r[$]))); // $ - 1 doesn't make sense with infinite ranges but needs to work // with finite ones. static if(!isInfinite!R) static assert(is(typeof(f) == typeof(r[$ - 1]))); } } @safe unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } struct C { void popFront(); @property bool empty(); @property int front(); void popBack(); @property int back(); } struct D { @property bool empty(); @property D save(); @property int front(); void popFront(); @property int back(); void popBack(); ref int opIndex(uint); @property size_t length(); alias opDollar = length; //int opSlice(uint, uint); } struct E { bool empty(); E save(); int front(); void popFront(); int back(); void popBack(); ref int opIndex(uint); size_t length(); alias opDollar = length; //int opSlice(uint, uint); } static assert(!isRandomAccessRange!(A)); static assert(!isRandomAccessRange!(B)); static assert(!isRandomAccessRange!(C)); static assert( isRandomAccessRange!(D)); static assert( isRandomAccessRange!(E)); static assert( isRandomAccessRange!(int[])); static assert( isRandomAccessRange!(inout(int)[])); } @safe unittest { // Test fix for bug 6935. struct R { @disable this(); @property bool empty() const { return false; } @property int front() const { return 0; } void popFront() {} @property R save() { return this; } @property int back() const { return 0; } void popBack(){} int opIndex(size_t n) const { return 0; } @property size_t length() const { return 0; } alias opDollar = length; void put(int e){ } } static assert(isInputRange!R); static assert(isForwardRange!R); static assert(isBidirectionalRange!R); static assert(isRandomAccessRange!R); static assert(isOutputRange!(R, int)); } /** Returns $(D true) iff $(D R) is an input range that supports the $(D moveFront) primitive, as well as $(D moveBack) and $(D moveAt) if it's a bidirectional or random access range. These may be explicitly implemented, or may work via the default behavior of the module level functions $(D moveFront) and friends. The following code should compile for any range with mobile elements. ---- alias E = ElementType!R; R r; static assert(isInputRange!R); static assert(is(typeof(moveFront(r)) == E)); static if (isBidirectionalRange!R) static assert(is(typeof(moveBack(r)) == E)); static if (isRandomAccessRange!R) static assert(is(typeof(moveAt(r, 0)) == E)); ---- */ template hasMobileElements(R) { enum bool hasMobileElements = isInputRange!R && is(typeof( (inout int = 0) { alias E = ElementType!R; R r = R.init; static assert(is(typeof(moveFront(r)) == E)); static if (isBidirectionalRange!R) static assert(is(typeof(moveBack(r)) == E)); static if (isRandomAccessRange!R) static assert(is(typeof(moveAt(r, 0)) == E)); })); } /// @safe unittest { import std.algorithm : map; import std.range : iota, repeat; static struct HasPostblit { this(this) {} } auto nonMobile = map!"a"(repeat(HasPostblit.init)); static assert(!hasMobileElements!(typeof(nonMobile))); static assert( hasMobileElements!(int[])); static assert( hasMobileElements!(inout(int)[])); static assert( hasMobileElements!(typeof(iota(1000)))); static assert( hasMobileElements!( string)); static assert( hasMobileElements!(dstring)); static assert( hasMobileElements!( char[])); static assert( hasMobileElements!(dchar[])); } /** The element type of $(D R). $(D R) does not have to be a range. The element type is determined as the type yielded by $(D r.front) for an object $(D r) of type $(D R). For example, $(D ElementType!(T[])) is $(D T) if $(D T[]) isn't a narrow string; if it is, the element type is $(D dchar). If $(D R) doesn't have $(D front), $(D ElementType!R) is $(D void). */ template ElementType(R) { static if (is(typeof(R.init.front.init) T)) alias ElementType = T; else alias ElementType = void; } /// @safe unittest { import std.range : iota; // Standard arrays: returns the type of the elements of the array static assert(is(ElementType!(int[]) == int)); // Accessing .front retrieves the decoded dchar static assert(is(ElementType!(char[]) == dchar)); // rvalue static assert(is(ElementType!(dchar[]) == dchar)); // lvalue // Ditto static assert(is(ElementType!(string) == dchar)); static assert(is(ElementType!(dstring) == immutable(dchar))); // For ranges it gets the type of .front. auto range = iota(0, 10); static assert(is(ElementType!(typeof(range)) == int)); } @safe unittest { static assert(is(ElementType!(byte[]) == byte)); static assert(is(ElementType!(wchar[]) == dchar)); // rvalue static assert(is(ElementType!(wstring) == dchar)); } @safe unittest { enum XYZ : string { a = "foo" } auto x = XYZ.a.front; immutable char[3] a = "abc"; int[] i; void[] buf; static assert(is(ElementType!(XYZ) == dchar)); static assert(is(ElementType!(typeof(a)) == dchar)); static assert(is(ElementType!(typeof(i)) == int)); static assert(is(ElementType!(typeof(buf)) == void)); static assert(is(ElementType!(inout(int)[]) == inout(int))); static assert(is(ElementType!(inout(int[])) == inout(int))); } @safe unittest { static assert(is(ElementType!(int[5]) == int)); static assert(is(ElementType!(int[0]) == int)); static assert(is(ElementType!(char[5]) == dchar)); static assert(is(ElementType!(char[0]) == dchar)); } @safe unittest //11336 { static struct S { this(this) @disable; } static assert(is(ElementType!(S[]) == S)); } @safe unittest // 11401 { // ElementType should also work for non-@propety 'front' struct E { ushort id; } struct R { E front() { return E.init; } } static assert(is(ElementType!R == E)); } /** The encoding element type of $(D R). For narrow strings ($(D char[]), $(D wchar[]) and their qualified variants including $(D string) and $(D wstring)), $(D ElementEncodingType) is the character type of the string. For all other types, $(D ElementEncodingType) is the same as $(D ElementType). */ template ElementEncodingType(R) { static if (is(StringTypeOf!R) && is(R : E[], E)) alias ElementEncodingType = E; else alias ElementEncodingType = ElementType!R; } /// @safe unittest { import std.range : iota; // internally the range stores the encoded type static assert(is(ElementEncodingType!(char[]) == char)); static assert(is(ElementEncodingType!(wstring) == immutable(wchar))); static assert(is(ElementEncodingType!(byte[]) == byte)); auto range = iota(0, 10); static assert(is(ElementEncodingType!(typeof(range)) == int)); } @safe unittest { static assert(is(ElementEncodingType!(wchar[]) == wchar)); static assert(is(ElementEncodingType!(dchar[]) == dchar)); static assert(is(ElementEncodingType!(string) == immutable(char))); static assert(is(ElementEncodingType!(dstring) == immutable(dchar))); static assert(is(ElementEncodingType!(int[]) == int)); } @safe unittest { enum XYZ : string { a = "foo" } auto x = XYZ.a.front; immutable char[3] a = "abc"; int[] i; void[] buf; static assert(is(ElementType!(XYZ) : dchar)); static assert(is(ElementEncodingType!(char[]) == char)); static assert(is(ElementEncodingType!(string) == immutable char)); static assert(is(ElementType!(typeof(a)) : dchar)); static assert(is(ElementType!(typeof(i)) == int)); static assert(is(ElementEncodingType!(typeof(i)) == int)); static assert(is(ElementType!(typeof(buf)) : void)); static assert(is(ElementEncodingType!(inout char[]) : inout(char))); } @safe unittest { static assert(is(ElementEncodingType!(int[5]) == int)); static assert(is(ElementEncodingType!(int[0]) == int)); static assert(is(ElementEncodingType!(char[5]) == char)); static assert(is(ElementEncodingType!(char[0]) == char)); } /** Returns $(D true) if $(D R) is an input range and has swappable elements. The following code should compile for any range with swappable elements. ---- R r; static assert(isInputRange!R); swap(r.front, r.front); static if (isBidirectionalRange!R) swap(r.back, r.front); static if (isRandomAccessRange!R) swap(r[], r.front); ---- */ template hasSwappableElements(R) { import std.algorithm : swap; enum bool hasSwappableElements = isInputRange!R && is(typeof( (inout int = 0) { R r = R.init; swap(r.front, r.front); static if (isBidirectionalRange!R) swap(r.back, r.front); static if (isRandomAccessRange!R) swap(r[0], r.front); })); } /// @safe unittest { static assert(!hasSwappableElements!(const int[])); static assert(!hasSwappableElements!(const(int)[])); static assert(!hasSwappableElements!(inout(int)[])); static assert( hasSwappableElements!(int[])); static assert(!hasSwappableElements!( string)); static assert(!hasSwappableElements!(dstring)); static assert(!hasSwappableElements!( char[])); static assert( hasSwappableElements!(dchar[])); } /** Returns $(D true) if $(D R) is an input range and has mutable elements. The following code should compile for any range with assignable elements. ---- R r; static assert(isInputRange!R); r.front = r.front; static if (isBidirectionalRange!R) r.back = r.front; static if (isRandomAccessRange!R) r[0] = r.front; ---- */ template hasAssignableElements(R) { enum bool hasAssignableElements = isInputRange!R && is(typeof( (inout int = 0) { R r = R.init; r.front = r.front; static if (isBidirectionalRange!R) r.back = r.front; static if (isRandomAccessRange!R) r[0] = r.front; })); } /// @safe unittest { static assert(!hasAssignableElements!(const int[])); static assert(!hasAssignableElements!(const(int)[])); static assert( hasAssignableElements!(int[])); static assert(!hasAssignableElements!(inout(int)[])); static assert(!hasAssignableElements!( string)); static assert(!hasAssignableElements!(dstring)); static assert(!hasAssignableElements!( char[])); static assert( hasAssignableElements!(dchar[])); } /** Tests whether the range $(D R) has lvalue elements. These are defined as elements that can be passed by reference and have their address taken. The following code should compile for any range with lvalue elements. ---- void passByRef(ref ElementType!R stuff); ... static assert(isInputRange!R); passByRef(r.front); static if (isBidirectionalRange!R) passByRef(r.back); static if (isRandomAccessRange!R) passByRef(r[0]); ---- */ template hasLvalueElements(R) { enum bool hasLvalueElements = isInputRange!R && is(typeof( (inout int = 0) { void checkRef(ref ElementType!R stuff); R r = R.init; checkRef(r.front); static if (isBidirectionalRange!R) checkRef(r.back); static if (isRandomAccessRange!R) checkRef(r[0]); })); } /// @safe unittest { import std.range : iota, chain; static assert( hasLvalueElements!(int[])); static assert( hasLvalueElements!(const(int)[])); static assert( hasLvalueElements!(inout(int)[])); static assert( hasLvalueElements!(immutable(int)[])); static assert(!hasLvalueElements!(typeof(iota(3)))); static assert(!hasLvalueElements!( string)); static assert( hasLvalueElements!(dstring)); static assert(!hasLvalueElements!( char[])); static assert( hasLvalueElements!(dchar[])); auto c = chain([1, 2, 3], [4, 5, 6]); static assert( hasLvalueElements!(typeof(c))); } @safe unittest { // bugfix 6336 struct S { immutable int value; } static assert( isInputRange!(S[])); static assert( hasLvalueElements!(S[])); } /** Returns $(D true) if $(D R) has a $(D length) member that returns an integral type. $(D R) does not have to be a range. Note that $(D length) is an optional primitive as no range must implement it. Some ranges do not store their length explicitly, some cannot compute it without actually exhausting the range (e.g. socket streams), and some other ranges may be infinite. Although narrow string types ($(D char[]), $(D wchar[]), and their qualified derivatives) do define a $(D length) property, $(D hasLength) yields $(D false) for them. This is because a narrow string's length does not reflect the number of characters, but instead the number of encoding units, and as such is not useful with range-oriented algorithms. */ template hasLength(R) { enum bool hasLength = !isNarrowString!R && is(typeof( (inout int = 0) { R r = R.init; ulong l = r.length; })); } /// @safe unittest { static assert(!hasLength!(char[])); static assert( hasLength!(int[])); static assert( hasLength!(inout(int)[])); struct A { ulong length; } struct B { size_t length() { return 0; } } struct C { @property size_t length() { return 0; } } static assert( hasLength!(A)); static assert( hasLength!(B)); static assert( hasLength!(C)); } /** Returns $(D true) if $(D R) is an infinite input range. An infinite input range is an input range that has a statically-defined enumerated member called $(D empty) that is always $(D false), for example: ---- struct MyInfiniteRange { enum bool empty = false; ... } ---- */ template isInfinite(R) { static if (isInputRange!R && __traits(compiles, { enum e = R.empty; })) enum bool isInfinite = !R.empty; else enum bool isInfinite = false; } /// @safe unittest { import std.range : Repeat; static assert(!isInfinite!(int[])); static assert( isInfinite!(Repeat!(int))); } /** Returns $(D true) if $(D R) offers a slicing operator with integral boundaries that returns a forward range type. For finite ranges, the result of $(D opSlice) must be of the same type as the original range type. If the range defines $(D opDollar), then it must support subtraction. For infinite ranges, when $(I not) using $(D opDollar), the result of $(D opSlice) must be the result of $(LREF take) or $(LREF takeExactly) on the original range (they both return the same type for infinite ranges). However, when using $(D opDollar), the result of $(D opSlice) must be that of the original range type. The following code must compile for $(D hasSlicing) to be $(D true): ---- R r = void; static if(isInfinite!R) typeof(take(r, 1)) s = r[1 .. 2]; else { static assert(is(typeof(r[1 .. 2]) == R)); R s = r[1 .. 2]; } s = r[1 .. 2]; static if(is(typeof(r[0 .. $]))) { static assert(is(typeof(r[0 .. $]) == R)); R t = r[0 .. $]; t = r[0 .. $]; static if(!isInfinite!R) { static assert(is(typeof(r[0 .. $ - 1]) == R)); R u = r[0 .. $ - 1]; u = r[0 .. $ - 1]; } } static assert(isForwardRange!(typeof(r[1 .. 2]))); static assert(hasLength!(typeof(r[1 .. 2]))); ---- */ template hasSlicing(R) { enum bool hasSlicing = isForwardRange!R && !isNarrowString!R && is(typeof( (inout int = 0) { R r = R.init; static if(isInfinite!R) { typeof(r[1 .. 1]) s = r[1 .. 2]; } else { static assert(is(typeof(r[1 .. 2]) == R)); R s = r[1 .. 2]; } s = r[1 .. 2]; static if(is(typeof(r[0 .. $]))) { static assert(is(typeof(r[0 .. $]) == R)); R t = r[0 .. $]; t = r[0 .. $]; static if(!isInfinite!R) { static assert(is(typeof(r[0 .. $ - 1]) == R)); R u = r[0 .. $ - 1]; u = r[0 .. $ - 1]; } } static assert(isForwardRange!(typeof(r[1 .. 2]))); static assert(hasLength!(typeof(r[1 .. 2]))); })); } /// @safe unittest { import std.range : takeExactly; static assert( hasSlicing!(int[])); static assert( hasSlicing!(const(int)[])); static assert(!hasSlicing!(const int[])); static assert( hasSlicing!(inout(int)[])); static assert(!hasSlicing!(inout int [])); static assert( hasSlicing!(immutable(int)[])); static assert(!hasSlicing!(immutable int[])); static assert(!hasSlicing!string); static assert( hasSlicing!dstring); enum rangeFuncs = "@property int front();" ~ "void popFront();" ~ "@property bool empty();" ~ "@property auto save() { return this; }" ~ "@property size_t length();"; struct A { mixin(rangeFuncs); int opSlice(size_t, size_t); } struct B { mixin(rangeFuncs); B opSlice(size_t, size_t); } struct C { mixin(rangeFuncs); @disable this(); C opSlice(size_t, size_t); } struct D { mixin(rangeFuncs); int[] opSlice(size_t, size_t); } static assert(!hasSlicing!(A)); static assert( hasSlicing!(B)); static assert( hasSlicing!(C)); static assert(!hasSlicing!(D)); struct InfOnes { enum empty = false; void popFront() {} @property int front() { return 1; } @property InfOnes save() { return this; } auto opSlice(size_t i, size_t j) { return takeExactly(this, j - i); } auto opSlice(size_t i, Dollar d) { return this; } struct Dollar {} Dollar opDollar() const { return Dollar.init; } } static assert(hasSlicing!InfOnes); } /** This is a best-effort implementation of $(D length) for any kind of range. If $(D hasLength!Range), simply returns $(D range.length) without checking $(D upTo) (when specified). Otherwise, walks the range through its length and returns the number of elements seen. Performes $(BIGOH n) evaluations of $(D range.empty) and $(D range.popFront()), where $(D n) is the effective length of $(D range). The $(D upTo) parameter is useful to "cut the losses" in case the interest is in seeing whether the range has at least some number of elements. If the parameter $(D upTo) is specified, stops if $(D upTo) steps have been taken and returns $(D upTo). Infinite ranges are compatible, provided the parameter $(D upTo) is specified, in which case the implementation simply returns upTo. */ auto walkLength(Range)(Range range) if (isInputRange!Range && !isInfinite!Range) { static if (hasLength!Range) return range.length; else { size_t result; for ( ; !range.empty ; range.popFront() ) ++result; return result; } } /// ditto auto walkLength(Range)(Range range, const size_t upTo) if (isInputRange!Range) { static if (hasLength!Range) return range.length; else static if (isInfinite!Range) return upTo; else { size_t result; for ( ; result < upTo && !range.empty ; range.popFront() ) ++result; return result; } } @safe unittest { import std.algorithm : filter; import std.range : recurrence, take; //hasLength Range int[] a = [ 1, 2, 3 ]; assert(walkLength(a) == 3); assert(walkLength(a, 0) == 3); assert(walkLength(a, 2) == 3); assert(walkLength(a, 4) == 3); //Forward Range auto b = filter!"true"([1, 2, 3, 4]); assert(b.walkLength() == 4); assert(b.walkLength(0) == 0); assert(b.walkLength(2) == 2); assert(b.walkLength(4) == 4); assert(b.walkLength(6) == 4); //Infinite Range auto fibs = recurrence!"a[n-1] + a[n-2]"(1, 1); assert(!__traits(compiles, fibs.walkLength())); assert(fibs.take(10).walkLength() == 10); assert(fibs.walkLength(55) == 55); } /** Eagerly advances $(D r) itself (not a copy) up to $(D n) times (by calling $(D r.popFront)). $(D popFrontN) takes $(D r) by $(D ref), so it mutates the original range. Completes in $(BIGOH 1) steps for ranges that support slicing and have length. Completes in $(BIGOH n) time for all other ranges. Returns: How much $(D r) was actually advanced, which may be less than $(D n) if $(D r) did not have at least $(D n) elements. $(D popBackN) will behave the same but instead removes elements from the back of the (bidirectional) range instead of the front. */ size_t popFrontN(Range)(ref Range r, size_t n) if (isInputRange!Range) { static if (hasLength!Range) { n = cast(size_t) (n < r.length ? n : r.length); } static if (hasSlicing!Range && is(typeof(r = r[n .. $]))) { r = r[n .. $]; } else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. { r = r[n .. r.length]; } else { static if (hasLength!Range) { foreach (i; 0 .. n) r.popFront(); } else { foreach (i; 0 .. n) { if (r.empty) return i; r.popFront(); } } } return n; } /// ditto size_t popBackN(Range)(ref Range r, size_t n) if (isBidirectionalRange!Range) { static if (hasLength!Range) { n = cast(size_t) (n < r.length ? n : r.length); } static if (hasSlicing!Range && is(typeof(r = r[0 .. $ - n]))) { r = r[0 .. $ - n]; } else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. { r = r[0 .. r.length - n]; } else { static if (hasLength!Range) { foreach (i; 0 .. n) r.popBack(); } else { foreach (i; 0 .. n) { if (r.empty) return i; r.popBack(); } } } return n; } /// @safe unittest { int[] a = [ 1, 2, 3, 4, 5 ]; a.popFrontN(2); assert(a == [ 3, 4, 5 ]); a.popFrontN(7); assert(a == [ ]); } /// @safe unittest { import std.algorithm : equal; import std.range : iota; auto LL = iota(1L, 7L); auto r = popFrontN(LL, 2); assert(equal(LL, [3L, 4L, 5L, 6L])); assert(r == 2); } /// @safe unittest { int[] a = [ 1, 2, 3, 4, 5 ]; a.popBackN(2); assert(a == [ 1, 2, 3 ]); a.popBackN(7); assert(a == [ ]); } /// @safe unittest { import std.algorithm : equal; import std.range : iota; auto LL = iota(1L, 7L); auto r = popBackN(LL, 2); assert(equal(LL, [1L, 2L, 3L, 4L])); assert(r == 2); } /** Eagerly advances $(D r) itself (not a copy) exactly $(D n) times (by calling $(D r.popFront)). $(D popFrontExactly) takes $(D r) by $(D ref), so it mutates the original range. Completes in $(BIGOH 1) steps for ranges that support slicing, and have either length or are infinite. Completes in $(BIGOH n) time for all other ranges. Note: Unlike $(LREF popFrontN), $(D popFrontExactly) will assume that the range holds at least $(D n) elements. This makes $(D popFrontExactly) faster than $(D popFrontN), but it also means that if $(D range) does not contain at least $(D n) elements, it will attempt to call $(D popFront) on an empty range, which is undefined behavior. So, only use $(D popFrontExactly) when it is guaranteed that $(D range) holds at least $(D n) elements. $(D popBackExactly) will behave the same but instead removes elements from the back of the (bidirectional) range instead of the front. */ void popFrontExactly(Range)(ref Range r, size_t n) if (isInputRange!Range) { static if (hasLength!Range) assert(n <= r.length, "range is smaller than amount of items to pop"); static if (hasSlicing!Range && is(typeof(r = r[n .. $]))) r = r[n .. $]; else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. r = r[n .. r.length]; else foreach (i; 0 .. n) r.popFront(); } /// ditto void popBackExactly(Range)(ref Range r, size_t n) if (isBidirectionalRange!Range) { static if (hasLength!Range) assert(n <= r.length, "range is smaller than amount of items to pop"); static if (hasSlicing!Range && is(typeof(r = r[0 .. $ - n]))) r = r[0 .. $ - n]; else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. r = r[0 .. r.length - n]; else foreach (i; 0 .. n) r.popBack(); } /// @safe unittest { import std.algorithm : filterBidirectional, equal; auto a = [1, 2, 3]; a.popFrontExactly(1); assert(a == [2, 3]); a.popBackExactly(1); assert(a == [2]); string s = "日本語"; s.popFrontExactly(1); assert(s == "本語"); s.popBackExactly(1); assert(s == "本"); auto bd = filterBidirectional!"true"([1, 2, 3]); bd.popFrontExactly(1); assert(bd.equal([2, 3])); bd.popBackExactly(1); assert(bd.equal([2])); } /** Moves the front of $(D r) out and returns it. Leaves $(D r.front) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveFront(R)(R r) { static if (is(typeof(&r.moveFront))) { return r.moveFront(); } else static if (!hasElaborateCopyConstructor!(ElementType!R)) { return r.front; } else static if (is(typeof(&(r.front())) == ElementType!R*)) { import std.algorithm : move; return move(r.front); } else { static assert(0, "Cannot move front of a range with a postblit and an rvalue front."); } } /// @safe unittest { auto a = [ 1, 2, 3 ]; assert(moveFront(a) == 1); // define a perfunctory input range struct InputRange { @property bool empty() { return false; } @property int front() { return 42; } void popFront() {} int moveFront() { return 43; } } InputRange r; assert(moveFront(r) == 43); } @safe unittest { struct R { @property ref int front() { static int x = 42; return x; } this(this){} } R r; assert(moveFront(r) == 42); } /** Moves the back of $(D r) out and returns it. Leaves $(D r.back) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveBack(R)(R r) { static if (is(typeof(&r.moveBack))) { return r.moveBack(); } else static if (!hasElaborateCopyConstructor!(ElementType!R)) { return r.back; } else static if (is(typeof(&(r.back())) == ElementType!R*)) { import std.algorithm : move; return move(r.back); } else { static assert(0, "Cannot move back of a range with a postblit and an rvalue back."); } } /// @safe unittest { struct TestRange { int payload = 5; @property bool empty() { return false; } @property TestRange save() { return this; } @property ref int front() return { return payload; } @property ref int back() return { return payload; } void popFront() { } void popBack() { } } static assert(isBidirectionalRange!TestRange); TestRange r; auto x = moveBack(r); assert(x == 5); } /** Moves element at index $(D i) of $(D r) out and returns it. Leaves $(D r.front) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveAt(R, I)(R r, I i) if (isIntegral!I) { static if (is(typeof(&r.moveAt))) { return r.moveAt(i); } else static if (!hasElaborateCopyConstructor!(ElementType!(R))) { return r[i]; } else static if (is(typeof(&r[i]) == ElementType!R*)) { import std.algorithm : move; return move(r[i]); } else { static assert(0, "Cannot move element of a range with a postblit and rvalue elements."); } } /// @safe unittest { auto a = [1,2,3,4]; foreach(idx, it; a) { assert(it == moveAt(a, idx)); } } @safe unittest { import std.internal.test.dummyrange; foreach(DummyType; AllDummyRanges) { auto d = DummyType.init; assert(moveFront(d) == 1); static if (isBidirectionalRange!DummyType) { assert(moveBack(d) == 10); } static if (isRandomAccessRange!DummyType) { assert(moveAt(d, 2) == 3); } } } /** Implements the range interface primitive $(D empty) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.empty) is equivalent to $(D empty(array)). */ @property bool empty(T)(in T[] a) @safe pure nothrow @nogc { return !a.length; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; assert(!a.empty); assert(a[3 .. $].empty); } /** Implements the range interface primitive $(D save) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.save) is equivalent to $(D save(array)). The function does not duplicate the content of the array, it simply returns its argument. */ @property T[] save(T)(T[] a) @safe pure nothrow @nogc { return a; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; auto b = a.save; assert(b is a); } /** Implements the range interface primitive $(D popFront) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.popFront) is equivalent to $(D popFront(array)). For $(GLOSSARY narrow strings), $(D popFront) automatically advances to the next $(GLOSSARY code point). */ void popFront(T)(ref T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[]) && !is(T[] == void[])) { assert(a.length, "Attempting to popFront() past the end of an array of " ~ T.stringof); a = a[1 .. $]; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; a.popFront(); assert(a == [ 2, 3 ]); } version(unittest) { static assert(!is(typeof({ int[4] a; popFront(a); }))); static assert(!is(typeof({ immutable int[] a; popFront(a); }))); static assert(!is(typeof({ void[] a; popFront(a); }))); } // Specialization for narrow strings. The necessity of void popFront(C)(ref C[] str) @trusted pure nothrow if (isNarrowString!(C[])) { assert(str.length, "Attempting to popFront() past the end of an array of " ~ C.stringof); static if(is(Unqual!C == char)) { immutable c = str[0]; if(c < 0x80) { //ptr is used to avoid unnnecessary bounds checking. str = str.ptr[1 .. str.length]; } else { import core.bitop : bsr; auto msbs = 7 - bsr(~c); if((msbs < 2) | (msbs > 6)) { //Invalid UTF-8 msbs = 1; } str = str[msbs .. $]; } } else static if(is(Unqual!C == wchar)) { immutable u = str[0]; str = str[1 + (u >= 0xD800 && u <= 0xDBFF) .. $]; } else static assert(0, "Bad template constraint."); } @safe pure unittest { import std.typetuple; foreach(S; TypeTuple!(string, wstring, dstring)) { S s = "\xC2\xA9hello"; s.popFront(); assert(s == "hello"); S str = "hello\U00010143\u0100\U00010143"; foreach(dchar c; ['h', 'e', 'l', 'l', 'o', '\U00010143', '\u0100', '\U00010143']) { assert(str.front == c); str.popFront(); } assert(str.empty); static assert(!is(typeof({ immutable S a; popFront(a); }))); static assert(!is(typeof({ typeof(S.init[0])[4] a; popFront(a); }))); } C[] _eatString(C)(C[] str) { while(!str.empty) str.popFront(); return str; } enum checkCTFE = _eatString("ウェブサイト@La_Verité.com"); static assert(checkCTFE.empty); enum checkCTFEW = _eatString("ウェブサイト@La_Verité.com"w); static assert(checkCTFEW.empty); } /** Implements the range interface primitive $(D popBack) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.popBack) is equivalent to $(D popBack(array)). For $(GLOSSARY narrow strings), $(D popFront) automatically eliminates the last $(GLOSSARY code point). */ void popBack(T)(ref T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[]) && !is(T[] == void[])) { assert(a.length); a = a[0 .. $ - 1]; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; a.popBack(); assert(a == [ 1, 2 ]); } version(unittest) { static assert(!is(typeof({ immutable int[] a; popBack(a); }))); static assert(!is(typeof({ int[4] a; popBack(a); }))); static assert(!is(typeof({ void[] a; popBack(a); }))); } // Specialization for arrays of char void popBack(T)(ref T[] a) @safe pure if (isNarrowString!(T[])) { assert(a.length, "Attempting to popBack() past the front of an array of " ~ T.stringof); a = a[0 .. $ - std.utf.strideBack(a, $)]; } @safe pure unittest { import std.typetuple; foreach(S; TypeTuple!(string, wstring, dstring)) { S s = "hello\xE2\x89\xA0"; s.popBack(); assert(s == "hello"); S s3 = "\xE2\x89\xA0"; auto c = s3.back; assert(c == cast(dchar)'\u2260'); s3.popBack(); assert(s3 == ""); S str = "\U00010143\u0100\U00010143hello"; foreach(dchar ch; ['o', 'l', 'l', 'e', 'h', '\U00010143', '\u0100', '\U00010143']) { assert(str.back == ch); str.popBack(); } assert(str.empty); static assert(!is(typeof({ immutable S a; popBack(a); }))); static assert(!is(typeof({ typeof(S.init[0])[4] a; popBack(a); }))); } } /** Implements the range interface primitive $(D front) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.front) is equivalent to $(D front(array)). For $(GLOSSARY narrow strings), $(D front) automatically returns the first $(GLOSSARY code point) as a $(D dchar). */ @property ref T front(T)(T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[]) && !is(T[] == void[])) { assert(a.length, "Attempting to fetch the front of an empty array of " ~ T.stringof); return a[0]; } /// @safe pure nothrow unittest { int[] a = [ 1, 2, 3 ]; assert(a.front == 1); } @safe pure nothrow unittest { auto a = [ 1, 2 ]; a.front = 4; assert(a.front == 4); assert(a == [ 4, 2 ]); immutable b = [ 1, 2 ]; assert(b.front == 1); int[2] c = [ 1, 2 ]; assert(c.front == 1); } @property dchar front(T)(T[] a) @safe pure if (isNarrowString!(T[])) { import std.utf : decode; assert(a.length, "Attempting to fetch the front of an empty array of " ~ T.stringof); size_t i = 0; return decode(a, i); } /** Implements the range interface primitive $(D back) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.back) is equivalent to $(D back(array)). For $(GLOSSARY narrow strings), $(D back) automatically returns the last $(GLOSSARY code point) as a $(D dchar). */ @property ref T back(T)(T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[])) { assert(a.length, "Attempting to fetch the back of an empty array of " ~ T.stringof); return a[$ - 1]; } /// @safe pure nothrow unittest { int[] a = [ 1, 2, 3 ]; assert(a.back == 3); a.back += 4; assert(a.back == 7); } @safe pure nothrow unittest { immutable b = [ 1, 2, 3 ]; assert(b.back == 3); int[3] c = [ 1, 2, 3 ]; assert(c.back == 3); } // Specialization for strings @property dchar back(T)(T[] a) @safe pure if (isNarrowString!(T[])) { import std.utf : decode; assert(a.length, "Attempting to fetch the back of an empty array of " ~ T.stringof); size_t i = a.length - std.utf.strideBack(a, a.length); return decode(a, i); }
D
class A { void fun(int) {} } class B : A { void fun(int x) in { assert(x > 0); } body {} }
D
module gfm.sdl2.window; import std.string; import bindbc.sdl; import std.experimental.logger; import gfm.sdl2.sdl, gfm.sdl2.surface, gfm.sdl2.mouse, gfm.sdl2.keyboard; /// SDL Window wrapper. /// There is two ways to receive events, either by polling a SDL2 object, /// or by overriding the event callbacks. final class SDL2Window { public { /// Creates a SDL window which targets a window. /// See_also: $(LINK http://wiki.libsdl.org/SDL_CreateWindow) /// Throws: $(D SDL2Exception) on error. this(SDL2 sdl2, int x, int y, int width, int height, SDL_WindowFlags flags) { _sdl2 = sdl2; _logger = sdl2._logger; _surface = null; _glContext = null; _surfaceMustBeRenewed = false; bool OpenGL = (flags & SDL_WINDOW_OPENGL) != 0; _window = SDL_CreateWindow(toStringz(""), x, y, width, height, flags); if (_window == null) { string message = "SDL_CreateWindow failed: " ~ _sdl2.getErrorString().idup; throw new SDL2Exception(message); } _id = SDL_GetWindowID(_window); if (OpenGL) _glContext = new SDL2GLContext(this); } /// Creates a SDL window from anexisting handle. /// See_also: $(LINK http://wiki.libsdl.org/SDL_CreateWindowFrom) /// Throws: $(D SDL2Exception) on error. this(SDL2 sdl2, void* windowData) { _sdl2 = sdl2; _logger = sdl2._logger; _surface = null; _glContext = null; _surfaceMustBeRenewed = false; _window = SDL_CreateWindowFrom(windowData); if (_window == null) { string message = "SDL_CreateWindowFrom failed: " ~ _sdl2.getErrorString().idup; throw new SDL2Exception(message); } _id = SDL_GetWindowID(_window); } /// Releases the SDL resource. /// See_also: $(LINK http://wiki.libsdl.org/SDL_DestroyWindow) ~this() { if (_glContext !is null) { debug ensureNotInGC("SDL2Window"); _glContext.destroy(); _glContext = null; } if (_window !is null) { debug ensureNotInGC("SDL2Window"); SDL_DestroyWindow(_window); _window = null; } } /// See_also: $(LINK http://wiki.libsdl.org/SDL_SetWindowFullscreen) /// Throws: $(D SDL2Exception) on error. final void setFullscreenSetting(uint flags) { if (SDL_SetWindowFullscreen(_window, flags) != 0) _sdl2.throwSDL2Exception("SDL_SetWindowFullscreen"); } /// Returns: The flags associated with the window. /// See_also: $(LINK https://wiki.libsdl.org/SDL_GetWindowFlags) final uint getWindowFlags() { return SDL_GetWindowFlags(_window); } /// Returns: X window coordinate. /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowPosition) final int getX() { return getPosition().x; } /// Returns: Y window coordinate. /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowPosition) final int getY() { return getPosition().y; } /// Gets information about the window's display mode /// See_also: $(LINK https://wiki.libsdl.org/SDL_GetWindowDisplayMode) final SDL_DisplayMode getWindowDisplayMode() { SDL_DisplayMode mode; if (0 != SDL_GetWindowDisplayMode(_window, &mode)) _sdl2.throwSDL2Exception("SDL_GetWindowDisplayMode"); return mode; } /// Returns: Window coordinates. /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowPosition) final SDL_Point getPosition() { int x, y; SDL_GetWindowPosition(_window, &x, &y); return SDL_Point(x, y); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_SetWindowPosition) final void setPosition(int positionX, int positionY) { SDL_SetWindowPosition(_window, positionX, positionY); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_SetWindowSize) final void setSize(int width, int height) { SDL_SetWindowSize(_window, width, height); } /// Get the minimum size setting for the window /// See_also: $(LINK https://wiki.libsdl.org/SDL_GetWindowMinimumSize) final SDL_Point getMinimumSize() { SDL_Point p; SDL_GetWindowMinimumSize(_window, &p.x, &p.y); return p; } /// Get the minimum size setting for the window /// See_also: $(LINK https://wiki.libsdl.org/SDL_SetWindowMinimumSize) final void setMinimumSize(int width, int height) { SDL_SetWindowMinimumSize(_window, width, height); } /// Get the minimum size setting for the window /// See_also: $(LINK https://wiki.libsdl.org/SDL_GetWindowMaximumSize) final SDL_Point getMaximumSize() { SDL_Point p; SDL_GetWindowMaximumSize(_window, &p.x, &p.y); return p; } /// Get the minimum size setting for the window /// See_also: $(LINK https://wiki.libsdl.org/SDL_SetWindowMaximumSize) final void setMaximumSize(int width, int height) { SDL_SetWindowMaximumSize(_window, width, height); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowSize) /// Returns: Window size in pixels. final SDL_Point getSize() { int w, h; SDL_GetWindowSize(_window, &w, &h); return SDL_Point(w, h); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_SetWindowIcon) final void setIcon(SDL2Surface icon) { SDL_SetWindowIcon(_window, icon.handle()); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_SetWindowBordered) final void setBordered(bool bordered) { SDL_SetWindowBordered(_window, bordered ? SDL_TRUE : SDL_FALSE); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowSize) /// Returns: Window width in pixels. final int getWidth() { int w, h; SDL_GetWindowSize(_window, &w, &h); return w; } /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowSize) /// Returns: Window height in pixels. final int getHeight() { int w, h; SDL_GetWindowSize(_window, &w, &h); return h; } /// See_also: $(LINK http://wiki.libsdl.org/SDL_SetWindowTitle) final void setTitle(string title) { SDL_SetWindowTitle(_window, toStringz(title)); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_ShowWindow) final void show() { SDL_ShowWindow(_window); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_HideWindow) final void hide() { SDL_HideWindow(_window); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_MinimizeWindow) final void minimize() { SDL_MinimizeWindow(_window); } /// See_also: $(LINK http://wiki.libsdl.org/SDL_MaximizeWindow) final void maximize() { SDL_MaximizeWindow(_window); } /// Returns: Window surface. /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowSurface) /// Throws: $(D SDL2Exception) on error. final SDL2Surface surface() { if (!hasValidSurface()) { SDL_Surface* internalSurface = SDL_GetWindowSurface(_window); if (internalSurface is null) _sdl2.throwSDL2Exception("SDL_GetWindowSurface"); // renews surface as needed _surfaceMustBeRenewed = false; _surface = new SDL2Surface(_sdl2, internalSurface, SDL2Surface.Owned.NO); } return _surface; } /// Submit changes to the window surface. /// See_also: $(LINK http://wiki.libsdl.org/SDL_UpdateWindowSurface) /// Throws: $(D SDL2Exception) on error. final void updateSurface() { if (!hasValidSurface()) surface(); int res = SDL_UpdateWindowSurface(_window); if (res != 0) _sdl2.throwSDL2Exception("SDL_UpdateWindowSurface"); } /// Returns: Window ID. /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowID) final int id() { return _id; } /// Returns: System-specific window information, useful to use a third-party rendering library. /// See_also: $(LINK http://wiki.libsdl.org/SDL_GetWindowWMInfo) /// Throws: $(D SDL2Exception) on error. SDL_SysWMinfo getWindowInfo() { SDL_SysWMinfo info; SDL_VERSION(&info.version_); int res = SDL_GetWindowWMInfo(_window, &info); if (res != SDL_TRUE) _sdl2.throwSDL2Exception("SDL_GetWindowWMInfo"); return info; } /// Swap OpenGL buffers. /// See_also: $(LINK http://wiki.libsdl.org/SDL_GL_SwapWindow) /// Throws: $(D SDL2Exception) on error. void swapBuffers() { if (_glContext is null) throw new SDL2Exception("swapBuffers failed: not an OpenGL window"); SDL_GL_SwapWindow(_window); } /// Returns: Native SDL window context SDL_Window* nativeWindow() nothrow @nogc pure @safe { return _window; } } package { SDL2 _sdl2; SDL_Window* _window; } private { Logger _logger; SDL2Surface _surface; SDL2GLContext _glContext; uint _id; bool _surfaceMustBeRenewed; bool hasValidSurface() { return (!_surfaceMustBeRenewed) && (_surface !is null); } } } /// SDL OpenGL context wrapper. You probably don't need to use it directly. final class SDL2GLContext { public { /// Creates an OpenGL context for a given SDL window. this(SDL2Window window) { _window = window; _context = SDL_GL_CreateContext(window._window); _initialized = true; } ~this() { close(); } /// Release the associated SDL ressource. void close() { if (_initialized) { // work-around Issue #19 // SDL complains with log message "wglMakeCurrent(): The handle is invalid." // in the SDL_DestroyWindow() call if we destroy the OpenGL context before-hand // // SDL_GL_DeleteContext(_context); _initialized = false; } } /// Makes this OpenGL context current. /// Throws: $(D SDL2Exception) on error. void makeCurrent() { if (0 != SDL_GL_MakeCurrent(_window._window, _context)) _window._sdl2.throwSDL2Exception("SDL_GL_MakeCurrent"); } } package { SDL_GLContext _context; SDL2Window _window; } private { bool _initialized; } }
D
module entity.muitlquery; import std.typetuple; import std.typecons; import entity.database; import entity.query; class MuitlQuery(T,V) if(is(T == class) || is(T == struct) || is(V == class) || is(V == struct)) { alias Iterator = MuitlQueryIterator!(T,V); alias TQuery = Query!(T); alias VQuery = Query!(V); this(DataBase db) { _db = db; _tq = new TQuery(db); _vq = new VQuery(db); } Iterator Select(string sql) { Statement result = _db.query(sql); if(result.hasRows) return new Iterator(result.rows()); else return null; } void Insert(string table = "")(ref T v) { _tq.Insert!table(v); } void Update(string table = "")(ref T v) { _tq.Update!table(v); } void Update(string table = "")(ref T v, string where) { _tq.Update!table(v,where); } void Update(string table = "")(ref T v, WhereBuilder where) { _tq.Update!table(v,where); } void Delete(string table = "")(ref T v) { _tq.Delete!table(v); } void Delete(string table = "")(ref T v, string where) { _tq.Delete!table(v,where); } void Delete(string table = "")(ref T v, WhereBuilder where) { _tq.Delete!table(v,where); } void Insert(string table = "")(ref V v) { _vq.Insert!table(v); } void Update(string table = "")(ref V v) { _vq.Update!table(v); } void Update(string table = "")(ref V v, string where) { _vq.Update!table(v,where); } void Update(string table = "")(ref V v, WhereBuilder where) { _vq.Update!table(v,where); } void Delete(string table = "")(ref V v) { _vq.Delete!table(v); } void Delete(string table = "")(ref V v, string where) { _vq.Delete!table(v,where); } void Delete(string table = "")(ref T v, WhereBuilder where) { _vq.Delete!table(v,where); } private: TQuery _tq; VQuery _vq; DataBase _db; } class MuitlQueryIterator(T,V) if(is(T == class) || is(T == struct) || is(V == class) || is(V == struct)) { alias TQuery = Query!(T); alias VQuery = Query!(V); alias TVuple = Tuple!(T,V); @property bool empty() { if(_set is null) return true; else return _set.empty(); } @property TVuple front() in{ assert(!empty()); } body{ static if(is(T == class)) { T tvalue = new T(); } else { T tvalue; } static if(is(V == class)) { V vvalue = new V(); } else { V vvalue; } auto row = _set.front(); int width = row.width(); foreach(i; 0..width) { auto vt = row[i]; if(!TQuery.setTValue(tvalue,vt)) VQuery.setTValue(vvalue,vt); } TVuple rvalue; rvalue[0] = tvalue; rvalue[1] = vvalue; return rvalue; } void popFront() { if(_set) _set.popFront(); } int opApply(int delegate(T, V) operations) { int result = 0; int num = 0; while(!empty) { TVuple value = front(); result = operations(value[0],value[1]); popFront(); ++ num; } return result; } void clear() { while(!empty) { _set.popFront(); } } private: this(RowSet set) { _set = set; } RowSet _set; }
D
module game.panel.nuke; import basics.alleg5; import basics.globals; import basics.user; import graphic.internal; import gui; class NukeButton : BitmapButton { private: bool _doubleclicked; typeof(timerTicks) _lastExecute; public: this(Geom g) { immutable bool wide = g.ylg < 20f + 1f; super(g, getInternal(wide ? fileImageGameNuke : fileImageGamePanel)); hotkey = keyNuke; xf = wide ? 0 : 9; } @property bool doubleclicked() const { return _doubleclicked; } protected: override void calcSelf() { super.calcSelf(); _doubleclicked = false; if (! on && execute) { auto now = timerTicks; _doubleclicked = (now - _lastExecute < ticksForDoubleClick); _lastExecute = now; } if (! on && hotkey.keyHeld) down = true; else if (on) down = false; } }
D
module sqlist.statement; import std.typecons : Tuple; import std.variant : Variant; import sqlist; /** * An alias for the output type used by the toSQL() functions. */ alias SQLOutput = Tuple!(Variant[], "data", string, "sql"); interface Statement : SQLGenerator { /** * Returns the name of the primary table in the statement. For selects this * will be the first table in the from list. For inserts, updates and * deletes this will be the name of the target table. */ @property string baseTableName() const; /** * Returns the names of all tables involved in the statement. The base table * name will be first in this list. */ @property string[] tableNames() const; /** * Generates the SQL relating to a Statement and returns a tuple containing * the SQL code and the associated values. */ SQLOutput toSQL() const; /** * Generates the SQL relating to a Statement and returns a tuple containing * the SQL code and the associated values. */ SQLOutput toSQL(ref GeneratorSettings settings) const; }
D
/Users/ohs80340/rustWork/rust_tate/target/rls/debug/deps/cfg_if-2fad831a47772a4b.rmeta: /Users/ohs80340/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs /Users/ohs80340/rustWork/rust_tate/target/rls/debug/deps/cfg_if-2fad831a47772a4b.d: /Users/ohs80340/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs /Users/ohs80340/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs:
D
of or relating to or constituting the vitreous humor of the eye relating to or resembling or derived from or containing glass (of ceramics) having the surface made shiny and nonporous by fusing a vitreous solution to it
D
instance VLK_986_VIPER(Npc_Default) { name[0] = "Viper"; guild = GIL_VLK; id = 986; voice = 13; flags = 0; npcType = npctype_main; aivar[AIV_ToughGuy] = TRUE; B_SetAttributesToChapter(self,3); aivar[AIV_MM_RestStart] = TRUE; fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ITMW_1H_G4_AXESMALL_01); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Pony",98,BodyTex_N,ITAR_Bau_L); Mdl_SetModelFatness(self,2); Mdl_ApplyOverlayMds(self,"Humans_Militia.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,10); daily_routine = rtn_start_986; }; func void rtn_start_986() { TA_Sit_Chair(8,0,23,0,"NW_CITY_HABOUR_TAVERN01_04"); TA_Sit_Chair(23,0,8,0,"NW_CITY_HABOUR_TAVERN01_04"); }; func void rtn_followme_986() { TA_Follow_Player(5,0,20,0,"NW_CITY_HABOUR_TAVERN01_04"); TA_Follow_Player(20,0,5,0,"NW_CITY_HABOUR_TAVERN01_04"); }; func void rtn_intower_986() { TA_Pick_Ore(6,0,10,0,"NW_CASTLEMINE_13"); TA_Sit_Bench(10,0,14,0,"NW_CASTLEMINE_HUT_BENCH_CAVE"); TA_Stand_Eating(14,0,16,0,"NW_CASTLEMINE_HUT_03_NIK"); TA_Pick_Ore(16,0,20,0,"NW_CASTLEMINE_13"); TA_Sit_Campfire(20,0,6,0,"NW_CASTLEMINE_TOWER_CAMPFIRE_02"); };
D
instance DIA_CORD_EXIT(C_INFO) { npc = sld_805_cord; nr = 999; condition = dia_cord_exit_condition; information = dia_cord_exit_info; permanent = TRUE; description = DIALOG_ENDE; }; func int dia_cord_exit_condition() { return TRUE; }; func void dia_cord_exit_info() { AI_StopProcessInfos(self); }; instance DIA_ADDON_CORD_MEETINGISRUNNING(C_INFO) { npc = sld_805_cord; nr = 1; condition = dia_addon_cord_meetingisrunning_condition; information = dia_addon_cord_meetingisrunning_info; important = TRUE; permanent = TRUE; }; func int dia_addon_cord_meetingisrunning_condition() { if(Npc_IsInState(self,zs_talk) && (RANGERMEETINGRUNNING == LOG_RUNNING)) { return TRUE; }; }; var int dia_addon_cord_meetingisrunning_onetime; func void dia_addon_cord_meetingisrunning_info() { if(DIA_ADDON_CORD_MEETINGISRUNNING_ONETIME == FALSE) { AI_Output(self,other,"DIA_Addon_Cord_MeetingIsRunning_14_00"); //Vítej v 'Kruhu Vody', bratře. DIA_ADDON_CORD_MEETINGISRUNNING_ONETIME = TRUE; } else { AI_Output(self,other,"DIA_Addon_Cord_MeetingIsRunning_14_01"); //Měl bys jít za Vatrasem ... }; AI_StopProcessInfos(self); }; instance DIA_CORD_HALLO(C_INFO) { npc = sld_805_cord; nr = 2; condition = dia_cord_hallo_condition; information = dia_cord_hallo_info; permanent = FALSE; important = TRUE; }; func int dia_cord_hallo_condition() { if(Npc_IsInState(self,zs_talk) && (self.aivar[AIV_TALKEDTOPLAYER] == FALSE) && (other.guild == GIL_NONE) && (RANGERMEETINGRUNNING != LOG_SUCCESS)) { return TRUE; }; }; func void dia_cord_hallo_info() { AI_Output(self,other,"DIA_Cord_Hallo_14_00"); //Jestli máš problém s vlky nebo polními škůdci, tak si běž promluvit s jedním z našich mladších žoldáků. AI_Output(self,other,"DIA_Cord_Hallo_14_01"); //Můžeš ke mně přijít, až se tu ukážou paladinové. if(SC_ISRANGER == FALSE) { AI_Output(other,self,"DIA_Cord_Hallo_15_02"); //Co? AI_Output(self,other,"DIA_Cord_Hallo_14_03"); //Kdykoliv někdo z vás rolníků přijde ke mně, vždycky se mluví o vyvraždění nevinných tvorů. AI_Output(other,self,"DIA_Cord_Hallo_15_04"); //Nejsem rolník. AI_Output(self,other,"DIA_Cord_Hallo_14_05"); //Hm? A co tedy potom chceš? }; }; var int cord_schonmalgefragt; instance DIA_CORD_WANNAJOIN(C_INFO) { npc = sld_805_cord; nr = 5; condition = dia_cord_wannajoin_condition; information = dia_cord_wannajoin_info; permanent = TRUE; description = "Chtěl bych se stát žoldákem!"; }; func int dia_cord_wannajoin_condition() { if((CORD_APPROVED == FALSE) && (hero.guild == GIL_NONE)) { return TRUE; }; }; func void b_cord_bebetter() { AI_Output(self,other,"DIA_Cord_WannaJoin_14_14"); //A protože ty sotva víš, jak se zachází se zbraní, řekl bych, že jsi tady na špatném místě! }; func void dia_cord_wannajoin_info() { AI_Output(other,self,"DIA_Cord_WannaJoin_15_00"); //Chtěl bych se stát žoldákem! if(CORD_SCHONMALGEFRAGT == FALSE) { AI_Output(self,other,"DIA_Cord_WannaJoin_14_01"); //Vypadáš spíš jako někdo, kdo se narodil pro práci na poli, chlapče. AI_Output(self,other,"DIA_Cord_WannaJoin_14_02"); //Umíš tedy ovládat zbraň? CORD_SCHONMALGEFRAGT = TRUE; } else { AI_Output(self,other,"DIA_Cord_WannaJoin_14_03"); //Už jsi se zlepšil? }; AI_Output(self,other,"DIA_Cord_WannaJoin_14_04"); //Takže umíš ovládat jednoruční zbraně? if(Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) { AI_Output(other,self,"DIA_Cord_WannaJoin_15_05"); //Nejsem v tom špatnej. } else { AI_Output(other,self,"DIA_Cord_WannaJoin_15_06"); //Noooo... }; AI_Output(self,other,"DIA_Cord_WannaJoin_14_07"); //A umíš ovládat obouruční zbraně? if(Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0) { AI_Output(other,self,"DIA_Cord_WannaJoin_15_08"); //Umím s nimi zacházet. } else { AI_Output(other,self,"DIA_Cord_WannaJoin_15_09"); //Určitě se zlepším! }; if((Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) || (Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0)) { AI_Output(self,other,"DIA_Cord_WannaJoin_14_10"); //No, alespoň nejsi úplnej začátečník. V pořádku. Budu tě volit. AI_Output(self,other,"DIA_Cord_WannaJoin_14_11"); //Když budeš potřebovat něco dalšího, můžeš se to naučit ode mne. CORD_APPROVED = TRUE; b_giveplayerxp(XP_CORD_APPROVED); b_logentry(TOPIC_SLDRESPEKT,"Cordovu přímluvu už mám v kapse."); Log_CreateTopic(TOPIC_SOLDIERTEACHER,LOG_NOTE); b_logentry(TOPIC_SOLDIERTEACHER,"Cord mě vycvičí v používání jedno- a obouručních zbraní."); } else { AI_Output(self,other,"DIA_Cord_WannaJoin_14_12"); //Jinými slovy: jsi mizernej zelenáč! AI_Output(self,other,"DIA_Cord_WannaJoin_14_13"); //Každý žoldnéř se musí spolehnout na své kamarády. Závisí na tom všechny naše životy. b_cord_bebetter(); Log_CreateTopic(TOPIC_CORDPROVE,LOG_MISSION); Log_SetTopicStatus(TOPIC_CORDPROVE,LOG_RUNNING); b_logentry(TOPIC_CORDPROVE,"Cord se za mě přimluví až poté, co se naučím lépe bojovat."); }; }; instance DIA_ADDON_CORD_YOUARERANGER(C_INFO) { npc = sld_805_cord; nr = 2; condition = dia_addon_cord_youareranger_condition; information = dia_addon_cord_youareranger_info; description = "Slyšel jsem, že jsi členem 'Kruhu Vody'."; }; func int dia_addon_cord_youareranger_condition() { if((RANGERHELP_GILDESLD == TRUE) && (CORD_SCHONMALGEFRAGT == TRUE)) { return TRUE; }; }; func void dia_addon_cord_youareranger_info() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_15_00"); //Slyšel jsem, že jsi členem "Kruhu Vody". if(SC_ISRANGER == FALSE) { AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_14_01"); //Kterej idiot o tom nemohl držet hubu? if(SC_KNOWSCORDASRANGERFROMLEE == TRUE) { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_15_02"); //Lee mi o tom řekl. }; if(SC_KNOWSCORDASRANGERFROMLARES == TRUE) { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_15_03"); //Lares ti vzkazuje, abys mi pomohl, když ti řeknu, že 'žiju pod jeho ochrannými křídly'. }; }; AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_14_04"); //(povzdechne si) To vypadá, že tě teď budu muset přijmout, že? AI_Output(self,other,"DIA_Addon_Cord_Add_14_01"); //Dobrá, co potřebuješ? AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_14_06"); //A pozor na hubu. I když nemám radost, z toho, co jsi mi řekl ... Info_ClearChoices(dia_addon_cord_youareranger); Info_AddChoice(dia_addon_cord_youareranger,"Právě teď nic nepotřebuji, udělám si to posvém.",dia_addon_cord_youareranger_nix); Info_AddChoice(dia_addon_cord_youareranger,"Chci tvé brnění.",dia_addon_cord_youareranger_ruestung); Info_AddChoice(dia_addon_cord_youareranger,"Chci tvou zbraň!",dia_addon_cord_youareranger_waffe); if(CORD_APPROVED == FALSE) { Info_AddChoice(dia_addon_cord_youareranger,"Nauč mě, jak bojovat.",dia_addon_cord_youareranger_kampf); }; if(hero.guild == GIL_NONE) { }; if(hero.guild == GIL_NONE) { Info_AddChoice(dia_addon_cord_youareranger,"Pomoz mi dostat se k žoldákům.",dia_addon_cord_youareranger_sldaufnahme); }; }; var int cord_sc_dreist; func void b_dia_addon_cord_youareranger_warn() { AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_WARN_14_00"); //(hrozí) A nechtěj být nadohled, pokud uslyším, že jsi nedržel jazyk za zuby. To ti říkám pouze jednou! }; func void b_dia_addon_cord_youareranger_fresse() { AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_FRESSE_14_00"); //(nazlobeně) Dobrá, tady to máš. Zašel jsi příliš daleko, toho budeš litovat. AI_StopProcessInfos(self); b_attack(self,other,AR_NONE,1); CORD_RANGERHELP_GETSLD = FALSE; CORD_RANGERHELP_FIGHT = FALSE; TOPIC_END_RANGERHELPSLD = TRUE; }; func void dia_addon_cord_youareranger_ruestung() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_ruestung_15_00"); //Chci tvé brnění. if(CORD_SC_DREIST == FALSE) { AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_ruestung_14_01"); //Ještě jednou to zkusíš a budeš sbírat zuby ze země. CORD_SC_DREIST = TRUE; } else { b_dia_addon_cord_youareranger_fresse(); }; }; func void dia_addon_cord_youareranger_waffe() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_Add_15_00"); //Chci tvou zbraň! if(CORD_SC_DREIST == FALSE) { AI_Output(self,other,"DIA_Addon_Cord_Add_14_03"); //(výhružně) Je to tak? AI_Output(self,other,"DIA_Addon_Cord_Add_14_02"); //(zubí se) Á, správně ... CORD_SC_DREIST = TRUE; } else { b_dia_addon_cord_youareranger_fresse(); }; }; func void dia_addon_cord_youareranger_weg() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_weg_15_00"); //Rád bych měl tvou pozici na farmě. if(CORD_SC_DREIST == FALSE) { AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_weg_14_01"); //Nezkoušej ze mě udělat hlupáka, kámo, jinak ti zpřelámu každou kost v těle. CORD_SC_DREIST = TRUE; } else { b_dia_addon_cord_youareranger_fresse(); }; }; var int dia_addon_cord_youareranger_scgotoffer; func void dia_addon_cord_youareranger_kampf() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_kampf_15_00"); //Nauč mě jak bojovat. AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_kampf_14_01"); //Dobrá, co dál? CORD_RANGERHELP_FIGHT = TRUE; if(DIA_ADDON_CORD_YOUARERANGER_SCGOTOFFER == FALSE) { Info_AddChoice(dia_addon_cord_youareranger,"To stačí.",dia_addon_cord_youareranger_reicht); DIA_ADDON_CORD_YOUARERANGER_SCGOTOFFER = TRUE; }; }; func void dia_addon_cord_youareranger_sldaufnahme() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_SLDAufnahme_15_00"); //Mohl bys mi pomoct dostat se k žoldákům? AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_SLDAufnahme_14_01"); //(směje se) Á, to bude sranda. Dobrá, zkusím to. Co dál? CORD_RANGERHELP_GETSLD = TRUE; if(DIA_ADDON_CORD_YOUARERANGER_SCGOTOFFER == FALSE) { Info_AddChoice(dia_addon_cord_youareranger,"To stačí.",dia_addon_cord_youareranger_reicht); DIA_ADDON_CORD_YOUARERANGER_SCGOTOFFER = TRUE; }; }; func void dia_addon_cord_youareranger_gold() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_Gold_15_00"); //Zaplať mi a nebudu o tom mluvit. if(CORD_SC_DREIST == FALSE) { AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_Gold_14_01"); //Sorry, ale já se vydírat nenechám ty bastarde. CORD_SC_DREIST = TRUE; } else { b_dia_addon_cord_youareranger_fresse(); }; }; func void dia_addon_cord_youareranger_nix() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_nix_15_00"); //Právě nic nepotřebuji. Udělám si vše raději sám. AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_nix_14_01"); //Jak chceš. Měls na výběr. b_dia_addon_cord_youareranger_warn(); Info_ClearChoices(dia_addon_cord_youareranger); }; func void dia_addon_cord_youareranger_reicht() { AI_Output(other,self,"DIA_Addon_Cord_YouAreRanger_reicht_15_00"); //To stačí. AI_Output(self,other,"DIA_Addon_Cord_YouAreRanger_reicht_14_01"); //Hádám, že to je. b_dia_addon_cord_youareranger_warn(); Info_ClearChoices(dia_addon_cord_youareranger); }; instance DIA_ADDON_CORD_RANGERHELP2GETSLD(C_INFO) { npc = sld_805_cord; nr = 2; condition = dia_addon_cord_rangerhelp2getsld_condition; information = dia_addon_cord_rangerhelp2getsld_info; permanent = TRUE; description = "Pomoz mi stát se žoldákem."; }; var int dia_addon_cord_rangerhelp2getsld_noperm; func int dia_addon_cord_rangerhelp2getsld_condition() { if((CORD_RANGERHELP_GETSLD == TRUE) && (hero.guild == GIL_NONE) && (DIA_ADDON_CORD_RANGERHELP2GETSLD_NOPERM == FALSE)) { return TRUE; }; }; func void b_cord_rangerhelpobsolete() { AI_Output(other,self,"DIA_Addon_Cord_RangerHelpObsolete_15_00"); //Problém je vyřešen. AI_Output(self,other,"DIA_Addon_Cord_RangerHelpObsolete_14_01"); //Oh, to se pak stává obtížnější. AI_Output(other,self,"DIA_Addon_Cord_RangerHelpObsolete_15_02"); //Co tím myslíš? AI_Output(self,other,"DIA_Addon_Cord_RangerHelpObsolete_14_03"); //Dobrá, to znamená, že ti nemůžu pomoct. AI_Output(self,other,"DIA_Addon_Cord_RangerHelpObsolete_14_04"); //Nebo bys chtěl, abych bojoval s každým žoldákem jen proto, aby tě přijali? AI_Output(self,other,"DIA_Addon_Cord_RangerHelpObsolete_14_05"); //Musíš to udělat sám. DIA_ADDON_CORD_RANGERHELP2GETSLD_NOPERM = TRUE; TOPIC_END_RANGERHELPSLD = TRUE; }; func void b_cord_comelaterwhendone() { AI_Output(self,other,"DIA_Addon_Cord_ComeLaterWhenDone_14_00"); //Dobrá, zajdi pro to za ním a vrať se, jakmile ti ji zadá. AI_StopProcessInfos(self); }; func void b_cord_idoitforyou() { AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_00"); //Ó ano. To je jednoduché. Poslouchej, vrať se zítra. To už to budu mít vyřešené. AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_01"); //Jistě, ale rád bych, kdyby si za to pro mě něco udělal. AI_Output(other,self,"DIA_Addon_Cord_IDoItForYou_15_02"); //A co by to mělo být? AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_03"); //Je tu malý tábor banditů v horách na jihovýchod odtud. AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_04"); //Půjdeš přímo na jihovýchod odsud, měl bys tam vidět věž. AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_05"); //Jeden z mých mužů - Patrick - tam šel před několika dny. Chtěl s těmi bastardy obchodovat. AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_06"); //Říkal jsem mu, aby tam nechodil, ale ten blbec mě neposlouchal. AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_07"); //Možná jim padl za oběť. Ale nevím to jistě? AI_Output(self,other,"DIA_Addon_Cord_IDoItForYou_14_08"); //Zajdeš tam a podíváš se tam kvůli mě. b_logentry(TOPIC_ADDON_RANGERHELPSLD,"Cord se postará o Torlofovu zkoušku. Cordův kamarád Patrick se ztratil. Půjdu do tábora banditů nedaleko odsud na jihovýchodě a podívám se, zda-li tam Patrick není."); Info_ClearChoices(dia_addon_cord_rangerhelp2getsld); Info_AddChoice(dia_addon_cord_rangerhelp2getsld,"Zapomeň na to. Úkol je mnohem těžší než ten Torlofův.",b_cord_idoitforyou_mist); Info_AddChoice(dia_addon_cord_rangerhelp2getsld,"A jak si mohu být jist, že na mě nezaútočí, jakmile mě uvidí?",b_cord_idoitforyou_dexter); DIA_ADDON_CORD_RANGERHELP2GETSLD_NOPERM = TRUE; }; func void b_cord_idoitforyou_mist() { AI_Output(other,self,"Dia_Addon_Cord_IDoItForYou_mist_15_00"); //Zapomeň na to. Úkol je mnohem těžší než ten Torlofův. AI_Output(self,other,"Dia_Addon_Cord_IDoItForYou_mist_14_01"); //Neboj, takový malý lstivý chlapík se jim dozajista podezřelý zdát nebude. AI_Output(self,other,"Dia_Addon_Cord_IDoItForYou_mist_14_02"); //Taky to nemohu udělat sám, protože jsem už žoldák a na toho by zaútočili. }; func void b_cord_idoitforyou_dexter() { AI_Output(other,self,"Dia_Addon_Cord_IDoItForYou_Dexter_15_00"); //A jak si mohu být jist, že na mě nezaútočí, jakmile mě uvidí? AI_Output(self,other,"Dia_Addon_Cord_IDoItForYou_Dexter_14_01"); //Protože znám jméno jejich vůdce. Jeho jméno je DEXTER. Prostě řekneš, že ho znáš. AI_Output(self,other,"Dia_Addon_Cord_IDoItForYou_Dexter_14_02"); //To si pak ti chlápci dvakrát rozmyslí, než na tebe zaútočí. AI_Output(self,other,"Dia_Addon_Cord_IDoItForYou_Dexter_14_03"); //Samozřejmě to může být nebezpečné dobrodružství. AI_Output(self,other,"Dia_Addon_Cord_IDoItForYou_Dexter_14_04"); //Ale ty to nějak zvládneš. Info_ClearChoices(dia_addon_cord_rangerhelp2getsld); b_logentry(TOPIC_ADDON_RANGERHELPSLD,"Vůdce banditů se jmenuje Dexter."); Log_CreateTopic(TOPIC_ADDON_MISSINGPEOPLE,LOG_MISSION); Log_SetTopicStatus(TOPIC_ADDON_MISSINGPEOPLE,LOG_RUNNING); b_logentry(TOPIC_ADDON_MISSINGPEOPLE,"Žoldák Cord hledá svého přítele Patricka."); MIS_ADDON_CORD_LOOK4PATRICK = LOG_RUNNING; RANGER_SCKNOWSDEXTER = TRUE; }; func void dia_addon_cord_rangerhelp2getsld_info() { AI_Output(other,self,"DIA_Addon_Cord_RangerHelp2GetSLD_15_00"); //Pomoz mi stát se žoldákem. AI_Output(self,other,"DIA_Addon_Cord_RangerHelp2GetSLD_14_01"); //Podívej. Musíš udělat Torlofovu zkoušku, jestli chceš projít. To je jisté. AI_Output(self,other,"DIA_Addon_Cord_RangerHelp2GetSLD_14_02"); //Už jsi o tom řekl Torlofovi? if(TORLOF_GO == FALSE) { AI_Output(other,self,"DIA_Addon_Cord_RangerHelp2GetSLD_15_03"); //Opravdu ne. b_cord_comelaterwhendone(); } else { AI_Output(other,self,"DIA_Addon_Cord_RangerHelp2GetSLD_15_04"); //Á, zkouška. AI_Output(self,other,"DIA_Addon_Cord_RangerHelp2GetSLD_14_05"); //Vidím. A co přesně znamená ten test? if((TORLOF_PROBEBESTANDEN == TRUE) || ((MIS_TORLOF_BENGARMILIZKLATSCHEN == LOG_RUNNING) && Npc_IsDead(rumbold) && Npc_IsDead(rick)) || ((MIS_TORLOF_HOLPACHTVONSEKOB == LOG_RUNNING) && ((sekob.aivar[AIV_DEFEATEDBYPLAYER] == TRUE) || Npc_IsDead(sekob)))) { b_cord_rangerhelpobsolete(); } else if(TORLOF_PROBE == 0) { AI_Output(other,self,"DIA_Addon_Cord_RangerHelp2GetSLD_15_06"); //Ještě jsem se k tomu nedostal. b_cord_comelaterwhendone(); } else if(TORLOF_PROBE == PROBE_SEKOB) { AI_Output(other,self,"DIA_Addon_Cord_RangerHelp2GetSLD_15_07"); //Mám vybrat nájemné od Sekoba. b_cord_idoitforyou(); } else if(TORLOF_PROBE == PROBE_BENGAR) { AI_Output(other,self,"DIA_Addon_Cord_RangerHelp2GetSLD_15_08"); //Mám se postarat o domobranu u Bengarovy farmy. b_cord_idoitforyou(); } else { b_cord_rangerhelpobsolete(); }; }; }; instance DIA_ADDON_CORD_TALKEDTODEXTER(C_INFO) { npc = sld_805_cord; nr = 5; condition = dia_addon_cord_talkedtodexter_condition; information = dia_addon_cord_talkedtodexter_info; description = "Byl jsem za tím Dextrem."; }; func int dia_addon_cord_talkedtodexter_condition() { if(((bdt_1060_dexter.aivar[AIV_TALKEDTOPLAYER] == TRUE) || Npc_IsDead(bdt_1060_dexter)) && (MIS_ADDON_CORD_LOOK4PATRICK == LOG_RUNNING)) { return TRUE; }; }; func void dia_addon_cord_talkedtodexter_info() { AI_Output(other,self,"DIA_Addon_Cord_TalkedToDexter_15_00"); //Byl jsem za tím Dextrem. AI_Output(self,other,"DIA_Addon_Cord_TalkedToDexter_14_01"); //Dobrá, a? if(Npc_IsDead(bdt_1060_dexter)) { AI_Output(other,self,"DIA_Addon_Cord_TalkedToDexter_15_02"); //Je mrtev. }; AI_Output(other,self,"DIA_Addon_Cord_TalkedToDexter_15_03"); //Nicméně jsem nenašel ani stopu po tvém příteli Patrickovi. if(DEXTER_KNOWSPATRICK == TRUE) { AI_Output(other,self,"DIA_Addon_Cord_TalkedToDexter_15_04"); //Dexter si na něj vzpomněl, ale řekl mi, že nenavštívil tábor. AI_Output(self,other,"DIA_Addon_Cord_TalkedToDexter_14_05"); //A jsi si jist, že ti Dexter nelhal? AI_Output(other,self,"DIA_Addon_Cord_TalkedToDexter_15_06"); //Ne, to nejsem. Ale to jsou všechny informace, které jsem byl schopen sehnat. }; AI_Output(self,other,"DIA_Addon_Cord_TalkedToDexter_14_07"); //Ten chlap prostě zmizel beze stopy. AI_Output(self,other,"DIA_Addon_Cord_TalkedToDexter_14_08"); //Dobrá, dodržel jsi svou část dohody ... MIS_ADDON_CORD_LOOK4PATRICK = LOG_SUCCESS; TOPIC_END_RANGERHELPSLD = TRUE; b_giveplayerxp(XP_ADDON_CORD_LOOK4PATRICK); AI_Output(other,self,"DIA_Addon_Cord_TalkedToDexter_15_09"); //Co Torlofův test? AI_Output(self,other,"DIA_Addon_Cord_TalkedToDexter_14_10"); //Prostě se vrať k Torlofovi. Považuj test za zvládnutý. Jen mu řekni, že se o to postarám. CORD_RANGERHELP_TORLOFSPROBE = TRUE; if(TORLOF_PROBE == PROBE_SEKOB) { MIS_TORLOF_HOLPACHTVONSEKOB = LOG_SUCCESS; } else if(TORLOF_PROBE == PROBE_BENGAR) { MIS_TORLOF_BENGARMILIZKLATSCHEN = LOG_SUCCESS; }; }; instance DIA_CORD_RETURNPATRICK(C_INFO) { npc = sld_805_cord; nr = 8; condition = dia_cord_returnpatrick_condition; information = dia_cord_returnpatrick_info; permanent = FALSE; description = "Patrick se vrátil."; }; func int dia_cord_returnpatrick_condition() { if((Npc_GetDistToWP(patrick_nw,"NW_BIGFARM_PATRICK") <= 1000) && (MISSINGPEOPLERETURNEDHOME == TRUE)) { return TRUE; }; }; func void dia_cord_returnpatrick_info() { AI_Output(other,self,"DIA_Addon_Cord_ReturnPatrick_15_00"); //Patrick se vrátil. AI_Output(self,other,"DIA_Addon_Cord_ReturnPatrick_14_01"); //Á, ani jsem nevěřil, že ho ještě někdy uvidím. Ty ... AI_Output(other,self,"DIA_Addon_Cord_ReturnPatrick_15_02"); //Hej, udělej mi laskavost. AI_Output(self,other,"DIA_Addon_Cord_ReturnPatrick_14_03"); //Ano? AI_Output(other,self,"DIA_Addon_Cord_ReturnPatrick_15_04"); //Uchraň mě svého vděku. AI_Output(self,other,"DIA_Addon_Cord_ReturnPatrick_14_05"); //Neplánoval jsem ti děkovat. AI_Output(other,self,"DIA_Addon_Cord_ReturnPatrick_15_06"); //Dobře ... ? AI_Output(self,other,"DIA_Addon_Cord_ReturnPatrick_14_07"); //(směje se) Jen jsem ti chtěl říct, že jsi strašný blázen. AI_Output(self,other,"DIA_Addon_Cord_ReturnPatrick_14_09"); //(směje se) Opatruj se! b_giveplayerxp(XP_AMBIENT); AI_StopProcessInfos(self); }; instance DIA_CORD_EXPLAINSKILLS(C_INFO) { npc = sld_805_cord; nr = 1; condition = dia_cord_explainskills_condition; information = dia_cord_explainskills_info; permanent = FALSE; description = "Co bych se měl naučit..."; }; func int dia_cord_explainskills_condition() { if(CORD_APPROVED == TRUE) { return TRUE; }; }; func void dia_cord_explainskills_info() { AI_Output(other,self,"DIA_Cord_ExplainSkills_15_00"); //Co bych se měl naučit jako první, boj s jednoručními, nebo obouručními zbraněmi? AI_Output(self,other,"DIA_Cord_ExplainSkills_14_01"); //Oba dva druhy boje jsou si hodně podobné. AI_Output(self,other,"DIA_Cord_ExplainSkills_14_02"); //Jakmile dosáhneš u jednoho typu zbraní další úrovně, automaticky se to naučíš také i pro druhý typ zbraní. AI_Output(self,other,"DIA_Cord_ExplainSkills_14_03"); //Jestliže jsi například dobrý v boji s jednoručními meči, ale jsi stále začátečník v boji s obouručními zbraněmi... AI_Output(self,other,"DIA_Cord_ExplainSkills_14_04"); //... tvé dovednosti s obouručními zbraněmi se zvýší, i když trénuješ s jednoruční zbraní. AI_Output(self,other,"DIA_Cord_ExplainSkills_14_05"); //Pokud trénuješ pouze s jedním typem zbraní, zjistíš, že výcvik je mnohem více vyčerpávající. AI_Output(self,other,"DIA_Cord_ExplainSkills_14_06"); //Pokud trénuješ vždy s oběma typy zbraní, dosáhneš stejného výsledku s menším úsilím. AI_Output(self,other,"DIA_Cord_ExplainSkills_14_07"); //V konečném důsledku dosáhneš stejného výsledku oběma způsoby - výběr je na tobě. }; instance DIA_CORD_EXPLAINWEAPONS(C_INFO) { npc = sld_805_cord; nr = 2; condition = dia_cord_explainweapons_condition; information = dia_cord_explainweapons_info; permanent = FALSE; description = "Jaké jsou výhody jednoručních a obouručních zbraní?"; }; func int dia_cord_explainweapons_condition() { if(CORD_APPROVED == TRUE) { return TRUE; }; }; func void dia_cord_explainweapons_info() { AI_Output(other,self,"DIA_Cord_ExplainWeapons_15_00"); //Jaké jsou výhody jednoručních a obouručních zbraní? AI_Output(self,other,"DIA_Cord_ExplainWeapons_14_01"); //Dobrá otázka. Vidím, že téhle věci věnuješ dostatečnou pozornost. AI_Output(self,other,"DIA_Cord_ExplainWeapons_14_02"); //Jednoruční zbraně jsou rychlejší, ale trochu slabší. AI_Output(self,other,"DIA_Cord_ExplainWeapons_14_03"); //Obouruční zbraně způsobují větší poškození, ale nemůžeš s nimi útočit tak rychle. AI_Output(self,other,"DIA_Cord_ExplainWeapons_14_04"); //K ovládání obouručních zbraní také potřebuješ více síly. To znamená dodatečný trénink. AI_Output(self,other,"DIA_Cord_ExplainWeapons_14_05"); //Jediný způsob, jak se stát skutečně dobrým, je vložit do toho mnoho úsilí. }; var int cord_merke_1h; var int cord_merke_2h; instance DIA_CORD_TEACH(C_INFO) { npc = sld_805_cord; nr = 3; condition = dia_cord_teach_condition; information = dia_cord_teach_info; permanent = TRUE; description = "Nauč mě bojovat!"; }; func int dia_cord_teach_condition() { return TRUE; }; func void b_cord_zeitverschwendung() { AI_Output(self,other,"DIA_Cord_Teach_14_03"); //Nebudu plýtvat svým časem se začátečníky. }; func void dia_cord_teach_info() { AI_Output(other,self,"DIA_Cord_Teach_15_00"); //Nauč mě bojovat! if((CORD_APPROVED == TRUE) || (hero.guild == GIL_SLD) || (hero.guild == GIL_DJG) || (CORD_RANGERHELP_FIGHT == TRUE)) { if(((Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) && (Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0)) || (CORD_RANGERHELP_FIGHT == TRUE)) { AI_Output(self,other,"DIA_Cord_Teach_14_01"); //Mohu tě naučit používat jakoukoliv zbraň - kde začneme? CORD_APPROVED = TRUE; } else if(Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) { AI_Output(self,other,"DIA_Cord_Teach_14_02"); //Mohu tě naučit používat jednoruční meč. Ale nejsi dost dobrej na to, abys používal obouručák. b_cord_zeitverschwendung(); CORD_APPROVED = TRUE; } else if(Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0) { AI_Output(self,other,"DIA_Cord_Teach_14_04"); //Co se týče jednoručních zbraní, jsi naprostý začátečník! Ale tvé dovednosti v obouručních zbraních nejsou tak špatné. AI_Output(self,other,"DIA_Cord_Teach_14_05"); //Pokud potřebuješ více zkušeností s jednoručními zbraněmi, jdi si najít jiného učitele. CORD_APPROVED = TRUE; } else { b_cord_zeitverschwendung(); b_cord_bebetter(); }; if(CORD_APPROVED == TRUE) { Info_ClearChoices(dia_cord_teach); Info_AddChoice(dia_cord_teach,DIALOG_BACK,dia_cord_teach_back); if((Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0) || (CORD_RANGERHELP_FIGHT == TRUE)) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H1,b_getlearncosttalent(other,NPC_TALENT_2H,1)),dia_cord_teach_2h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H5,b_getlearncosttalent(other,NPC_TALENT_2H,5)),dia_cord_teach_2h_5); }; if((Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) || (CORD_RANGERHELP_FIGHT == TRUE)) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H1,b_getlearncosttalent(other,NPC_TALENT_1H,1)),dia_cord_teach_1h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H5,b_getlearncosttalent(other,NPC_TALENT_1H,5)),dia_cord_teach_1h_5); }; CORD_MERKE_1H = other.hitchance[NPC_TALENT_1H]; CORD_MERKE_2H = other.hitchance[NPC_TALENT_2H]; }; } else { AI_Output(self,other,"DIA_Cord_Teach_14_06"); //Já trénuji pouze žoldáky nebo vhodné uchazeče! }; }; func void dia_cord_teach_back() { if((CORD_MERKE_1H < other.hitchance[NPC_TALENT_1H]) || (CORD_MERKE_2H < other.hitchance[NPC_TALENT_2H])) { AI_Output(self,other,"DIA_Cord_Teach_BACK_14_00"); //Jestli jsi se už zlepšil, tak v tom pokračuj! }; Info_ClearChoices(dia_cord_teach); }; func void dia_cord_teach_2h_1() { b_teachfighttalentpercent(self,other,NPC_TALENT_2H,1,90); Info_ClearChoices(dia_cord_teach); Info_AddChoice(dia_cord_teach,DIALOG_BACK,dia_cord_teach_back); if(Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H1,b_getlearncosttalent(other,NPC_TALENT_2H,1)),dia_cord_teach_2h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H5,b_getlearncosttalent(other,NPC_TALENT_2H,5)),dia_cord_teach_2h_5); }; if(Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H1,b_getlearncosttalent(other,NPC_TALENT_1H,1)),dia_cord_teach_1h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H5,b_getlearncosttalent(other,NPC_TALENT_1H,5)),dia_cord_teach_1h_5); }; }; func void dia_cord_teach_2h_5() { b_teachfighttalentpercent(self,other,NPC_TALENT_2H,5,90); Info_ClearChoices(dia_cord_teach); Info_AddChoice(dia_cord_teach,DIALOG_BACK,dia_cord_teach_back); if(Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H1,b_getlearncosttalent(other,NPC_TALENT_2H,1)),dia_cord_teach_2h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H5,b_getlearncosttalent(other,NPC_TALENT_2H,5)),dia_cord_teach_2h_5); }; if(Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H1,b_getlearncosttalent(other,NPC_TALENT_1H,1)),dia_cord_teach_1h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H5,b_getlearncosttalent(other,NPC_TALENT_1H,5)),dia_cord_teach_1h_5); }; }; func void dia_cord_teach_1h_1() { b_teachfighttalentpercent(self,other,NPC_TALENT_1H,1,90); Info_ClearChoices(dia_cord_teach); Info_AddChoice(dia_cord_teach,DIALOG_BACK,dia_cord_teach_back); if(Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H1,b_getlearncosttalent(other,NPC_TALENT_2H,1)),dia_cord_teach_2h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H5,b_getlearncosttalent(other,NPC_TALENT_2H,5)),dia_cord_teach_2h_5); }; if(Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H1,b_getlearncosttalent(other,NPC_TALENT_1H,1)),dia_cord_teach_1h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H5,b_getlearncosttalent(other,NPC_TALENT_1H,5)),dia_cord_teach_1h_5); }; }; func void dia_cord_teach_1h_5() { b_teachfighttalentpercent(self,other,NPC_TALENT_1H,5,90); Info_ClearChoices(dia_cord_teach); Info_AddChoice(dia_cord_teach,DIALOG_BACK,dia_cord_teach_back); if(Npc_GetTalentSkill(other,NPC_TALENT_2H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H1,b_getlearncosttalent(other,NPC_TALENT_2H,1)),dia_cord_teach_2h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN2H5,b_getlearncosttalent(other,NPC_TALENT_2H,5)),dia_cord_teach_2h_5); }; if(Npc_GetTalentSkill(other,NPC_TALENT_1H) > 0) { Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H1,b_getlearncosttalent(other,NPC_TALENT_1H,1)),dia_cord_teach_1h_1); Info_AddChoice(dia_cord_teach,b_buildlearnstring(PRINT_LEARN1H5,b_getlearncosttalent(other,NPC_TALENT_1H,5)),dia_cord_teach_1h_5); }; }; instance DIA_CORD_PICKPOCKET(C_INFO) { npc = sld_805_cord; nr = 900; condition = dia_cord_pickpocket_condition; information = dia_cord_pickpocket_info; permanent = TRUE; description = PICKPOCKET_80; }; func int dia_cord_pickpocket_condition() { return c_beklauen(65,75); }; func void dia_cord_pickpocket_info() { Info_ClearChoices(dia_cord_pickpocket); Info_AddChoice(dia_cord_pickpocket,DIALOG_BACK,dia_cord_pickpocket_back); Info_AddChoice(dia_cord_pickpocket,DIALOG_PICKPOCKET,dia_cord_pickpocket_doit); }; func void dia_cord_pickpocket_doit() { b_beklauen(); Info_ClearChoices(dia_cord_pickpocket); }; func void dia_cord_pickpocket_back() { Info_ClearChoices(dia_cord_pickpocket); };
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkD; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage /* * Conversion parameters: * inFile = GtkSeparatorToolItem.html * outPack = gtk * outFile = SeparatorToolItem * strct = GtkSeparatorToolItem * realStrct= * ctorStrct=GtkToolItem * clss = SeparatorToolItem * interf = * class Code: No * interface Code: No * template for: * extend = * implements: * prefixes: * - gtk_separator_tool_item_ * - gtk_ * omit structs: * omit prefixes: * omit code: * omit signals: * imports: * - gtkD.gtk.ToolItem * structWrap: * - GtkToolItem* -> ToolItem * module aliases: * local aliases: * overrides: */ module gtkD.gtk.SeparatorToolItem; public import gtkD.gtkc.gtktypes; private import gtkD.gtkc.gtk; private import gtkD.glib.ConstructionException; private import gtkD.gtk.ToolItem; private import gtkD.gtk.ToolItem; /** * Description * A GtkSeparatorItem is a GtkToolItem that separates groups of other * GtkToolItems. Depending on the theme, a GtkSeparatorToolItem will * often look like a vertical line on horizontally docked toolbars. * If the property "expand" is TRUE and the property "draw" is FALSE, a * GtkSeparatorToolItem will act as a "spring" that forces other items * to the ends of the toolbar. * Use gtk_separator_tool_item_new() to create a new GtkSeparatorToolItem. */ public class SeparatorToolItem : ToolItem { /** the main Gtk struct */ protected GtkSeparatorToolItem* gtkSeparatorToolItem; public GtkSeparatorToolItem* getSeparatorToolItemStruct() { return gtkSeparatorToolItem; } /** the main Gtk struct as a void* */ protected override void* getStruct() { return cast(void*)gtkSeparatorToolItem; } /** * Sets our main struct and passes it to the parent class */ public this (GtkSeparatorToolItem* gtkSeparatorToolItem) { if(gtkSeparatorToolItem is null) { this = null; return; } //Check if there already is a D object for this gtk struct void* ptr = getDObject(cast(GObject*)gtkSeparatorToolItem); if( ptr !is null ) { this = cast(SeparatorToolItem)ptr; return; } super(cast(GtkToolItem*)gtkSeparatorToolItem); this.gtkSeparatorToolItem = gtkSeparatorToolItem; } /** */ /** * Create a new GtkSeparatorToolItem * Since 2.4 * Throws: ConstructionException GTK+ fails to create the object. */ public this () { // GtkToolItem * gtk_separator_tool_item_new (void); auto p = gtk_separator_tool_item_new(); if(p is null) { throw new ConstructionException("null returned by gtk_separator_tool_item_new()"); } this(cast(GtkSeparatorToolItem*) p); } /** * Whether item is drawn as a vertical line, or just blank. * Setting this to FALSE along with gtk_tool_item_set_expand() is useful * to create an item that forces following items to the end of the toolbar. * Since 2.4 * Params: * draw = whether item is drawn as a vertical line */ public void setDraw(int draw) { // void gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item, gboolean draw); gtk_separator_tool_item_set_draw(gtkSeparatorToolItem, draw); } /** * Returns whether item is drawn as a line, or just blank. * See gtk_separator_tool_item_set_draw(). * Since 2.4 * Returns: TRUE if item is drawn as a line, or just blank. */ public int getDraw() { // gboolean gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item); return gtk_separator_tool_item_get_draw(gtkSeparatorToolItem); } }
D
func int oCMob_GetModel (var int mobPtr) { //0x0067AD00 public: virtual class zCModel * __thiscall oCMOB::GetModel(void) const int oCMOB__GetModel_G1 = 6794496; //0x0071BEE0 public: virtual class zCModel * __thiscall oCMOB::GetModel(void) const int oCMOB__GetModel_G2 = 7454432; if (!mobPtr) { return 0; }; const int call = 0; if (CALL_Begin(call)) { CALL__thiscall (_@ (mobPtr), MEMINT_SwitchG1G2 (oCMOB__GetModel_G1, oCMOB__GetModel_G2)); call = CALL_End(); }; return CALL_RetValAsPtr(); }; func string zCModel_GetVisualName (var int modelPtr) { //0x00563EF0 public: virtual class zSTRING __thiscall zCModel::GetVisualName(void) const int zCModel__GetVisualName_G1 = 5652208; //0x0057DF60 public: virtual class zSTRING __thiscall zCModel::GetVisualName(void) const int zCModel__GetVisualName_G2 = 5758816; if (!modelPtr) { return ""; }; CALL_RetValIszString(); CALL__thiscall (modelPtr, MEMINT_SwitchG1G2 (zCModel__GetVisualName_G1, zCModel__GetVisualName_G2)); return CALL_RetValAszstring (); }; func string zCVob_GetVisualName (var int vobPtr) { if (!vobPtr) { return ""; }; var zCVob vob; vob = _^ (vobPtr); if (!vob.visual) { return ""; }; var zCObject visualObj; visualObj = _^ (vob.visual); return visualObj.objectName; }; func string Vob_GetVisualName (var int vobPtr){ if (!vobPtr) { return ""; }; //in case of oCMob we need to get visual from object model if (Hlp_Is_oCMob (vobPtr)){ var int modelPtr; modelPtr = oCMob_GetModel (vobPtr); return zCModel_GetVisualName (modelPtr); }; return zCVob_GetVisualName (vobPtr); };
D
; Copyright (C) 2008 The Android Open Source Project ; ; 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. .source T_move_object_6.java .class public dot.junit.opcodes.move_object.d.T_move_object_6 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run()V .limit regs 9 const-wide v0, 124 move-object v5, v1 return-void .end method
D
/******************************************************************************* copyright: Copyright (c) 2004 Kris Bell. все rights reserved license: BSD стиль: $(LICENSE) version: Initial release: October 2004 version: Feb 20th 2005 - Asm version removed by Aleksey Bobnev author: Kris, Aleksey Bobnev *******************************************************************************/ module core.ByteSwap; public import stdrus: ПерестановкаБайт; /+ extern(D) struct ПерестановкаБайт { /*********************************************************************** Реверсирует двубайтные цепочки. Параметр приёмн указывает число байтов, которое должно быть кратно 2 ***********************************************************************/ final static проц своп16 (проц[] приёмн); /*********************************************************************** Реверсирует четырёхбайтные цепочки. Параметр приёмн указывает число байтов, к-е д.б. кратно 4 ***********************************************************************/ final static проц своп32 (проц[] приёмн); /*********************************************************************** Реверсирует 8-байтные цепочки. Параметр приёмн указывает число байтов, к-е д.б. кратно 8 ***********************************************************************/ final static проц своп64 (проц[] приёмн); /*********************************************************************** Реверсирует 10-байтные цепочки. Параметр приёмн указывает число байтов, к-е д.б. кратно 10 ***********************************************************************/ final static проц своп80 (проц[] приёмн); /*********************************************************************** Реверсирует 2-байтные цепочки. Параметр приёмн указывает число байтов, к-е д.б. кратно 2 ***********************************************************************/ final static проц своп16 (ук приёмн, бцел байты); /*********************************************************************** Реверсирует четырёхбайтные цепочки. Параметр приёмн указывает число байтов, к-е д.б. кратно 4 ***********************************************************************/ final static проц своп32 (ук приёмн, бцел байты); /*********************************************************************** Реверсирует 8-байтные цепочки. Параметр приёмн указывает число байтов, к-е д.б. кратно 8 ***********************************************************************/ final static проц своп64 (ук приёмн, бцел байты); /*********************************************************************** Реверсирует 10-байтные цепочки. Параметр приёмн указывает число байтов, к-е д.б. кратно 10 ***********************************************************************/ final static проц своп80 (ук приёмн, бцел байты); } +/
D
/*************************************************************************/ /* godot.core.string */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ /* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */ /* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ /* "Software"), to deal in the Software without restriction, including */ /* without limitation the rights to use, copy, modify, merge, publish, */ /* distribute, sublicense, and/or sell copies of the Software, and to */ /* permit persons to whom the Software is furnished to do so, subject to */ /* the following conditions: */ /* */ /* The above copyright notice and this permission notice shall be */ /* included in all copies or substantial portions of the Software. */ /* */ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ module godot.core.string; import core.stdc.stddef : wchar_t; import godot.c; import std.traits; struct CharString { @nogc nothrow: package(godot) godot_char_string _char_string; const(char*) ptr() const { return _godot_api.godot_char_string_get_data(&_char_string); } size_t length() const { return _godot_api.godot_char_string_length(&_char_string); } const(char[]) data() const { return ptr[0..length]; } ~this() { _godot_api.godot_char_string_destroy(&_char_string); } } struct String { @nogc nothrow: package(godot) godot_string _godot_string; /// postblit (Vector is CoW, so no data copying is done) this(this) { godot_string other = _godot_string; _godot_api.godot_string_new_copy(&_godot_string, &other); } package(godot) this(in godot_string str) { _godot_string = str; } /++ wchar_t constructor. S can be a slice or a null-terminated pointer. +/ this(S)(in S str) if(isImplicitlyConvertible!(S, const(wchar_t)[]) || isImplicitlyConvertible!(S, const(wchar_t)*)) { static if(isImplicitlyConvertible!(S, const(wchar_t)[])) { const(wchar_t)[] contents = str; _godot_api.godot_string_new_with_wide_string(&_godot_string, contents.ptr, cast(int)contents.length); } else { import core.stdc.wchar_ : wcslen; const(wchar_t)* contents = str; _godot_api.godot_string_new_with_wide_string(&_godot_string, contents, cast(int)wcslen(contents)); } } /++ UTF-8 constructor. S can be a slice (like `string`) or a null-terminated pointer. +/ this(S)(in S str) if(isImplicitlyConvertible!(S, const(char)[]) || isImplicitlyConvertible!(S, const(char)*)) { static if(isImplicitlyConvertible!(S, const(char)[])) { const(char)[] contents = str; _godot_api.godot_string_parse_utf8(&_godot_string, contents.ptr); } else { const(char)* contents = str; _godot_api.godot_string_parse_utf8(&_godot_string, contents); } } ~this() { _godot_api.godot_string_destroy(&_godot_string); } void opAssign(in String other) { _godot_api.godot_string_destroy(&_godot_string); _godot_api.godot_string_new_copy(&_godot_string, &other._godot_string); } /+String substr(int p_from,int p_chars) const { return String.empty; // todo } alias opSlice = substr;+/ ref wchar_t opIndex(in int idx) { return *_godot_api.godot_string_operator_index(&_godot_string, idx); } wchar_t opIndex(in int idx) const { return *_godot_api.godot_string_operator_index(cast(godot_string*) &_godot_string, idx); } /// Returns the length of the wchar_t array, minus the zero terminator. int length() const { return _godot_api.godot_string_length(&_godot_string); } int opCmp(in ref String s) { auto equal = _godot_api.godot_string_operator_equal(&_godot_string, &s._godot_string); if(equal) return 0; auto less = _godot_api.godot_string_operator_less(&_godot_string, &s._godot_string); return less?(-1):1; } String opBinary(string op : "~")(in String other) const { String ret = void; ret._godot_string = _godot_api.godot_string_operator_plus(&_godot_string, &other._godot_string); return ret; } void opOpAssign(string op : "~")(in String other) { _godot_string = _godot_api.godot_string_operator_plus(&_godot_string, &other._godot_string); } /// Returns a pointer to the wchar_t data. Always zero-terminated. const(wchar_t)* ptr() const { return _godot_api.godot_string_wide_str(&_godot_string); } /// Returns a slice of the wchar_t data without the zero terminator. const(wchar_t)[] data() const { return ptr[0..length]; } alias toString = data; CharString utf8() const { CharString ret = void; ret._char_string = _godot_api.godot_string_utf8(&_godot_string); return ret; } }
D
module android.java.javax.microedition.khronos.opengles.GL10_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.nio.Buffer_d_interface; import import3 = android.java.java.lang.Class_d_interface; import import1 = android.java.java.nio.IntBuffer_d_interface; import import2 = android.java.java.nio.FloatBuffer_d_interface; final class GL10 : IJavaObject { static immutable string[] _d_canCastTo = [ "javax/microedition/khronos/opengles/GL", ]; @Import void glActiveTexture(int); @Import void glAlphaFunc(int, float); @Import void glAlphaFuncx(int, int); @Import void glBindTexture(int, int); @Import void glBlendFunc(int, int); @Import void glClear(int); @Import void glClearColor(float, float, float, float); @Import void glClearColorx(int, int, int, int); @Import void glClearDepthf(float); @Import void glClearDepthx(int); @Import void glClearStencil(int); @Import void glClientActiveTexture(int); @Import void glColor4f(float, float, float, float); @Import void glColor4x(int, int, int, int); @Import void glColorMask(bool, bool, bool, bool); @Import void glColorPointer(int, int, int, import0.Buffer); @Import void glCompressedTexImage2D(int, int, int, int, int, int, int, import0.Buffer); @Import void glCompressedTexSubImage2D(int, int, int, int, int, int, int, int, import0.Buffer); @Import void glCopyTexImage2D(int, int, int, int, int, int, int, int); @Import void glCopyTexSubImage2D(int, int, int, int, int, int, int, int); @Import void glCullFace(int); @Import void glDeleteTextures(int, int, int[]); @Import void glDeleteTextures(int, import1.IntBuffer); @Import void glDepthFunc(int); @Import void glDepthMask(bool); @Import void glDepthRangef(float, float); @Import void glDepthRangex(int, int); @Import void glDisable(int); @Import void glDisableClientState(int); @Import void glDrawArrays(int, int, int); @Import void glDrawElements(int, int, int, import0.Buffer); @Import void glEnable(int); @Import void glEnableClientState(int); @Import void glFinish(); @Import void glFlush(); @Import void glFogf(int, float); @Import void glFogfv(int, float, int[]); @Import void glFogfv(int, import2.FloatBuffer); @Import void glFogx(int, int); @Import void glFogxv(int, int, int[]); @Import void glFogxv(int, import1.IntBuffer); @Import void glFrontFace(int); @Import void glFrustumf(float, float, float, float, float, float); @Import void glFrustumx(int, int, int, int, int, int); @Import void glGenTextures(int, int, int[]); @Import void glGenTextures(int, import1.IntBuffer); @Import int glGetError(); @Import void glGetIntegerv(int, int, int[]); @Import void glGetIntegerv(int, import1.IntBuffer); @Import string glGetString(int); @Import void glHint(int, int); @Import void glLightModelf(int, float); @Import void glLightModelfv(int, float, int[]); @Import void glLightModelfv(int, import2.FloatBuffer); @Import void glLightModelx(int, int); @Import void glLightModelxv(int, int, int[]); @Import void glLightModelxv(int, import1.IntBuffer); @Import void glLightf(int, int, float); @Import void glLightfv(int, int, float, int[]); @Import void glLightfv(int, int, import2.FloatBuffer); @Import void glLightx(int, int, int); @Import void glLightxv(int, int, int, int[]); @Import void glLightxv(int, int, import1.IntBuffer); @Import void glLineWidth(float); @Import void glLineWidthx(int); @Import void glLoadIdentity(); @Import void glLoadMatrixf(float, int[]); @Import void glLoadMatrixf(import2.FloatBuffer); @Import void glLoadMatrixx(int, int[]); @Import void glLoadMatrixx(import1.IntBuffer); @Import void glLogicOp(int); @Import void glMaterialf(int, int, float); @Import void glMaterialfv(int, int, float, int[]); @Import void glMaterialfv(int, int, import2.FloatBuffer); @Import void glMaterialx(int, int, int); @Import void glMaterialxv(int, int, int, int[]); @Import void glMaterialxv(int, int, import1.IntBuffer); @Import void glMatrixMode(int); @Import void glMultMatrixf(float, int[]); @Import void glMultMatrixf(import2.FloatBuffer); @Import void glMultMatrixx(int, int[]); @Import void glMultMatrixx(import1.IntBuffer); @Import void glMultiTexCoord4f(int, float, float, float, float); @Import void glMultiTexCoord4x(int, int, int, int, int); @Import void glNormal3f(float, float, float); @Import void glNormal3x(int, int, int); @Import void glNormalPointer(int, int, import0.Buffer); @Import void glOrthof(float, float, float, float, float, float); @Import void glOrthox(int, int, int, int, int, int); @Import void glPixelStorei(int, int); @Import void glPointSize(float); @Import void glPointSizex(int); @Import void glPolygonOffset(float, float); @Import void glPolygonOffsetx(int, int); @Import void glPopMatrix(); @Import void glPushMatrix(); @Import void glReadPixels(int, int, int, int, int, int, import0.Buffer); @Import void glRotatef(float, float, float, float); @Import void glRotatex(int, int, int, int); @Import void glSampleCoverage(float, bool); @Import void glSampleCoveragex(int, bool); @Import void glScalef(float, float, float); @Import void glScalex(int, int, int); @Import void glScissor(int, int, int, int); @Import void glShadeModel(int); @Import void glStencilFunc(int, int, int); @Import void glStencilMask(int); @Import void glStencilOp(int, int, int); @Import void glTexCoordPointer(int, int, int, import0.Buffer); @Import void glTexEnvf(int, int, float); @Import void glTexEnvfv(int, int, float, int[]); @Import void glTexEnvfv(int, int, import2.FloatBuffer); @Import void glTexEnvx(int, int, int); @Import void glTexEnvxv(int, int, int, int[]); @Import void glTexEnvxv(int, int, import1.IntBuffer); @Import void glTexImage2D(int, int, int, int, int, int, int, int, import0.Buffer); @Import void glTexParameterf(int, int, float); @Import void glTexParameterx(int, int, int); @Import void glTexSubImage2D(int, int, int, int, int, int, int, int, import0.Buffer); @Import void glTranslatef(float, float, float); @Import void glTranslatex(int, int, int); @Import void glVertexPointer(int, int, int, import0.Buffer); @Import void glViewport(int, int, int, int); @Import import3.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 = "Ljavax/microedition/khronos/opengles/GL10;"; }
D
module sceneparser.expressions.ComparisonExpression; import sceneparser.expressions.BooleanExpression; import sceneparser.general.Context; import sceneparser.general.Expression; import sceneparser.general.Value; import Float = tango.text.convert.Float; class ComparisonExpression: BooleanExpression { Expression m1, m2; string op; public this(Context con, Expression math1, string sign, Expression math2) { super(con, false); m1 = math1; m2 = math2; op = sign; } public override BooleanValue getValue() { bool result; try { double m1 = this.m1.getValue.toNumber; double m2 = this.m2.getValue.toNumber; switch (op) { case "<": result = (m1 < m2); break; case ">": result = (m1 > m2); break; case "<=": result = (m1 <= m2); break; case ">=": result = (m1 >= m2); break; case "!=": result = (m1 != m2); break; case "==": result = (m1 == m2); break; default: result = false; } } catch (Exception) { // FIXME: Print a proper error result = false; } return new BooleanValue(result); } }
D
//import iteration = std.algorithm.iteration; import std.functional; import std.container; import std.random; import std.range; import std.math; import util; import ser; import term; import game; import tile; import tile_defs; import actor; import item; class Map { mixin (serializable); @noser Game game; Array!Point visibles; Point[][] zones; private Tile[] tiles; private DList!Actor actors; @noser private Tile tmp; private int _width, _height; @property int width() { return _width; } @property int height() { return _height; } this(Serializer serializer) { this(serializer.load!int("_width"), serializer.load!int("_height")); } this(int width, int height) { _width = width; _height = height; tiles.length = width*height; foreach (y; 0..height) { foreach (x; 0..width) { getTile(x, y) = new DefaultWallTile; } } } void beforesave(Serializer serializer) {} void beforeload(Serializer serializer) {} void aftersave(Serializer serializer) {} void afterload(Serializer serializer) {} void init(Game game) { this.game = game; foreach (e; actors[]) { e.init_(this); } } void spawn(Actor actor, int x, int y) { //actor.map = this; actors.insertBack(actor); actor.init_(this, x, y); } void spawn(Actor actor, Point p) { spawn(actor, p.x, p.y); } void despawn(Actor actor) { actor.is_despawned = true; } bool update() { for (auto range = actors[]; !range.empty; range.popFront()) { if (range.front.is_despawned) { actors.popFirstOf(range); } else { if (!range.front.update()) { return false; } } } return true; } void draw(int src_x, int src_y, int dest_x, int dest_y, int width, int height) { term.clear(); for (int i = 0; i < width; ++i) { for (int ii = 0; ii < height; ++ii) { getTile(src_x+i, src_y+ii).draw(dest_x+i, dest_y+ii); } } } void fov(int center_x, int center_y, int range, void delegate(int, int, Tile) callback) { fovScan(center_x, center_y, 1, 1, 1, range, true, callback); fovScan(center_x, center_y, 1, -1, 1, range, true, callback); fovScan(center_x, center_y, -1, 1, 1, range, true, callback); fovScan(center_x, center_y, -1, -1, 1, range, true, callback); fovScan(center_x, center_y, 1, 1, 1, range, false, callback); fovScan(center_x, center_y, 1, -1, 1, range, false, callback); fovScan(center_x, center_y, -1, 1, 1, range, false, callback); fovScan(center_x, center_y, -1, -1, 1, range, false, callback); callback(center_x, center_y, getTile(center_x, center_y)); } // XXX: Is the existence of `range` necessary? void fovScan(int center_x, int center_y, int dir_c, int dir_r, int row, int range, bool vert, void delegate(int, int, Tile) callback, float start_slope = 1, float end_slope = 0) { if (row > range) return; if (end_slope > start_slope) return; bool was_blocking = false; for (int cell = cast(int)ceil((row+0.5)*start_slope-0.5); cell > ((row-0.5)*end_slope-0.5); cell--) { int tile_x = vert ? center_x+cell*dir_c : center_x+row*dir_r; int tile_y = vert ? center_y+row*dir_r : center_y+cell*dir_c; Tile tile = getTile(tile_x, tile_y); callback(tile_x, tile_y, tile); if (!was_blocking && !tile.is_transparent) { fovScan(center_x, center_y, dir_c, dir_r, row+1, range, vert, callback, start_slope, (cell+0.5)/(row-0.5)); was_blocking = true; } else if (was_blocking && tile.is_transparent) { start_slope = (cell+0.5)/(row+0.5); was_blocking = false; } } if (!was_blocking) { fovScan(center_x, center_y, dir_c, dir_r, row+1, range, vert, callback, start_slope, end_slope); } } // TODO: Take movement speed dependency on tile type into consideration. Point[] findPath(int source_x, int source_y, int target_x, int target_y, bool delegate(int, int) get_is_blocking, Point[8] delegate(int, int) get_next_coords) { // XXX: Is this a stack??? Consider renaming it to `queue`... Point[] stack = [Point(source_x, source_y)]; int cur_x = source_x, cur_y = source_y; //bool[tiles.length] was_visited; // All false by default. int[] steps; // All 0 by default. Point[] links; steps.length = tiles.length; links.length = tiles.length; //foreach (e; stack) { for (int i = 0; i < stack.length; ++i) { auto e = stack[i]; foreach (ee; get_next_coords(e.x, e.y)) { // Target tile need not be passable // to be reachable in this routine. if (ee.x == target_x && ee.y == target_y) { if (get_is_blocking(ee.x, ee.y)) { return []; } Point[] result = [Point(source_x, source_y)]; result.length = steps[e.x+e.y*width]+2; result[$-1] = Point(target_x, target_y); for ({Point cur = e; int ii = 0;} cur.x != source_x || cur.y != source_y; cur = links[cur.x+cur.y*width], ++ii) { result[$-2-ii] = cur; } return result; } if (!get_is_blocking(ee.x, ee.y) && steps[ee.x+ee.y*width] == 0) { links[ee.x+ee.y*width] = Point(e.x, e.y); steps[ee.x+ee.y*width] = steps[e.x+e.y*width]+1; ++stack.length; stack[$-1] = ee; } } } return []; } Point[] findPath(int source_x, int source_y, int target_x, int target_y) { return findPath(source_x, source_y, target_x, target_y, &findPathGetIsBlocking, &findPathGetNextCoords); } bool findPathGetIsBlocking(int x, int y) { return !getTile(x, y).is_walkable; } Point[8] findPathGetNextCoords(int x, int y) { auto diagonal_dirs = [Dir.up_right, Dir.up_left, Dir.down_left, Dir.down_right]; auto orthogonal_dirs = [Dir.right, Dir.up, Dir.left, Dir.down]; auto ordered_dirs = randomShuffle(orthogonal_dirs, rng) ~randomShuffle(diagonal_dirs, rng); Point[8] ordered_points; foreach (int i, e; ordered_dirs) { ordered_points[i].x = x+dir_to_point[e].x; ordered_points[i].y = y+dir_to_point[e].y; } return ordered_points; } // The algorithm is based on Bresenham line algorithm. // XXX: Perhaps use ranges instead of just returning an array? // TODO: Add output contract for `length` of result. Point[] castRay(int source_x, int source_y, int target_x, int target_y, bool delegate(int, int) get_is_blocking) out (result; result.length >= 1) { if (source_x == target_x && source_y == target_y) { return [Point(source_x, source_y)]; } Point[] result; int err = 0; int dx = target_x-source_x; int dy = target_y-source_y; if (abs(target_x-source_x) >= abs(target_y-source_y)) { int y = source_y; //foreach (i; 0..(abs(dx)+1)) { for (int i = 0; ; ++i) { int x = source_x+i*sgn(dx); ++result.length; result[$-1] = Point(x, y); if (get_is_blocking(x, y)) { return result; } if (2*(err+abs(dy)) < abs(dx)) { err = err+abs(dy); } else { err = err+abs(dy)-abs(dx); y += sgn(dy); } } } else { int x = source_x; //foreach (i; 0..(abs(dy)+1)) { for (int i = 0; ; ++i) { int y = source_y+i*sgn(dy); ++result.length; result[$-1] = Point(x, y); if (get_is_blocking(x, y)) { return result; } if (2*(err+abs(dx)) < abs(dy)) { err = err+abs(dx); } else { err = err+abs(dx)-abs(dy); x += sgn(dx); } } } //return result; } Point[] castRay(Point source_p, Point target_p, bool delegate(int, int) get_is_blocking) { return castRay(source_p.x, source_p.y, target_p.x, target_p.y, get_is_blocking); } bool castRayGetIsblocking(int x, int y) { return getTile(x, y).is_walkable; } void floodfill(int x, int y, bool delegate(int, int) fill) { // XXX: Perhaps a linked list could perform better here. Point[] queue = [Point(x, y)]; for (int i = 0; i < queue.length; ++i) { auto e = queue[i]; if (!fill(e.x, e.y)) { continue; } queue.length += 2; queue[$-2] = Point(e.x, e.y-1); queue[$-1] = Point(e.x, e.y+1); int ii; for (ii = 1; fill(e.x-ii, e.y); ++ii) { queue.length += 2; queue[$-2] = Point(e.x-ii, e.y-1); queue[$-1] = Point(e.x-ii, e.y+1); } queue.length += 2; queue[$-2] = Point(e.x-ii, e.y-1); queue[$-1] = Point(e.x-ii, e.y+1); for (ii = 1; fill(e.x+ii, e.y); ++ii) { queue.length += 2; queue[$-2] = Point(e.x+ii, e.y-1); queue[$-1] = Point(e.x+ii, e.y+1); } queue.length += 2; queue[$-2] = Point(e.x+ii, e.y-1); queue[$-1] = Point(e.x+ii, e.y+1); } } void floodfill(Point p, bool delegate(int, int) fill) { floodfill(p.x, p.y, fill); } // XXX: Perhaps this function will be better as `const`? ref Tile getTile(int x, int y) pure { if (x < 0 || y < 0 || x >= _width || y >= _width) { tmp = new WallTile; return tmp; } return tiles[x+y*_width]; } ref Tile getTile(Point p) { return getTile(p.x, p.y); } }
D
instance NOV_1358_Harlok(Npc_Default) { name[0] = "Харлок"; npcType = npctype_main; guild = GIL_None; level = 3; voice = 1; id = 1358; attribute[ATR_STRENGTH] = 10; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 7; attribute[ATR_MANA] = 7; attribute[ATR_HITPOINTS_MAX] = 76; attribute[ATR_HITPOINTS] = 76; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds"); Mdl_SetVisualBody(self,"hum_body_Naked0",1,1,"Hum_Head_Bald",28,1,nov_armor_l); B_Scale(self); Mdl_SetModelFatness(self,0); fight_tactic = FAI_HUMAN_Strong; EquipItem(self,ItMw_1H_Hatchet_01); daily_routine = Rtn_PreStart_1358; }; func void Rtn_PreStart_1358() { TA_Smoke(8,0,20,0,"PSI_31_HUT_EX"); TA_Smoke(20,0,8,0,"PSI_31_HUT_EX"); }; func void Rtn_Start_1358() { TA_HerbAlchemy(6,55,23,55,"PSI_HERB_PLACE_1"); TA_HerbAlchemy(23,55,6,55,"PSI_HERB_PLACE_1"); };
D
// ************************************************** var int Mud_Nerve; const int NerveSec = 30; var int Mud_NerveRealized; // ************************************************** // ************************************************** // EXIT // ************************************************** INSTANCE DIA_Mud_Exit (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Exit_Condition; information = DIA_Mud_Exit_Info; permanent = 1; description = DIALOG_ENDE; }; FUNC INT DIA_Mud_Exit_Condition() { //if (Npc_KnowsInfo(hero, DIA_Mud_FirstEXIT)) //{ return 1; //}; }; FUNC VOID DIA_Mud_Exit_Info() { AI_StopProcessInfos ( self ); }; // ************************************************** // First + EXIT // ************************************************** INSTANCE DIA_Mud_FirstEXIT (C_INFO) { npc = Vlk_574_Mud; nr = 1; condition = DIA_Mud_FirstEXIT_Condition; information = DIA_Mud_FirstEXIT_Info; permanent = 0; important = 1; }; FUNC INT DIA_Mud_FirstEXIT_Condition() { if (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) { return 1; }; }; FUNC VOID DIA_Mud_FirstEXIT_Info() { AI_Output (self, other,"DIA_Mud_FirstEXIT_07_00"); //Hej, kolego! Nowy? Chyba cię jeszcze tu nie widziałem. AI_Output (self, other,"DIA_Mud_FirstEXIT_07_01"); //Przyłączę się do ciebie na chwilę, jeśli nie masz nic przeciwko. Przyda ci się przyjaciel... Info_ClearChoices(DIA_Mud_FirstEXIT); Info_AddChoice (DIA_Mud_FirstEXIT, "Spadaj!" ,DIA_Mud_FirstEXIT_Verpiss); Info_AddChoice (DIA_Mud_FirstEXIT, "Czemu nie? Chodźmy!" ,DIA_Mud_FirstEXIT_Komm); }; func void DIA_Mud_FirstEXIT_Verpiss() { AI_Output (other, self,"DIA_Mud_FirstEXIT_Verpiss_15_00"); //Spadaj! AI_Output (self, other,"DIA_Mud_FirstEXIT_Verpiss_07_01"); //Oho, nie jesteśmy w humorze, co? Lepiej będzie jak pójdę z tobą! Info_ClearChoices(DIA_Mud_FirstEXIT); AI_StopProcessInfos ( self ); Npc_ExchangeRoutine (self,"FOLLOW"); }; func void DIA_Mud_FirstEXIT_Komm() { AI_Output (other, self,"DIA_Mud_FirstEXIT_Komm_15_00"); //Czemu nie? Chodźmy! AI_Output (self, other,"DIA_Mud_FirstEXIT_Komm_07_01"); //Świetnie. Po drodze możemy sobie trochę porozmawiać. Info_ClearChoices(DIA_Mud_FirstEXIT); AI_StopProcessInfos ( self ); Npc_ExchangeRoutine (self,"FOLLOW"); }; // ************************************************** // Shut Up! // ************************************************** INSTANCE DIA_Mud_ShutUp (C_INFO) { npc = Vlk_574_Mud; nr = 3; condition = DIA_Mud_ShutUp_Condition; information = DIA_Mud_ShutUp_Info; permanent = 1; description = "Możesz się zamknąć choć na chwilę?"; }; FUNC INT DIA_Mud_ShutUp_Condition() { if (Mud_NerveRealized == TRUE) { return 1; }; }; FUNC VOID DIA_Mud_ShutUp_Info() { AI_Output (other, self,"DIA_Mud_ShutUp_15_00"); //Możesz się zamknąć choć na chwilę? AI_Output (self, other,"DIA_Mud_ShutUp_07_01"); //Jasne. Npc_SetRefuseTalk(self, 300); }; // ************************************************** // Verpiß dich // ************************************************** INSTANCE DIA_Mud_GetLost (C_INFO) { npc = Vlk_574_Mud; nr = 2; condition = DIA_Mud_GetLost_Condition; information = DIA_Mud_GetLost_Info; permanent = 1; description = "Spadaj!"; }; FUNC INT DIA_Mud_GetLost_Condition() { return 1; }; FUNC VOID DIA_Mud_GetLost_Info() { AI_Output (other, self,"DIA_Mud_GetLost_15_00"); //Spadaj! AI_Output (self, other,"DIA_Mud_GetLost_07_01"); //Chcesz być przez chwilę sam, tak? Rozumiem... Będę się trzymał na uboczu. }; // ************************************************** // DEFEATED // ************************************************** INSTANCE DIA_Mud_Defeated (C_INFO) { npc = Vlk_574_Mud; nr = 1; condition = DIA_Mud_Defeated_Condition; information = DIA_Mud_Defeated_Info; permanent = 0; important = 1; }; FUNC INT DIA_Mud_Defeated_Condition() { if (self.aivar[AIV_WASDEFEATEDBYSC]==TRUE) { return 1; }; }; FUNC VOID DIA_Mud_Defeated_Info() { AI_Output (self, other,"DIA_Mud_GetLost_07_00"); //Hej, stary! Czemu mnie bijesz? Co ci takiego zrobiłem? AI_Output (other, self,"DIA_Mud_GetLost_15_01"); //Za chwilę znowu ci przyłożę! Bardzo lubię to robić! AI_Output (self, other,"DIA_Mud_GetLost_07_02"); //Jakiś świr z ciebie, czy co? Nie chcę mieć z tobą nic wspólnego! AI_StopProcessInfos (self); Npc_ExchangeRoutine(self,"START"); }; // ************************************************** // Nerve 0 // ************************************************** INSTANCE DIA_Mud_Nerve_0 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_0_Condition; information = DIA_Mud_Nerve_0_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_0_Condition() { if ( (Mud_Nerve==0) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_0_Info() { AI_Output (self, other,"DIA_Mud_Nerve_0_07_00"); //Powiedz, dokąd idziemy? A może to niespodzianka?! Uwielbiam niespodzianki! Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 1; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 1 // ************************************************** INSTANCE DIA_Mud_Nerve_1 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_1_Condition; information = DIA_Mud_Nerve_1_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_1_Condition() { if ( (Mud_Nerve==1) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_1_Info() { AI_Output (self, other,"DIA_Mud_Nerve_1_07_00"); //Nie zwracaj na mnie uwagi. Będę się trzymał ciebie, spokojna głowa. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 2; Mud_NerveRealized = TRUE; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 2 // ************************************************** INSTANCE DIA_Mud_Nerve_2 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_2_Condition; information = DIA_Mud_Nerve_2_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_2_Condition() { if ( (Mud_Nerve==2) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_2_Info() { AI_Output (self, other,"DIA_Mud_Nerve_2_07_00"); //Zdecydowałeś się wreszcie dokąd chcesz iść? Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 3; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 3 // ************************************************** INSTANCE DIA_Mud_Nerve_3 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_3_Condition; information = DIA_Mud_Nerve_3_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_3_Condition() { if ( (Mud_Nerve==3) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_3_Info() { AI_Output (self, other,"DIA_Mud_Nerve_3_07_00"); //Może szukasz jakiegoś spokojnego miejsca, gdzie moglibyśmy pogadać? Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 4; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 4 // ************************************************** INSTANCE DIA_Mud_Nerve_4 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_4_Condition; information = DIA_Mud_Nerve_4_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_4_Condition() { if ( (Mud_Nerve==4) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_4_Info() { AI_Output (self, other,"DIA_Mud_Nerve_4_07_00"); //Czy to możliwe, że chodzimy w kółko... To znaczy, nie wiem dokąd chcesz iść, ale... Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 5; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 5 // ************************************************** INSTANCE DIA_Mud_Nerve_5 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_5_Condition; information = DIA_Mud_Nerve_5_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_5_Condition() { if ( (Mud_Nerve==5) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_5_Info() { AI_Output (self, other,"DIA_Mud_Nerve_5_07_00"); //Ale fajnie! Dzięki, że zabrałeś mnie ze sobą! Moglibyśmy robić to częściej. Nie mam nic do roboty przez większość dnia! Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 6; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 6 // ************************************************** INSTANCE DIA_Mud_Nerve_6 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_6_Condition; information = DIA_Mud_Nerve_6_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_6_Condition() { if ( (Mud_Nerve==6) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_6_Info() { AI_Output (self, other,"DIA_Mud_Nerve_6_07_00"); //Wiesz co? Już cię polubiłem! Przeżyjemy wspólnie wiele ciekawych przygód! Co nie?! Gdzie nocujesz? Jakbyś chciał, możesz przenocować u mnie! Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 7; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 7 // ************************************************** INSTANCE DIA_Mud_Nerve_7 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_7_Condition; information = DIA_Mud_Nerve_7_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_7_Condition() { if ( (Mud_Nerve==7) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_7_Info() { AI_Output (self, other,"DIA_Mud_Nerve_7_07_00"); //A tak w ogóle, to za co tutaj trafiłeś? Ty też za bardzo lubisz zwierzęta? Oni krzywo na to patrzą, wiesz? Właśnie tak tutaj wylądowałem. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 8; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 8 // ************************************************** INSTANCE DIA_Mud_Nerve_8 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_8_Condition; information = DIA_Mud_Nerve_8_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_8_Condition() { if ( (Mud_Nerve==8) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_8_Info() { AI_Output (self, other,"DIA_Mud_Nerve_8_07_00"); //Kilku facetów bez przerwy próbuje mnie pobić. Paskudni ludzie z Nowego Obozu! Bandziory jedne! Następnym razem powiem im, że kto ze mną zadziera, będzie miał z tobą do czynienia! To ich nauczy! Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 9; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 9 // ************************************************** INSTANCE DIA_Mud_Nerve_9 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_9_Condition; information = DIA_Mud_Nerve_9_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_9_Condition() { if ( (Mud_Nerve==9) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_9_Info() { AI_Output (self, other,"DIA_Mud_Nerve_9_07_00"); //Ale się zdziwią ci z Nowego Obozu, jak im powiem jakiego mam obrońcę! Posikają się ze strachu! Ale będzie fajnie. Normalnie zabijają ludzi bez mrugnięcia okiem, ale teraz będą musieli dobrze się zastanowić. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 10; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 10 // ************************************************** INSTANCE DIA_Mud_Nerve_10 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_10_Condition; information = DIA_Mud_Nerve_10_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_10_Condition() { if ( (Mud_Nerve==10) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_10_Info() { AI_Output (self, other,"DIA_Mud_Nerve_10_07_00"); //Wiesz co? Wyświadczę ci przysługę. Wstawię się za tobą. Może wtedy zostaniesz przyjęty do Obozu. W ten sposób moglibyśmy spotykać się codziennie. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 11; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 11 // ************************************************** INSTANCE DIA_Mud_Nerve_11 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_11_Condition; information = DIA_Mud_Nerve_11_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_11_Condition() { if ( (Mud_Nerve==11) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_11_Info() { AI_Output (self, other,"DIA_Mud_Nerve_11_07_00"); //Niektórzy tutaj mają mnie za jakiegoś wariata. Ale przecież ktoś taki jak ty nie zadawałby się z wariatem, prawda? Teraz wszyscy zrozumieją jak niesprawiedliwie mnie ocenili. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 12; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 12 // ************************************************** INSTANCE DIA_Mud_Nerve_12 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_12_Condition; information = DIA_Mud_Nerve_12_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_12_Condition() { if ( (Mud_Nerve==12) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_12_Info() { AI_Output (self, other,"DIA_Mud_Nerve_12_07_00"); //Jestem moim najlepszym kumplem, wiesz? Inni tylko próbują się mnie pozbyć. Jestem ci bardzo wdzięczny, naprawdę! Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 13; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 13 // ************************************************** INSTANCE DIA_Mud_Nerve_13 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_13_Condition; information = DIA_Mud_Nerve_13_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_13_Condition() { if ( (Mud_Nerve==13) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_13_Info() { AI_Output (self, other,"DIA_Mud_Nerve_13_07_00"); //Słuchaj, całe to bieganie zaczyna mnie męczyć. Może poszukamy sobie jakiegoś przytulnego gniazdka i chwilę odpoczniemy, co? Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 14; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 14 // ************************************************** INSTANCE DIA_Mud_Nerve_14 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_14_Condition; information = DIA_Mud_Nerve_14_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_14_Condition() { if ( (Mud_Nerve==14) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_14_Info() { AI_Output (self, other,"DIA_Mud_Nerve_14_07_00"); //Jesteś dla mnie jak starszy brat. Nigdy nie miałem starszego brata... Ani nawet młodszego! Moi rodzice mnie nie kochali, ale to musiało być dla nich bardzo trudne. AI_Output (other, self,"DIA_Mud_Nerve_14_15_01"); //Jaaasne. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 15; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 15 // ************************************************** INSTANCE DIA_Mud_Nerve_15 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_15_Condition; information = DIA_Mud_Nerve_15_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_15_Condition() { if ( (Mud_Nerve==15) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_15_Info() { AI_Output (self, other,"DIA_Mud_Nerve_15_07_00"); //Skąd jesteś? Na pewno cieszysz się, że znalazłeś tu bratnią duszę, kogoś, kto cię zrozumie. Jestem z Khorinis. Byłeś tam kiedyś? Zresztą - nieważne. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 16; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 16 // ************************************************** INSTANCE DIA_Mud_Nerve_16 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_16_Condition; information = DIA_Mud_Nerve_16_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_16_Condition() { if ( (Mud_Nerve==16) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_16_Info() { AI_Output (self, other,"DIA_Mud_Nerve_16_07_00"); //Masz może dla mnie coś do jedzenia. Jestem jakby twoim gościem, więc uprzejmość nakazywałaby, abyś mnie czymś poczęstował. Nauczyłem się tego w Khorinis. Tam mieszkają uprzejmi ludzie. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 17; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 17 // ************************************************** INSTANCE DIA_Mud_Nerve_17 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_17_Condition; information = DIA_Mud_Nerve_17_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_17_Condition() { if ( (Mud_Nerve==17) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_17_Info() { AI_Output (self, other,"DIA_Mud_Nerve_17_07_00"); //Myślisz, że ktoś wpadnie do nas z wizytą? Pewnie nie, bo nie mogliby wydostać się z powrotem, co nie? Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 18; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 18 // ************************************************** INSTANCE DIA_Mud_Nerve_18 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_18_Condition; information = DIA_Mud_Nerve_18_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_18_Condition() { if ( (Mud_Nerve==18) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_18_Info() { AI_Output (self, other,"DIA_Mud_Nerve_18_07_00"); //Teraz, gdy jesteśmy razem, moglibyśmy pokazać kilku ludziom, gdzie raki zimują. Te skurczybyki nachodzą mnie od lat! Jak zobaczę któregoś z nich, dam im do słuchu! Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 19; AI_StopProcessInfos ( self ); }; // ************************************************** // Nerve 19 // ************************************************** INSTANCE DIA_Mud_Nerve_19 (C_INFO) { npc = Vlk_574_Mud; nr = 999; condition = DIA_Mud_Nerve_19_Condition; information = DIA_Mud_Nerve_19_Info; permanent = 1; important = 1; }; FUNC INT DIA_Mud_Nerve_19_Condition() { if ( (Mud_Nerve==19) && (Npc_RefuseTalk(self)==FALSE) && (Npc_GetDistToNpc(self,hero) < ZivilAnquatschDist) && (self.aivar[AIV_WASDEFEATEDBYSC] == FALSE )) { return 1; }; }; FUNC VOID DIA_Mud_Nerve_19_Info() { AI_Output (self, other,"DIA_Mud_Nerve_19_07_00"); //Wiesz co? Stanowimy dobraną parę. Moglibyśmy przejąć kontrolę nad całym Starym Obozem. Jesteśmy zespołem, więc powinniśmy łatwo uporać się z Magnatami. Obmyślę jakiś plan. Npc_SetRefuseTalk(self, NerveSec); Mud_Nerve = 0; AI_StopProcessInfos ( self ); };
D
/** This module includes functions to work with HTML and CSS in a more specialized manner than [arsd.dom]. Most of this is obsolete from my really old D web stuff, but there's still some useful stuff. View source before you decide to use it, as the implementations may suck more than you want to use. It publically imports the DOM module to get started. Then it adds a number of functions to enhance html DOM documents and make other changes, like scripts and stylesheets. */ module arsd.html; public import arsd.dom; import arsd.color; static import std.uri; import std.array; import std.string; import std.variant; import core.vararg; import std.exception; /// This is a list of features you can allow when using the sanitizedHtml function. enum HtmlFeatures : uint { images = 1, /// The <img> tag links = 2, /// <a href=""> tags css = 4, /// Inline CSS cssLinkedResources = 8, // FIXME: implement this video = 16, /// The html5 <video> tag. autoplay is always stripped out. audio = 32, /// The html5 <audio> tag. autoplay is always stripped out. objects = 64, /// The <object> tag, which can link to many things, including Flash. iframes = 128, /// The <iframe> tag. sandbox and restrict attributes are always added. classes = 256, /// The class="" attribute forms = 512, /// HTML forms } /// The things to allow in links, images, css, and aother urls. /// FIXME: implement this for better flexibility enum UriFeatures : uint { http, /// http:// protocol absolute links https, /// https:// protocol absolute links data, /// data: url links to embed content. On some browsers (old Firefoxes) this was a security concern. ftp, /// ftp:// protocol links relative, /// relative links to the current location. You might want to rebase them. anchors /// #anchor links } string[] htmlTagWhitelist = [ "span", "div", "p", "br", "b", "i", "u", "s", "big", "small", "sub", "sup", "strong", "em", "tt", "blockquote", "cite", "ins", "del", "strike", "ol", "ul", "li", "dl", "dt", "dd", "q", "table", "caption", "tr", "td", "th", "col", "thead", "tbody", "tfoot", "hr", "h1", "h2", "h3", "h4", "h5", "h6", "abbr", "img", "object", "audio", "video", "a", "source", // note that these usually *are* stripped out - see HtmlFeatures- but this lets them get into stage 2 "form", "input", "textarea", "legend", "fieldset", "label", // ditto, but with HtmlFeatures.forms // style isn't here ]; string[] htmlAttributeWhitelist = [ // style isn't here /* if style, expression must be killed all urls must be checked for javascript and/or vbscript imports must be killed */ "style", "colspan", "rowspan", "title", "alt", "class", "href", "src", "type", "name", "id", "method", "enctype", "value", "type", // for forms only FIXME "align", "valign", "width", "height", ]; /// This returns an element wrapping sanitized content, using a whitelist for html tags and attributes, /// and a blacklist for css. Javascript is never allowed. /// /// It scans all URLs it allows and rejects /// /// You can tweak the allowed features with the HtmlFeatures enum. /// /// Note: you might want to use innerText for most user content. This is meant if you want to /// give them a big section of rich text. /// /// userContent should just be a basic div, holding the user's actual content. /// /// FIXME: finish writing this Element sanitizedHtml(/*in*/ Element userContent, string idPrefix = null, HtmlFeatures allow = HtmlFeatures.links | HtmlFeatures.images | HtmlFeatures.css) { auto div = Element.make("div"); div.addClass("sanitized user-content"); auto content = div.appendChild(userContent.cloned); startOver: foreach(e; content.tree) { if(e.nodeType == NodeType.Text) continue; // text nodes are always fine. e.tagName = e.tagName.toLower(); // normalize tag names... if(!(e.tagName.isInArray(htmlTagWhitelist))) { e.stripOut; goto startOver; } if((!(allow & HtmlFeatures.links) && e.tagName == "a")) { e.stripOut; goto startOver; } if((!(allow & HtmlFeatures.video) && e.tagName == "video") ||(!(allow & HtmlFeatures.audio) && e.tagName == "audio") ||(!(allow & HtmlFeatures.objects) && e.tagName == "object") ||(!(allow & HtmlFeatures.iframes) && e.tagName == "iframe") ||(!(allow & HtmlFeatures.forms) && ( e.tagName == "form" || e.tagName == "input" || e.tagName == "textarea" || e.tagName == "label" || e.tagName == "fieldset" || e.tagName == "legend" )) ) { e.innerText = e.innerText; // strips out non-text children e.stripOut; goto startOver; } if(e.tagName == "source" && (e.parentNode is null || e.parentNode.tagName != "video" || e.parentNode.tagName != "audio")) { // source is only allowed in the HTML5 media elements e.stripOut; goto startOver; } if(!(allow & HtmlFeatures.images) && e.tagName == "img") { e.replaceWith(new TextNode(null, e.alt)); continue; // images not allowed are replaced with their alt text } foreach(k, v; e.attributes) { e.removeAttribute(k); k = k.toLower(); if(!(k.isInArray(htmlAttributeWhitelist))) { // not allowed, don't put it back // this space is intentionally left blank } else { // it's allowed but let's make sure it's completely valid if(k == "class" && (allow & HtmlFeatures.classes)) { e.setAttribute("class", v); } else if(k == "id") { if(idPrefix !is null) e.setAttribute(k, idPrefix ~ v); // otherwise, don't allow user IDs } else if(k == "style") { if(allow & HtmlFeatures.css) { e.setAttribute(k, sanitizeCss(v)); } } else if(k == "href" || k == "src") { e.setAttribute(k, sanitizeUrl(v)); } else e.setAttribute(k, v); // allowed attribute } } if(e.tagName == "iframe") { // some additional restrictions for supported browsers e.attrs.security = "restricted"; e.attrs.sandbox = ""; } } return div; } /// Element sanitizedHtml(in Html userContent, string idPrefix = null, HtmlFeatures allow = HtmlFeatures.links | HtmlFeatures.images | HtmlFeatures.css) { auto div = Element.make("div"); div.innerHTML = userContent.source; return sanitizedHtml(div, idPrefix, allow); } string sanitizeCss(string css) { // FIXME: do a proper whitelist here; I should probably bring in the parser from html.d // FIXME: sanitize urls inside too return css.replace("expression", ""); } /// string sanitizeUrl(string url) { // FIXME: support other options; this is more restrictive than it has to be if(url.startsWith("http://") || url.startsWith("https://") || url.startsWith("//")) return url; return null; } /// This is some basic CSS I suggest you copy/paste into your stylesheet /// if you use the sanitizedHtml function. string recommendedBasicCssForUserContent = ` .sanitized.user-content { position: relative; overflow: hidden; } .sanitized.user-content * { max-width: 100%; max-height: 100%; } `; /++ Given arbitrary user input, find links and add `<a href>` wrappers, otherwise just escaping the rest of it for HTML display. +/ Html linkify(string text) { auto div = Element.make("div"); while(text.length) { auto idx = text.indexOf("http"); if(idx == -1) { idx = text.length; } div.appendText(text[0 .. idx]); text = text[idx .. $]; if(text.length) { // where does it end? whitespace I guess auto idxSpace = text.indexOf(" "); if(idxSpace == -1) idxSpace = text.length; auto idxLine = text.indexOf("\n"); if(idxLine == -1) idxLine = text.length; auto idxEnd = idxSpace < idxLine ? idxSpace : idxLine; auto link = text[0 .. idxEnd]; text = text[idxEnd .. $]; div.addChild("a", link, link); } } return Html(div.innerHTML); } /// Given existing encoded HTML, turns \n\n into `<p>`. Html paragraphsToP(Html html) { auto text = html.source; string total; foreach(p; text.split("\n\n")) { total ~= "<p>"; auto lines = p.splitLines; foreach(idx, line; lines) if(line.strip.length) { total ~= line; if(idx != lines.length - 1) total ~= "<br />"; } total ~= "</p>"; } return Html(total); } /// Given user text, converts newlines to `<br>` and encodes the rest. Html nl2br(string text) { auto div = Element.make("div"); bool first = true; foreach(line; splitLines(text)) { if(!first) div.addChild("br"); else first = false; div.appendText(line); } return Html(div.innerHTML); } /// Returns true of the string appears to be html/xml - if it matches the pattern /// for tags or entities. bool appearsToBeHtml(string src) { import std.regex; return cast(bool) match(src, `.*\<[A-Za-z]+>.*`); } /// Get the favicon out of a document, or return the default a browser would attempt if it isn't there. string favicon(Document document) { auto item = document.querySelector("link[rel~=icon]"); if(item !is null) return item.href; return "/favicon.ico"; // it pisses me off that the fucking browsers do this.... but they do, so I will too. } /// Element checkbox(string name, string value, string label, bool checked = false) { auto lbl = Element.make("label"); auto input = lbl.addChild("input"); input.type = "checkbox"; input.name = name; input.value = value; if(checked) input.checked = "checked"; lbl.appendText(" "); lbl.addChild("span", label); return lbl; } /++ Convenience function to create a small <form> to POST, but the creation function is more like a link than a DOM form. The idea is if you have a link to a page which needs to be changed since it is now taking an action, this should provide an easy way to do it. You might want to style these with css. The form these functions create has no class - use regular dom functions to add one. When styling, hit the form itself and form > [type=submit]. (That will cover both input[type=submit] and button[type=submit] - the two possibilities the functions may create.) Param: href: the link. Query params (if present) are converted into hidden form inputs and the rest is used as the form action innerText: the text to show on the submit button params: additional parameters for the form +/ Form makePostLink(string href, string innerText, string[string] params = null) { auto submit = Element.make("input"); submit.type = "submit"; submit.value = innerText; return makePostLink_impl(href, params, submit); } /// Similar to the above, but lets you pass HTML rather than just text. It puts the html inside a <button type="submit"> element. /// /// Using html strings imo generally sucks. I recommend you use plain text or structured Elements instead most the time. Form makePostLink(string href, Html innerHtml, string[string] params = null) { auto submit = Element.make("button"); submit.type = "submit"; submit.innerHTML = innerHtml; return makePostLink_impl(href, params, submit); } /// Like the Html overload, this uses a <button> tag to get fancier with the submit button. The element you pass is appended to the submit button. Form makePostLink(string href, Element submitButtonContents, string[string] params = null) { auto submit = Element.make("button"); submit.type = "submit"; submit.appendChild(submitButtonContents); return makePostLink_impl(href, params, submit); } import arsd.cgi; import std.range; Form makePostLink_impl(string href, string[string] params, Element submitButton) { auto form = require!Form(Element.make("form")); form.method = "POST"; auto idx = href.indexOf("?"); if(idx == -1) { form.action = href; } else { form.action = href[0 .. idx]; foreach(k, arr; decodeVariables(href[idx + 1 .. $])) form.addValueArray(k, arr); } foreach(k, v; params) form.setValue(k, v); form.appendChild(submitButton); return form; } /++ Given an existing link, create a POST item from it. You can use this to do something like: auto e = document.requireSelector("a.should-be-post"); // get my link from the dom e.replaceWith(makePostLink(e)); // replace the link with a nice POST form that otherwise does the same thing It passes all attributes of the link on to the form, though I could be convinced to put some on the submit button instead. ++/ Form makePostLink(Element link) { Form form; if(link.childNodes.length == 1) { auto fc = link.firstChild; if(fc.nodeType == NodeType.Text) form = makePostLink(link.href, fc.nodeValue); else form = makePostLink(link.href, fc); } else { form = makePostLink(link.href, Html(link.innerHTML)); } assert(form !is null); // auto submitButton = form.requireSelector("[type=submit]"); foreach(k, v; link.attributes) { if(k == "href" || k == "action" || k == "method") continue; form.setAttribute(k, v); // carries on class, events, etc. to the form. } return form; } /// Translates validate="" tags to inline javascript. "this" is the thing /// being checked. void translateValidation(Document document) { int count; foreach(f; document.getElementsByTagName("form")) { count++; string formValidation = ""; string fid = f.getAttribute("id"); if(fid is null) { fid = "automatic-form-" ~ to!string(count); f.setAttribute("id", "automatic-form-" ~ to!string(count)); } foreach(i; f.tree) { if(i.tagName != "input" && i.tagName != "select") continue; if(i.getAttribute("id") is null) i.id = "form-input-" ~ i.name; auto validate = i.getAttribute("validate"); if(validate is null) continue; auto valmsg = i.getAttribute("validate-message"); if(valmsg !is null) { i.removeAttribute("validate-message"); valmsg ~= `\n`; } string valThis = ` var currentField = elements['`~i.name~`']; if(!(`~validate.replace("this", "currentField")~`)) { currentField.style.backgroundColor = '#ffcccc'; if(typeof failedMessage != 'undefined') failedMessage += '`~valmsg~`'; if(failed == null) { failed = currentField; } if('`~valmsg~`' != '') { var msgId = '`~i.name~`-valmsg'; var msgHolder = document.getElementById(msgId); if(!msgHolder) { msgHolder = document.createElement('div'); msgHolder.className = 'validation-message'; msgHolder.id = msgId; msgHolder.innerHTML = '<br />'; msgHolder.appendChild(document.createTextNode('`~valmsg~`')); var ele = currentField; ele.parentNode.appendChild(msgHolder); } } } else { currentField.style.backgroundColor = '#ffffff'; var msgId = '`~i.name~`-valmsg'; var msgHolder = document.getElementById(msgId); if(msgHolder) msgHolder.innerHTML = ''; }`; formValidation ~= valThis; string oldOnBlur = i.getAttribute("onblur"); i.setAttribute("onblur", ` var form = document.getElementById('`~fid~`'); var failed = null; with(form) { `~valThis~` } ` ~ oldOnBlur); i.removeAttribute("validate"); } if(formValidation != "") { auto os = f.getAttribute("onsubmit"); f.attrs.onsubmit = `var failed = null; var failedMessage = ''; with(this) { ` ~ formValidation ~ '\n' ~ ` if(failed != null) { alert('Please complete all required fields.\n' + failedMessage); failed.focus(); return false; } `~os~` return true; }`; } } } /// makes input[type=date] to call displayDatePicker with a button void translateDateInputs(Document document) { foreach(e; document.getElementsByTagName("input")) { auto type = e.getAttribute("type"); if(type is null) continue; if(type == "date") { auto name = e.getAttribute("name"); assert(name !is null); auto button = document.createElement("button"); button.type = "button"; button.attrs.onclick = "displayDatePicker('"~name~"');"; button.innerText = "Choose..."; e.parentNode.insertChildAfter(button, e); e.type = "text"; e.setAttribute("class", "date"); } } } /// finds class="striped" and adds class="odd"/class="even" to the relevant /// children void translateStriping(Document document) { foreach(item; document.querySelectorAll(".striped")) { bool odd = false; string selector; switch(item.tagName) { case "ul": case "ol": selector = "> li"; break; case "table": selector = "> tbody > tr"; break; case "tbody": selector = "> tr"; break; default: selector = "> *"; } foreach(e; item.getElementsBySelector(selector)) { if(odd) e.addClass("odd"); else e.addClass("even"); odd = !odd; } } } /// tries to make an input to filter a list. it kinda sucks. void translateFiltering(Document document) { foreach(e; document.querySelectorAll("input[filter_what]")) { auto filterWhat = e.attrs.filter_what; if(filterWhat[0] == '#') filterWhat = filterWhat[1..$]; auto fw = document.getElementById(filterWhat); assert(fw !is null); foreach(a; fw.getElementsBySelector(e.attrs.filter_by)) { a.addClass("filterable_content"); } e.removeAttribute("filter_what"); e.removeAttribute("filter_by"); e.attrs.onkeydown = e.attrs.onkeyup = ` var value = this.value; var a = document.getElementById("`~filterWhat~`"); var children = a.childNodes; for(var b = 0; b < children.length; b++) { var child = children[b]; if(child.nodeType != 1) continue; var spans = child.getElementsByTagName('span'); // FIXME for(var i = 0; i < spans.length; i++) { var span = spans[i]; if(hasClass(span, "filterable_content")) { if(value.length && span.innerHTML.match(RegExp(value, "i"))) { // FIXME addClass(child, "good-match"); removeClass(child, "bad-match"); //if(!got) { // holder.scrollTop = child.offsetTop; // got = true; //} } else { removeClass(child, "good-match"); if(value.length) addClass(child, "bad-match"); else removeClass(child, "bad-match"); } } } } `; } } enum TextWrapperWhitespaceBehavior { wrap, ignore, stripOut } /// This wraps every non-empty text mode in the document body with /// <t:t></t:t>, and sets an xmlns:t to the html root. /// /// If you use it, be sure it's the last thing you do before /// calling toString /// /// Why would you want this? Because CSS sucks. If it had a /// :text pseudoclass, we'd be right in business, but it doesn't /// so we'll hack it with this custom tag. /// /// It's in an xml namespace so it should affect or be affected by /// your existing code, while maintaining excellent browser support. /// /// To style it, use myelement > t\:t { style here } in your css. /// /// Note: this can break the css adjacent sibling selector, first-child, /// and other structural selectors. For example, if you write /// <span>hello</span> <span>world</span>, normally, css span + span would /// select "world". But, if you call wrapTextNodes, there's a <t:t> in the /// middle.... so now it no longer matches. /// /// Of course, it can also have an effect on your javascript, especially, /// again, when working with siblings or firstChild, etc. /// /// You must handle all this yourself, which may limit the usefulness of this /// function. /// /// The second parameter, whatToDoWithWhitespaceNodes, tries to mitigate /// this somewhat by giving you some options about what to do with text /// nodes that consist of nothing but whitespace. /// /// You can: wrap them, like all other text nodes, you can ignore /// them entirely, leaving them unwrapped, and in the document normally, /// or you can use stripOut to remove them from the document. /// /// Beware with stripOut: <span>you</span> <span>rock</span> -- that space /// between the spans is a text node of nothing but whitespace, so it would /// be stripped out - probably not what you want! /// /// ignore is the default, since this should break the least of your /// expectations with document structure, while still letting you use this /// function. void wrapTextNodes(Document document, TextWrapperWhitespaceBehavior whatToDoWithWhitespaceNodes = TextWrapperWhitespaceBehavior.ignore) { enum ourNamespace = "t"; enum ourTag = ourNamespace ~ ":t"; document.root.setAttribute("xmlns:" ~ ourNamespace, null); foreach(e; document.mainBody.tree) { if(e.tagName == "script") continue; if(e.nodeType != NodeType.Text) continue; auto tn = cast(TextNode) e; if(tn is null) continue; if(tn.contents.length == 0) continue; if(tn.parentNode !is null && tn.parentNode.tagName == ourTag) { // this is just a sanity check to make sure // we don't double wrap anything continue; } final switch(whatToDoWithWhitespaceNodes) { case TextWrapperWhitespaceBehavior.wrap: break; // treat it like all other text case TextWrapperWhitespaceBehavior.stripOut: // if it's actually whitespace... if(tn.contents.strip().length == 0) { tn.removeFromTree(); continue; } break; case TextWrapperWhitespaceBehavior.ignore: // if it's actually whitespace... if(tn.contents.strip().length == 0) continue; } tn.replaceWith(Element.make(ourTag, tn.contents)); } } void translateInputTitles(Document document) { translateInputTitles(document.root); } /// find <input> elements with a title. Make the title the default internal content void translateInputTitles(Element rootElement) { foreach(form; rootElement.getElementsByTagName("form")) { string os; foreach(e; form.getElementsBySelector("input[type=text][title], input[type=email][title], textarea[title]")) { if(e.hasClass("has-placeholder")) continue; e.addClass("has-placeholder"); e.attrs.onfocus = e.attrs.onfocus ~ ` removeClass(this, 'default'); if(this.value == this.getAttribute('title')) this.value = ''; `; e.attrs.onblur = e.attrs.onblur ~ ` if(this.value == '') { addClass(this, 'default'); this.value = this.getAttribute('title'); } `; os ~= ` temporaryItem = this.elements["`~e.name~`"]; if(temporaryItem.value == temporaryItem.getAttribute('title')) temporaryItem.value = ''; `; if(e.tagName == "input") { if(e.value == "") { e.attrs.value = e.attrs.title; e.addClass("default"); } } else { if(e.innerText.length == 0) { e.innerText = e.attrs.title; e.addClass("default"); } } } form.attrs.onsubmit = os ~ form.attrs.onsubmit; } } /// Adds some script to run onload /// FIXME: not implemented void addOnLoad(Document document) { } mixin template opDispatches(R) { auto opDispatch(string fieldName)(...) { if(_arguments.length == 0) { // a zero argument function call OR a getter.... // we can't tell which for certain, so assume getter // since they can always use the call method on the returned // variable static if(is(R == Variable)) { auto v = *(new Variable(name ~ "." ~ fieldName, group)); } else { auto v = *(new Variable(fieldName, vars)); } return v; } else { // we have some kind of assignment, but no help from the // compiler to get the type of assignment... // FIXME: once Variant is able to handle this, use it! static if(is(R == Variable)) { auto v = *(new Variable(this.name ~ "." ~ name, group)); } else auto v = *(new Variable(fieldName, vars)); string attempt(string type) { return `if(_arguments[0] == typeid(`~type~`)) v = va_arg!(`~type~`)(_argptr);`; } mixin(attempt("int")); mixin(attempt("string")); mixin(attempt("double")); mixin(attempt("Element")); mixin(attempt("ClientSideScript.Variable")); mixin(attempt("real")); mixin(attempt("long")); return v; } } auto opDispatch(string fieldName, T...)(T t) if(T.length != 0) { static if(is(R == Variable)) { auto tmp = group.codes.pop; scope(exit) group.codes.push(tmp); return *(new Variable(callFunction(name ~ "." ~ fieldName, t).toString[1..$-2], group)); // cut off the ending ;\n } else { return *(new Variable(callFunction(fieldName, t).toString, vars)); } } } /** This wraps up a bunch of javascript magic. It doesn't actually parse or run it - it just collects it for attachment to a DOM document. When it returns a variable, it returns it as a string suitable for output into Javascript source. auto js = new ClientSideScript; js.myvariable = 10; js.somefunction = ClientSideScript.Function( js.block = { js.alert("hello"); auto a = "asds"; js.alert(a, js.somevar); }; Translates into javascript: alert("hello"); alert("asds", somevar); The passed code is evaluated lazily. */ /+ class ClientSideScript : Element { private Stack!(string*) codes; this(Document par) { codes = new Stack!(string*); vars = new VariablesGroup; vars.codes = codes; super(par, "script"); } string name; struct Source { string source; string toString() { return source; } } void innerCode(void delegate() theCode) { myCode = theCode; } override void innerRawSource(string s) { myCode = null; super.innerRawSource(s); } private void delegate() myCode; override string toString() const { auto HACK = cast(ClientSideScript) this; if(HACK.myCode) { string code; HACK.codes.push(&code); HACK.myCode(); HACK.codes.pop(); HACK.innerRawSource = "\n" ~ code; } return super.toString(); } enum commitCode = ` if(!codes.empty) { auto magic = codes.peek; (*magic) ~= code; }`; struct Variable { string name; VariablesGroup group; // formats it for use in an inline event handler string inline() { return name.replace("\t", ""); } this(string n, VariablesGroup g) { name = n; group = g; } Source set(T)(T t) { string code = format("\t%s = %s;\n", name, toJavascript(t)); if(!group.codes.empty) { auto magic = group.codes.peek; (*magic) ~= code; } //Variant v = t; //group.repository[name] = v; return Source(code); } Variant _get() { return (group.repository)[name]; } Variable doAssignCode(string code) { if(!group.codes.empty) { auto magic = group.codes.peek; (*magic) ~= "\t" ~ code ~ ";\n"; } return * ( new Variable(code, group) ); } Variable opSlice(size_t a, size_t b) { return * ( new Variable(name ~ ".substring("~to!string(a) ~ ", " ~ to!string(b)~")", group) ); } Variable opBinary(string op, T)(T rhs) { return * ( new Variable(name ~ " " ~ op ~ " " ~ toJavascript(rhs), group) ); } Variable opOpAssign(string op, T)(T rhs) { return doAssignCode(name ~ " " ~ op ~ "= " ~ toJavascript(rhs)); } Variable opIndex(T)(T i) { return * ( new Variable(name ~ "[" ~ toJavascript(i) ~ "]" , group) ); } Variable opIndexOpAssign(string op, T, R)(R rhs, T i) { return doAssignCode(name ~ "[" ~ toJavascript(i) ~ "] " ~ op ~ "= " ~ toJavascript(rhs)); } Variable opIndexAssign(T, R)(R rhs, T i) { return doAssignCode(name ~ "[" ~ toJavascript(i) ~ "]" ~ " = " ~ toJavascript(rhs)); } Variable opUnary(string op)() { return * ( new Variable(op ~ name, group) ); } void opAssign(T)(T rhs) { set(rhs); } // used to call with zero arguments Source call() { string code = "\t" ~ name ~ "();\n"; if(!group.codes.empty) { auto magic = group.codes.peek; (*magic) ~= code; } return Source(code); } mixin opDispatches!(Variable); // returns code to call a function Source callFunction(T...)(string name, T t) { string code = "\t" ~ name ~ "("; bool outputted = false; foreach(v; t) { if(outputted) code ~= ", "; else outputted = true; code ~= toJavascript(v); } code ~= ");\n"; if(!group.codes.empty) { auto magic = group.codes.peek; (*magic) ~= code; } return Source(code); } } // this exists only to allow easier access class VariablesGroup { /// If the variable is a function, we call it. If not, we return the source @property Variable opDispatch(string name)() { return * ( new Variable(name, this) ); } Variant[string] repository; Stack!(string*) codes; } VariablesGroup vars; mixin opDispatches!(ClientSideScript); // returns code to call a function Source callFunction(T...)(string name, T t) { string code = "\t" ~ name ~ "("; bool outputted = false; foreach(v; t) { if(outputted) code ~= ", "; else outputted = true; code ~= toJavascript(v); } code ~= ");\n"; mixin(commitCode); return Source(code); } Variable thisObject() { return Variable("this", vars); } Source setVariable(T)(string var, T what) { auto v = Variable(var, vars); return v.set(what); } Source appendSource(string code) { mixin(commitCode); return Source(code); } ref Variable var(string name) { string code = "\tvar " ~ name ~ ";\n"; mixin(commitCode); auto v = new Variable(name, vars); return *v; } } +/ /* Interesting things with scripts: set script value with ease get a script value we've already set set script functions set script events call a script on pageload document.scripts set styles get style precedence get style thing */ import std.conv; /+ void main() { auto document = new Document("<lol></lol>"); auto js = new ClientSideScript(document); auto ele = document.createElement("a"); document.root.appendChild(ele); int dInt = 50; js.innerCode = { js.var("funclol") = "hello, world"; // local variable definition js.funclol = "10"; // parens are (currently) required when setting js.funclol = 10; // works with a variety of basic types js.funclol = 10.4; js.funclol = js.rofl; // can also set to another js variable js.setVariable("name", [10, 20]); // try setVariable for complex types js.setVariable("name", 100); // it can also set with strings for names js.alert(js.funclol, dInt); // call functions with js and D arguments js.funclol().call; // to call without arguments, use the call method js.funclol(10); // calling with arguments looks normal js.funclol(10, "20"); // including multiple, varied arguments js.myelement = ele; // works with DOM references too js.a = js.b + js.c; // some operators work too js.a() += js.d; // for some ops, you need the parens to please the compiler js.o = js.b[10]; // indexing works too js.e[10] = js.a; // so does index assign js.e[10] += js.a; // and index op assign... js.eles = js.document.getElementsByTagName("as"); // js objects are accessible too js.aaa = js.document.rofl.copter; // arbitrary depth js.ele2 = js.myelement; foreach(i; 0..5) // loops are done on the server - it may be unrolled js.a() += js.w; // in the script outputted, or not work properly... js.one = js.a[0..5]; js.math = js.a + js.b - js.c; // multiple things work too js.math = js.a + (js.b - js.c); // FIXME: parens to NOT work. js.math = js.s + 30; // and math with literals js.math = js.s + (40 + dInt) - 10; // and D variables, which may be // optimized by the D compiler with parens }; write(js.toString); } +/ import std.stdio; // helper for json import std.json; import std.traits; /+ string toJavascript(T)(T a) { static if(is(T == ClientSideScript.Variable)) { return a.name; } else static if(is(T : Element)) { if(a is null) return "null"; if(a.id.length == 0) { static int count; a.id = "javascript-referenced-element-" ~ to!string(++count); } return `document.getElementById("`~ a.id ~`")`; } else { auto jsonv = toJsonValue(a); return toJSON(&jsonv); } } import arsd.web; // for toJsonValue /+ string passthrough(string d)() { return d; } string dToJs(string d)(Document document) { auto js = new ClientSideScript(document); mixin(passthrough!(d)()); return js.toString(); } string translateJavascriptSourceWithDToStandardScript(string src)() { // blocks of D { /* ... */ } are executed. Comments should work but // don't. int state = 0; int starting = 0; int ending = 0; int startingString = 0; int endingString = 0; int openBraces = 0; string result; Document document = new Document("<root></root>"); foreach(i, c; src) { switch(state) { case 0: if(c == 'D') { endingString = i; state++; } break; case 1: if(c == ' ') { state++; } else { state = 0; } break; case 2: if(c == '{') { state++; starting = i; openBraces = 1; } else { state = 0; } break; case 3: // We're inside D if(c == '{') openBraces++; if(c == '}') { openBraces--; if(openBraces == 0) { state = 0; ending = i + 1; // run some D.. string str = src[startingString .. endingString]; startingString = i + 1; string d = src[starting .. ending]; result ~= str; //result ~= dToJs!(d)(document); result ~= "/* " ~ d ~ " */"; } } break; } } result ~= src[startingString .. $]; return result; } +/ +/ abstract class CssPart { string comment; override string toString() const; CssPart clone() const; } class CssAtRule : CssPart { this() {} this(ref string css) { assert(css.length); assert(css[0] == '@'); auto cssl = css.length; int braceCount = 0; int startOfInnerSlice = -1; foreach(i, c; css) { if(braceCount == 0 && c == ';') { content = css[0 .. i + 1]; css = css[i + 1 .. $]; opener = content; break; } if(c == '{') { braceCount++; if(startOfInnerSlice == -1) startOfInnerSlice = cast(int) i; } if(c == '}') { braceCount--; if(braceCount < 0) throw new Exception("Bad CSS: mismatched }"); if(braceCount == 0) { opener = css[0 .. startOfInnerSlice]; inner = css[startOfInnerSlice + 1 .. i]; content = css[0 .. i + 1]; css = css[i + 1 .. $]; break; } } } if(cssl == css.length) { throw new Exception("Bad CSS: unclosed @ rule. " ~ to!string(braceCount) ~ " brace(s) uncloced"); } innerParts = lexCss(inner, false); } string content; string opener; string inner; CssPart[] innerParts; override CssAtRule clone() const { auto n = new CssAtRule(); n.content = content; n.opener = opener; n.inner = inner; foreach(part; innerParts) n.innerParts ~= part.clone(); return n; } override string toString() const { string c; if(comment.length) c ~= "/* " ~ comment ~ "*/\n"; c ~= opener.strip(); if(innerParts.length) { string i; foreach(part; innerParts) i ~= part.toString() ~ "\n"; c ~= " {\n"; foreach(line; i.splitLines) c ~= "\t" ~ line ~ "\n"; c ~= "}"; } return c; } } class CssRuleSet : CssPart { this() {} this(ref string css) { auto idx = css.indexOf("{"); assert(idx != -1); foreach(selector; css[0 .. idx].split(",")) selectors ~= selector.strip; css = css[idx .. $]; int braceCount = 0; string content; size_t f = css.length; foreach(i, c; css) { if(c == '{') braceCount++; if(c == '}') { braceCount--; if(braceCount == 0) { f = i; break; } } } content = css[1 .. f]; // skipping the { if(f < css.length && css[f] == '}') f++; css = css[f .. $]; contents = lexCss(content, false); } string[] selectors; CssPart[] contents; override CssRuleSet clone() const { auto n = new CssRuleSet(); n.selectors = selectors.dup; foreach(part; contents) n.contents ~= part.clone(); return n; } CssRuleSet[] deNest(CssRuleSet outer = null) const { CssRuleSet[] ret; CssRuleSet levelOne = new CssRuleSet(); ret ~= levelOne; if(outer is null) levelOne.selectors = selectors.dup; else { foreach(outerSelector; outer.selectors.length ? outer.selectors : [""]) foreach(innerSelector; selectors) { /* it would be great to do a top thing and a bottom, examples: .awesome, .awesome\& { .something img {} } should give: .awesome .something img, .awesome.something img { } And also \&.cool { .something img {} } should give: .something img.cool {} OR some such syntax. The idea though is it will ONLY apply to end elements with that particular class. Why is this good? We might be able to isolate the css more for composited files. idk though. */ /+ // FIXME: this implementation is useless, but the idea of allowing combinations at the top level rox. if(outerSelector.length > 2 && outerSelector[$-2] == '\\' && outerSelector[$-1] == '&') { // the outer one is an adder... so we always want to paste this on, and if the inner has it, collapse it if(innerSelector.length > 2 && innerSelector[0] == '\\' && innerSelector[1] == '&') levelOne.selectors ~= outerSelector[0 .. $-2] ~ innerSelector[2 .. $]; else levelOne.selectors ~= outerSelector[0 .. $-2] ~ innerSelector; } else +/ // we want to have things like :hover, :before, etc apply without implying // a descendant. // If you want it to be a descendant pseudoclass, use the *:something - the // wildcard tag - instead of just a colon. // But having this is too useful to ignore. if(innerSelector.length && innerSelector[0] == ':') levelOne.selectors ~= outerSelector ~ innerSelector; // we also allow \&something to get them concatenated else if(innerSelector.length > 2 && innerSelector[0] == '\\' && innerSelector[1] == '&') levelOne.selectors ~= outerSelector ~ innerSelector[2 .. $].strip; else levelOne.selectors ~= outerSelector ~ " " ~ innerSelector; // otherwise, use some other operator... } } foreach(part; contents) { auto set = cast(CssRuleSet) part; if(set is null) levelOne.contents ~= part.clone(); else { // actually gotta de-nest this ret ~= set.deNest(levelOne); } } return ret; } override string toString() const { string ret; if(comment.length) ret ~= "/* " ~ comment ~ "*/\n"; bool outputtedSelector = false; foreach(selector; selectors) { if(outputtedSelector) ret ~= ", "; else outputtedSelector = true; ret ~= selector; } ret ~= " {\n"; foreach(content; contents) { auto str = content.toString(); if(str.length) str = "\t" ~ str.replace("\n", "\n\t") ~ "\n"; ret ~= str; } ret ~= "}"; return ret; } } class CssRule : CssPart { this() {} this(ref string css, int endOfStatement) { content = css[0 .. endOfStatement]; if(endOfStatement < css.length && css[endOfStatement] == ';') endOfStatement++; css = css[endOfStatement .. $]; } // note: does not include the ending semicolon string content; string key() const { auto idx = content.indexOf(":"); if(idx == -1) throw new Exception("Bad css, missing colon in " ~ content); return content[0 .. idx].strip.toLower; } string value() const { auto idx = content.indexOf(":"); if(idx == -1) throw new Exception("Bad css, missing colon in " ~ content); return content[idx + 1 .. $].strip; } override CssRule clone() const { auto n = new CssRule(); n.content = content; return n; } override string toString() const { string ret; if(strip(content).length == 0) ret = ""; else ret = key ~ ": " ~ value ~ ";"; if(comment.length) ret ~= " /* " ~ comment ~ " */"; return ret; } } // Never call stripComments = false unless you have already stripped them. // this thing can't actually handle comments intelligently. CssPart[] lexCss(string css, bool stripComments = true) { if(stripComments) { import std.regex; css = std.regex.replace(css, regex(r"\/\*[^*]*\*+([^/*][^*]*\*+)*\/", "g"), ""); } CssPart[] ret; css = css.stripLeft(); int cnt; while(css.length > 1) { CssPart p; if(css[0] == '@') { p = new CssAtRule(css); } else { // non-at rules can be either rules or sets. // The question is: which comes first, the ';' or the '{' ? auto endOfStatement = css.indexOfCssSmart(';'); if(endOfStatement == -1) endOfStatement = css.indexOf("}"); if(endOfStatement == -1) endOfStatement = css.length; auto beginningOfBlock = css.indexOf("{"); if(beginningOfBlock == -1 || endOfStatement < beginningOfBlock) p = new CssRule(css, cast(int) endOfStatement); else p = new CssRuleSet(css); } assert(p !is null); ret ~= p; css = css.stripLeft(); } return ret; } // This needs to skip characters inside parens or quotes, so it // doesn't trip up on stuff like data uris when looking for a terminating // character. ptrdiff_t indexOfCssSmart(string i, char find) { int parenCount; char quote; bool escaping; foreach(idx, ch; i) { if(escaping) { escaping = false; continue; } if(quote != char.init) { if(ch == quote) quote = char.init; continue; } if(ch == '\'' || ch == '"') { quote = ch; continue; } if(ch == '(') parenCount++; if(parenCount) { if(ch == ')') parenCount--; continue; } // at this point, we are not in parenthesis nor are we in // a quote, so we can actually search for the relevant character if(ch == find) return idx; } return -1; } string cssToString(in CssPart[] css) { string ret; foreach(c; css) { if(ret.length) { if(ret[$ -1] == '}') ret ~= "\n\n"; else ret ~= "\n"; } ret ~= c.toString(); } return ret; } /// Translates nested css const(CssPart)[] denestCss(CssPart[] css) { CssPart[] ret; foreach(part; css) { auto at = cast(CssAtRule) part; if(at is null) { auto set = cast(CssRuleSet) part; if(set is null) ret ~= part; else { ret ~= set.deNest(); } } else { // at rules with content may be denested at the top level... // FIXME: is this even right all the time? if(at.inner.length) { auto newCss = at.opener ~ "{\n"; // the whitespace manipulations are just a crude indentation thing newCss ~= "\t" ~ (cssToString(denestCss(lexCss(at.inner, false))).replace("\n", "\n\t").replace("\n\t\n\t", "\n\n\t")); newCss ~= "\n}"; ret ~= new CssAtRule(newCss); } else { ret ~= part; // no inner content, nothing special needed } } } return ret; } /* Forms: ¤var ¤lighten(¤foreground, 0.5) ¤lighten(¤foreground, 0.5); -- exactly one semicolon shows up at the end ¤var(something, something_else) { final argument } ¤function { argument } Possible future: Recursive macros: ¤define(li) { <li>¤car</li> list(¤cdr) } ¤define(list) { ¤li(¤car) } car and cdr are borrowed from lisp... hmm do i really want to do this... But if the only argument is cdr, and it is empty the function call is cancelled. This lets you do some looping. hmmm easier would be ¤loop(macro_name, args...) { body } when you call loop, it calls the macro as many times as it can for the given args, and no more. Note that set is a macro; it doesn't expand it's arguments. To force expansion, use echo (or expand?) on the argument you set. */ // Keep in mind that this does not understand comments! class MacroExpander { dstring delegate(dstring[])[dstring] functions; dstring[dstring] variables; /// This sets a variable inside the macro system void setValue(string key, string value) { variables[to!dstring(key)] = to!dstring(value); } struct Macro { dstring name; dstring[] args; dstring definition; } Macro[dstring] macros; // FIXME: do I want user defined functions or something? this() { functions["get"] = &get; functions["set"] = &set; functions["define"] = &define; functions["loop"] = &loop; functions["echo"] = delegate dstring(dstring[] args) { dstring ret; bool outputted; foreach(arg; args) { if(outputted) ret ~= ", "; else outputted = true; ret ~= arg; } return ret; }; functions["uriEncode"] = delegate dstring(dstring[] args) { return to!dstring(std.uri.encodeComponent(to!string(args[0]))); }; functions["test"] = delegate dstring(dstring[] args) { assert(0, to!string(args.length) ~ " args: " ~ to!string(args)); }; functions["include"] = &include; } string[string] includeFiles; dstring include(dstring[] args) { string s; foreach(arg; args) { string lol = to!string(arg); s ~= to!string(includeFiles[lol]); } return to!dstring(s); } // the following are used inside the user text dstring define(dstring[] args) { enforce(args.length > 1, "requires at least a macro name and definition"); Macro m; m.name = args[0]; if(args.length > 2) m.args = args[1 .. $ - 1]; m.definition = args[$ - 1]; macros[m.name] = m; return null; } dstring set(dstring[] args) { enforce(args.length == 2, "requires two arguments. got " ~ to!string(args)); variables[args[0]] = args[1]; return ""; } dstring get(dstring[] args) { enforce(args.length == 1); if(args[0] !in variables) return ""; return variables[args[0]]; } dstring loop(dstring[] args) { enforce(args.length > 1, "must provide a macro name and some arguments"); auto m = macros[args[0]]; args = args[1 .. $]; dstring returned; size_t iterations = args.length; if(m.args.length != 0) iterations = (args.length + m.args.length - 1) / m.args.length; foreach(i; 0 .. iterations) { returned ~= expandMacro(m, args); if(m.args.length < args.length) args = args[m.args.length .. $]; else args = null; } return returned; } /// Performs the expansion string expand(string srcutf8) { auto src = expand(to!dstring(srcutf8)); return to!string(src); } private int depth = 0; /// ditto dstring expand(dstring src) { return expandImpl(src, null); } // FIXME: the order of evaluation shouldn't matter. Any top level sets should be run // before anything is expanded. private dstring expandImpl(dstring src, dstring[dstring] localVariables) { depth ++; if(depth > 10) throw new Exception("too much recursion depth in macro expansion"); bool doneWithSetInstructions = false; // this is used to avoid double checks each loop for(;;) { // we do all the sets first since the latest one is supposed to be used site wide. // this allows a later customization to apply to the entire document. auto idx = doneWithSetInstructions ? -1 : src.indexOf("¤set"); if(idx == -1) { doneWithSetInstructions = true; idx = src.indexOf("¤"); } if(idx == -1) { depth--; return src; } // the replacement goes // src[0 .. startingSliceForReplacement] ~ new ~ src[endingSliceForReplacement .. $]; sizediff_t startingSliceForReplacement, endingSliceForReplacement; dstring functionName; dstring[] arguments; bool addTrailingSemicolon; startingSliceForReplacement = idx; // idx++; // because the star in UTF 8 is two characters. FIXME: hack -- not needed thx to dstrings auto possibility = src[idx + 1 .. $]; size_t argsBegin; bool found = false; foreach(i, c; possibility) { if(!( // valid identifiers (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '_' )) { // not a valid identifier means // we're done reading the name functionName = possibility[0 .. i]; argsBegin = i; found = true; break; } } if(!found) { functionName = possibility; argsBegin = possibility.length; } auto endOfVariable = argsBegin + idx + 1; // this is the offset into the original source bool checkForAllArguments = true; moreArguments: assert(argsBegin); endingSliceForReplacement = argsBegin + idx + 1; while( argsBegin < possibility.length && ( possibility[argsBegin] == ' ' || possibility[argsBegin] == '\t' || possibility[argsBegin] == '\n' || possibility[argsBegin] == '\r')) { argsBegin++; } if(argsBegin == possibility.length) { endingSliceForReplacement = src.length; goto doReplacement; } switch(possibility[argsBegin]) { case '(': if(!checkForAllArguments) goto doReplacement; // actually parsing the arguments size_t currentArgumentStarting = argsBegin + 1; int open; bool inQuotes; bool inTicks; bool justSawBackslash; foreach(i, c; possibility[argsBegin .. $]) { if(c == '`') inTicks = !inTicks; if(inTicks) continue; if(!justSawBackslash && c == '"') inQuotes = !inQuotes; if(c == '\\') justSawBackslash = true; else justSawBackslash = false; if(inQuotes) continue; if(open == 1 && c == ',') { // don't want to push a nested argument incorrectly... // push the argument arguments ~= possibility[currentArgumentStarting .. i + argsBegin]; currentArgumentStarting = argsBegin + i + 1; } if(c == '(') open++; if(c == ')') { open--; if(open == 0) { // push the last argument arguments ~= possibility[currentArgumentStarting .. i + argsBegin]; endingSliceForReplacement = argsBegin + idx + 1 + i; argsBegin += i + 1; break; } } } // then see if there's a { argument too checkForAllArguments = false; goto moreArguments; case '{': // find the match int open; foreach(i, c; possibility[argsBegin .. $]) { if(c == '{') open ++; if(c == '}') { open --; if(open == 0) { // cutting off the actual braces here arguments ~= possibility[argsBegin + 1 .. i + argsBegin]; // second +1 is there to cut off the } endingSliceForReplacement = argsBegin + idx + 1 + i + 1; argsBegin += i + 1; break; } } } goto doReplacement; default: goto doReplacement; } doReplacement: if(endingSliceForReplacement < src.length && src[endingSliceForReplacement] == ';') { endingSliceForReplacement++; addTrailingSemicolon = true; // don't want a doubled semicolon // FIXME: what if it's just some whitespace after the semicolon? should that be // stripped or no? } foreach(ref argument; arguments) { argument = argument.strip(); if(argument.length > 2 && argument[0] == '`' && argument[$-1] == '`') argument = argument[1 .. $ - 1]; // strip ticks here else if(argument.length > 2 && argument[0] == '"' && argument[$-1] == '"') argument = argument[1 .. $ - 1]; // strip quotes here // recursive macro expanding // these need raw text, since they expand later. FIXME: should it just be a list of functions? if(functionName != "define" && functionName != "quote" && functionName != "set") argument = this.expandImpl(argument, localVariables); } dstring returned = ""; if(functionName in localVariables) { /* if(functionName == "_head") returned = arguments[0]; else if(functionName == "_tail") returned = arguments[1 .. $]; else */ returned = localVariables[functionName]; } else if(functionName in functions) returned = functions[functionName](arguments); else if(functionName in variables) { returned = variables[functionName]; // FIXME // we also need to re-attach the arguments array, since variable pulls can't have args assert(endOfVariable > startingSliceForReplacement); endingSliceForReplacement = endOfVariable; } else if(functionName in macros) { returned = expandMacro(macros[functionName], arguments); } if(addTrailingSemicolon && returned.length > 1 && returned[$ - 1] != ';') returned ~= ";"; src = src[0 .. startingSliceForReplacement] ~ returned ~ src[endingSliceForReplacement .. $]; } assert(0); // not reached } dstring expandMacro(Macro m, dstring[] arguments) { dstring[dstring] locals; foreach(i, arg; m.args) { if(i == arguments.length) break; locals[arg] = arguments[i]; } return this.expandImpl(m.definition, locals); } } class CssMacroExpander : MacroExpander { this() { super(); functions["prefixed"] = &prefixed; functions["lighten"] = &(colorFunctionWrapper!lighten); functions["darken"] = &(colorFunctionWrapper!darken); functions["moderate"] = &(colorFunctionWrapper!moderate); functions["extremify"] = &(colorFunctionWrapper!extremify); functions["makeTextColor"] = &(oneArgColorFunctionWrapper!makeTextColor); functions["oppositeLightness"] = &(oneArgColorFunctionWrapper!oppositeLightness); functions["rotateHue"] = &(colorFunctionWrapper!rotateHue); functions["saturate"] = &(colorFunctionWrapper!saturate); functions["desaturate"] = &(colorFunctionWrapper!desaturate); functions["setHue"] = &(colorFunctionWrapper!setHue); functions["setSaturation"] = &(colorFunctionWrapper!setSaturation); functions["setLightness"] = &(colorFunctionWrapper!setLightness); } // prefixed(border-radius: 12px); dstring prefixed(dstring[] args) { dstring ret; foreach(prefix; ["-moz-"d, "-webkit-"d, "-o-"d, "-ms-"d, "-khtml-"d, ""d]) ret ~= prefix ~ args[0] ~ ";"; return ret; } /// Runs the macro expansion but then a CSS densesting string expandAndDenest(string cssSrc) { return cssToString(denestCss(lexCss(this.expand(cssSrc)))); } // internal things dstring colorFunctionWrapper(alias func)(dstring[] args) { auto color = readCssColor(to!string(args[0])); auto percentage = readCssNumber(args[1]); return "#"d ~ to!dstring(func(color, percentage).toString()); } dstring oneArgColorFunctionWrapper(alias func)(dstring[] args) { auto color = readCssColor(to!string(args[0])); return "#"d ~ to!dstring(func(color).toString()); } } real readCssNumber(dstring s) { s = s.replace(" "d, ""d); if(s.length == 0) return 0; if(s[$-1] == '%') return (to!real(s[0 .. $-1]) / 100f); return to!real(s); } import std.format; class JavascriptMacroExpander : MacroExpander { this() { super(); functions["foreach"] = &foreachLoop; } /** ¤foreach(item; array) { // code } so arg0 .. argn-1 is the stuff inside. Conc */ int foreachLoopCounter; dstring foreachLoop(dstring[] args) { enforce(args.length >= 2, "foreach needs parens and code"); dstring parens; bool outputted = false; foreach(arg; args[0 .. $ - 1]) { if(outputted) parens ~= ", "; else outputted = true; parens ~= arg; } dstring variableName, arrayName; auto it = parens.split(";"); variableName = it[0].strip; arrayName = it[1].strip; dstring insideCode = args[$-1]; dstring iteratorName; iteratorName = "arsd_foreach_loop_counter_"d ~ to!dstring(++foreachLoopCounter); dstring temporaryName = "arsd_foreach_loop_temporary_"d ~ to!dstring(++foreachLoopCounter); auto writer = appender!dstring(); formattedWrite(writer, " var %2$s = %5$s; if(%2$s != null) for(var %1$s = 0; %1$s < %2$s.length; %1$s++) { var %3$s = %2$s[%1$s]; %4$s }"d, iteratorName, temporaryName, variableName, insideCode, arrayName); auto code = writer.data; return to!dstring(code); } } string beautifyCss(string css) { css = css.replace(":", ": "); css = css.replace(": ", ": "); css = css.replace("{", " {\n\t"); css = css.replace(";", ";\n\t"); css = css.replace("\t}", "}\n\n"); return css.strip; } int fromHex(string s) { int result = 0; int exp = 1; foreach(c; retro(s)) { if(c >= 'A' && c <= 'F') result += exp * (c - 'A' + 10); else if(c >= 'a' && c <= 'f') result += exp * (c - 'a' + 10); else if(c >= '0' && c <= '9') result += exp * (c - '0'); else throw new Exception("invalid hex character: " ~ cast(char) c); exp *= 16; } return result; } Color readCssColor(string cssColor) { cssColor = cssColor.strip().toLower(); if(cssColor.startsWith("#")) { cssColor = cssColor[1 .. $]; if(cssColor.length == 3) { cssColor = "" ~ cssColor[0] ~ cssColor[0] ~ cssColor[1] ~ cssColor[1] ~ cssColor[2] ~ cssColor[2]; } if(cssColor.length == 6) cssColor ~= "ff"; /* my extension is to do alpha */ if(cssColor.length == 8) { return Color( fromHex(cssColor[0 .. 2]), fromHex(cssColor[2 .. 4]), fromHex(cssColor[4 .. 6]), fromHex(cssColor[6 .. 8])); } else throw new Exception("invalid color " ~ cssColor); } else if(cssColor.startsWith("rgba")) { assert(0); // FIXME: implement /* cssColor = cssColor.replace("rgba", ""); cssColor = cssColor.replace(" ", ""); cssColor = cssColor.replace("(", ""); cssColor = cssColor.replace(")", ""); auto parts = cssColor.split(","); */ } else if(cssColor.startsWith("rgb")) { assert(0); // FIXME: implement } else if(cssColor.startsWith("hsl")) { assert(0); // FIXME: implement } else return Color.fromNameString(cssColor); /* switch(cssColor) { default: // FIXME let's go ahead and try naked hex for compatibility with my gradient program assert(0, "Unknown color: " ~ cssColor); } */ } /* Copyright: Adam D. Ruppe, 2010 - 2015 License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. Authors: Adam D. Ruppe, with contributions by Nick Sabalausky and Trass3r Copyright Adam D. Ruppe 2010-2015. 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) */
D
import hidden; void main() { }
D
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/Leaf.build/Tag/Models/Index.swift.o : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Argument.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Byte+Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Constants.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Context.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/HTMLEscape.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/LeafComponent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/LeafError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Link.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/List.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Node+Rendered.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/NSData+File.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Parameter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem+Render.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem+Spawn.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/Buffer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/BufferProtocol.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/BasicTag.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Tag.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/TagTemplate.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Else.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Embed.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Equal.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Export.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Extend.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/If.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Import.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Index.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Loop.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Raw.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Uppercased.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Variable.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/mprechner/vapor-demo/HelloWorld/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/Darwin.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/Foundation.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/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/libc.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Leaf.build/Index~partial.swiftmodule : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Argument.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Byte+Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Constants.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Context.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/HTMLEscape.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/LeafComponent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/LeafError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Link.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/List.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Node+Rendered.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/NSData+File.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Parameter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem+Render.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem+Spawn.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/Buffer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/BufferProtocol.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/BasicTag.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Tag.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/TagTemplate.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Else.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Embed.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Equal.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Export.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Extend.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/If.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Import.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Index.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Loop.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Raw.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Uppercased.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Variable.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/mprechner/vapor-demo/HelloWorld/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/Darwin.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/Foundation.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/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/libc.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Leaf.build/Index~partial.swiftdoc : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Argument.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Byte+Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Constants.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Context.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/HTMLEscape.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/LeafComponent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/LeafError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Link.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/List.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Node+Rendered.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/NSData+File.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Parameter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem+Render.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem+Spawn.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Stem.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/Buffer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Buffer/BufferProtocol.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/BasicTag.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Tag.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/TagTemplate.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Else.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Embed.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Equal.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Export.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Extend.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/If.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Import.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Index.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Loop.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Raw.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Uppercased.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Variable.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/mprechner/vapor-demo/HelloWorld/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/Darwin.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/Foundation.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/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/libc.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule
D
module grpc.server.builder; import interop.headers; import grpc.server; import core.lifetime; class ServerBuilder { private { ushort _port; int _maxInboundMeta; int _maxInboundMessage; long _timeout; bool _useTLS; string _tlsChain; string _tlsKey; Server _server; } @property ushort port(ushort _new) { _port = _new; return _port; } @property ushort port() { return _port; } void register(T)(Server server) { _server = server; _server.registerService!T(); } Server build() { auto mem = gpr_zalloc(__traits(classInstanceSize, Server)); Server srv = cast(Server)mem; if (mem != null) { grpc_channel_args args; args.num_args = 1; grpc_arg[] _a; grpc_arg arg; import std.string; arg.type = GRPC_ARG_INTEGER; arg.key = cast(char*)("grpc.server_handshake_timeout_ms".toStringz); arg.value.integer = 1000; _a ~= arg; args.args = _a.ptr; emplace!Server(srv, args); srv.bind("0.0.0.0", 50051); } else { assert(0, "Allocation failed"); } return srv; } this() { } ~this() { } }
D
/* * Copyright (C) 2017 The Android Open Source Project * * 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. */ package android.content.pm; import com.android.internal.util.ArrayUtils; /** * Utility methods that need to be used in application space. * @hide */ public final class SELinuxUtil { /** Append to existing seinfo label for instant apps @hide */ private static final String INSTANT_APP_STR = ":ephemeralapp"; /** Append to existing seinfo when modifications are complete @hide */ public static final String COMPLETE_STR = ":complete"; /** @hide */ public static String assignSeinfoUser(PackageUserState userState) { if (userState.instantApp) { return INSTANT_APP_STR + COMPLETE_STR; } return COMPLETE_STR; } }
D
import std.stdio; import std.string; import semver; import gameboy.cartridge; import gameboy.window; import gameboy.gameboy; import sdl2.render; Gameboy emulator; int main(string[] argv) { // Print version print_version (); // Check argument bounds if (argv.length < 2) { print_usage ("Too few arguments."); return 0; } // Read cartridge auto cartridge = new Cartridge (argv [1]); writefln ("Title: %s", cartridge.header.title); // Create emulator emulator = new Gameboy (cartridge); // Callbacks UpdateCallback update = function { emulator.RunCycle (); }; RenderCallback render = function (SDL_Renderer *renderer) { }; // Create window auto window = new Window ("DBoy"); window.SetSize (160, 144); window.SetTitle (format ("[DBoy] %s", cartridge.header.title)); window.Run (update, render); return 0; } void print_version () { auto semver = Semver (0, 1, 0); writefln ("DBoy %s", semver.semver); } void print_usage (string error) { writefln ("Error: %s", error); writeln ("Usage: dboy <rom>"); }
D
// Copyright © 2012, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/charge/charge.d (GPLv2 only). /** * Source file for MenuRunner. */ module charge.game.menu; static import charge.sys.logger; static import charge.sys.resource; import charge.core; import charge.gfx.draw : Draw; import charge.gfx.target : RenderTarget; import charge.gfx.texture : TextureTarget; import charge.ctl.input : Input; import charge.ctl.mouse : Mouse; import charge.ctl.keyboard : Keyboard; import charge.game.runner : Runner, Router; import charge.game.gui.container : TextureContainer; import charge.game.gui.input : InputHandler; alias charge.sys.logger.Logging SysLogging; alias charge.sys.resource.reference reference; /** * Base class for implementing menus. */ abstract class MenuRunner : Runner { protected: TextureTarget menuTexture; TextureContainer menu; Draw d; InputHandler ih; bool repaint; Keyboard keyboard; Mouse mouse; bool inControl; private: mixin SysLogging; public: this(TextureContainer menu) { super(Type.Menu); ih = new InputHandler(null); d = new Draw(); keyboard = Input().keyboard; mouse = Input().mouse; setMenu(menu); } ~this() { assert(menu is null); delete ih; reference(&menuTexture, null); } void close() { if (menu !is null) { menu.breakApart(); menu = null; } reference(&menuTexture, null); } void setMenu(TextureContainer newMenu) { reference(&menuTexture, null); if (menu !is null) menu.breakApart(); menu = newMenu; ih.setRoot(menu); if (menu is null) return; menu.repaintDg = &triggerRepaint; } void logic() { } void render(RenderTarget rt) { if (menu is null) return; if (repaint || menuTexture is null) { menu.paintTexture(); reference(&menuTexture, menu.texture); repaint = false; } if (menuTexture is null) return; menu.x = (rt.width - menuTexture.width) / 2; menu.y = (rt.height - menuTexture.height) / 2; d.target = rt; d.start(); d.blit(menuTexture, menu.x, menu.y); d.stop(); } void assumeControl() { uint w, h; bool fullscreen; Core().size(w, h, fullscreen); keyboard.down ~= &this.keyDown; ih.assumeControl(); auto shouldReset = !mouse.show(); mouse.grab = false; mouse.show = true; if (shouldReset) mouse.warp(w / 2, h / 2); inControl = true; } void dropControl() { keyboard.down -= &this.keyDown; ih.dropControl(); inControl = false; } protected: abstract void escapePressed(); void keyDown(Keyboard kb, int sym, dchar unicode, char[] str) { if (sym != 27) // Escape return; escapePressed(); } void triggerRepaint() { repaint = true; } }
D
/*var int hero_1h_max_bonus; func void Equip_1H_01() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_01) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_01); b_meleeweaponchange(Waffenbonus_01,0,0); }; Current1HBonus = 1; }; }; func void UnEquip_1H_01() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_01); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_02() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_02) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_02); b_meleeweaponchange(Waffenbonus_02,0,0); }; Current1HBonus = 2; }; }; func void UnEquip_1H_02() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_02); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_03() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_03) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_03); b_meleeweaponchange(Waffenbonus_03,0,0); }; Current1HBonus = 3; }; }; func void UnEquip_1H_03() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_03); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_04() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_04) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_04); b_meleeweaponchange(Waffenbonus_04,0,0); }; Current1HBonus = 4; }; }; func void UnEquip_1H_04() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_04); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_05() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_05) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_05); b_meleeweaponchange(Waffenbonus_05,0,0); }; Current1HBonus = 5; }; }; func void UnEquip_1H_05() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_05); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_06() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_06) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_06); b_meleeweaponchange(Waffenbonus_06,0,0); }; Current1HBonus = 6; }; }; func void UnEquip_1H_06() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_06); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_07() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_07) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_07); b_meleeweaponchange(Waffenbonus_07,0,0); }; Current1HBonus = 7; }; }; func void UnEquip_1H_07() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_07); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_08() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_08) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_08); b_meleeweaponchange(Waffenbonus_08,0,0); }; Current1HBonus = 8; }; }; func void UnEquip_1H_08() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_08); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_09() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_09) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_09); b_meleeweaponchange(Waffenbonus_09,0,0); }; Current1HBonus = 9; }; }; func void UnEquip_1H_09() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_09); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; }; func void Equip_1H_10() { if(Npc_IsPlayer(self) && (self.HitChance[NPC_TALENT_1H] < 100)) { if((self.HitChance[NPC_TALENT_1H] + Waffenbonus_10) > 100) { hero_1h_max_bonus = 100 - self.HitChance[NPC_TALENT_1H]; B_AddFightSkill(self,NPC_TALENT_1H,hero_1h_max_bonus); b_meleeweaponchange(hero_1h_max_bonus,0,0); } else { hero_1h_max_bonus = -1; B_AddFightSkill(self,NPC_TALENT_1H,Waffenbonus_10); b_meleeweaponchange(Waffenbonus_10,0,0); }; Current1HBonus = 10; }; }; func void UnEquip_1H_10() { if(Npc_IsPlayer(self) && (MELEEWEAPONCHANGEDHERO || (SCRIPTPATCHWEAPONCHANGE == FALSE))) { if(hero_1h_max_bonus < 0) { B_AddFightSkill(self,NPC_TALENT_1H,-Waffenbonus_10); b_meleeweaponundochange(); } else { B_AddFightSkill(self,NPC_TALENT_1H,-hero_1h_max_bonus); b_meleeweaponundochange(); }; Current1HBonus = 0; }; };*/ func void Equip_1H(var int value) { B_ChangeTalent(self,NPC_TALENT_1H,value,TS_TempBonus); }; func void UnEquip_1H(var int value) { B_ChangeTalent(self,NPC_TALENT_1H,-value,TS_TempBonus); }; func void Equip_1H_01() { Equip_1H(Waffenbonus_01); }; func void UnEquip_1H_01() { UnEquip_1H(Waffenbonus_01); }; func void Equip_1H_02() { Equip_1H(Waffenbonus_02); }; func void UnEquip_1H_02() { UnEquip_1H(Waffenbonus_02); }; func void Equip_1H_03() { Equip_1H(Waffenbonus_03); }; func void UnEquip_1H_03() { UnEquip_1H(Waffenbonus_03); }; func void Equip_1H_04() { Equip_1H(Waffenbonus_04); }; func void UnEquip_1H_04() { UnEquip_1H(Waffenbonus_04); }; func void Equip_1H_05() { Equip_1H(Waffenbonus_05); }; func void UnEquip_1H_05() { UnEquip_1H(Waffenbonus_05); }; func void Equip_1H_06() { Equip_1H(Waffenbonus_06); }; func void UnEquip_1H_06() { UnEquip_1H(Waffenbonus_06); }; func void Equip_1H_07() { Equip_1H(Waffenbonus_07); }; func void UnEquip_1H_07() { UnEquip_1H(Waffenbonus_07); }; func void Equip_1H_08() { Equip_1H(Waffenbonus_08); }; func void UnEquip_1H_08() { UnEquip_1H(Waffenbonus_08); }; func void Equip_1H_09() { Equip_1H(Waffenbonus_09); }; func void UnEquip_1H_09() { UnEquip_1H(Waffenbonus_09); }; func void Equip_1H_10() { Equip_1H(Waffenbonus_10); }; func void UnEquip_1H_10() { UnEquip_1H(Waffenbonus_10); };
D
var int HERO_1hst2_OverlayOn; const int HERO_DelayedFarOverlay = 0; func void B_SetSkillOverlay(var c_NPC slf) { if (slf.guild > GIL_SEPERATOR_HUM) { return; }; if (Npc_IsInFightMode(slf,FMODE_FAR)) { HERO_DelayedFarOverlay = TRUE; } else { var int sk; sk = Npc_GetTalentSkill(slf,NPC_TALENT_1H); if ((sk == 2) && HERO_1hst2_OverlayOn) { sk = 1; }; //MEM_Debug(ConcatStrings("NPC_TALENT_1H = ",IntToString(sk))); if (sk == 1) { Mdl_ApplyOverlayMds(slf,"HUMANS_1HST1.MDS"); } else if (sk == 2) { Mdl_ApplyOverlayMds(slf,"HUMANS_1HST2.MDS"); }; sk = Npc_GetTalentSkill(slf,NPC_TALENT_2H); //MEM_Debug(ConcatStrings("NPC_TALENT_2H = ",IntToString(sk))); if (sk == 1) { Mdl_ApplyOverlayMds(slf,"HUMANS_2HST1.MDS"); } else if (sk == 2) { Mdl_ApplyOverlayMds(slf,"HUMANS_2HST2.MDS"); }; sk = Npc_GetTalentSkill(slf,NPC_TALENT_BOW); //MEM_Debug(ConcatStrings("NPC_TALENT_BOW = ",IntToString(sk))); if (sk == 1) { Mdl_ApplyOverlayMds(slf,"HUMANS_BOWT1.MDS"); } else if (sk == 2) { Mdl_ApplyOverlayMds(slf,"HUMANS_BOWT2.MDS"); }; sk = Npc_GetTalentSkill(slf,NPC_TALENT_CROSSBOW); //MEM_Debug(ConcatStrings("NPC_TALENT_CROSSBOW = ",IntToString(sk))); if (sk == 1) { Mdl_ApplyOverlayMds(slf,"HUMANS_CBOWT1.MDS"); } else if (sk == 2) { Mdl_ApplyOverlayMds(slf,"HUMANS_CBOWT2.MDS"); }; }; }; var int LastPlayerInst; var int Hero_Id; //virtual void __thiscall oCNpc::SetAsPlayer(void) 0x007426A0 const int oCNpc__SetAsPlayer = 7612064; func void NPC_SetAsPlayer(var C_NPC slf) { LastPlayerInst = Hlp_GetInstanceID(slf); Hero_Id = slf.id; CALL__thiscall(MEM_InstToPtr(slf), oCNpc__SetAsPlayer); }; func void NPC_SetLastPlayer() { if (LastPlayerInst != 0) { var C_NPC LastPlayer; LastPlayer = Hlp_GetNpc(LastPlayerInst); if (Hlp_IsValidNpc(LastPlayer)) { if (Hlp_GetInstanceID(hero) != LastPlayerInst) { CALL__thiscall(MEM_InstToPtr(LastPlayer), oCNpc__SetAsPlayer); hero = Hlp_GetNpc(LastPlayer); B_SetSkillOverlay(hero); }; }; }; }; // INVENTORY =================================================== //распаковать инвентарь npc из текствой записи (в сейве) func void NpcInv_UnpackAllItems(var C_NPC npc) { //void __thiscall oCNpcInventory::UnpackAllItems(void) 0x00710030 5 5 const int oCNpcInventory__UnpackAllItems = 7405616; // 0x0668 - смещение oCNpcInventory от начала oCNpc const int oCNpcInventory__offset = 1640; CALL__thiscall(_@(npc) + oCNpcInventory__offset,oCNpcInventory__UnpackAllItems); }; //вставить в инвентарь предмет по указателю func int NpcInv_Insert(var int ptrInv, var int ptrItem) { //virtual oCItem * __thiscall oCNpcInventory::Insert(class oCItem *) 0x0070C730 0 7 const int oCNpcInventory__Insert = 7391024; CALL_PtrParam(ptrItem); CALL__thiscall(ptrInv, oCNpcInventory__Insert); return CALL_RetValAsPtr(); }; //слить два инвентаря по указателям //все предметы из ptrListFrom будут добавлены в ptrInvTo func void NpcInv_Merge(var int ptrInvTo, var int ptrListFrom) { var zCListSort list; list = _^(ptrListFrom); var int loop; loop = MEM_StackPos.position; if (list.data) { NpcInv_Insert(ptrInvTo, list.data); }; if (list.next) { list = _^(list.next); MEM_StackPos.position = loop; }; }; //расщепить инвентарь //возвращает список выдранных предметов по условию splitter func int NpcInv_Split(var int ptrInvListHead, var func splitter) { //trivia if (!ptrInvListHead) { return 0; }; var zCListSort head; head = _^(ptrInvListHead); var zCListSort tail; if (!head.next) { return 0; }; //result var int ptrSplitHead; ptrSplitHead = 0; var zCListSort splitLast; var zCListSort tailNext; //head split var int loop1; loop1 = MEM_StackPos.position; MEM_Debug("NpcInv_Split 1"); if (head.next) { tail = _^(head.next); if (tail.data) { MEM_PushIntParam(tail.data); MEM_Call(splitter); if (MEM_PopIntResult()) { if (ptrSplitHead == 0) { ptrSplitHead = _@(tail); splitLast = _^(ptrSplitHead); } else { splitLast.next = _@(tail); splitLast = _^(splitLast.next); }; head.next = tail.next; MEM_StackPos.position = loop1; }; }; }; //tail split if (head.next) { tail = _^(head.next); var int loop2; loop2 = MEM_StackPos.position; MEM_Debug("NpcInv_Split 2"); if (tail.next) { tailNext = _^(tail.next); if (tailNext.data) { MEM_PushIntParam(tailNext.data); MEM_Call(splitter); if (MEM_PopIntResult()) { if (ptrSplitHead == 0) { ptrSplitHead = _@(tailNext); splitLast = _^(ptrSplitHead); } else { splitLast.next = _@(tailNext); splitLast = _^(splitLast.next); }; if (tailNext.next) { MEM_Debug("NpcInv_Split 3"); tail.next = tailNext.next; MEM_StackPos.position = loop2; }; }; if (tail.next) { MEM_Debug("NpcInv_Split 4"); tail = _^(tail.next); MEM_StackPos.position = loop2; }; }; }; }; return ptrSplitHead; }; func int NpcInv_SetPrices(var int ptrInvList, var func setPrice) { var zCListSort list; list = _^(ptrInvList); var int loop; loop = MEM_StackPos.position; if (list.data) { MEM_PushIntParam(list.data); MEM_Call(setPrice); }; if (list.next) { list = _^(list.next); MEM_StackPos.position = loop; }; };
D
/Users/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate.o : /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartFormData.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartUpload.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AlamofireExtended.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Protected.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPMethod.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Combine.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Result+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Response.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/SessionDelegate.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoding.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Session.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Validation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ResponseSerialization.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestTaskMap.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RedirectHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AFError.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/EventMonitor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Notifications.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPHeaders.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Request.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RetryPolicy.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/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 /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/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/UIKit.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/lincolnnguyen/Desktop/flixter/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-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/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/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/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/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate~partial.swiftmodule : /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartFormData.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartUpload.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AlamofireExtended.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Protected.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPMethod.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Combine.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Result+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Response.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/SessionDelegate.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoding.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Session.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Validation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ResponseSerialization.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestTaskMap.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RedirectHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AFError.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/EventMonitor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Notifications.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPHeaders.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Request.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RetryPolicy.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/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 /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/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/UIKit.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/lincolnnguyen/Desktop/flixter/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-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/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/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/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/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate~partial.swiftdoc : /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartFormData.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartUpload.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AlamofireExtended.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Protected.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPMethod.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Combine.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Result+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Response.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/SessionDelegate.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoding.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Session.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Validation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ResponseSerialization.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestTaskMap.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RedirectHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AFError.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/EventMonitor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Notifications.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPHeaders.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Request.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RetryPolicy.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/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 /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/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/UIKit.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/lincolnnguyen/Desktop/flixter/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-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/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/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/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/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate~partial.swiftsourceinfo : /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartFormData.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/MultipartUpload.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AlamofireExtended.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Protected.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPMethod.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Combine.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Result+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Alamofire.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Response.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/SessionDelegate.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoding.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Session.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Validation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ResponseSerialization.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestTaskMap.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/ParameterEncoder.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RedirectHandler.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AFError.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/EventMonitor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RequestInterceptor.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Notifications.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/HTTPHeaders.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/Request.swift /Users/lincolnnguyen/Desktop/flixter/Pods/Alamofire/Source/RetryPolicy.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/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 /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/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/UIKit.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/lincolnnguyen/Desktop/flixter/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/lincolnnguyen/Desktop/flixter/DerivedData/flixter/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-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/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/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/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
import vibe.core.core; import vibe.core.log; import vibe.core.net; import vibe.core.stream; import std.exception : enforce; import std.functional : toDelegate; import std.range.primitives : isOutputRange; void main() { void staticAnswer(TCPConnection conn) nothrow @safe { try { while (!conn.empty) { while (true) { CountingRange r; conn.readLine(r); if (!r.count) break; } conn.write(cast(const(ubyte)[])"HTTP/1.1 200 OK\r\nContent-Length: 13\r\nContent-Type: text/plain\r\nConnection: keep-alive\r\nKeep-Alive: timeout=10\r\n\r\nHello, World!"); conn.flush(); } } catch (Exception e) { scope (failure) assert(false); logError("Error processing request: %s", e.msg); } } auto listener = listenTCP(8080, &staticAnswer, "127.0.0.1"); logInfo("Listening to HTTP requests on http://127.0.0.1:8080/"); scope (exit) listener.stopListening(); runApplication(); } struct CountingRange { @safe nothrow @nogc: ulong count = 0; void put(ubyte) { count++; } void put(in ubyte[] arr) { count += arr.length; } } void readLine(R, InputStream)(InputStream stream, ref R dst, size_t max_bytes = size_t.max) if (isInputStream!InputStream && isOutputRange!(R, ubyte)) { import std.algorithm.comparison : min, max; import std.algorithm.searching : countUntil; enum end_marker = "\r\n"; enum nmarker = end_marker.length; size_t nmatched = 0; while (true) { enforce(!stream.empty, "Reached EOF while searching for end marker."); enforce(max_bytes > 0, "Reached maximum number of bytes while searching for end marker."); auto max_peek = max(max_bytes, max_bytes+nmarker); // account for integer overflow auto pm = stream.peek()[0 .. min($, max_bytes)]; if (!pm.length) { // no peek support - inefficient route ubyte[2] buf = void; auto l = nmarker - nmatched; stream.read(buf[0 .. l]); foreach (i; 0 .. l) { if (buf[i] == end_marker[nmatched]) { nmatched++; } else if (buf[i] == end_marker[0]) { foreach (j; 0 .. nmatched) dst.put(end_marker[j]); nmatched = 1; } else { foreach (j; 0 .. nmatched) dst.put(end_marker[j]); nmatched = 0; dst.put(buf[i]); } if (nmatched == nmarker) return; } } else { assert(nmatched == 0); auto idx = pm.countUntil(end_marker[0]); if (idx < 0) { dst.put(pm); max_bytes -= pm.length; stream.skip(pm.length); } else { dst.put(pm[0 .. idx]); if (idx+1 < pm.length && pm[idx+1] == end_marker[1]) { assert(nmarker == 2); stream.skip(idx+2); return; } else { nmatched++; stream.skip(idx+1); } } } } }
D
/Users/apple/rust_workspace/jacobdenver007/ckb-contracts/sign/contracts/sign/target/rls/debug/build/ckb-std-0723868c9b0c4754/build_script_build-0723868c9b0c4754: /Users/apple/.cargo/registry/src/github.com-1ecc6299db9ec823/ckb-std-0.4.1/build.rs /Users/apple/rust_workspace/jacobdenver007/ckb-contracts/sign/contracts/sign/target/rls/debug/build/ckb-std-0723868c9b0c4754/build_script_build-0723868c9b0c4754.d: /Users/apple/.cargo/registry/src/github.com-1ecc6299db9ec823/ckb-std-0.4.1/build.rs /Users/apple/.cargo/registry/src/github.com-1ecc6299db9ec823/ckb-std-0.4.1/build.rs:
D
the act of sexual procreation between a man and a woman
D
structure built of stone or brick by a mason Freemasons collectively the craft of a mason
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright (C) 2018-2019 by The D Language Foundation, All Rights Reserved * Authors: Iain Buclaw * 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/iasmgcc.d, _iasmgcc.d) * Documentation: https://dlang.org/phobos/dmd_iasmgcc.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/iasmgcc.d */ /* Inline assembler for the GCC D compiler. */ module dmd.iasmgcc; import core.stdc.string; import dmd.arraytypes; import dmd.astcodegen; import dmd.dscope; import dmd.expression; import dmd.expressionsem; import dmd.identifier; import dmd.globals; import dmd.parse; import dmd.tokens; import dmd.statement; import dmd.statementsem; private: /*********************************** * Parse list of extended asm input or output operands. * Grammar: * | Operands: * | SymbolicName(opt) StringLiteral AssignExpression * | SymbolicName(opt) StringLiteral AssignExpression , Operands * | * | SymbolicName: * | [ Identifier ] * Params: * p = parser state * s = asm statement to parse * Returns: * number of operands added to the gcc asm statement */ int parseExtAsmOperands(Parser)(Parser p, GccAsmStatement s) { int numargs = 0; while (1) { Expression arg; Identifier name; Expression constraint; switch (p.token.value) { case TOK.semicolon: case TOK.colon: case TOK.endOfFile: return numargs; case TOK.leftBracket: if (p.peekNext() == TOK.identifier) { p.nextToken(); name = p.token.ident; p.nextToken(); } else { p.error(s.loc, "expected identifier after `[`"); goto Lerror; } p.check(TOK.rightBracket); goto case; case TOK.string_: constraint = p.parsePrimaryExp(); arg = p.parseAssignExp(); if (!s.args) { s.names = new Identifiers(); s.constraints = new Expressions(); s.args = new Expressions(); } s.names.push(name); s.args.push(arg); s.constraints.push(constraint); numargs++; if (p.token.value == TOK.comma) p.nextToken(); break; default: p.error("expected constant string constraint for operand, not `%s`", p.token.toChars()); goto Lerror; } } Lerror: while (p.token.value != TOK.rightCurly && p.token.value != TOK.semicolon && p.token.value != TOK.endOfFile) p.nextToken(); return numargs; } /*********************************** * Parse list of extended asm clobbers. * Grammar: * | Clobbers: * | StringLiteral * | StringLiteral , Clobbers * Params: * p = parser state * Returns: * array of parsed clobber expressions */ Expressions *parseExtAsmClobbers(Parser)(Parser p) { Expressions *clobbers; while (1) { Expression clobber; switch (p.token.value) { case TOK.semicolon: case TOK.colon: case TOK.endOfFile: return clobbers; case TOK.string_: clobber = p.parsePrimaryExp(); if (!clobbers) clobbers = new Expressions(); clobbers.push(clobber); if (p.token.value == TOK.comma) p.nextToken(); break; default: p.error("expected constant string constraint for clobber name, not `%s`", p.token.toChars()); goto Lerror; } } Lerror: while (p.token.value != TOK.rightCurly && p.token.value != TOK.semicolon && p.token.value != TOK.endOfFile) p.nextToken(); return clobbers; } /*********************************** * Parse list of extended asm goto labels. * Grammar: * | GotoLabels: * | Identifier * | Identifier , GotoLabels * Params: * p = parser state * Returns: * array of parsed goto labels */ Identifiers *parseExtAsmGotoLabels(Parser)(Parser p) { Identifiers *labels; while (1) { switch (p.token.value) { case TOK.semicolon: case TOK.endOfFile: return labels; case TOK.identifier: if (!labels) labels = new Identifiers(); labels.push(p.token.ident); if (p.nextToken() == TOK.comma) p.nextToken(); break; default: p.error("expected identifier for goto label name, not `%s`", p.token.toChars()); goto Lerror; } } Lerror: while (p.token.value != TOK.rightCurly && p.token.value != TOK.semicolon && p.token.value != TOK.endOfFile) p.nextToken(); return labels; } /*********************************** * Parse a gcc asm statement. * There are three forms of inline asm statements, basic, extended, and goto. * Grammar: * | AsmInstruction: * | BasicAsmInstruction * | ExtAsmInstruction * | GotoAsmInstruction * | * | BasicAsmInstruction: * | Expression * | * | ExtAsmInstruction: * | Expression : Operands(opt) : Operands(opt) : Clobbers(opt) * | * | GotoAsmInstruction: * | Expression : : Operands(opt) : Clobbers(opt) : GotoLabels(opt) * Params: * p = parser state * s = asm statement to parse * Returns: * the parsed gcc asm statement */ GccAsmStatement parseGccAsm(Parser)(Parser p, GccAsmStatement s) { s.insn = p.parseExpression(); if (p.token.value == TOK.semicolon || p.token.value == TOK.endOfFile) goto Ldone; // No semicolon followed after instruction template, treat as extended asm. foreach (section; 0 .. 4) { p.check(TOK.colon); final switch (section) { case 0: s.outputargs = p.parseExtAsmOperands(s); break; case 1: p.parseExtAsmOperands(s); break; case 2: s.clobbers = p.parseExtAsmClobbers(); break; case 3: s.labels = p.parseExtAsmGotoLabels(); break; } if (p.token.value == TOK.semicolon || p.token.value == TOK.endOfFile) goto Ldone; } Ldone: p.check(TOK.semicolon); return s; } /*********************************** * Parse and run semantic analysis on a GccAsmStatement. * Params: * s = gcc asm statement being parsed * sc = the scope where the asm statement is located * Returns: * the completed gcc asm statement, or null if errors occurred */ public Statement gccAsmSemantic(GccAsmStatement s, Scope *sc) { //printf("GccAsmStatement.semantic()\n"); scope p = new Parser!ASTCodegen(sc._module, ";", false); // Make a safe copy of the token list before parsing. Token *toklist = null; Token **ptoklist = &toklist; for (Token *token = s.tokens; token; token = token.next) { *ptoklist = Token.alloc(); memcpy(*ptoklist, token, Token.sizeof); ptoklist = &(*ptoklist).next; *ptoklist = null; } p.token = *toklist; p.scanloc = s.loc; // Parse the gcc asm statement. s = p.parseGccAsm(s); if (p.errors) return null; s.stc = sc.stc; // Fold the instruction template string. s.insn = semanticString(sc, s.insn, "asm instruction template"); if (s.labels && s.outputargs) s.error("extended asm statements with labels cannot have output constraints"); // Analyse all input and output operands. if (s.args) { foreach (i; 0 .. s.args.dim) { Expression e = (*s.args)[i]; e = e.expressionSemantic(sc); // Check argument is a valid lvalue/rvalue. if (i < s.outputargs) e = e.modifiableLvalue(sc, null); else if (e.checkValue()) e = new ErrorExp(); (*s.args)[i] = e; e = (*s.constraints)[i]; e = e.expressionSemantic(sc); assert(e.op == TOK.string_ && (cast(StringExp) e).sz == 1); (*s.constraints)[i] = e; } } // Analyse all clobbers. if (s.clobbers) { foreach (i; 0 .. s.clobbers.dim) { Expression e = (*s.clobbers)[i]; e = e.expressionSemantic(sc); assert(e.op == TOK.string_ && (cast(StringExp) e).sz == 1); (*s.clobbers)[i] = e; } } // Analyse all goto labels. if (s.labels) { foreach (i; 0 .. s.labels.dim) { Identifier ident = (*s.labels)[i]; GotoStatement gs = new GotoStatement(s.loc, ident); if (!s.gotos) s.gotos = new GotoStatements(); s.gotos.push(gs); gs.statementSemantic(sc); } } return s; } unittest { uint errors = global.startGagging(); // Immitates asmSemantic if version = IN_GCC. static int semanticAsm(Token* tokens) { scope gas = new GccAsmStatement(Loc.initial, tokens); scope p = new Parser!ASTCodegen(null, ";", false); p.token = *tokens; p.parseGccAsm(gas); return p.errors; } // Immitates parseStatement for asm statements. static void parseAsm(string input, bool expectError) { // Generate tokens from input test. scope p = new Parser!ASTCodegen(null, input, false); p.nextToken(); Token* toklist = null; Token** ptoklist = &toklist; p.check(TOK.asm_); p.check(TOK.leftCurly); while (1) { if (p.token.value == TOK.rightCurly || p.token.value == TOK.endOfFile) break; *ptoklist = Token.alloc(); memcpy(*ptoklist, &p.token, Token.sizeof); ptoklist = &(*ptoklist).next; *ptoklist = null; p.nextToken(); } p.check(TOK.rightCurly); auto res = semanticAsm(toklist); assert(res == 0 || expectError); } /// Assembly Tests, all should pass. /// Note: Frontend is not initialized, use only strings and identifiers. immutable string[] passAsmTests = [ // Basic asm statement q{ asm { "nop"; } }, // Extended asm statement q{ asm { "cpuid" : "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "a" input; } }, // Assembly with symbolic names q{ asm { "bts %[base], %[offset]" : [base] "+rm" *ptr, : [offset] "Ir" bitnum; } }, // Assembly with clobbers q{ asm { "cpuid" : "=a" a : "a" input : "ebx", "ecx", "edx"; } }, // Goto asm statement q{ asm { "jmp %l0" : : : : Ljmplabel; } }, // Any CTFE-able string allowed as instruction template. q{ asm { generateAsm(); } }, // Likewise mixins, permissible so long as the result is a string. q{ asm { mixin(`"repne"`, `~ "scasb"`); } }, ]; immutable string[] failAsmTests = [ // Found 'h' when expecting ';' q{ asm { ""h; } }, /+ Need a way to test without depending on Type._init() // Expression expected, not ';' q{ asm { ""[; } }, // Expression expected, not ':' q{ asm { "" : : "g" a ? b : : c; } }, +/ ]; foreach (test; passAsmTests) parseAsm(test, false); foreach (test; failAsmTests) parseAsm(test, true); global.endGagging(errors); }
D
/Users/Amna/Desktop/Code with seperate Target/WhatCanISee/fov/target/debug/deps/unicode_xid-1aa3ad15b1990815.rmeta: /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/lib.rs /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/tables.rs /Users/Amna/Desktop/Code with seperate Target/WhatCanISee/fov/target/debug/deps/libunicode_xid-1aa3ad15b1990815.rlib: /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/lib.rs /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/tables.rs /Users/Amna/Desktop/Code with seperate Target/WhatCanISee/fov/target/debug/deps/unicode_xid-1aa3ad15b1990815.d: /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/lib.rs /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/tables.rs /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/lib.rs: /Users/Amna/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.2/src/tables.rs:
D
(of persons or their actions) able or disposed to inflict pain or suffering having the nature of vice bringing or deserving severe rebuke or censure marked by deep ill will
D
/******************************************************************************* * Copyright (c) 2006, 2007 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.window.DefaultToolTip; import dwt.DWT; import dwt.custom.CLabel; import dwt.graphics.Color; import dwt.graphics.Font; import dwt.graphics.Image; import dwt.graphics.Point; import dwt.widgets.Composite; import dwt.widgets.Control; import dwt.widgets.Event; import dwtx.jface.window.ToolTip; import dwt.dwthelper.utils; /** * Default implementation of ToolTip that provides an iconofied label with font * and color controls by subclass. * * @since 3.3 */ public class DefaultToolTip : ToolTip { private String text; private Color backgroundColor; private Font font; private Image backgroundImage; private Color foregroundColor; private Image image; private int style = DWT.SHADOW_NONE; /** * Create new instance which add TooltipSupport to the widget * * @param control the control on whose action the tooltip is shown */ public this(Control control) { super(control); } /** * Create new instance which add TooltipSupport to the widget * * @param control the control to which the tooltip is bound * @param style style passed to control tooltip behaviour * @param manualActivation <code>true</code> if the activation is done manually using * {@link #show(Point)} * @see #RECREATE * @see #NO_RECREATE */ public this(Control control, int style, bool manualActivation) { super(control, style, manualActivation); } /** * Creates the content are of the the tooltip. By default this creates a * CLabel to display text. To customize the text Subclasses may override the * following methods * <ul> * <li>{@link #getStyle(Event)}</li> * <li>{@link #getBackgroundColor(Event)}</li> * <li>{@link #getForegroundColor(Event)}</li> * <li>{@link #getFont(Event)}</li> * <li>{@link #getImage(Event)}</li> * <li>{@link #getText(Event)}</li> * <li>{@link #getBackgroundImage(Event)}</li> * </ul> * * @param event * the event that triggered the activation of the tooltip * @param parent * the parent of the content area * @return the content area created */ protected override Composite createToolTipContentArea(Event event, Composite parent) { Image image = getImage(event); Image bgImage = getBackgroundImage(event); String text = getText(event); Color fgColor = getForegroundColor(event); Color bgColor = getBackgroundColor(event); Font font = getFont(event); CLabel label = new CLabel(parent, getStyle(event)); if (text !is null) { label.setText(text); } if (image !is null) { label.setImage(image); } if (fgColor !is null) { label.setForeground(fgColor); } if (bgColor !is null) { label.setBackground(bgColor); } if (bgImage !is null) { label.setBackgroundImage(image); } if (font !is null) { label.setFont(font); } return label; } /** * The style used to create the {@link CLabel} in the default implementation * * @param event * the event triggered the popup of the tooltip * @return the style */ protected int getStyle(Event event) { return style; } /** * The {@link Image} displayed in the {@link CLabel} in the default * implementation implementation * * @param event * the event triggered the popup of the tooltip * @return the {@link Image} or <code>null</code> if no image should be * displayed */ protected Image getImage(Event event) { return image; } /** * The foreground {@link Color} used by {@link CLabel} in the default * implementation * * @param event * the event triggered the popup of the tooltip * @return the {@link Color} or <code>null</code> if default foreground * color should be used */ protected Color getForegroundColor(Event event) { return (foregroundColor is null) ? event.widget.getDisplay() .getSystemColor(DWT.COLOR_INFO_FOREGROUND) : foregroundColor; } /** * The background {@link Color} used by {@link CLabel} in the default * implementation * * @param event * the event triggered the popup of the tooltip * @return the {@link Color} or <code>null</code> if default background * color should be used */ protected Color getBackgroundColor(Event event) { return (backgroundColor is null) ? event.widget.getDisplay() .getSystemColor(DWT.COLOR_INFO_BACKGROUND) : backgroundColor; } /** * The background {@link Image} used by {@link CLabel} in the default * implementation * * @param event * the event triggered the popup of the tooltip * @return the {@link Image} or <code>null</code> if no image should be * displayed in the background */ protected Image getBackgroundImage(Event event) { return backgroundImage; } /** * The {@link Font} used by {@link CLabel} in the default implementation * * @param event * the event triggered the popup of the tooltip * @return the {@link Font} or <code>null</code> if the default font * should be used */ protected Font getFont(Event event) { return font; } /** * The text displayed in the {@link CLabel} in the default implementation * * @param event * the event triggered the popup of the tooltip * @return the text or <code>null</code> if no text has to be displayed */ protected String getText(Event event) { return text; } /** * The background {@link Image} used by {@link CLabel} in the default * implementation * * @param backgroundColor * the {@link Color} or <code>null</code> if default background * color ({@link DWT#COLOR_INFO_BACKGROUND}) should be used */ public void setBackgroundColor(Color backgroundColor) { this.backgroundColor = backgroundColor; } /** * The background {@link Image} used by {@link CLabel} in the default * implementation * * @param backgroundImage * the {@link Image} or <code>null</code> if no image should be * displayed in the background */ public void setBackgroundImage(Image backgroundImage) { this.backgroundImage = backgroundImage; } /** * The {@link Font} used by {@link CLabel} in the default implementation * * @param font * the {@link Font} or <code>null</code> if the default font * should be used */ public void setFont(Font font) { this.font = font; } /** * The foreground {@link Color} used by {@link CLabel} in the default * implementation * * @param foregroundColor * the {@link Color} or <code>null</code> if default foreground * color should be used */ public void setForegroundColor(Color foregroundColor) { this.foregroundColor = foregroundColor; } /** * The {@link Image} displayed in the {@link CLabel} in the default * implementation implementation * * @param image * the {@link Image} or <code>null</code> if no image should be * displayed */ public void setImage(Image image) { this.image = image; } /** * The style used to create the {@link CLabel} in the default implementation * * @param style * the event triggered the popup of the tooltip */ public void setStyle(int style) { this.style = style; } /** * The text displayed in the {@link CLabel} in the default implementation * * @param text * the text or <code>null</code> if no text has to be displayed */ public void setText(String text) { this.text = text; } }
D
/Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBarLineScatterCandleBubbleChartDataSet.o : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/LegendEntry.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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Headers/Public/Charts/Charts.modulemap /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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBarLineScatterCandleBubbleChartDataSet~partial.swiftmodule : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/LegendEntry.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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Headers/Public/Charts/Charts.modulemap /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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBarLineScatterCandleBubbleChartDataSet~partial.swiftdoc : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/LegendEntry.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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Headers/Public/Charts/Charts.modulemap /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 adbg.include.capstone.m68k; extern (C): /* Capstone Disassembly Engine */ /* By Daniel Collin <daniel@collin.com>, 2015-2016 */ enum M68K_OPERAND_COUNT = 4; /// M68K registers and special registers enum m68k_reg { M68K_REG_INVALID = 0, M68K_REG_D0 = 1, M68K_REG_D1 = 2, M68K_REG_D2 = 3, M68K_REG_D3 = 4, M68K_REG_D4 = 5, M68K_REG_D5 = 6, M68K_REG_D6 = 7, M68K_REG_D7 = 8, M68K_REG_A0 = 9, M68K_REG_A1 = 10, M68K_REG_A2 = 11, M68K_REG_A3 = 12, M68K_REG_A4 = 13, M68K_REG_A5 = 14, M68K_REG_A6 = 15, M68K_REG_A7 = 16, M68K_REG_FP0 = 17, M68K_REG_FP1 = 18, M68K_REG_FP2 = 19, M68K_REG_FP3 = 20, M68K_REG_FP4 = 21, M68K_REG_FP5 = 22, M68K_REG_FP6 = 23, M68K_REG_FP7 = 24, M68K_REG_PC = 25, M68K_REG_SR = 26, M68K_REG_CCR = 27, M68K_REG_SFC = 28, M68K_REG_DFC = 29, M68K_REG_USP = 30, M68K_REG_VBR = 31, M68K_REG_CACR = 32, M68K_REG_CAAR = 33, M68K_REG_MSP = 34, M68K_REG_ISP = 35, M68K_REG_TC = 36, M68K_REG_ITT0 = 37, M68K_REG_ITT1 = 38, M68K_REG_DTT0 = 39, M68K_REG_DTT1 = 40, M68K_REG_MMUSR = 41, M68K_REG_URP = 42, M68K_REG_SRP = 43, M68K_REG_FPCR = 44, M68K_REG_FPSR = 45, M68K_REG_FPIAR = 46, M68K_REG_ENDING = 47 // <-- mark the end of the list of registers } /// M68K Addressing Modes enum m68k_address_mode { M68K_AM_NONE = 0, ///< No address mode. M68K_AM_REG_DIRECT_DATA = 1, ///< Register Direct - Data M68K_AM_REG_DIRECT_ADDR = 2, ///< Register Direct - Address M68K_AM_REGI_ADDR = 3, ///< Register Indirect - Address M68K_AM_REGI_ADDR_POST_INC = 4, ///< Register Indirect - Address with Postincrement M68K_AM_REGI_ADDR_PRE_DEC = 5, ///< Register Indirect - Address with Predecrement M68K_AM_REGI_ADDR_DISP = 6, ///< Register Indirect - Address with Displacement M68K_AM_AREGI_INDEX_8_BIT_DISP = 7, ///< Address Register Indirect With Index- 8-bit displacement M68K_AM_AREGI_INDEX_BASE_DISP = 8, ///< Address Register Indirect With Index- Base displacement M68K_AM_MEMI_POST_INDEX = 9, ///< Memory indirect - Postindex M68K_AM_MEMI_PRE_INDEX = 10, ///< Memory indirect - Preindex M68K_AM_PCI_DISP = 11, ///< Program Counter Indirect - with Displacement M68K_AM_PCI_INDEX_8_BIT_DISP = 12, ///< Program Counter Indirect with Index - with 8-Bit Displacement M68K_AM_PCI_INDEX_BASE_DISP = 13, ///< Program Counter Indirect with Index - with Base Displacement M68K_AM_PC_MEMI_POST_INDEX = 14, ///< Program Counter Memory Indirect - Postindexed M68K_AM_PC_MEMI_PRE_INDEX = 15, ///< Program Counter Memory Indirect - Preindexed M68K_AM_ABSOLUTE_DATA_SHORT = 16, ///< Absolute Data Addressing - Short M68K_AM_ABSOLUTE_DATA_LONG = 17, ///< Absolute Data Addressing - Long M68K_AM_IMMEDIATE = 18, ///< Immediate value M68K_AM_BRANCH_DISPLACEMENT = 19 ///< Address as displacement from (PC+2) used by branches } /// Operand type for instruction's operands enum m68k_op_type { M68K_OP_INVALID = 0, ///< = CS_OP_INVALID (Uninitialized). M68K_OP_REG = 1, ///< = CS_OP_REG (Register operand). M68K_OP_IMM = 2, ///< = CS_OP_IMM (Immediate operand). M68K_OP_MEM = 3, ///< = CS_OP_MEM (Memory operand). M68K_OP_FP_SINGLE = 4, ///< single precision Floating-Point operand M68K_OP_FP_DOUBLE = 5, ///< double precision Floating-Point operand M68K_OP_REG_BITS = 6, ///< Register bits move M68K_OP_REG_PAIR = 7, ///< Register pair in the same op (upper 4 bits for first reg, lower for second) M68K_OP_BR_DISP = 8 ///< Branch displacement } /// Instruction's operand referring to memory /// This is associated with M68K_OP_MEM operand type above struct m68k_op_mem { m68k_reg base_reg; ///< base register (or M68K_REG_INVALID if irrelevant) m68k_reg index_reg; ///< index register (or M68K_REG_INVALID if irrelevant) m68k_reg in_base_reg; ///< indirect base register (or M68K_REG_INVALID if irrelevant) uint in_disp; ///< indirect displacement uint out_disp; ///< other displacement short disp; ///< displacement value ubyte scale; ///< scale for index register ubyte bitfield; ///< set to true if the two values below should be used ubyte width; ///< used for bf* instructions ubyte offset; ///< used for bf* instructions ubyte index_size; ///< 0 = w, 1 = l } /// Operand type for instruction's operands enum m68k_op_br_disp_size { M68K_OP_BR_DISP_SIZE_INVALID = 0, ///< = CS_OP_INVALID (Uninitialized). M68K_OP_BR_DISP_SIZE_BYTE = 1, ///< signed 8-bit displacement M68K_OP_BR_DISP_SIZE_WORD = 2, ///< signed 16-bit displacement M68K_OP_BR_DISP_SIZE_LONG = 4 ///< signed 32-bit displacement } struct m68k_op_br_disp { int disp; ///< displacement value ubyte disp_size; ///< Size from m68k_op_br_disp_size type above } /// Instruction operand struct cs_m68k_op { union { ulong imm; ///< immediate value for IMM operand double dimm; ///< double imm float simm; ///< float imm m68k_reg reg; ///< register value for REG operand ///< register pair in one operand struct _Anonymous_0 { m68k_reg reg_0; m68k_reg reg_1; } _Anonymous_0 reg_pair; } m68k_op_mem mem; ///< data when operand is targeting memory m68k_op_br_disp br_disp; ///< data when operand is a branch displacement uint register_bits; ///< register bits for movem etc. (always in d0-d7, a0-a7, fp0 - fp7 order) m68k_op_type type; m68k_address_mode address_mode; ///< M68K addressing mode for this op } /// Operation size of the CPU instructions enum m68k_cpu_size { M68K_CPU_SIZE_NONE = 0, ///< unsized or unspecified M68K_CPU_SIZE_BYTE = 1, ///< 1 byte in size M68K_CPU_SIZE_WORD = 2, ///< 2 bytes in size M68K_CPU_SIZE_LONG = 4 ///< 4 bytes in size } /// Operation size of the FPU instructions (Notice that FPU instruction can also use CPU sizes if needed) enum m68k_fpu_size { M68K_FPU_SIZE_NONE = 0, ///< unsized like fsave/frestore M68K_FPU_SIZE_SINGLE = 4, ///< 4 byte in size (single float) M68K_FPU_SIZE_DOUBLE = 8, ///< 8 byte in size (double) M68K_FPU_SIZE_EXTENDED = 12 ///< 12 byte in size (extended real format) } /// Type of size that is being used for the current instruction enum m68k_size_type { M68K_SIZE_TYPE_INVALID = 0, M68K_SIZE_TYPE_CPU = 1, M68K_SIZE_TYPE_FPU = 2 } /// Operation size of the current instruction (NOT the actually size of instruction) struct m68k_op_size { m68k_size_type type; union { m68k_cpu_size cpu_size; m68k_fpu_size fpu_size; } } /// The M68K instruction and it's operands struct cs_m68k { // Number of operands of this instruction or 0 when instruction has no operand. cs_m68k_op[M68K_OPERAND_COUNT] operands; ///< operands for this instruction. m68k_op_size op_size; ///< size of data operand works on in bytes (.b, .w, .l, etc) ubyte op_count; ///< number of operands for the instruction } /// M68K instruction enum m68k_insn { M68K_INS_INVALID = 0, M68K_INS_ABCD = 1, M68K_INS_ADD = 2, M68K_INS_ADDA = 3, M68K_INS_ADDI = 4, M68K_INS_ADDQ = 5, M68K_INS_ADDX = 6, M68K_INS_AND = 7, M68K_INS_ANDI = 8, M68K_INS_ASL = 9, M68K_INS_ASR = 10, M68K_INS_BHS = 11, M68K_INS_BLO = 12, M68K_INS_BHI = 13, M68K_INS_BLS = 14, M68K_INS_BCC = 15, M68K_INS_BCS = 16, M68K_INS_BNE = 17, M68K_INS_BEQ = 18, M68K_INS_BVC = 19, M68K_INS_BVS = 20, M68K_INS_BPL = 21, M68K_INS_BMI = 22, M68K_INS_BGE = 23, M68K_INS_BLT = 24, M68K_INS_BGT = 25, M68K_INS_BLE = 26, M68K_INS_BRA = 27, M68K_INS_BSR = 28, M68K_INS_BCHG = 29, M68K_INS_BCLR = 30, M68K_INS_BSET = 31, M68K_INS_BTST = 32, M68K_INS_BFCHG = 33, M68K_INS_BFCLR = 34, M68K_INS_BFEXTS = 35, M68K_INS_BFEXTU = 36, M68K_INS_BFFFO = 37, M68K_INS_BFINS = 38, M68K_INS_BFSET = 39, M68K_INS_BFTST = 40, M68K_INS_BKPT = 41, M68K_INS_CALLM = 42, M68K_INS_CAS = 43, M68K_INS_CAS2 = 44, M68K_INS_CHK = 45, M68K_INS_CHK2 = 46, M68K_INS_CLR = 47, M68K_INS_CMP = 48, M68K_INS_CMPA = 49, M68K_INS_CMPI = 50, M68K_INS_CMPM = 51, M68K_INS_CMP2 = 52, M68K_INS_CINVL = 53, M68K_INS_CINVP = 54, M68K_INS_CINVA = 55, M68K_INS_CPUSHL = 56, M68K_INS_CPUSHP = 57, M68K_INS_CPUSHA = 58, M68K_INS_DBT = 59, M68K_INS_DBF = 60, M68K_INS_DBHI = 61, M68K_INS_DBLS = 62, M68K_INS_DBCC = 63, M68K_INS_DBCS = 64, M68K_INS_DBNE = 65, M68K_INS_DBEQ = 66, M68K_INS_DBVC = 67, M68K_INS_DBVS = 68, M68K_INS_DBPL = 69, M68K_INS_DBMI = 70, M68K_INS_DBGE = 71, M68K_INS_DBLT = 72, M68K_INS_DBGT = 73, M68K_INS_DBLE = 74, M68K_INS_DBRA = 75, M68K_INS_DIVS = 76, M68K_INS_DIVSL = 77, M68K_INS_DIVU = 78, M68K_INS_DIVUL = 79, M68K_INS_EOR = 80, M68K_INS_EORI = 81, M68K_INS_EXG = 82, M68K_INS_EXT = 83, M68K_INS_EXTB = 84, M68K_INS_FABS = 85, M68K_INS_FSABS = 86, M68K_INS_FDABS = 87, M68K_INS_FACOS = 88, M68K_INS_FADD = 89, M68K_INS_FSADD = 90, M68K_INS_FDADD = 91, M68K_INS_FASIN = 92, M68K_INS_FATAN = 93, M68K_INS_FATANH = 94, M68K_INS_FBF = 95, M68K_INS_FBEQ = 96, M68K_INS_FBOGT = 97, M68K_INS_FBOGE = 98, M68K_INS_FBOLT = 99, M68K_INS_FBOLE = 100, M68K_INS_FBOGL = 101, M68K_INS_FBOR = 102, M68K_INS_FBUN = 103, M68K_INS_FBUEQ = 104, M68K_INS_FBUGT = 105, M68K_INS_FBUGE = 106, M68K_INS_FBULT = 107, M68K_INS_FBULE = 108, M68K_INS_FBNE = 109, M68K_INS_FBT = 110, M68K_INS_FBSF = 111, M68K_INS_FBSEQ = 112, M68K_INS_FBGT = 113, M68K_INS_FBGE = 114, M68K_INS_FBLT = 115, M68K_INS_FBLE = 116, M68K_INS_FBGL = 117, M68K_INS_FBGLE = 118, M68K_INS_FBNGLE = 119, M68K_INS_FBNGL = 120, M68K_INS_FBNLE = 121, M68K_INS_FBNLT = 122, M68K_INS_FBNGE = 123, M68K_INS_FBNGT = 124, M68K_INS_FBSNE = 125, M68K_INS_FBST = 126, M68K_INS_FCMP = 127, M68K_INS_FCOS = 128, M68K_INS_FCOSH = 129, M68K_INS_FDBF = 130, M68K_INS_FDBEQ = 131, M68K_INS_FDBOGT = 132, M68K_INS_FDBOGE = 133, M68K_INS_FDBOLT = 134, M68K_INS_FDBOLE = 135, M68K_INS_FDBOGL = 136, M68K_INS_FDBOR = 137, M68K_INS_FDBUN = 138, M68K_INS_FDBUEQ = 139, M68K_INS_FDBUGT = 140, M68K_INS_FDBUGE = 141, M68K_INS_FDBULT = 142, M68K_INS_FDBULE = 143, M68K_INS_FDBNE = 144, M68K_INS_FDBT = 145, M68K_INS_FDBSF = 146, M68K_INS_FDBSEQ = 147, M68K_INS_FDBGT = 148, M68K_INS_FDBGE = 149, M68K_INS_FDBLT = 150, M68K_INS_FDBLE = 151, M68K_INS_FDBGL = 152, M68K_INS_FDBGLE = 153, M68K_INS_FDBNGLE = 154, M68K_INS_FDBNGL = 155, M68K_INS_FDBNLE = 156, M68K_INS_FDBNLT = 157, M68K_INS_FDBNGE = 158, M68K_INS_FDBNGT = 159, M68K_INS_FDBSNE = 160, M68K_INS_FDBST = 161, M68K_INS_FDIV = 162, M68K_INS_FSDIV = 163, M68K_INS_FDDIV = 164, M68K_INS_FETOX = 165, M68K_INS_FETOXM1 = 166, M68K_INS_FGETEXP = 167, M68K_INS_FGETMAN = 168, M68K_INS_FINT = 169, M68K_INS_FINTRZ = 170, M68K_INS_FLOG10 = 171, M68K_INS_FLOG2 = 172, M68K_INS_FLOGN = 173, M68K_INS_FLOGNP1 = 174, M68K_INS_FMOD = 175, M68K_INS_FMOVE = 176, M68K_INS_FSMOVE = 177, M68K_INS_FDMOVE = 178, M68K_INS_FMOVECR = 179, M68K_INS_FMOVEM = 180, M68K_INS_FMUL = 181, M68K_INS_FSMUL = 182, M68K_INS_FDMUL = 183, M68K_INS_FNEG = 184, M68K_INS_FSNEG = 185, M68K_INS_FDNEG = 186, M68K_INS_FNOP = 187, M68K_INS_FREM = 188, M68K_INS_FRESTORE = 189, M68K_INS_FSAVE = 190, M68K_INS_FSCALE = 191, M68K_INS_FSGLDIV = 192, M68K_INS_FSGLMUL = 193, M68K_INS_FSIN = 194, M68K_INS_FSINCOS = 195, M68K_INS_FSINH = 196, M68K_INS_FSQRT = 197, M68K_INS_FSSQRT = 198, M68K_INS_FDSQRT = 199, M68K_INS_FSF = 200, M68K_INS_FSBEQ = 201, M68K_INS_FSOGT = 202, M68K_INS_FSOGE = 203, M68K_INS_FSOLT = 204, M68K_INS_FSOLE = 205, M68K_INS_FSOGL = 206, M68K_INS_FSOR = 207, M68K_INS_FSUN = 208, M68K_INS_FSUEQ = 209, M68K_INS_FSUGT = 210, M68K_INS_FSUGE = 211, M68K_INS_FSULT = 212, M68K_INS_FSULE = 213, M68K_INS_FSNE = 214, M68K_INS_FST = 215, M68K_INS_FSSF = 216, M68K_INS_FSSEQ = 217, M68K_INS_FSGT = 218, M68K_INS_FSGE = 219, M68K_INS_FSLT = 220, M68K_INS_FSLE = 221, M68K_INS_FSGL = 222, M68K_INS_FSGLE = 223, M68K_INS_FSNGLE = 224, M68K_INS_FSNGL = 225, M68K_INS_FSNLE = 226, M68K_INS_FSNLT = 227, M68K_INS_FSNGE = 228, M68K_INS_FSNGT = 229, M68K_INS_FSSNE = 230, M68K_INS_FSST = 231, M68K_INS_FSUB = 232, M68K_INS_FSSUB = 233, M68K_INS_FDSUB = 234, M68K_INS_FTAN = 235, M68K_INS_FTANH = 236, M68K_INS_FTENTOX = 237, M68K_INS_FTRAPF = 238, M68K_INS_FTRAPEQ = 239, M68K_INS_FTRAPOGT = 240, M68K_INS_FTRAPOGE = 241, M68K_INS_FTRAPOLT = 242, M68K_INS_FTRAPOLE = 243, M68K_INS_FTRAPOGL = 244, M68K_INS_FTRAPOR = 245, M68K_INS_FTRAPUN = 246, M68K_INS_FTRAPUEQ = 247, M68K_INS_FTRAPUGT = 248, M68K_INS_FTRAPUGE = 249, M68K_INS_FTRAPULT = 250, M68K_INS_FTRAPULE = 251, M68K_INS_FTRAPNE = 252, M68K_INS_FTRAPT = 253, M68K_INS_FTRAPSF = 254, M68K_INS_FTRAPSEQ = 255, M68K_INS_FTRAPGT = 256, M68K_INS_FTRAPGE = 257, M68K_INS_FTRAPLT = 258, M68K_INS_FTRAPLE = 259, M68K_INS_FTRAPGL = 260, M68K_INS_FTRAPGLE = 261, M68K_INS_FTRAPNGLE = 262, M68K_INS_FTRAPNGL = 263, M68K_INS_FTRAPNLE = 264, M68K_INS_FTRAPNLT = 265, M68K_INS_FTRAPNGE = 266, M68K_INS_FTRAPNGT = 267, M68K_INS_FTRAPSNE = 268, M68K_INS_FTRAPST = 269, M68K_INS_FTST = 270, M68K_INS_FTWOTOX = 271, M68K_INS_HALT = 272, M68K_INS_ILLEGAL = 273, M68K_INS_JMP = 274, M68K_INS_JSR = 275, M68K_INS_LEA = 276, M68K_INS_LINK = 277, M68K_INS_LPSTOP = 278, M68K_INS_LSL = 279, M68K_INS_LSR = 280, M68K_INS_MOVE = 281, M68K_INS_MOVEA = 282, M68K_INS_MOVEC = 283, M68K_INS_MOVEM = 284, M68K_INS_MOVEP = 285, M68K_INS_MOVEQ = 286, M68K_INS_MOVES = 287, M68K_INS_MOVE16 = 288, M68K_INS_MULS = 289, M68K_INS_MULU = 290, M68K_INS_NBCD = 291, M68K_INS_NEG = 292, M68K_INS_NEGX = 293, M68K_INS_NOP = 294, M68K_INS_NOT = 295, M68K_INS_OR = 296, M68K_INS_ORI = 297, M68K_INS_PACK = 298, M68K_INS_PEA = 299, M68K_INS_PFLUSH = 300, M68K_INS_PFLUSHA = 301, M68K_INS_PFLUSHAN = 302, M68K_INS_PFLUSHN = 303, M68K_INS_PLOADR = 304, M68K_INS_PLOADW = 305, M68K_INS_PLPAR = 306, M68K_INS_PLPAW = 307, M68K_INS_PMOVE = 308, M68K_INS_PMOVEFD = 309, M68K_INS_PTESTR = 310, M68K_INS_PTESTW = 311, M68K_INS_PULSE = 312, M68K_INS_REMS = 313, M68K_INS_REMU = 314, M68K_INS_RESET = 315, M68K_INS_ROL = 316, M68K_INS_ROR = 317, M68K_INS_ROXL = 318, M68K_INS_ROXR = 319, M68K_INS_RTD = 320, M68K_INS_RTE = 321, M68K_INS_RTM = 322, M68K_INS_RTR = 323, M68K_INS_RTS = 324, M68K_INS_SBCD = 325, M68K_INS_ST = 326, M68K_INS_SF = 327, M68K_INS_SHI = 328, M68K_INS_SLS = 329, M68K_INS_SCC = 330, M68K_INS_SHS = 331, M68K_INS_SCS = 332, M68K_INS_SLO = 333, M68K_INS_SNE = 334, M68K_INS_SEQ = 335, M68K_INS_SVC = 336, M68K_INS_SVS = 337, M68K_INS_SPL = 338, M68K_INS_SMI = 339, M68K_INS_SGE = 340, M68K_INS_SLT = 341, M68K_INS_SGT = 342, M68K_INS_SLE = 343, M68K_INS_STOP = 344, M68K_INS_SUB = 345, M68K_INS_SUBA = 346, M68K_INS_SUBI = 347, M68K_INS_SUBQ = 348, M68K_INS_SUBX = 349, M68K_INS_SWAP = 350, M68K_INS_TAS = 351, M68K_INS_TRAP = 352, M68K_INS_TRAPV = 353, M68K_INS_TRAPT = 354, M68K_INS_TRAPF = 355, M68K_INS_TRAPHI = 356, M68K_INS_TRAPLS = 357, M68K_INS_TRAPCC = 358, M68K_INS_TRAPHS = 359, M68K_INS_TRAPCS = 360, M68K_INS_TRAPLO = 361, M68K_INS_TRAPNE = 362, M68K_INS_TRAPEQ = 363, M68K_INS_TRAPVC = 364, M68K_INS_TRAPVS = 365, M68K_INS_TRAPPL = 366, M68K_INS_TRAPMI = 367, M68K_INS_TRAPGE = 368, M68K_INS_TRAPLT = 369, M68K_INS_TRAPGT = 370, M68K_INS_TRAPLE = 371, M68K_INS_TST = 372, M68K_INS_UNLK = 373, M68K_INS_UNPK = 374, M68K_INS_ENDING = 375 // <-- mark the end of the list of instructions } /// Group of M68K instructions enum m68k_group_type { M68K_GRP_INVALID = 0, ///< CS_GRUP_INVALID M68K_GRP_JUMP = 1, ///< = CS_GRP_JUMP M68K_GRP_RET = 3, ///< = CS_GRP_RET M68K_GRP_IRET = 5, ///< = CS_GRP_IRET M68K_GRP_BRANCH_RELATIVE = 7, ///< = CS_GRP_BRANCH_RELATIVE M68K_GRP_ENDING = 8 // <-- mark the end of the list of groups }
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkD; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage /* * Conversion parameters: * inFile = * outPack = gio * outFile = TcpConnection * strct = GTcpConnection * realStrct= * ctorStrct= * clss = TcpConnection * interf = * class Code: No * interface Code: No * template for: * extend = * implements: * prefixes: * - g_tcp_connection_ * omit structs: * omit prefixes: * omit code: * omit signals: * imports: * structWrap: * module aliases: * local aliases: * overrides: */ module gtkD.gio.TcpConnection; public import gtkD.gtkc.giotypes; private import gtkD.gtkc.gio; private import gtkD.glib.ConstructionException; private import gtkD.gio.SocketConnection; /** * Description * GSocketConnection is a GIOStream for a connected socket. They * can be created either by GSocketClient when connecting to a host, * or by GSocketListener when accepting a new client. * The type of the GSocketConnection object returned from these calls * depends on the type of the underlying socket that is in use. For * instance, for a TCP/IP connection it will be a GTcpConnection. * Chosing what type of object to construct is done with the socket * connection factory, and it is possible for 3rd parties to register * custom socket connection types for specific combination of socket * family/type/protocol using g_socket_connection_factory_register_type(). */ public class TcpConnection : SocketConnection { /** the main Gtk struct */ protected GTcpConnection* gTcpConnection; public GTcpConnection* getTcpConnectionStruct() { return gTcpConnection; } /** the main Gtk struct as a void* */ protected override void* getStruct() { return cast(void*)gTcpConnection; } /** * Sets our main struct and passes it to the parent class */ public this (GTcpConnection* gTcpConnection) { if(gTcpConnection is null) { this = null; return; } //Check if there already is a D object for this gtk struct void* ptr = getDObject(cast(GObject*)gTcpConnection); if( ptr !is null ) { this = cast(TcpConnection)ptr; return; } super(cast(GSocketConnection*)gTcpConnection); this.gTcpConnection = gTcpConnection; } /** */ /** * This enabled graceful disconnects on close. A graceful disconnect * means that we signal the recieving end that the connection is terminated * and wait for it to close the connection before closing the connection. * A graceful disconnect means that we can be sure that we successfully sent * all the outstanding data to the other end, or get an error reported. * However, it also means we have to wait for all the data to reach the * other side and for it to acknowledge this by closing the socket, which may * take a while. For this reason it is disabled by default. * Since 2.22 * Params: * gracefulDisconnect = Whether to do graceful disconnects or not */ public void setGracefulDisconnect(int gracefulDisconnect) { // void g_tcp_connection_set_graceful_disconnect (GTcpConnection *connection, gboolean graceful_disconnect); g_tcp_connection_set_graceful_disconnect(gTcpConnection, gracefulDisconnect); } /** * Checks if graceful disconnects are used. See * g_tcp_connection_set_graceful_disconnect(). * Since 2.22 * Returns: TRUE if graceful disconnect is used on close, FALSE otherwise */ public int getGracefulDisconnect() { // gboolean g_tcp_connection_get_graceful_disconnect (GTcpConnection *connection); return g_tcp_connection_get_graceful_disconnect(gTcpConnection); } }
D
/** * Defines the bulk of the classes which represent the AST at the expression level. * * Specification: ($LINK2 https://dlang.org/spec/expression.html, Expressions) * * Copyright: Copyright (C) 1999-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/expression.d, _expression.d) * Documentation: https://dlang.org/phobos/dmd_expression.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/expression.d */ module dmd.expression; import core.stdc.stdarg; import core.stdc.stdio; import core.stdc.string; import dmd.aggregate; import dmd.aliasthis; import dmd.apply; import dmd.arrayop; import dmd.arraytypes; import dmd.astenums; import dmd.ast_node; import dmd.gluelayer; import dmd.constfold; import dmd.ctfeexpr; import dmd.ctorflow; import dmd.dcast; import dmd.dclass; import dmd.declaration; import dmd.delegatize; import dmd.dimport; import dmd.dinterpret; import dmd.dmodule; import dmd.dscope; import dmd.dstruct; import dmd.dsymbol; import dmd.dsymbolsem; import dmd.dtemplate; import dmd.errors; import dmd.escape; import dmd.expressionsem; import dmd.func; import dmd.globals; import dmd.hdrgen; import dmd.id; import dmd.identifier; import dmd.init; import dmd.inline; import dmd.location; import dmd.mtype; import dmd.nspace; import dmd.objc; import dmd.opover; import dmd.optimize; import dmd.root.complex; import dmd.root.ctfloat; import dmd.root.filename; import dmd.common.outbuffer; import dmd.root.optional; import dmd.root.rmem; import dmd.root.rootobject; import dmd.root.string; import dmd.root.utf; import dmd.safe; import dmd.sideeffect; import dmd.target; import dmd.tokens; import dmd.typesem; import dmd.visitor; enum LOGSEMANTIC = false; void emplaceExp(T : Expression, Args...)(void* p, Args args) { static if (__VERSION__ < 2099) const init = typeid(T).initializer; else const init = __traits(initSymbol, T); p[0 .. __traits(classInstanceSize, T)] = init[]; (cast(T)p).__ctor(args); } void emplaceExp(T : UnionExp)(T* p, Expression e) { memcpy(p, cast(void*)e, e.size); } /// Return value for `checkModifiable` enum Modifiable { /// Not modifiable no, /// Modifiable (the type is mutable) yes, /// Modifiable because it is initialization initialization, } /** * Specifies how the checkModify deals with certain situations */ enum ModifyFlags { /// Issue error messages on invalid modifications of the variable none, /// No errors are emitted for invalid modifications noError = 0x1, /// The modification occurs for a subfield of the current variable fieldAssign = 0x2, } /**************************************** * Find the first non-comma expression. * Params: * e = Expressions connected by commas * Returns: * left-most non-comma expression */ inout(Expression) firstComma(inout Expression e) { Expression ex = cast()e; while (ex.op == EXP.comma) ex = (cast(CommaExp)ex).e1; return cast(inout)ex; } /**************************************** * Find the last non-comma expression. * Params: * e = Expressions connected by commas * Returns: * right-most non-comma expression */ inout(Expression) lastComma(inout Expression e) { Expression ex = cast()e; while (ex.op == EXP.comma) ex = (cast(CommaExp)ex).e2; return cast(inout)ex; } /***************************************** * Determine if `this` is available by walking up the enclosing * scopes until a function is found. * * Params: * sc = where to start looking for the enclosing function * Returns: * Found function if it satisfies `isThis()`, otherwise `null` */ FuncDeclaration hasThis(Scope* sc) { //printf("hasThis()\n"); Dsymbol p = sc.parent; while (p && p.isTemplateMixin()) p = p.parent; FuncDeclaration fdthis = p ? p.isFuncDeclaration() : null; //printf("fdthis = %p, '%s'\n", fdthis, fdthis ? fdthis.toChars() : ""); // Go upwards until we find the enclosing member function FuncDeclaration fd = fdthis; while (1) { if (!fd) { return null; } if (!fd.isNested() || fd.isThis() || (fd.hasDualContext() && fd.isMember2())) break; Dsymbol parent = fd.parent; while (1) { if (!parent) return null; TemplateInstance ti = parent.isTemplateInstance(); if (ti) parent = ti.parent; else break; } fd = parent.isFuncDeclaration(); } if (!fd.isThis() && !(fd.hasDualContext() && fd.isMember2())) { return null; } assert(fd.vthis); return fd; } /*********************************** * Determine if a `this` is needed to access `d`. * Params: * sc = context * d = declaration to check * Returns: * true means a `this` is needed */ bool isNeedThisScope(Scope* sc, Declaration d) { if (sc.intypeof == 1) return false; AggregateDeclaration ad = d.isThis(); if (!ad) return false; //printf("d = %s, ad = %s\n", d.toChars(), ad.toChars()); for (Dsymbol s = sc.parent; s; s = s.toParentLocal()) { //printf("\ts = %s %s, toParent2() = %p\n", s.kind(), s.toChars(), s.toParent2()); if (AggregateDeclaration ad2 = s.isAggregateDeclaration()) { if (ad2 == ad) return false; else if (ad2.isNested()) continue; else return true; } if (FuncDeclaration f = s.isFuncDeclaration()) { if (f.isMemberLocal()) break; } } return true; } /****************************** * check e is exp.opDispatch!(tiargs) or not * It's used to switch to UFCS the semantic analysis path */ bool isDotOpDispatch(Expression e) { if (auto dtie = e.isDotTemplateInstanceExp()) return dtie.ti.name == Id.opDispatch; return false; } /**************************************** * Expand tuples. * Input: * exps aray of Expressions * Output: * exps rewritten in place */ extern (C++) void expandTuples(Expressions* exps) { //printf("expandTuples()\n"); if (exps is null) return; for (size_t i = 0; i < exps.length; i++) { Expression arg = (*exps)[i]; if (!arg) continue; // Look for tuple with 0 members if (auto e = arg.isTypeExp()) { if (auto tt = e.type.toBasetype().isTypeTuple()) { if (!tt.arguments || tt.arguments.length == 0) { exps.remove(i); if (i == exps.length) return; } else // Expand a TypeTuple { exps.remove(i); auto texps = new Expressions(tt.arguments.length); foreach (j, a; *tt.arguments) (*texps)[j] = new TypeExp(e.loc, a.type); exps.insert(i, texps); } i--; continue; } } // Inline expand all the tuples while (arg.op == EXP.tuple) { TupleExp te = cast(TupleExp)arg; exps.remove(i); // remove arg exps.insert(i, te.exps); // replace with tuple contents if (i == exps.length) return; // empty tuple, no more arguments (*exps)[i] = Expression.combine(te.e0, (*exps)[i]); arg = (*exps)[i]; } } } /**************************************** * Expand alias this tuples. */ TupleDeclaration isAliasThisTuple(Expression e) { if (!e.type) return null; Type t = e.type.toBasetype(); while (true) { if (Dsymbol s = t.toDsymbol(null)) { if (auto ad = s.isAggregateDeclaration()) { s = ad.aliasthis ? ad.aliasthis.sym : null; if (s && s.isVarDeclaration()) { TupleDeclaration td = s.isVarDeclaration().toAlias().isTupleDeclaration(); if (td && td.isexp) return td; } if (Type att = t.aliasthisOf()) { t = att; continue; } } } return null; } } int expandAliasThisTuples(Expressions* exps, size_t starti = 0) { if (!exps || exps.length == 0) return -1; for (size_t u = starti; u < exps.length; u++) { Expression exp = (*exps)[u]; if (TupleDeclaration td = exp.isAliasThisTuple) { exps.remove(u); size_t i; td.foreachVar((s) { auto d = s.isDeclaration(); auto e = new DotVarExp(exp.loc, exp, d); assert(d.type); e.type = d.type; exps.insert(u + i, e); ++i; }); version (none) { printf("expansion ->\n"); foreach (e; exps) { printf("\texps[%d] e = %s %s\n", i, EXPtoString(e.op), e.toChars()); } } return cast(int)u; } } return -1; } /**************************************** * If `s` is a function template, i.e. the only member of a template * and that member is a function, return that template. * Params: * s = symbol that might be a function template * Returns: * template for that function, otherwise null */ TemplateDeclaration getFuncTemplateDecl(Dsymbol s) { FuncDeclaration f = s.isFuncDeclaration(); if (f && f.parent) { if (auto ti = f.parent.isTemplateInstance()) { if (!ti.isTemplateMixin() && ti.tempdecl) { auto td = ti.tempdecl.isTemplateDeclaration(); if (td.onemember && td.ident == f.ident) { return td; } } } } return null; } /************************************************ * If we want the value of this expression, but do not want to call * the destructor on it. */ Expression valueNoDtor(Expression e) { auto ex = lastComma(e); if (auto ce = ex.isCallExp()) { /* The struct value returned from the function is transferred * so do not call the destructor on it. * Recognize: * ((S _ctmp = S.init), _ctmp).this(...) * and make sure the destructor is not called on _ctmp * BUG: if ex is a CommaExp, we should go down the right side. */ if (auto dve = ce.e1.isDotVarExp()) { if (dve.var.isCtorDeclaration()) { // It's a constructor call if (auto comma = dve.e1.isCommaExp()) { if (auto ve = comma.e2.isVarExp()) { VarDeclaration ctmp = ve.var.isVarDeclaration(); if (ctmp) { ctmp.storage_class |= STC.nodtor; assert(!ce.isLvalue()); } } } } } } else if (auto ve = ex.isVarExp()) { auto vtmp = ve.var.isVarDeclaration(); if (vtmp && (vtmp.storage_class & STC.rvalue)) { vtmp.storage_class |= STC.nodtor; } } return e; } /********************************************* * If e is an instance of a struct, and that struct has a copy constructor, * rewrite e as: * (tmp = e),tmp * Input: * sc = just used to specify the scope of created temporary variable * destinationType = the type of the object on which the copy constructor is called; * may be null if the struct defines a postblit */ private Expression callCpCtor(Scope* sc, Expression e, Type destinationType) { if (auto ts = e.type.baseElemOf().isTypeStruct()) { StructDeclaration sd = ts.sym; if (sd.postblit || sd.hasCopyCtor) { /* Create a variable tmp, and replace the argument e with: * (tmp = e),tmp * and let AssignExp() handle the construction. * This is not the most efficient, ideally tmp would be constructed * directly onto the stack. */ auto tmp = copyToTemp(STC.rvalue, "__copytmp", e); if (sd.hasCopyCtor && destinationType) { // https://issues.dlang.org/show_bug.cgi?id=22619 // If the destination type is inout we can preserve it // only if inside an inout function; if we are not inside // an inout function, then we will preserve the type of // the source if (destinationType.hasWild && !(sc.func.storage_class & STC.wild)) tmp.type = e.type; else tmp.type = destinationType; } tmp.storage_class |= STC.nodtor; tmp.dsymbolSemantic(sc); Expression de = new DeclarationExp(e.loc, tmp); Expression ve = new VarExp(e.loc, tmp); de.type = Type.tvoid; ve.type = e.type; return Expression.combine(de, ve); } } return e; } /************************************************ * Handle the postblit call on lvalue, or the move of rvalue. * * Params: * sc = the scope where the expression is encountered * e = the expression the needs to be moved or copied (source) * t = if the struct defines a copy constructor, the type of the destination * * Returns: * The expression that copy constructs or moves the value. */ extern (D) Expression doCopyOrMove(Scope *sc, Expression e, Type t = null) { if (auto ce = e.isCondExp()) { ce.e1 = doCopyOrMove(sc, ce.e1); ce.e2 = doCopyOrMove(sc, ce.e2); } else { e = e.isLvalue() ? callCpCtor(sc, e, t) : valueNoDtor(e); } return e; } /****************************************************************/ /* A type meant as a union of all the Expression types, * to serve essentially as a Variant that will sit on the stack * during CTFE to reduce memory consumption. */ extern (C++) struct UnionExp { // yes, default constructor does nothing extern (D) this(Expression e) { memcpy(&this, cast(void*)e, e.size); } /* Extract pointer to Expression */ extern (C++) Expression exp() return { return cast(Expression)&u; } /* Convert to an allocated Expression */ extern (C++) Expression copy() { Expression e = exp(); //if (e.size > sizeof(u)) printf("%s\n", EXPtoString(e.op).ptr); assert(e.size <= u.sizeof); switch (e.op) { case EXP.cantExpression: return CTFEExp.cantexp; case EXP.voidExpression: return CTFEExp.voidexp; case EXP.break_: return CTFEExp.breakexp; case EXP.continue_: return CTFEExp.continueexp; case EXP.goto_: return CTFEExp.gotoexp; default: return e.copy(); } } private: // Ensure that the union is suitably aligned. align(8) union __AnonStruct__u { char[__traits(classInstanceSize, Expression)] exp; char[__traits(classInstanceSize, IntegerExp)] integerexp; char[__traits(classInstanceSize, ErrorExp)] errorexp; char[__traits(classInstanceSize, RealExp)] realexp; char[__traits(classInstanceSize, ComplexExp)] complexexp; char[__traits(classInstanceSize, SymOffExp)] symoffexp; char[__traits(classInstanceSize, StringExp)] stringexp; char[__traits(classInstanceSize, ArrayLiteralExp)] arrayliteralexp; char[__traits(classInstanceSize, AssocArrayLiteralExp)] assocarrayliteralexp; char[__traits(classInstanceSize, StructLiteralExp)] structliteralexp; char[__traits(classInstanceSize, CompoundLiteralExp)] compoundliteralexp; char[__traits(classInstanceSize, NullExp)] nullexp; char[__traits(classInstanceSize, DotVarExp)] dotvarexp; char[__traits(classInstanceSize, AddrExp)] addrexp; char[__traits(classInstanceSize, IndexExp)] indexexp; char[__traits(classInstanceSize, SliceExp)] sliceexp; char[__traits(classInstanceSize, VectorExp)] vectorexp; } __AnonStruct__u u; } /******************************** * Test to see if two reals are the same. * Regard NaN's as equivalent. * Regard +0 and -0 as different. * Params: * x1 = first operand * x2 = second operand * Returns: * true if x1 is x2 * else false */ bool RealIdentical(real_t x1, real_t x2) { return (CTFloat.isNaN(x1) && CTFloat.isNaN(x2)) || CTFloat.isIdentical(x1, x2); } /************************ TypeDotIdExp ************************************/ /* Things like: * int.size * foo.size * (foo).size * cast(foo).size */ DotIdExp typeDotIdExp(const ref Loc loc, Type type, Identifier ident) { return new DotIdExp(loc, new TypeExp(loc, type), ident); } /*************************************************** * Given an Expression, find the variable it really is. * * For example, `a[index]` is really `a`, and `s.f` is really `s`. * Params: * e = Expression to look at * Returns: * variable if there is one, null if not */ VarDeclaration expToVariable(Expression e) { while (1) { switch (e.op) { case EXP.variable: return (cast(VarExp)e).var.isVarDeclaration(); case EXP.dotVariable: e = (cast(DotVarExp)e).e1; continue; case EXP.index: { IndexExp ei = cast(IndexExp)e; e = ei.e1; Type ti = e.type.toBasetype(); if (ti.ty == Tsarray) continue; return null; } case EXP.slice: { SliceExp ei = cast(SliceExp)e; e = ei.e1; Type ti = e.type.toBasetype(); if (ti.ty == Tsarray) continue; return null; } case EXP.this_: case EXP.super_: return (cast(ThisExp)e).var.isVarDeclaration(); default: return null; } } } enum OwnedBy : ubyte { code, // normal code expression in AST ctfe, // value expression for CTFE cache, // constant value cached for CTFE } enum WANTvalue = 0; // default enum WANTexpand = 1; // expand const/immutable variables if possible /*********************************************************** * https://dlang.org/spec/expression.html#expression */ extern (C++) abstract class Expression : ASTNode { const EXP op; // to minimize use of dynamic_cast ubyte size; // # of bytes in Expression so we can copy() it ubyte parens; // if this is a parenthesized expression Type type; // !=null means that semantic() has been run Loc loc; // file location extern (D) this(const ref Loc loc, EXP op, int size) { //printf("Expression::Expression(op = %d) this = %p\n", op, this); this.loc = loc; this.op = op; this.size = cast(ubyte)size; } static void _init() { CTFEExp.cantexp = new CTFEExp(EXP.cantExpression); CTFEExp.voidexp = new CTFEExp(EXP.voidExpression); CTFEExp.breakexp = new CTFEExp(EXP.break_); CTFEExp.continueexp = new CTFEExp(EXP.continue_); CTFEExp.gotoexp = new CTFEExp(EXP.goto_); CTFEExp.showcontext = new CTFEExp(EXP.showCtfeContext); } /** * Deinitializes the global state of the compiler. * * This can be used to restore the state set by `_init` to its original * state. */ static void deinitialize() { CTFEExp.cantexp = CTFEExp.cantexp.init; CTFEExp.voidexp = CTFEExp.voidexp.init; CTFEExp.breakexp = CTFEExp.breakexp.init; CTFEExp.continueexp = CTFEExp.continueexp.init; CTFEExp.gotoexp = CTFEExp.gotoexp.init; CTFEExp.showcontext = CTFEExp.showcontext.init; } /********************************* * Does *not* do a deep copy. */ final Expression copy() { Expression e; if (!size) { debug { fprintf(stderr, "No expression copy for: %s\n", toChars()); printf("op = %d\n", op); } assert(0); } // memory never freed, so can use the faster bump-pointer-allocation e = cast(Expression)allocmemory(size); //printf("Expression::copy(op = %d) e = %p\n", op, e); return cast(Expression)memcpy(cast(void*)e, cast(void*)this, size); } Expression syntaxCopy() { //printf("Expression::syntaxCopy()\n"); //print(); return copy(); } // kludge for template.isExpression() override final DYNCAST dyncast() const { return DYNCAST.expression; } override const(char)* toChars() const { OutBuffer buf; HdrGenState hgs; toCBuffer(this, &buf, &hgs); return buf.extractChars(); } static if (__VERSION__ < 2092) { final void error(const(char)* format, ...) const { if (type != Type.terror) { va_list ap; va_start(ap, format); .verror(loc, format, ap); va_end(ap); } } final void errorSupplemental(const(char)* format, ...) { if (type == Type.terror) return; va_list ap; va_start(ap, format); .verrorSupplemental(loc, format, ap); va_end(ap); } final void warning(const(char)* format, ...) const { if (type != Type.terror) { va_list ap; va_start(ap, format); .vwarning(loc, format, ap); va_end(ap); } } final void deprecation(const(char)* format, ...) const { if (type != Type.terror) { va_list ap; va_start(ap, format); .vdeprecation(loc, format, ap); va_end(ap); } } } else { pragma(printf) final void error(const(char)* format, ...) const { if (type != Type.terror) { va_list ap; va_start(ap, format); .verror(loc, format, ap); va_end(ap); } } pragma(printf) final void errorSupplemental(const(char)* format, ...) { if (type == Type.terror) return; va_list ap; va_start(ap, format); .verrorSupplemental(loc, format, ap); va_end(ap); } pragma(printf) final void warning(const(char)* format, ...) const { if (type != Type.terror) { va_list ap; va_start(ap, format); .vwarning(loc, format, ap); va_end(ap); } } pragma(printf) final void deprecation(const(char)* format, ...) const { if (type != Type.terror) { va_list ap; va_start(ap, format); .vdeprecation(loc, format, ap); va_end(ap); } } } /********************************** * Combine e1 and e2 by CommaExp if both are not NULL. */ extern (D) static Expression combine(Expression e1, Expression e2) { if (e1) { if (e2) { e1 = new CommaExp(e1.loc, e1, e2); e1.type = e2.type; } } else e1 = e2; return e1; } extern (D) static Expression combine(Expression e1, Expression e2, Expression e3) { return combine(combine(e1, e2), e3); } extern (D) static Expression combine(Expression e1, Expression e2, Expression e3, Expression e4) { return combine(combine(e1, e2), combine(e3, e4)); } /********************************** * If 'e' is a tree of commas, returns the rightmost expression * by stripping off it from the tree. The remained part of the tree * is returned via e0. * Otherwise 'e' is directly returned and e0 is set to NULL. */ extern (D) static Expression extractLast(Expression e, out Expression e0) { if (e.op != EXP.comma) { return e; } CommaExp ce = cast(CommaExp)e; if (ce.e2.op != EXP.comma) { e0 = ce.e1; return ce.e2; } else { e0 = e; Expression* pce = &ce.e2; while ((cast(CommaExp)(*pce)).e2.op == EXP.comma) { pce = &(cast(CommaExp)(*pce)).e2; } assert((*pce).op == EXP.comma); ce = cast(CommaExp)(*pce); *pce = ce.e1; return ce.e2; } } extern (D) static Expressions* arraySyntaxCopy(Expressions* exps) { Expressions* a = null; if (exps) { a = new Expressions(exps.length); foreach (i, e; *exps) { (*a)[i] = e ? e.syntaxCopy() : null; } } return a; } dinteger_t toInteger() { //printf("Expression %s\n", EXPtoString(op).ptr); error("integer constant expression expected instead of `%s`", toChars()); return 0; } uinteger_t toUInteger() { //printf("Expression %s\n", EXPtoString(op).ptr); return cast(uinteger_t)toInteger(); } real_t toReal() { error("floating point constant expression expected instead of `%s`", toChars()); return CTFloat.zero; } real_t toImaginary() { error("floating point constant expression expected instead of `%s`", toChars()); return CTFloat.zero; } complex_t toComplex() { error("floating point constant expression expected instead of `%s`", toChars()); return complex_t(CTFloat.zero); } StringExp toStringExp() { return null; } /*************************************** * Return !=0 if expression is an lvalue. */ bool isLvalue() { return false; } /******************************* * Give error if we're not an lvalue. * If we can, convert expression to be an lvalue. */ Expression toLvalue(Scope* sc, Expression e) { if (!e) e = this; else if (!loc.isValid()) loc = e.loc; if (e.op == EXP.type) error("`%s` is a `%s` definition and cannot be modified", e.type.toChars(), e.type.kind()); else error("`%s` is not an lvalue and cannot be modified", e.toChars()); return ErrorExp.get(); } Expression modifiableLvalue(Scope* sc, Expression e) { //printf("Expression::modifiableLvalue() %s, type = %s\n", toChars(), type.toChars()); // See if this expression is a modifiable lvalue (i.e. not const) if (checkModifiable(this, sc) == Modifiable.yes) { assert(type); if (!type.isMutable()) { if (auto dve = this.isDotVarExp()) { if (isNeedThisScope(sc, dve.var)) for (Dsymbol s = sc.func; s; s = s.toParentLocal()) { FuncDeclaration ff = s.isFuncDeclaration(); if (!ff) break; if (!ff.type.isMutable) { error("cannot modify `%s` in `%s` function", toChars(), MODtoChars(type.mod)); return ErrorExp.get(); } } } error("cannot modify `%s` expression `%s`", MODtoChars(type.mod), toChars()); return ErrorExp.get(); } else if (!type.isAssignable()) { error("cannot modify struct instance `%s` of type `%s` because it contains `const` or `immutable` members", toChars(), type.toChars()); return ErrorExp.get(); } } return toLvalue(sc, e); } final Expression implicitCastTo(Scope* sc, Type t) { return .implicitCastTo(this, sc, t); } final MATCH implicitConvTo(Type t) { return .implicitConvTo(this, t); } final Expression castTo(Scope* sc, Type t) { return .castTo(this, sc, t); } /**************************************** * Resolve __FILE__, __LINE__, __MODULE__, __FUNCTION__, __PRETTY_FUNCTION__, __FILE_FULL_PATH__ to loc. */ Expression resolveLoc(const ref Loc loc, Scope* sc) { this.loc = loc; return this; } /**************************************** * Check that the expression has a valid type. * If not, generates an error "... has no type". * Returns: * true if the expression is not valid. * Note: * When this function returns true, `checkValue()` should also return true. */ bool checkType() { return false; } /**************************************** * Check that the expression has a valid value. * If not, generates an error "... has no value". * Returns: * true if the expression is not valid or has void type. */ bool checkValue() { if (type && type.toBasetype().ty == Tvoid) { error("expression `%s` is `void` and has no value", toChars()); //print(); assert(0); if (!global.gag) type = Type.terror; return true; } return false; } extern (D) final bool checkScalar() { if (op == EXP.error) return true; if (type.toBasetype().ty == Terror) return true; if (!type.isscalar()) { error("`%s` is not a scalar, it is a `%s`", toChars(), type.toChars()); return true; } return checkValue(); } extern (D) final bool checkNoBool() { if (op == EXP.error) return true; if (type.toBasetype().ty == Terror) return true; if (type.toBasetype().ty == Tbool) { error("operation not allowed on `bool` `%s`", toChars()); return true; } return false; } extern (D) final bool checkIntegral() { if (op == EXP.error) return true; if (type.toBasetype().ty == Terror) return true; if (!type.isintegral()) { error("`%s` is not of integral type, it is a `%s`", toChars(), type.toChars()); return true; } return checkValue(); } extern (D) final bool checkArithmetic() { if (op == EXP.error) return true; if (type.toBasetype().ty == Terror) return true; if (!type.isintegral() && !type.isfloating()) { error("`%s` is not of arithmetic type, it is a `%s`", toChars(), type.toChars()); return true; } return checkValue(); } final bool checkDeprecated(Scope* sc, Dsymbol s) { return s.checkDeprecated(loc, sc); } extern (D) final bool checkDisabled(Scope* sc, Dsymbol s) { if (auto d = s.isDeclaration()) { return d.checkDisabled(loc, sc); } return false; } /********************************************* * Calling function f. * Check the purity, i.e. if we're in a pure function * we can only call other pure functions. * Returns true if error occurs. */ extern (D) final bool checkPurity(Scope* sc, FuncDeclaration f) { if (!sc.func) return false; if (sc.func == f) return false; if (sc.intypeof == 1) return false; if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) return false; // If the call has a pure parent, then the called func must be pure. if (!f.isPure() && checkImpure(sc)) { error("`pure` %s `%s` cannot call impure %s `%s`", sc.func.kind(), sc.func.toPrettyChars(), f.kind(), f.toPrettyChars()); checkOverridenDtor(sc, f, dd => dd.type.toTypeFunction().purity != PURE.impure, "impure"); return true; } return false; } /** * Checks whether `f` is a generated `DtorDeclaration` that hides a user-defined one * which passes `check` while `f` doesn't (e.g. when the user defined dtor is pure but * the generated dtor is not). * In that case the method will identify and print all members causing the attribute * missmatch. * * Params: * sc = scope * f = potential `DtorDeclaration` * check = current check (e.g. whether it's pure) * checkName = the kind of check (e.g. `"pure"`) */ extern (D) final void checkOverridenDtor(Scope* sc, FuncDeclaration f, scope bool function(DtorDeclaration) check, const string checkName ) { auto dd = f.isDtorDeclaration(); if (!dd || !dd.isGenerated()) return; // DtorDeclaration without parents should fail at an earlier stage auto ad = cast(AggregateDeclaration) f.toParent2(); assert(ad); if (ad.userDtors.length) { if (!check(ad.userDtors[0])) // doesn't match check (e.g. is impure as well) return; // Sanity check assert(!check(ad.fieldDtor)); } dd.loc.errorSupplemental("%s`%s.~this` is %.*s because of the following field's destructors:", dd.isGenerated() ? "generated " : "".ptr, ad.toChars, cast(int) checkName.length, checkName.ptr); // Search for the offending fields foreach (field; ad.fields) { // Only structs may define automatically called destructors auto ts = field.type.isTypeStruct(); if (!ts) { // But they might be part of a static array auto ta = field.type.isTypeSArray(); if (!ta) continue; ts = ta.baseElemOf().isTypeStruct(); if (!ts) continue; } auto fieldSym = ts.toDsymbol(sc); assert(fieldSym); // Resolving ts must succeed because missing defs. should error before auto fieldSd = fieldSym.isStructDeclaration(); assert(fieldSd); // ts is a TypeStruct, this would imply a malformed ASR if (fieldSd.dtor && !check(fieldSd.dtor)) { field.loc.errorSupplemental(" - %s %s", field.type.toChars(), field.toChars()); if (fieldSd.dtor.isGenerated()) checkOverridenDtor(sc, fieldSd.dtor, check, checkName); else fieldSd.dtor.loc.errorSupplemental(" %.*s `%s.~this` is declared here", cast(int) checkName.length, checkName.ptr, fieldSd.toChars()); } } } /******************************************* * Accessing variable v. * Check for purity and safety violations. * Returns true if error occurs. */ extern (D) final bool checkPurity(Scope* sc, VarDeclaration v) { //printf("v = %s %s\n", v.type.toChars(), v.toChars()); /* Look for purity and safety violations when accessing variable v * from current function. */ if (!sc.func) return false; if (sc.intypeof == 1) return false; // allow violations inside typeof(expression) if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) return false; // allow violations inside compile-time evaluated expressions and debug conditionals if (v.ident == Id.ctfe) return false; // magic variable never violates pure and safe if (v.isImmutable()) return false; // always safe and pure to access immutables... if (v.isConst() && !v.isReference() && (v.isDataseg() || v.isParameter()) && v.type.implicitConvTo(v.type.immutableOf())) return false; // or const global/parameter values which have no mutable indirections if (v.storage_class & STC.manifest) return false; // ...or manifest constants // accessing empty structs is pure // https://issues.dlang.org/show_bug.cgi?id=18694 // https://issues.dlang.org/show_bug.cgi?id=21464 // https://issues.dlang.org/show_bug.cgi?id=23589 if (v.type.ty == Tstruct) { StructDeclaration sd = (cast(TypeStruct)v.type).sym; if (sd.members) // not opaque { if (sd.semanticRun >= PASS.semanticdone) sd.determineSize(v.loc); if (sd.hasNoFields) return false; } } bool err = false; if (v.isDataseg()) { // https://issues.dlang.org/show_bug.cgi?id=7533 // Accessing implicit generated __gate is pure. if (v.ident == Id.gate) return false; if (checkImpure(sc)) { error("`pure` %s `%s` cannot access mutable static data `%s`", sc.func.kind(), sc.func.toPrettyChars(), v.toChars()); err = true; } } else { /* Given: * void f() { * int fx; * pure void g() { * int gx; * /+pure+/ void h() { * int hx; * /+pure+/ void i() { } * } * } * } * i() can modify hx and gx but not fx */ Dsymbol vparent = v.toParent2(); for (Dsymbol s = sc.func; !err && s; s = s.toParentP(vparent)) { if (s == vparent) break; if (AggregateDeclaration ad = s.isAggregateDeclaration()) { if (ad.isNested()) continue; break; } FuncDeclaration ff = s.isFuncDeclaration(); if (!ff) break; if (ff.isNested() || ff.isThis()) { if (ff.type.isImmutable() || ff.type.isShared() && !MODimplicitConv(ff.type.mod, v.type.mod)) { OutBuffer ffbuf; OutBuffer vbuf; MODMatchToBuffer(&ffbuf, ff.type.mod, v.type.mod); MODMatchToBuffer(&vbuf, v.type.mod, ff.type.mod); error("%s%s `%s` cannot access %sdata `%s`", ffbuf.peekChars(), ff.kind(), ff.toPrettyChars(), vbuf.peekChars(), v.toChars()); err = true; break; } continue; } break; } } /* Do not allow safe functions to access __gshared data */ if (v.storage_class & STC.gshared) { if (sc.setUnsafe(false, this.loc, "`@safe` function `%s` cannot access `__gshared` data `%s`", sc.func, v)) { err = true; } } return err; } /* Check if sc.func is impure or can be made impure. Returns true on error, i.e. if sc.func is pure and cannot be made impure. */ private static bool checkImpure(Scope* sc) { return sc.func && (sc.flags & SCOPE.compile ? sc.func.isPureBypassingInference() >= PURE.weak : sc.func.setImpure()); } /********************************************* * Calling function f. * Check the safety, i.e. if we're in a @safe function * we can only call @safe or @trusted functions. * Returns true if error occurs. */ extern (D) final bool checkSafety(Scope* sc, FuncDeclaration f) { if (sc.func == f) return false; if (sc.intypeof == 1) return false; if (sc.flags & SCOPE.debug_) return false; if ((sc.flags & SCOPE.ctfe) && sc.func) return false; if (!sc.func) { if (sc.varDecl && !f.safetyInprocess && !f.isSafe() && !f.isTrusted()) { if (sc.varDecl.storage_class & STC.safe) { error("`@safe` variable `%s` cannot be initialized by calling `@system` function `%s`", sc.varDecl.toChars(), f.toChars()); return true; } else { sc.varDecl.storage_class |= STC.system; } } return false; } if (!f.isSafe() && !f.isTrusted()) { if (sc.flags & SCOPE.compile ? sc.func.isSafeBypassingInference() : sc.func.setUnsafeCall(f)) { if (!loc.isValid()) // e.g. implicitly generated dtor loc = sc.func.loc; const prettyChars = f.toPrettyChars(); error("`@safe` %s `%s` cannot call `@system` %s `%s`", sc.func.kind(), sc.func.toPrettyChars(), f.kind(), prettyChars); f.errorSupplementalInferredSafety(/*max depth*/ 10, /*deprecation*/ false); .errorSupplemental(f.loc, "`%s` is declared here", prettyChars); checkOverridenDtor(sc, f, dd => dd.type.toTypeFunction().trust > TRUST.system, "@system"); return true; } } else if (f.isSafe() && f.safetyViolation) { // for dip1000 by default transition, print deprecations for calling functions that will become `@system` if (sc.func.isSafeBypassingInference()) { .deprecation(this.loc, "`@safe` function `%s` calling `%s`", sc.func.toChars(), f.toChars()); errorSupplementalInferredSafety(f, 10, true); } else if (!sc.func.safetyViolation) { import dmd.func : AttributeViolation; sc.func.safetyViolation = new AttributeViolation(this.loc, null, f, null, null); } } return false; } /********************************************* * Calling function f. * Check the @nogc-ness, i.e. if we're in a @nogc function * we can only call other @nogc functions. * Returns true if error occurs. */ extern (D) final bool checkNogc(Scope* sc, FuncDeclaration f) { if (!sc.func) return false; if (sc.func == f) return false; if (sc.intypeof == 1) return false; if (sc.flags & (SCOPE.ctfe | SCOPE.debug_)) return false; if (!f.isNogc()) { if (sc.flags & SCOPE.compile ? sc.func.isNogcBypassingInference() : sc.func.setGC()) { if (loc.linnum == 0) // e.g. implicitly generated dtor loc = sc.func.loc; // Lowered non-@nogc'd hooks will print their own error message inside of nogc.d (NOGCVisitor.visit(CallExp e)), // so don't print anything to avoid double error messages. if (!(f.ident == Id._d_HookTraceImpl || f.ident == Id._d_arraysetlengthT || f.ident == Id._d_arrayappendT || f.ident == Id._d_arrayappendcTX)) error("`@nogc` %s `%s` cannot call non-@nogc %s `%s`", sc.func.kind(), sc.func.toPrettyChars(), f.kind(), f.toPrettyChars()); checkOverridenDtor(sc, f, dd => dd.type.toTypeFunction().isnogc, "non-@nogc"); return true; } } return false; } /******************************************** * Check that the postblit is callable if t is an array of structs. * Returns true if error happens. */ extern (D) final bool checkPostblit(Scope* sc, Type t) { if (auto ts = t.baseElemOf().isTypeStruct()) { if (global.params.useTypeInfo && Type.dtypeinfo) { // https://issues.dlang.org/show_bug.cgi?id=11395 // Require TypeInfo generation for array concatenation semanticTypeInfo(sc, t); } StructDeclaration sd = ts.sym; if (sd.postblit) { if (sd.postblit.checkDisabled(loc, sc)) return true; //checkDeprecated(sc, sd.postblit); // necessary? checkPurity(sc, sd.postblit); checkSafety(sc, sd.postblit); checkNogc(sc, sd.postblit); //checkAccess(sd, loc, sc, sd.postblit); // necessary? return false; } } return false; } extern (D) final bool checkRightThis(Scope* sc) { if (op == EXP.error) return true; if (op == EXP.variable && type.ty != Terror) { VarExp ve = cast(VarExp)this; if (isNeedThisScope(sc, ve.var)) { //printf("checkRightThis sc.intypeof = %d, ad = %p, func = %p, fdthis = %p\n", // sc.intypeof, sc.getStructClassScope(), func, fdthis); error("need `this` for `%s` of type `%s`", ve.var.toChars(), ve.var.type.toChars()); return true; } } return false; } /******************************* * Check whether the expression allows RMW operations, error with rmw operator diagnostic if not. * ex is the RHS expression, or NULL if ++/-- is used (for diagnostics) * Returns true if error occurs. */ extern (D) final bool checkReadModifyWrite(EXP rmwOp, Expression ex = null) { //printf("Expression::checkReadModifyWrite() %s %s", toChars(), ex ? ex.toChars() : ""); if (!type || !type.isShared() || type.isTypeStruct() || type.isTypeClass()) return false; // atomicOp uses opAssign (+=/-=) rather than opOp (++/--) for the CT string literal. switch (rmwOp) { case EXP.plusPlus: case EXP.prePlusPlus: rmwOp = EXP.addAssign; break; case EXP.minusMinus: case EXP.preMinusMinus: rmwOp = EXP.minAssign; break; default: break; } error("read-modify-write operations are not allowed for `shared` variables"); errorSupplemental("Use `core.atomic.atomicOp!\"%s\"(%s, %s)` instead", EXPtoString(rmwOp).ptr, toChars(), ex ? ex.toChars() : "1"); return true; } /************************************************ * Destructors are attached to VarDeclarations. * Hence, if expression returns a temp that needs a destructor, * make sure and create a VarDeclaration for that temp. */ Expression addDtorHook(Scope* sc) { return this; } /****************************** * Take address of expression. */ final Expression addressOf() { //printf("Expression::addressOf()\n"); debug { assert(op == EXP.error || isLvalue()); } Expression e = new AddrExp(loc, this, type.pointerTo()); return e; } /****************************** * If this is a reference, dereference it. */ final Expression deref() { //printf("Expression::deref()\n"); // type could be null if forward referencing an 'auto' variable if (type) if (auto tr = type.isTypeReference()) { Expression e = new PtrExp(loc, this, tr.next); return e; } return this; } final Expression optimize(int result, bool keepLvalue = false) { return Expression_optimize(this, result, keepLvalue); } // Entry point for CTFE. // A compile-time result is required. Give an error if not possible final Expression ctfeInterpret() { return .ctfeInterpret(this); } final int isConst() { return .isConst(this); } /// Statically evaluate this expression to a `bool` if possible /// Returns: an optional thath either contains the value or is empty Optional!bool toBool() { return typeof(return)(); } bool hasCode() { return true; } final pure inout nothrow @nogc @safe { inout(IntegerExp) isIntegerExp() { return op == EXP.int64 ? cast(typeof(return))this : null; } inout(ErrorExp) isErrorExp() { return op == EXP.error ? cast(typeof(return))this : null; } inout(VoidInitExp) isVoidInitExp() { return op == EXP.void_ ? cast(typeof(return))this : null; } inout(RealExp) isRealExp() { return op == EXP.float64 ? cast(typeof(return))this : null; } inout(ComplexExp) isComplexExp() { return op == EXP.complex80 ? cast(typeof(return))this : null; } inout(IdentifierExp) isIdentifierExp() { return op == EXP.identifier ? cast(typeof(return))this : null; } inout(DollarExp) isDollarExp() { return op == EXP.dollar ? cast(typeof(return))this : null; } inout(DsymbolExp) isDsymbolExp() { return op == EXP.dSymbol ? cast(typeof(return))this : null; } inout(ThisExp) isThisExp() { return op == EXP.this_ ? cast(typeof(return))this : null; } inout(SuperExp) isSuperExp() { return op == EXP.super_ ? cast(typeof(return))this : null; } inout(NullExp) isNullExp() { return op == EXP.null_ ? cast(typeof(return))this : null; } inout(StringExp) isStringExp() { return op == EXP.string_ ? cast(typeof(return))this : null; } inout(TupleExp) isTupleExp() { return op == EXP.tuple ? cast(typeof(return))this : null; } inout(ArrayLiteralExp) isArrayLiteralExp() { return op == EXP.arrayLiteral ? cast(typeof(return))this : null; } inout(AssocArrayLiteralExp) isAssocArrayLiteralExp() { return op == EXP.assocArrayLiteral ? cast(typeof(return))this : null; } inout(StructLiteralExp) isStructLiteralExp() { return op == EXP.structLiteral ? cast(typeof(return))this : null; } inout(CompoundLiteralExp) isCompoundLiteralExp() { return op == EXP.compoundLiteral ? cast(typeof(return))this : null; } inout(TypeExp) isTypeExp() { return op == EXP.type ? cast(typeof(return))this : null; } inout(ScopeExp) isScopeExp() { return op == EXP.scope_ ? cast(typeof(return))this : null; } inout(TemplateExp) isTemplateExp() { return op == EXP.template_ ? cast(typeof(return))this : null; } inout(NewExp) isNewExp() { return op == EXP.new_ ? cast(typeof(return))this : null; } inout(NewAnonClassExp) isNewAnonClassExp() { return op == EXP.newAnonymousClass ? cast(typeof(return))this : null; } inout(SymOffExp) isSymOffExp() { return op == EXP.symbolOffset ? cast(typeof(return))this : null; } inout(VarExp) isVarExp() { return op == EXP.variable ? cast(typeof(return))this : null; } inout(OverExp) isOverExp() { return op == EXP.overloadSet ? cast(typeof(return))this : null; } inout(FuncExp) isFuncExp() { return op == EXP.function_ ? cast(typeof(return))this : null; } inout(DeclarationExp) isDeclarationExp() { return op == EXP.declaration ? cast(typeof(return))this : null; } inout(TypeidExp) isTypeidExp() { return op == EXP.typeid_ ? cast(typeof(return))this : null; } inout(TraitsExp) isTraitsExp() { return op == EXP.traits ? cast(typeof(return))this : null; } inout(HaltExp) isHaltExp() { return op == EXP.halt ? cast(typeof(return))this : null; } inout(IsExp) isExp() { return op == EXP.is_ ? cast(typeof(return))this : null; } inout(MixinExp) isMixinExp() { return op == EXP.mixin_ ? cast(typeof(return))this : null; } inout(ImportExp) isImportExp() { return op == EXP.import_ ? cast(typeof(return))this : null; } inout(AssertExp) isAssertExp() { return op == EXP.assert_ ? cast(typeof(return))this : null; } inout(ThrowExp) isThrowExp() { return op == EXP.throw_ ? cast(typeof(return))this : null; } inout(DotIdExp) isDotIdExp() { return op == EXP.dotIdentifier ? cast(typeof(return))this : null; } inout(DotTemplateExp) isDotTemplateExp() { return op == EXP.dotTemplateDeclaration ? cast(typeof(return))this : null; } inout(DotVarExp) isDotVarExp() { return op == EXP.dotVariable ? cast(typeof(return))this : null; } inout(DotTemplateInstanceExp) isDotTemplateInstanceExp() { return op == EXP.dotTemplateInstance ? cast(typeof(return))this : null; } inout(DelegateExp) isDelegateExp() { return op == EXP.delegate_ ? cast(typeof(return))this : null; } inout(DotTypeExp) isDotTypeExp() { return op == EXP.dotType ? cast(typeof(return))this : null; } inout(CallExp) isCallExp() { return op == EXP.call ? cast(typeof(return))this : null; } inout(AddrExp) isAddrExp() { return op == EXP.address ? cast(typeof(return))this : null; } inout(PtrExp) isPtrExp() { return op == EXP.star ? cast(typeof(return))this : null; } inout(NegExp) isNegExp() { return op == EXP.negate ? cast(typeof(return))this : null; } inout(UAddExp) isUAddExp() { return op == EXP.uadd ? cast(typeof(return))this : null; } inout(ComExp) isComExp() { return op == EXP.tilde ? cast(typeof(return))this : null; } inout(NotExp) isNotExp() { return op == EXP.not ? cast(typeof(return))this : null; } inout(DeleteExp) isDeleteExp() { return op == EXP.delete_ ? cast(typeof(return))this : null; } inout(CastExp) isCastExp() { return op == EXP.cast_ ? cast(typeof(return))this : null; } inout(VectorExp) isVectorExp() { return op == EXP.vector ? cast(typeof(return))this : null; } inout(VectorArrayExp) isVectorArrayExp() { return op == EXP.vectorArray ? cast(typeof(return))this : null; } inout(SliceExp) isSliceExp() { return op == EXP.slice ? cast(typeof(return))this : null; } inout(ArrayLengthExp) isArrayLengthExp() { return op == EXP.arrayLength ? cast(typeof(return))this : null; } inout(ArrayExp) isArrayExp() { return op == EXP.array ? cast(typeof(return))this : null; } inout(DotExp) isDotExp() { return op == EXP.dot ? cast(typeof(return))this : null; } inout(CommaExp) isCommaExp() { return op == EXP.comma ? cast(typeof(return))this : null; } inout(IntervalExp) isIntervalExp() { return op == EXP.interval ? cast(typeof(return))this : null; } inout(DelegatePtrExp) isDelegatePtrExp() { return op == EXP.delegatePointer ? cast(typeof(return))this : null; } inout(DelegateFuncptrExp) isDelegateFuncptrExp() { return op == EXP.delegateFunctionPointer ? cast(typeof(return))this : null; } inout(IndexExp) isIndexExp() { return op == EXP.index ? cast(typeof(return))this : null; } inout(PostExp) isPostExp() { return (op == EXP.plusPlus || op == EXP.minusMinus) ? cast(typeof(return))this : null; } inout(PreExp) isPreExp() { return (op == EXP.prePlusPlus || op == EXP.preMinusMinus) ? cast(typeof(return))this : null; } inout(AssignExp) isAssignExp() { return op == EXP.assign ? cast(typeof(return))this : null; } inout(ConstructExp) isConstructExp() { return op == EXP.construct ? cast(typeof(return))this : null; } inout(BlitExp) isBlitExp() { return op == EXP.blit ? cast(typeof(return))this : null; } inout(AddAssignExp) isAddAssignExp() { return op == EXP.addAssign ? cast(typeof(return))this : null; } inout(MinAssignExp) isMinAssignExp() { return op == EXP.minAssign ? cast(typeof(return))this : null; } inout(MulAssignExp) isMulAssignExp() { return op == EXP.mulAssign ? cast(typeof(return))this : null; } inout(DivAssignExp) isDivAssignExp() { return op == EXP.divAssign ? cast(typeof(return))this : null; } inout(ModAssignExp) isModAssignExp() { return op == EXP.modAssign ? cast(typeof(return))this : null; } inout(AndAssignExp) isAndAssignExp() { return op == EXP.andAssign ? cast(typeof(return))this : null; } inout(OrAssignExp) isOrAssignExp() { return op == EXP.orAssign ? cast(typeof(return))this : null; } inout(XorAssignExp) isXorAssignExp() { return op == EXP.xorAssign ? cast(typeof(return))this : null; } inout(PowAssignExp) isPowAssignExp() { return op == EXP.powAssign ? cast(typeof(return))this : null; } inout(ShlAssignExp) isShlAssignExp() { return op == EXP.leftShiftAssign ? cast(typeof(return))this : null; } inout(ShrAssignExp) isShrAssignExp() { return op == EXP.rightShiftAssign ? cast(typeof(return))this : null; } inout(UshrAssignExp) isUshrAssignExp() { return op == EXP.unsignedRightShiftAssign ? cast(typeof(return))this : null; } inout(CatAssignExp) isCatAssignExp() { return op == EXP.concatenateAssign ? cast(typeof(return))this : null; } inout(CatElemAssignExp) isCatElemAssignExp() { return op == EXP.concatenateElemAssign ? cast(typeof(return))this : null; } inout(CatDcharAssignExp) isCatDcharAssignExp() { return op == EXP.concatenateDcharAssign ? cast(typeof(return))this : null; } inout(AddExp) isAddExp() { return op == EXP.add ? cast(typeof(return))this : null; } inout(MinExp) isMinExp() { return op == EXP.min ? cast(typeof(return))this : null; } inout(CatExp) isCatExp() { return op == EXP.concatenate ? cast(typeof(return))this : null; } inout(MulExp) isMulExp() { return op == EXP.mul ? cast(typeof(return))this : null; } inout(DivExp) isDivExp() { return op == EXP.div ? cast(typeof(return))this : null; } inout(ModExp) isModExp() { return op == EXP.mod ? cast(typeof(return))this : null; } inout(PowExp) isPowExp() { return op == EXP.pow ? cast(typeof(return))this : null; } inout(ShlExp) isShlExp() { return op == EXP.leftShift ? cast(typeof(return))this : null; } inout(ShrExp) isShrExp() { return op == EXP.rightShift ? cast(typeof(return))this : null; } inout(UshrExp) isUshrExp() { return op == EXP.unsignedRightShift ? cast(typeof(return))this : null; } inout(AndExp) isAndExp() { return op == EXP.and ? cast(typeof(return))this : null; } inout(OrExp) isOrExp() { return op == EXP.or ? cast(typeof(return))this : null; } inout(XorExp) isXorExp() { return op == EXP.xor ? cast(typeof(return))this : null; } inout(LogicalExp) isLogicalExp() { return (op == EXP.andAnd || op == EXP.orOr) ? cast(typeof(return))this : null; } //inout(CmpExp) isCmpExp() { return op == EXP. ? cast(typeof(return))this : null; } inout(InExp) isInExp() { return op == EXP.in_ ? cast(typeof(return))this : null; } inout(RemoveExp) isRemoveExp() { return op == EXP.remove ? cast(typeof(return))this : null; } inout(EqualExp) isEqualExp() { return (op == EXP.equal || op == EXP.notEqual) ? cast(typeof(return))this : null; } inout(IdentityExp) isIdentityExp() { return (op == EXP.identity || op == EXP.notIdentity) ? cast(typeof(return))this : null; } inout(CondExp) isCondExp() { return op == EXP.question ? cast(typeof(return))this : null; } inout(GenericExp) isGenericExp() { return op == EXP._Generic ? cast(typeof(return))this : null; } inout(DefaultInitExp) isDefaultInitExp() { return isDefaultInitOp(op) ? cast(typeof(return))this: null; } inout(FileInitExp) isFileInitExp() { return (op == EXP.file || op == EXP.fileFullPath) ? cast(typeof(return))this : null; } inout(LineInitExp) isLineInitExp() { return op == EXP.line ? cast(typeof(return))this : null; } inout(ModuleInitExp) isModuleInitExp() { return op == EXP.moduleString ? cast(typeof(return))this : null; } inout(FuncInitExp) isFuncInitExp() { return op == EXP.functionString ? cast(typeof(return))this : null; } inout(PrettyFuncInitExp) isPrettyFuncInitExp() { return op == EXP.prettyFunction ? cast(typeof(return))this : null; } inout(ObjcClassReferenceExp) isObjcClassReferenceExp() { return op == EXP.objcClassReference ? cast(typeof(return))this : null; } inout(ClassReferenceExp) isClassReferenceExp() { return op == EXP.classReference ? cast(typeof(return))this : null; } inout(ThrownExceptionExp) isThrownExceptionExp() { return op == EXP.thrownException ? cast(typeof(return))this : null; } inout(UnaExp) isUnaExp() pure inout nothrow @nogc { return exptab[op] & EXPFLAGS.unary ? cast(typeof(return))this : null; } inout(BinExp) isBinExp() pure inout nothrow @nogc { return exptab[op] & EXPFLAGS.binary ? cast(typeof(return))this : null; } inout(BinAssignExp) isBinAssignExp() pure inout nothrow @nogc { return exptab[op] & EXPFLAGS.binaryAssign ? cast(typeof(return))this : null; } } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A compile-time known integer value */ extern (C++) final class IntegerExp : Expression { private dinteger_t value; extern (D) this(const ref Loc loc, dinteger_t value, Type type) { super(loc, EXP.int64, __traits(classInstanceSize, IntegerExp)); //printf("IntegerExp(value = %lld, type = '%s')\n", value, type ? type.toChars() : ""); assert(type); if (!type.isscalar()) { //printf("%s, loc = %d\n", toChars(), loc.linnum); if (type.ty != Terror) error("integral constant must be scalar type, not `%s`", type.toChars()); type = Type.terror; } this.type = type; this.value = normalize(type.toBasetype().ty, value); } extern (D) this(dinteger_t value) { super(Loc.initial, EXP.int64, __traits(classInstanceSize, IntegerExp)); this.type = Type.tint32; this.value = cast(int)value; } static IntegerExp create(const ref Loc loc, dinteger_t value, Type type) { return new IntegerExp(loc, value, type); } // Same as create, but doesn't allocate memory. static void emplace(UnionExp* pue, const ref Loc loc, dinteger_t value, Type type) { emplaceExp!(IntegerExp)(pue, loc, value, type); } override bool equals(const RootObject o) const { if (this == o) return true; if (auto ne = (cast(Expression)o).isIntegerExp()) { if (type.toHeadMutable().equals(ne.type.toHeadMutable()) && value == ne.value) { return true; } } return false; } override dinteger_t toInteger() { // normalize() is necessary until we fix all the paints of 'type' return value = normalize(type.toBasetype().ty, value); } override real_t toReal() { // normalize() is necessary until we fix all the paints of 'type' const ty = type.toBasetype().ty; const val = normalize(ty, value); value = val; return (ty == Tuns64) ? real_t(cast(ulong)val) : real_t(cast(long)val); } override real_t toImaginary() { return CTFloat.zero; } override complex_t toComplex() { return complex_t(toReal()); } override Optional!bool toBool() { bool r = toInteger() != 0; return typeof(return)(r); } override Expression toLvalue(Scope* sc, Expression e) { if (!e) e = this; else if (!loc.isValid()) loc = e.loc; e.error("cannot modify constant `%s`", e.toChars()); return ErrorExp.get(); } override void accept(Visitor v) { v.visit(this); } dinteger_t getInteger() { return value; } void setInteger(dinteger_t value) { this.value = normalize(type.toBasetype().ty, value); } extern (D) static dinteger_t normalize(TY ty, dinteger_t value) { /* 'Normalize' the value of the integer to be in range of the type */ dinteger_t result; switch (ty) { case Tbool: result = (value != 0); break; case Tint8: result = cast(byte)value; break; case Tchar: case Tuns8: result = cast(ubyte)value; break; case Tint16: result = cast(short)value; break; case Twchar: case Tuns16: result = cast(ushort)value; break; case Tint32: result = cast(int)value; break; case Tdchar: case Tuns32: result = cast(uint)value; break; case Tint64: result = cast(long)value; break; case Tuns64: result = cast(ulong)value; break; case Tpointer: if (target.ptrsize == 8) goto case Tuns64; if (target.ptrsize == 4) goto case Tuns32; if (target.ptrsize == 2) goto case Tuns16; assert(0); default: break; } return result; } override IntegerExp syntaxCopy() { return this; } /** * Use this instead of creating new instances for commonly used literals * such as 0 or 1. * * Parameters: * v = The value of the expression * Returns: * A static instance of the expression, typed as `Tint32`. */ static IntegerExp literal(int v)() { __gshared IntegerExp theConstant; if (!theConstant) theConstant = new IntegerExp(v); return theConstant; } /** * Use this instead of creating new instances for commonly used bools. * * Parameters: * b = The value of the expression * Returns: * A static instance of the expression, typed as `Type.tbool`. */ static IntegerExp createBool(bool b) { __gshared IntegerExp trueExp, falseExp; if (!trueExp) { trueExp = new IntegerExp(Loc.initial, 1, Type.tbool); falseExp = new IntegerExp(Loc.initial, 0, Type.tbool); } return b ? trueExp : falseExp; } } /*********************************************************** * Use this expression for error recovery. * * It should behave as a 'sink' to prevent further cascaded error messages. */ extern (C++) final class ErrorExp : Expression { private extern (D) this() { super(Loc.initial, EXP.error, __traits(classInstanceSize, ErrorExp)); type = Type.terror; } static ErrorExp get () { if (errorexp is null) errorexp = new ErrorExp(); if (global.errors == 0 && global.gaggedErrors == 0) { /* Unfortunately, errors can still leak out of gagged errors, * and we need to set the error count to prevent bogus code * generation. At least give a message. */ .error(Loc.initial, "unknown, please file report on issues.dlang.org"); } return errorexp; } override Expression toLvalue(Scope* sc, Expression e) { return this; } override void accept(Visitor v) { v.visit(this); } extern (C++) __gshared ErrorExp errorexp; // handy shared value } /*********************************************************** * An uninitialized value, * generated from void initializers. * * https://dlang.org/spec/declaration.html#void_init */ extern (C++) final class VoidInitExp : Expression { VarDeclaration var; /// the variable from where the void value came from, null if not known /// Useful for error messages extern (D) this(VarDeclaration var) { super(var.loc, EXP.void_, __traits(classInstanceSize, VoidInitExp)); this.var = var; this.type = var.type; } override const(char)* toChars() const { return "void"; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A compile-time known floating point number */ extern (C++) final class RealExp : Expression { real_t value; extern (D) this(const ref Loc loc, real_t value, Type type) { super(loc, EXP.float64, __traits(classInstanceSize, RealExp)); //printf("RealExp::RealExp(%Lg)\n", value); this.value = value; this.type = type; } static RealExp create(const ref Loc loc, real_t value, Type type) { return new RealExp(loc, value, type); } // Same as create, but doesn't allocate memory. static void emplace(UnionExp* pue, const ref Loc loc, real_t value, Type type) { emplaceExp!(RealExp)(pue, loc, value, type); } override bool equals(const RootObject o) const { if (this == o) return true; if (auto ne = (cast(Expression)o).isRealExp()) { if (type.toHeadMutable().equals(ne.type.toHeadMutable()) && RealIdentical(value, ne.value)) { return true; } } return false; } override dinteger_t toInteger() { return cast(sinteger_t)toReal(); } override uinteger_t toUInteger() { return cast(uinteger_t)toReal(); } override real_t toReal() { return type.isreal() ? value : CTFloat.zero; } override real_t toImaginary() { return type.isreal() ? CTFloat.zero : value; } override complex_t toComplex() { return complex_t(toReal(), toImaginary()); } override Optional!bool toBool() { return typeof(return)(!!value); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A compile-time complex number (deprecated) */ extern (C++) final class ComplexExp : Expression { complex_t value; extern (D) this(const ref Loc loc, complex_t value, Type type) { super(loc, EXP.complex80, __traits(classInstanceSize, ComplexExp)); this.value = value; this.type = type; //printf("ComplexExp::ComplexExp(%s)\n", toChars()); } static ComplexExp create(const ref Loc loc, complex_t value, Type type) { return new ComplexExp(loc, value, type); } // Same as create, but doesn't allocate memory. static void emplace(UnionExp* pue, const ref Loc loc, complex_t value, Type type) { emplaceExp!(ComplexExp)(pue, loc, value, type); } override bool equals(const RootObject o) const { if (this == o) return true; if (auto ne = (cast(Expression)o).isComplexExp()) { if (type.toHeadMutable().equals(ne.type.toHeadMutable()) && RealIdentical(creall(value), creall(ne.value)) && RealIdentical(cimagl(value), cimagl(ne.value))) { return true; } } return false; } override dinteger_t toInteger() { return cast(sinteger_t)toReal(); } override uinteger_t toUInteger() { return cast(uinteger_t)toReal(); } override real_t toReal() { return creall(value); } override real_t toImaginary() { return cimagl(value); } override complex_t toComplex() { return value; } override Optional!bool toBool() { return typeof(return)(!!value); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * An identifier in the context of an expression (as opposed to a declaration) * * --- * int x; // VarDeclaration with Identifier * x++; // PostExp with IdentifierExp * --- */ extern (C++) class IdentifierExp : Expression { Identifier ident; extern (D) this(const ref Loc loc, Identifier ident) { super(loc, EXP.identifier, __traits(classInstanceSize, IdentifierExp)); this.ident = ident; } static IdentifierExp create(const ref Loc loc, Identifier ident) { return new IdentifierExp(loc, ident); } override final bool isLvalue() { return true; } override final Expression toLvalue(Scope* sc, Expression e) { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The dollar operator used when indexing or slicing an array. E.g `a[$]`, `a[1 .. $]` etc. * * https://dlang.org/spec/arrays.html#array-length */ extern (C++) final class DollarExp : IdentifierExp { extern (D) this(const ref Loc loc) { super(loc, Id.dollar); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Won't be generated by parser. */ extern (C++) final class DsymbolExp : Expression { Dsymbol s; bool hasOverloads; extern (D) this(const ref Loc loc, Dsymbol s, bool hasOverloads = true) { super(loc, EXP.dSymbol, __traits(classInstanceSize, DsymbolExp)); this.s = s; this.hasOverloads = hasOverloads; } override bool isLvalue() { return true; } override Expression toLvalue(Scope* sc, Expression e) { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * https://dlang.org/spec/expression.html#this */ extern (C++) class ThisExp : Expression { VarDeclaration var; extern (D) this(const ref Loc loc) { super(loc, EXP.this_, __traits(classInstanceSize, ThisExp)); //printf("ThisExp::ThisExp() loc = %d\n", loc.linnum); } this(const ref Loc loc, const EXP tok) { super(loc, tok, __traits(classInstanceSize, ThisExp)); //printf("ThisExp::ThisExp() loc = %d\n", loc.linnum); } override ThisExp syntaxCopy() { auto r = cast(ThisExp) super.syntaxCopy(); // require new semantic (possibly new `var` etc.) r.type = null; r.var = null; return r; } override Optional!bool toBool() { // `this` is never null (what about structs?) return typeof(return)(true); } override final bool isLvalue() { // Class `this` should be an rvalue; struct `this` should be an lvalue. return type.toBasetype().ty != Tclass; } override final Expression toLvalue(Scope* sc, Expression e) { if (type.toBasetype().ty == Tclass) { // Class `this` is an rvalue; struct `this` is an lvalue. return Expression.toLvalue(sc, e); } return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * https://dlang.org/spec/expression.html#super */ extern (C++) final class SuperExp : ThisExp { extern (D) this(const ref Loc loc) { super(loc, EXP.super_); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A compile-time known `null` value * * https://dlang.org/spec/expression.html#null */ extern (C++) final class NullExp : Expression { extern (D) this(const ref Loc loc, Type type = null) { super(loc, EXP.null_, __traits(classInstanceSize, NullExp)); this.type = type; } override bool equals(const RootObject o) const { if (auto e = o.isExpression()) { if (e.op == EXP.null_ && type.equals(e.type)) { return true; } } return false; } override Optional!bool toBool() { // null in any type is false return typeof(return)(false); } override StringExp toStringExp() { if (implicitConvTo(Type.tstring)) { auto se = new StringExp(loc, (cast(char*)mem.xcalloc(1, 1))[0 .. 0]); se.type = Type.tstring; return se; } return null; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * https://dlang.org/spec/expression.html#string_literals */ extern (C++) final class StringExp : Expression { private union { char* string; // if sz == 1 wchar* wstring; // if sz == 2 dchar* dstring; // if sz == 4 } // (const if ownedByCtfe == OwnedBy.code) size_t len; // number of code units ubyte sz = 1; // 1: char, 2: wchar, 4: dchar ubyte committed; // !=0 if type is committed enum char NoPostfix = 0; char postfix = NoPostfix; // 'c', 'w', 'd' OwnedBy ownedByCtfe = OwnedBy.code; extern (D) this(const ref Loc loc, const(void)[] string) { super(loc, EXP.string_, __traits(classInstanceSize, StringExp)); this.string = cast(char*)string.ptr; // note that this.string should be const this.len = string.length; this.sz = 1; // work around LDC bug #1286 } extern (D) this(const ref Loc loc, const(void)[] string, size_t len, ubyte sz, char postfix = NoPostfix) { super(loc, EXP.string_, __traits(classInstanceSize, StringExp)); this.string = cast(char*)string.ptr; // note that this.string should be const this.len = len; this.sz = sz; this.postfix = postfix; } static StringExp create(const ref Loc loc, const(char)* s) { return new StringExp(loc, s.toDString()); } static StringExp create(const ref Loc loc, const(void)* string, size_t len) { return new StringExp(loc, string[0 .. len]); } // Same as create, but doesn't allocate memory. static void emplace(UnionExp* pue, const ref Loc loc, const(char)* s) { emplaceExp!(StringExp)(pue, loc, s.toDString()); } extern (D) static void emplace(UnionExp* pue, const ref Loc loc, const(void)[] string) { emplaceExp!(StringExp)(pue, loc, string); } extern (D) static void emplace(UnionExp* pue, const ref Loc loc, const(void)[] string, size_t len, ubyte sz, char postfix) { emplaceExp!(StringExp)(pue, loc, string, len, sz, postfix); } override bool equals(const RootObject o) const { //printf("StringExp::equals('%s') %s\n", o.toChars(), toChars()); if (auto e = o.isExpression()) { if (auto se = e.isStringExp()) { return compare(se) == 0; } } return false; } /********************************** * Return the number of code units the string would be if it were re-encoded * as tynto. * Params: * tynto = code unit type of the target encoding * Returns: * number of code units */ size_t numberOfCodeUnits(int tynto = 0) const { int encSize; switch (tynto) { case 0: return len; case Tchar: encSize = 1; break; case Twchar: encSize = 2; break; case Tdchar: encSize = 4; break; default: assert(0); } if (sz == encSize) return len; size_t result = 0; dchar c; switch (sz) { case 1: for (size_t u = 0; u < len;) { if (const s = utf_decodeChar(string[0 .. len], u, c)) { error("%.*s", cast(int)s.length, s.ptr); return 0; } result += utf_codeLength(encSize, c); } break; case 2: for (size_t u = 0; u < len;) { if (const s = utf_decodeWchar(wstring[0 .. len], u, c)) { error("%.*s", cast(int)s.length, s.ptr); return 0; } result += utf_codeLength(encSize, c); } break; case 4: foreach (u; 0 .. len) { result += utf_codeLength(encSize, dstring[u]); } break; default: assert(0); } return result; } /********************************************** * Write the contents of the string to dest. * Use numberOfCodeUnits() to determine size of result. * Params: * dest = destination * tyto = encoding type of the result * zero = add terminating 0 */ void writeTo(void* dest, bool zero, int tyto = 0) const { int encSize; switch (tyto) { case 0: encSize = sz; break; case Tchar: encSize = 1; break; case Twchar: encSize = 2; break; case Tdchar: encSize = 4; break; default: assert(0); } if (sz == encSize) { memcpy(dest, string, len * sz); if (zero) memset(dest + len * sz, 0, sz); } else assert(0); } /********************************************* * Get the code unit at index i * Params: * i = index * Returns: * code unit at index i */ dchar getCodeUnit(size_t i) const pure { assert(i < len); final switch (sz) { case 1: return string[i]; case 2: return wstring[i]; case 4: return dstring[i]; } } /********************************************* * Set the code unit at index i to c * Params: * i = index * c = code unit to set it to */ void setCodeUnit(size_t i, dchar c) { assert(i < len); final switch (sz) { case 1: string[i] = cast(char)c; break; case 2: wstring[i] = cast(wchar)c; break; case 4: dstring[i] = c; break; } } override StringExp toStringExp() { return this; } /**************************************** * Convert string to char[]. */ StringExp toUTF8(Scope* sc) { if (sz != 1) { // Convert to UTF-8 string committed = 0; Expression e = castTo(sc, Type.tchar.arrayOf()); e = e.optimize(WANTvalue); auto se = e.isStringExp(); assert(se.sz == 1); return se; } return this; } /** * Compare two `StringExp` by length, then value * * The comparison is not the usual C-style comparison as seen with * `strcmp` or `memcmp`, but instead first compare based on the length. * This allows both faster lookup and sorting when comparing sparse data. * * This ordering scheme is relied on by the string-switching feature. * Code in Druntime's `core.internal.switch_` relies on this ordering * when doing a binary search among case statements. * * Both `StringExp` should be of the same encoding. * * Params: * se2 = String expression to compare `this` to * * Returns: * `0` when `this` is equal to se2, a value greater than `0` if * `this` should be considered greater than `se2`, * and a value less than `0` if `this` is lesser than `se2`. */ int compare(const StringExp se2) const nothrow pure @nogc { //printf("StringExp::compare()\n"); const len1 = len; const len2 = se2.len; assert(this.sz == se2.sz, "Comparing string expressions of different sizes"); //printf("sz = %d, len1 = %d, len2 = %d\n", sz, cast(int)len1, cast(int)len2); if (len1 == len2) { switch (sz) { case 1: return memcmp(string, se2.string, len1); case 2: { wchar* s1 = cast(wchar*)string; wchar* s2 = cast(wchar*)se2.string; foreach (u; 0 .. len) { if (s1[u] != s2[u]) return s1[u] - s2[u]; } } break; case 4: { dchar* s1 = cast(dchar*)string; dchar* s2 = cast(dchar*)se2.string; foreach (u; 0 .. len) { if (s1[u] != s2[u]) return s1[u] - s2[u]; } } break; default: assert(0); } } return cast(int)(len1 - len2); } override Optional!bool toBool() { // Keep the old behaviour for this refactoring // Should probably match language spec instead and check for length return typeof(return)(true); } override bool isLvalue() { /* string literal is rvalue in default, but * conversion to reference of static array is only allowed. */ return (type && type.toBasetype().ty == Tsarray); } override Expression toLvalue(Scope* sc, Expression e) { //printf("StringExp::toLvalue(%s) type = %s\n", toChars(), type ? type.toChars() : NULL); return (type && type.toBasetype().ty == Tsarray) ? this : Expression.toLvalue(sc, e); } override Expression modifiableLvalue(Scope* sc, Expression e) { error("cannot modify string literal `%s`", toChars()); return ErrorExp.get(); } /******************************** * Convert string contents to a 0 terminated string, * allocated by mem.xmalloc(). */ extern (D) const(char)[] toStringz() const { auto nbytes = len * sz; char* s = cast(char*)mem.xmalloc(nbytes + sz); writeTo(s, true); return s[0 .. nbytes]; } extern (D) const(char)[] peekString() const { assert(sz == 1); return this.string[0 .. len]; } extern (D) const(wchar)[] peekWstring() const { assert(sz == 2); return this.wstring[0 .. len]; } extern (D) const(dchar)[] peekDstring() const { assert(sz == 4); return this.dstring[0 .. len]; } /******************* * Get a slice of the data. */ extern (D) const(ubyte)[] peekData() const { return cast(const(ubyte)[])this.string[0 .. len * sz]; } /******************* * Borrow a slice of the data, so the caller can modify * it in-place (!) */ extern (D) ubyte[] borrowData() { return cast(ubyte[])this.string[0 .. len * sz]; } /*********************** * Set new string data. * `this` becomes the new owner of the data. */ extern (D) void setData(void* s, size_t len, ubyte sz) { this.string = cast(char*)s; this.len = len; this.sz = sz; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A sequence of expressions * * --- * alias AliasSeq(T...) = T; * alias Tup = AliasSeq!(3, int, "abc"); * --- */ extern (C++) final class TupleExp : Expression { /* Tuple-field access may need to take out its side effect part. * For example: * foo().tupleof * is rewritten as: * (ref __tup = foo(); tuple(__tup.field0, __tup.field1, ...)) * The declaration of temporary variable __tup will be stored in TupleExp.e0. */ Expression e0; Expressions* exps; extern (D) this(const ref Loc loc, Expression e0, Expressions* exps) { super(loc, EXP.tuple, __traits(classInstanceSize, TupleExp)); //printf("TupleExp(this = %p)\n", this); this.e0 = e0; this.exps = exps; } extern (D) this(const ref Loc loc, Expressions* exps) { super(loc, EXP.tuple, __traits(classInstanceSize, TupleExp)); //printf("TupleExp(this = %p)\n", this); this.exps = exps; } extern (D) this(const ref Loc loc, TupleDeclaration tup) { super(loc, EXP.tuple, __traits(classInstanceSize, TupleExp)); this.exps = new Expressions(); this.exps.reserve(tup.objects.length); foreach (o; *tup.objects) { if (Dsymbol s = getDsymbol(o)) { /* If tuple element represents a symbol, translate to DsymbolExp * to supply implicit 'this' if needed later. */ Expression e = new DsymbolExp(loc, s); this.exps.push(e); } else if (auto eo = o.isExpression()) { auto e = eo.copy(); e.loc = loc; // https://issues.dlang.org/show_bug.cgi?id=15669 this.exps.push(e); } else if (auto t = o.isType()) { Expression e = new TypeExp(loc, t); this.exps.push(e); } else { error("`%s` is not an expression", o.toChars()); } } } static TupleExp create(const ref Loc loc, Expressions* exps) { return new TupleExp(loc, exps); } override TupleExp syntaxCopy() { return new TupleExp(loc, e0 ? e0.syntaxCopy() : null, arraySyntaxCopy(exps)); } override bool equals(const RootObject o) const { if (this == o) return true; if (auto e = o.isExpression()) if (auto te = e.isTupleExp()) { if (exps.length != te.exps.length) return false; if (e0 && !e0.equals(te.e0) || !e0 && te.e0) return false; foreach (i, e1; *exps) { auto e2 = (*te.exps)[i]; if (!e1.equals(e2)) return false; } return true; } return false; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * [ e1, e2, e3, ... ] * * https://dlang.org/spec/expression.html#array_literals */ extern (C++) final class ArrayLiteralExp : Expression { /** If !is null, elements[] can be sparse and basis is used for the * "default" element value. In other words, non-null elements[i] overrides * this 'basis' value. */ Expression basis; Expressions* elements; OwnedBy ownedByCtfe = OwnedBy.code; bool onstack = false; extern (D) this(const ref Loc loc, Type type, Expressions* elements) { super(loc, EXP.arrayLiteral, __traits(classInstanceSize, ArrayLiteralExp)); this.type = type; this.elements = elements; } extern (D) this(const ref Loc loc, Type type, Expression e) { super(loc, EXP.arrayLiteral, __traits(classInstanceSize, ArrayLiteralExp)); this.type = type; elements = new Expressions(); elements.push(e); } extern (D) this(const ref Loc loc, Type type, Expression basis, Expressions* elements) { super(loc, EXP.arrayLiteral, __traits(classInstanceSize, ArrayLiteralExp)); this.type = type; this.basis = basis; this.elements = elements; } static ArrayLiteralExp create(const ref Loc loc, Expressions* elements) { return new ArrayLiteralExp(loc, null, elements); } // Same as create, but doesn't allocate memory. static void emplace(UnionExp* pue, const ref Loc loc, Expressions* elements) { emplaceExp!(ArrayLiteralExp)(pue, loc, null, elements); } override ArrayLiteralExp syntaxCopy() { return new ArrayLiteralExp(loc, null, basis ? basis.syntaxCopy() : null, arraySyntaxCopy(elements)); } override bool equals(const RootObject o) const { if (this == o) return true; auto e = o.isExpression(); if (!e) return false; if (auto ae = e.isArrayLiteralExp()) { if (elements.length != ae.elements.length) return false; if (elements.length == 0 && !type.equals(ae.type)) { return false; } foreach (i, e1; *elements) { auto e2 = (*ae.elements)[i]; auto e1x = e1 ? e1 : basis; auto e2x = e2 ? e2 : ae.basis; if (e1x != e2x && (!e1x || !e2x || !e1x.equals(e2x))) return false; } return true; } return false; } Expression getElement(size_t i) { return this[i]; } Expression opIndex(size_t i) { auto el = (*elements)[i]; return el ? el : basis; } override Optional!bool toBool() { size_t dim = elements ? elements.length : 0; return typeof(return)(dim != 0); } override StringExp toStringExp() { TY telem = type.nextOf().toBasetype().ty; if (telem.isSomeChar || (telem == Tvoid && (!elements || elements.length == 0))) { ubyte sz = 1; if (telem == Twchar) sz = 2; else if (telem == Tdchar) sz = 4; OutBuffer buf; if (elements) { foreach (i; 0 .. elements.length) { auto ch = this[i]; if (ch.op != EXP.int64) return null; if (sz == 1) buf.writeByte(cast(uint)ch.toInteger()); else if (sz == 2) buf.writeword(cast(uint)ch.toInteger()); else buf.write4(cast(uint)ch.toInteger()); } } char prefix; if (sz == 1) { prefix = 'c'; buf.writeByte(0); } else if (sz == 2) { prefix = 'w'; buf.writeword(0); } else { prefix = 'd'; buf.write4(0); } const size_t len = buf.length / sz - 1; auto se = new StringExp(loc, buf.extractSlice()[0 .. len * sz], len, sz, prefix); se.sz = sz; se.type = type; return se; } return null; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * [ key0 : value0, key1 : value1, ... ] * * https://dlang.org/spec/expression.html#associative_array_literals */ extern (C++) final class AssocArrayLiteralExp : Expression { Expressions* keys; Expressions* values; OwnedBy ownedByCtfe = OwnedBy.code; extern (D) this(const ref Loc loc, Expressions* keys, Expressions* values) { super(loc, EXP.assocArrayLiteral, __traits(classInstanceSize, AssocArrayLiteralExp)); assert(keys.length == values.length); this.keys = keys; this.values = values; } override bool equals(const RootObject o) const { if (this == o) return true; auto e = o.isExpression(); if (!e) return false; if (auto ae = e.isAssocArrayLiteralExp()) { if (keys.length != ae.keys.length) return false; size_t count = 0; foreach (i, key; *keys) { foreach (j, akey; *ae.keys) { if (key.equals(akey)) { if (!(*values)[i].equals((*ae.values)[j])) return false; ++count; } } } return count == keys.length; } return false; } override AssocArrayLiteralExp syntaxCopy() { return new AssocArrayLiteralExp(loc, arraySyntaxCopy(keys), arraySyntaxCopy(values)); } override Optional!bool toBool() { size_t dim = keys.length; return typeof(return)(dim != 0); } override void accept(Visitor v) { v.visit(this); } } enum stageScrub = 0x1; /// scrubReturnValue is running enum stageSearchPointers = 0x2; /// hasNonConstPointers is running enum stageOptimize = 0x4; /// optimize is running enum stageApply = 0x8; /// apply is running enum stageInlineScan = 0x10; /// inlineScan is running enum stageToCBuffer = 0x20; /// toCBuffer is running /*********************************************************** * sd( e1, e2, e3, ... ) */ extern (C++) final class StructLiteralExp : Expression { StructDeclaration sd; /// which aggregate this is for Expressions* elements; /// parallels sd.fields[] with null entries for fields to skip Type stype; /// final type of result (can be different from sd's type) Symbol* sym; /// back end symbol to initialize with literal /** pointer to the origin instance of the expression. * once a new expression is created, origin is set to 'this'. * anytime when an expression copy is created, 'origin' pointer is set to * 'origin' pointer value of the original expression. */ StructLiteralExp origin; /// those fields need to prevent a infinite recursion when one field of struct initialized with 'this' pointer. StructLiteralExp inlinecopy; /** anytime when recursive function is calling, 'stageflags' marks with bit flag of * current stage and unmarks before return from this function. * 'inlinecopy' uses similar 'stageflags' and from multiple evaluation 'doInline' * (with infinite recursion) of this expression. */ int stageflags; bool useStaticInit; /// if this is true, use the StructDeclaration's init symbol bool isOriginal = false; /// used when moving instances to indicate `this is this.origin` OwnedBy ownedByCtfe = OwnedBy.code; extern (D) this(const ref Loc loc, StructDeclaration sd, Expressions* elements, Type stype = null) { super(loc, EXP.structLiteral, __traits(classInstanceSize, StructLiteralExp)); this.sd = sd; if (!elements) elements = new Expressions(); this.elements = elements; this.stype = stype; this.origin = this; //printf("StructLiteralExp::StructLiteralExp(%s)\n", toChars()); } static StructLiteralExp create(const ref Loc loc, StructDeclaration sd, void* elements, Type stype = null) { return new StructLiteralExp(loc, sd, cast(Expressions*)elements, stype); } override bool equals(const RootObject o) const { if (this == o) return true; auto e = o.isExpression(); if (!e) return false; if (auto se = e.isStructLiteralExp()) { if (!type.equals(se.type)) return false; if (elements.length != se.elements.length) return false; foreach (i, e1; *elements) { auto e2 = (*se.elements)[i]; if (e1 != e2 && (!e1 || !e2 || !e1.equals(e2))) return false; } return true; } return false; } override StructLiteralExp syntaxCopy() { auto exp = new StructLiteralExp(loc, sd, arraySyntaxCopy(elements), type ? type : stype); exp.origin = this; return exp; } /************************************** * Gets expression at offset of type. * Returns NULL if not found. */ Expression getField(Type type, uint offset) { //printf("StructLiteralExp::getField(this = %s, type = %s, offset = %u)\n", // /*toChars()*/"", type.toChars(), offset); Expression e = null; int i = getFieldIndex(type, offset); if (i != -1) { //printf("\ti = %d\n", i); if (i >= sd.nonHiddenFields()) return null; assert(i < elements.length); e = (*elements)[i]; if (e) { //printf("e = %s, e.type = %s\n", e.toChars(), e.type.toChars()); /* If type is a static array, and e is an initializer for that array, * then the field initializer should be an array literal of e. */ auto tsa = type.isTypeSArray(); if (tsa && e.type.castMod(0) != type.castMod(0)) { const length = cast(size_t)tsa.dim.toInteger(); auto z = new Expressions(length); foreach (ref q; *z) q = e.copy(); e = new ArrayLiteralExp(loc, type, z); } else { e = e.copy(); e.type = type; } if (useStaticInit && e.type.needsNested()) if (auto se = e.isStructLiteralExp()) { se.useStaticInit = true; } } } return e; } /************************************ * Get index of field. * Returns -1 if not found. */ int getFieldIndex(Type type, uint offset) { /* Find which field offset is by looking at the field offsets */ if (elements.length) { const sz = type.size(); if (sz == SIZE_INVALID) return -1; foreach (i, v; sd.fields) { if (offset == v.offset && sz == v.type.size()) { /* context fields might not be filled. */ if (i >= sd.nonHiddenFields()) return cast(int)i; if (auto e = (*elements)[i]) { return cast(int)i; } break; } } } return -1; } override Expression addDtorHook(Scope* sc) { /* If struct requires a destructor, rewrite as: * (S tmp = S()),tmp * so that the destructor can be hung on tmp. */ if (sd.dtor && sc.func) { /* Make an identifier for the temporary of the form: * __sl%s%d, where %s is the struct name */ char[10] buf = void; const prefix = "__sl"; const ident = sd.ident.toString; const fullLen = prefix.length + ident.length; const len = fullLen < buf.length ? fullLen : buf.length; buf[0 .. prefix.length] = prefix; buf[prefix.length .. len] = ident[0 .. len - prefix.length]; auto tmp = copyToTemp(0, buf[0 .. len], this); Expression ae = new DeclarationExp(loc, tmp); Expression e = new CommaExp(loc, ae, new VarExp(loc, tmp)); e = e.expressionSemantic(sc); return e; } return this; } override Expression toLvalue(Scope* sc, Expression e) { if (sc.flags & SCOPE.Cfile) return this; // C struct literals are lvalues else return Expression.toLvalue(sc, e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * C11 6.5.2.5 * ( type-name ) { initializer-list } */ extern (C++) final class CompoundLiteralExp : Expression { Initializer initializer; /// initializer-list extern (D) this(const ref Loc loc, Type type_name, Initializer initializer) { super(loc, EXP.compoundLiteral, __traits(classInstanceSize, CompoundLiteralExp)); super.type = type_name; this.initializer = initializer; //printf("CompoundLiteralExp::CompoundLiteralExp(%s)\n", toChars()); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Mainly just a placeholder */ extern (C++) final class TypeExp : Expression { extern (D) this(const ref Loc loc, Type type) { super(loc, EXP.type, __traits(classInstanceSize, TypeExp)); //printf("TypeExp::TypeExp(%s)\n", type.toChars()); this.type = type; } override TypeExp syntaxCopy() { return new TypeExp(loc, type.syntaxCopy()); } override bool checkType() { error("type `%s` is not an expression", toChars()); return true; } override bool checkValue() { error("type `%s` has no value", toChars()); return true; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Mainly just a placeholder of * Package, Module, Nspace, and TemplateInstance (including TemplateMixin) * * A template instance that requires IFTI: * foo!tiargs(fargs) // foo!tiargs * is left until CallExp::semantic() or resolveProperties() */ extern (C++) final class ScopeExp : Expression { ScopeDsymbol sds; extern (D) this(const ref Loc loc, ScopeDsymbol sds) { super(loc, EXP.scope_, __traits(classInstanceSize, ScopeExp)); //printf("ScopeExp::ScopeExp(sds = '%s')\n", sds.toChars()); //static int count; if (++count == 38) *(char*)0=0; this.sds = sds; assert(!sds.isTemplateDeclaration()); // instead, you should use TemplateExp } override ScopeExp syntaxCopy() { return new ScopeExp(loc, sds.syntaxCopy(null)); } override bool checkType() { if (sds.isPackage()) { error("%s `%s` has no type", sds.kind(), sds.toChars()); return true; } if (auto ti = sds.isTemplateInstance()) { //assert(ti.needsTypeInference(sc)); if (ti.tempdecl && ti.semantictiargsdone && ti.semanticRun == PASS.initial) { error("partial %s `%s` has no type", sds.kind(), toChars()); return true; } } return false; } override bool checkValue() { error("%s `%s` has no value", sds.kind(), sds.toChars()); return true; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Mainly just a placeholder */ extern (C++) final class TemplateExp : Expression { TemplateDeclaration td; FuncDeclaration fd; extern (D) this(const ref Loc loc, TemplateDeclaration td, FuncDeclaration fd = null) { super(loc, EXP.template_, __traits(classInstanceSize, TemplateExp)); //printf("TemplateExp(): %s\n", td.toChars()); this.td = td; this.fd = fd; } override bool isLvalue() { return fd !is null; } override Expression toLvalue(Scope* sc, Expression e) { if (!fd) return Expression.toLvalue(sc, e); assert(sc); return symbolToExp(fd, loc, sc, true); } override bool checkType() { error("%s `%s` has no type", td.kind(), toChars()); return true; } override bool checkValue() { error("%s `%s` has no value", td.kind(), toChars()); return true; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * newtype(arguments) */ extern (C++) final class NewExp : Expression { Expression thisexp; // if !=null, 'this' for class being allocated Type newtype; Expressions* arguments; // Array of Expression's Expression argprefix; // expression to be evaluated just before arguments[] CtorDeclaration member; // constructor function bool onstack; // allocate on stack bool thrownew; // this NewExp is the expression of a ThrowStatement extern (D) this(const ref Loc loc, Expression thisexp, Type newtype, Expressions* arguments) { super(loc, EXP.new_, __traits(classInstanceSize, NewExp)); this.thisexp = thisexp; this.newtype = newtype; this.arguments = arguments; } static NewExp create(const ref Loc loc, Expression thisexp, Type newtype, Expressions* arguments) { return new NewExp(loc, thisexp, newtype, arguments); } override NewExp syntaxCopy() { return new NewExp(loc, thisexp ? thisexp.syntaxCopy() : null, newtype.syntaxCopy(), arraySyntaxCopy(arguments)); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * class baseclasses { } (arguments) */ extern (C++) final class NewAnonClassExp : Expression { Expression thisexp; // if !=null, 'this' for class being allocated ClassDeclaration cd; // class being instantiated Expressions* arguments; // Array of Expression's to call class constructor extern (D) this(const ref Loc loc, Expression thisexp, ClassDeclaration cd, Expressions* arguments) { super(loc, EXP.newAnonymousClass, __traits(classInstanceSize, NewAnonClassExp)); this.thisexp = thisexp; this.cd = cd; this.arguments = arguments; } override NewAnonClassExp syntaxCopy() { return new NewAnonClassExp(loc, thisexp ? thisexp.syntaxCopy() : null, cd.syntaxCopy(null), arraySyntaxCopy(arguments)); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) class SymbolExp : Expression { Declaration var; Dsymbol originalScope; // original scope before inlining bool hasOverloads; extern (D) this(const ref Loc loc, EXP op, int size, Declaration var, bool hasOverloads) { super(loc, op, size); assert(var); this.var = var; this.hasOverloads = hasOverloads; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Offset from symbol */ extern (C++) final class SymOffExp : SymbolExp { dinteger_t offset; extern (D) this(const ref Loc loc, Declaration var, dinteger_t offset, bool hasOverloads = true) { if (auto v = var.isVarDeclaration()) { // FIXME: This error report will never be handled anyone. // It should be done before the SymOffExp construction. if (v.needThis()) .error(loc, "need `this` for address of `%s`", v.toChars()); hasOverloads = false; } super(loc, EXP.symbolOffset, __traits(classInstanceSize, SymOffExp), var, hasOverloads); this.offset = offset; } override Optional!bool toBool() { return typeof(return)(true); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Variable */ extern (C++) final class VarExp : SymbolExp { bool delegateWasExtracted; extern (D) this(const ref Loc loc, Declaration var, bool hasOverloads = true) { if (var.isVarDeclaration()) hasOverloads = false; super(loc, EXP.variable, __traits(classInstanceSize, VarExp), var, hasOverloads); //printf("VarExp(this = %p, '%s', loc = %s)\n", this, var.toChars(), loc.toChars()); //if (strcmp(var.ident.toChars(), "func") == 0) assert(0); this.type = var.type; } static VarExp create(const ref Loc loc, Declaration var, bool hasOverloads = true) { return new VarExp(loc, var, hasOverloads); } override bool equals(const RootObject o) const { if (this == o) return true; if (auto ne = o.isExpression().isVarExp()) { if (type.toHeadMutable().equals(ne.type.toHeadMutable()) && var == ne.var) { return true; } } return false; } override bool isLvalue() { if (var.storage_class & (STC.lazy_ | STC.rvalue | STC.manifest)) return false; return true; } override Expression toLvalue(Scope* sc, Expression e) { if (var.storage_class & STC.manifest) { error("manifest constant `%s` cannot be modified", var.toChars()); return ErrorExp.get(); } if (var.storage_class & STC.lazy_ && !delegateWasExtracted) { error("lazy variable `%s` cannot be modified", var.toChars()); return ErrorExp.get(); } if (var.ident == Id.ctfe) { error("cannot modify compiler-generated variable `__ctfe`"); return ErrorExp.get(); } if (var.ident == Id.dollar) // https://issues.dlang.org/show_bug.cgi?id=13574 { error("cannot modify operator `$`"); return ErrorExp.get(); } return this; } override Expression modifiableLvalue(Scope* sc, Expression e) { //printf("VarExp::modifiableLvalue('%s')\n", var.toChars()); if (var.storage_class & STC.manifest) { error("cannot modify manifest constant `%s`", toChars()); return ErrorExp.get(); } // See if this expression is a modifiable lvalue (i.e. not const) return Expression.modifiableLvalue(sc, e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Overload Set */ extern (C++) final class OverExp : Expression { OverloadSet vars; extern (D) this(const ref Loc loc, OverloadSet s) { super(loc, EXP.overloadSet, __traits(classInstanceSize, OverExp)); //printf("OverExp(this = %p, '%s')\n", this, var.toChars()); vars = s; type = Type.tvoid; } override bool isLvalue() { return true; } override Expression toLvalue(Scope* sc, Expression e) { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Function/Delegate literal */ extern (C++) final class FuncExp : Expression { FuncLiteralDeclaration fd; TemplateDeclaration td; TOK tok; // TOK.reserved, TOK.delegate_, TOK.function_ extern (D) this(const ref Loc loc, Dsymbol s) { super(loc, EXP.function_, __traits(classInstanceSize, FuncExp)); this.td = s.isTemplateDeclaration(); this.fd = s.isFuncLiteralDeclaration(); if (td) { assert(td.literal); assert(td.members && td.members.length == 1); fd = (*td.members)[0].isFuncLiteralDeclaration(); } tok = fd.tok; // save original kind of function/delegate/(infer) assert(fd.fbody); } override bool equals(const RootObject o) const { if (this == o) return true; auto e = o.isExpression(); if (!e) return false; if (auto fe = e.isFuncExp()) { return fd == fe.fd; } return false; } extern (D) void genIdent(Scope* sc) { if (fd.ident == Id.empty) { const(char)[] s; if (fd.fes) s = "__foreachbody"; else if (fd.tok == TOK.reserved) s = "__lambda"; else if (fd.tok == TOK.delegate_) s = "__dgliteral"; else s = "__funcliteral"; DsymbolTable symtab; if (FuncDeclaration func = sc.parent.isFuncDeclaration()) { if (func.localsymtab is null) { // Inside template constraint, symtab is not set yet. // Initialize it lazily. func.localsymtab = new DsymbolTable(); } symtab = func.localsymtab; } else { ScopeDsymbol sds = sc.parent.isScopeDsymbol(); if (!sds.symtab) { // Inside template constraint, symtab may not be set yet. // Initialize it lazily. assert(sds.isTemplateInstance()); sds.symtab = new DsymbolTable(); } symtab = sds.symtab; } assert(symtab); Identifier id = Identifier.generateId(s, symtab.length() + 1); fd.ident = id; if (td) td.ident = id; symtab.insert(td ? cast(Dsymbol)td : cast(Dsymbol)fd); } } override FuncExp syntaxCopy() { if (td) return new FuncExp(loc, td.syntaxCopy(null)); else if (fd.semanticRun == PASS.initial) return new FuncExp(loc, fd.syntaxCopy(null)); else // https://issues.dlang.org/show_bug.cgi?id=13481 // Prevent multiple semantic analysis of lambda body. return new FuncExp(loc, fd); } extern (D) MATCH matchType(Type to, Scope* sc, FuncExp* presult, int flag = 0) { static MATCH cannotInfer(Expression e, Type to, int flag) { if (!flag) e.error("cannot infer parameter types from `%s`", to.toChars()); return MATCH.nomatch; } //printf("FuncExp::matchType('%s'), to=%s\n", type ? type.toChars() : "null", to.toChars()); if (presult) *presult = null; TypeFunction tof = null; if (to.ty == Tdelegate) { if (tok == TOK.function_) { if (!flag) error("cannot match function literal to delegate type `%s`", to.toChars()); return MATCH.nomatch; } tof = cast(TypeFunction)to.nextOf(); } else if (to.ty == Tpointer && (tof = to.nextOf().isTypeFunction()) !is null) { if (tok == TOK.delegate_) { if (!flag) error("cannot match delegate literal to function pointer type `%s`", to.toChars()); return MATCH.nomatch; } } if (td) { if (!tof) { return cannotInfer(this, to, flag); } // Parameter types inference from 'tof' assert(td._scope); TypeFunction tf = fd.type.isTypeFunction(); //printf("\ttof = %s\n", tof.toChars()); //printf("\ttf = %s\n", tf.toChars()); const dim = tf.parameterList.length; if (tof.parameterList.length != dim || tof.parameterList.varargs != tf.parameterList.varargs) return cannotInfer(this, to, flag); auto tiargs = new Objects(); tiargs.reserve(td.parameters.length); foreach (tp; *td.parameters) { size_t u = 0; foreach (i, p; tf.parameterList) { if (auto ti = p.type.isTypeIdentifier()) if (ti && ti.ident == tp.ident) break; ++u; } assert(u < dim); Parameter pto = tof.parameterList[u]; Type t = pto.type; if (t.ty == Terror) return cannotInfer(this, to, flag); tiargs.push(t); } // Set target of return type inference if (!tf.next && tof.next) fd.treq = to; auto ti = new TemplateInstance(loc, td, tiargs); Expression ex = (new ScopeExp(loc, ti)).expressionSemantic(td._scope); // Reset inference target for the later re-semantic fd.treq = null; if (ex.op == EXP.error) return MATCH.nomatch; if (auto ef = ex.isFuncExp()) return ef.matchType(to, sc, presult, flag); else return cannotInfer(this, to, flag); } if (!tof || !tof.next) return MATCH.nomatch; assert(type && type != Type.tvoid); if (fd.type.ty == Terror) return MATCH.nomatch; auto tfx = fd.type.isTypeFunction(); bool convertMatch = (type.ty != to.ty); if (fd.inferRetType && tfx.next.implicitConvTo(tof.next) == MATCH.convert) { /* If return type is inferred and covariant return, * tweak return statements to required return type. * * interface I {} * class C : Object, I{} * * I delegate() dg = delegate() { return new class C(); } */ convertMatch = true; auto tfy = new TypeFunction(tfx.parameterList, tof.next, tfx.linkage, STC.undefined_); tfy.mod = tfx.mod; tfy.trust = tfx.trust; tfy.isnothrow = tfx.isnothrow; tfy.isnogc = tfx.isnogc; tfy.purity = tfx.purity; tfy.isproperty = tfx.isproperty; tfy.isref = tfx.isref; tfy.isInOutParam = tfx.isInOutParam; tfy.isInOutQual = tfx.isInOutQual; tfy.deco = tfy.merge().deco; tfx = tfy; } Type tx; if (tok == TOK.delegate_ || tok == TOK.reserved && (type.ty == Tdelegate || type.ty == Tpointer && to.ty == Tdelegate)) { // Allow conversion from implicit function pointer to delegate tx = new TypeDelegate(tfx); tx.deco = tx.merge().deco; } else { assert(tok == TOK.function_ || tok == TOK.reserved && type.ty == Tpointer || fd.errors); tx = tfx.pointerTo(); } //printf("\ttx = %s, to = %s\n", tx.toChars(), to.toChars()); MATCH m = tx.implicitConvTo(to); if (m > MATCH.nomatch) { // MATCH.exact: exact type match // MATCH.constant: covairiant type match (eg. attributes difference) // MATCH.convert: context conversion m = convertMatch ? MATCH.convert : tx.equals(to) ? MATCH.exact : MATCH.constant; if (presult) { (*presult) = cast(FuncExp)copy(); (*presult).type = to; // https://issues.dlang.org/show_bug.cgi?id=12508 // Tweak function body for covariant returns. (*presult).fd.modifyReturns(sc, tof.next); } } else if (!flag) { auto ts = toAutoQualChars(tx, to); error("cannot implicitly convert expression `%s` of type `%s` to `%s`", toChars(), ts[0], ts[1]); } return m; } override const(char)* toChars() const { return fd.toChars(); } override bool checkType() { if (td) { error("template lambda has no type"); return true; } return false; } override bool checkValue() { if (td) { error("template lambda has no value"); return true; } return false; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Declaration of a symbol * * D grammar allows declarations only as statements. However in AST representation * it can be part of any expression. This is used, for example, during internal * syntax re-writes to inject hidden symbols. */ extern (C++) final class DeclarationExp : Expression { Dsymbol declaration; extern (D) this(const ref Loc loc, Dsymbol declaration) { super(loc, EXP.declaration, __traits(classInstanceSize, DeclarationExp)); this.declaration = declaration; } override DeclarationExp syntaxCopy() { return new DeclarationExp(loc, declaration.syntaxCopy(null)); } override bool hasCode() { if (auto vd = declaration.isVarDeclaration()) { return !(vd.storage_class & (STC.manifest | STC.static_)); } return false; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * typeid(int) */ extern (C++) final class TypeidExp : Expression { RootObject obj; extern (D) this(const ref Loc loc, RootObject o) { super(loc, EXP.typeid_, __traits(classInstanceSize, TypeidExp)); this.obj = o; } override TypeidExp syntaxCopy() { return new TypeidExp(loc, objectSyntaxCopy(obj)); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * __traits(identifier, args...) */ extern (C++) final class TraitsExp : Expression { Identifier ident; Objects* args; extern (D) this(const ref Loc loc, Identifier ident, Objects* args) { super(loc, EXP.traits, __traits(classInstanceSize, TraitsExp)); this.ident = ident; this.args = args; } override TraitsExp syntaxCopy() { return new TraitsExp(loc, ident, TemplateInstance.arraySyntaxCopy(args)); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Generates a halt instruction * * `assert(0)` gets rewritten to this with `CHECKACTION.halt` */ extern (C++) final class HaltExp : Expression { extern (D) this(const ref Loc loc) { super(loc, EXP.halt, __traits(classInstanceSize, HaltExp)); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * is(targ id tok tspec) * is(targ id == tok2) */ extern (C++) final class IsExp : Expression { Type targ; Identifier id; // can be null Type tspec; // can be null TemplateParameters* parameters; TOK tok; // ':' or '==' TOK tok2; // 'struct', 'union', etc. extern (D) this(const ref Loc loc, Type targ, Identifier id, TOK tok, Type tspec, TOK tok2, TemplateParameters* parameters) { super(loc, EXP.is_, __traits(classInstanceSize, IsExp)); this.targ = targ; this.id = id; this.tok = tok; this.tspec = tspec; this.tok2 = tok2; this.parameters = parameters; } override IsExp syntaxCopy() { // This section is identical to that in TemplateDeclaration::syntaxCopy() TemplateParameters* p = null; if (parameters) { p = new TemplateParameters(parameters.length); foreach (i, el; *parameters) (*p)[i] = el.syntaxCopy(); } return new IsExp(loc, targ.syntaxCopy(), id, tok, tspec ? tspec.syntaxCopy() : null, tok2, p); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Base class for unary operators * * https://dlang.org/spec/expression.html#unary-expression */ extern (C++) abstract class UnaExp : Expression { Expression e1; Type att1; // Save alias this type to detect recursion extern (D) this(const ref Loc loc, EXP op, int size, Expression e1) { super(loc, op, size); this.e1 = e1; } override UnaExp syntaxCopy() { UnaExp e = cast(UnaExp)copy(); e.type = null; e.e1 = e.e1.syntaxCopy(); return e; } /******************************** * The type for a unary expression is incompatible. * Print error message. * Returns: * ErrorExp */ final Expression incompatibleTypes() { if (e1.type.toBasetype() == Type.terror) return e1; if (e1.op == EXP.type) { error("incompatible type for `%s(%s)`: cannot use `%s` with types", EXPtoString(op).ptr, e1.toChars(), EXPtoString(op).ptr); } else { error("incompatible type for `%s(%s)`: `%s`", EXPtoString(op).ptr, e1.toChars(), e1.type.toChars()); } return ErrorExp.get(); } /********************* * Mark the operand as will never be dereferenced, * which is useful info for @safe checks. * Do before semantic() on operands rewrites them. */ final void setNoderefOperand() { if (auto edi = e1.isDotIdExp()) edi.noderef = true; } override final Expression resolveLoc(const ref Loc loc, Scope* sc) { e1 = e1.resolveLoc(loc, sc); return this; } override void accept(Visitor v) { v.visit(this); } } alias fp_t = UnionExp function(const ref Loc loc, Type, Expression, Expression); alias fp2_t = bool function(const ref Loc loc, EXP, Expression, Expression); /*********************************************************** * Base class for binary operators */ extern (C++) abstract class BinExp : Expression { Expression e1; Expression e2; Type att1; // Save alias this type to detect recursion Type att2; // Save alias this type to detect recursion extern (D) this(const ref Loc loc, EXP op, int size, Expression e1, Expression e2) { super(loc, op, size); this.e1 = e1; this.e2 = e2; } override BinExp syntaxCopy() { BinExp e = cast(BinExp)copy(); e.type = null; e.e1 = e.e1.syntaxCopy(); e.e2 = e.e2.syntaxCopy(); return e; } /******************************** * The types for a binary expression are incompatible. * Print error message. * Returns: * ErrorExp */ final Expression incompatibleTypes() { if (e1.type.toBasetype() == Type.terror) return e1; if (e2.type.toBasetype() == Type.terror) return e2; // CondExp uses 'a ? b : c' but we're comparing 'b : c' const(char)* thisOp = (op == EXP.question) ? ":" : EXPtoString(op).ptr; if (e1.op == EXP.type || e2.op == EXP.type) { error("incompatible types for `(%s) %s (%s)`: cannot use `%s` with types", e1.toChars(), thisOp, e2.toChars(), EXPtoString(op).ptr); } else if (e1.type.equals(e2.type)) { error("incompatible types for `(%s) %s (%s)`: both operands are of type `%s`", e1.toChars(), thisOp, e2.toChars(), e1.type.toChars()); } else { auto ts = toAutoQualChars(e1.type, e2.type); error("incompatible types for `(%s) %s (%s)`: `%s` and `%s`", e1.toChars(), thisOp, e2.toChars(), ts[0], ts[1]); } return ErrorExp.get(); } extern (D) final Expression checkOpAssignTypes(Scope* sc) { // At that point t1 and t2 are the merged types. type is the original type of the lhs. Type t1 = e1.type; Type t2 = e2.type; // T opAssign floating yields a floating. Prevent truncating conversions (float to int). // See issue 3841. // Should we also prevent double to float (type.isfloating() && type.size() < t2.size()) ? if (op == EXP.addAssign || op == EXP.minAssign || op == EXP.mulAssign || op == EXP.divAssign || op == EXP.modAssign || op == EXP.powAssign) { if ((type.isintegral() && t2.isfloating())) { warning("`%s %s %s` is performing truncating conversion", type.toChars(), EXPtoString(op).ptr, t2.toChars()); } } // generate an error if this is a nonsensical *=,/=, or %=, eg real *= imaginary if (op == EXP.mulAssign || op == EXP.divAssign || op == EXP.modAssign) { // Any multiplication by an imaginary or complex number yields a complex result. // r *= c, i*=c, r*=i, i*=i are all forbidden operations. const(char)* opstr = EXPtoString(op).ptr; if (t1.isreal() && t2.iscomplex()) { error("`%s %s %s` is undefined. Did you mean `%s %s %s.re`?", t1.toChars(), opstr, t2.toChars(), t1.toChars(), opstr, t2.toChars()); return ErrorExp.get(); } else if (t1.isimaginary() && t2.iscomplex()) { error("`%s %s %s` is undefined. Did you mean `%s %s %s.im`?", t1.toChars(), opstr, t2.toChars(), t1.toChars(), opstr, t2.toChars()); return ErrorExp.get(); } else if ((t1.isreal() || t1.isimaginary()) && t2.isimaginary()) { error("`%s %s %s` is an undefined operation", t1.toChars(), opstr, t2.toChars()); return ErrorExp.get(); } } // generate an error if this is a nonsensical += or -=, eg real += imaginary if (op == EXP.addAssign || op == EXP.minAssign) { // Addition or subtraction of a real and an imaginary is a complex result. // Thus, r+=i, r+=c, i+=r, i+=c are all forbidden operations. if ((t1.isreal() && (t2.isimaginary() || t2.iscomplex())) || (t1.isimaginary() && (t2.isreal() || t2.iscomplex()))) { error("`%s %s %s` is undefined (result is complex)", t1.toChars(), EXPtoString(op).ptr, t2.toChars()); return ErrorExp.get(); } if (type.isreal() || type.isimaginary()) { assert(global.errors || t2.isfloating()); e2 = e2.castTo(sc, t1); } } if (op == EXP.mulAssign) { if (t2.isfloating()) { if (t1.isreal()) { if (t2.isimaginary() || t2.iscomplex()) { e2 = e2.castTo(sc, t1); } } else if (t1.isimaginary()) { if (t2.isimaginary() || t2.iscomplex()) { switch (t1.ty) { case Timaginary32: t2 = Type.tfloat32; break; case Timaginary64: t2 = Type.tfloat64; break; case Timaginary80: t2 = Type.tfloat80; break; default: assert(0); } e2 = e2.castTo(sc, t2); } } } } else if (op == EXP.divAssign) { if (t2.isimaginary()) { if (t1.isreal()) { // x/iv = i(-x/v) // Therefore, the result is 0 e2 = new CommaExp(loc, e2, new RealExp(loc, CTFloat.zero, t1)); e2.type = t1; Expression e = new AssignExp(loc, e1, e2); e.type = t1; return e; } else if (t1.isimaginary()) { Type t3; switch (t1.ty) { case Timaginary32: t3 = Type.tfloat32; break; case Timaginary64: t3 = Type.tfloat64; break; case Timaginary80: t3 = Type.tfloat80; break; default: assert(0); } e2 = e2.castTo(sc, t3); Expression e = new AssignExp(loc, e1, e2); e.type = t1; return e; } } } else if (op == EXP.modAssign) { if (t2.iscomplex()) { error("cannot perform modulo complex arithmetic"); return ErrorExp.get(); } } return this; } extern (D) final bool checkIntegralBin() { bool r1 = e1.checkIntegral(); bool r2 = e2.checkIntegral(); return (r1 || r2); } extern (D) final bool checkArithmeticBin() { bool r1 = e1.checkArithmetic(); bool r2 = e2.checkArithmetic(); return (r1 || r2); } extern (D) final bool checkSharedAccessBin(Scope* sc) { const r1 = e1.checkSharedAccess(sc); const r2 = e2.checkSharedAccess(sc); return (r1 || r2); } /********************* * Mark the operands as will never be dereferenced, * which is useful info for @safe checks. * Do before semantic() on operands rewrites them. */ final void setNoderefOperands() { if (auto edi = e1.isDotIdExp()) edi.noderef = true; if (auto edi = e2.isDotIdExp()) edi.noderef = true; } final Expression reorderSettingAAElem(Scope* sc) { BinExp be = this; auto ie = be.e1.isIndexExp(); if (!ie) return be; if (ie.e1.type.toBasetype().ty != Taarray) return be; /* Fix evaluation order of setting AA element * https://issues.dlang.org/show_bug.cgi?id=3825 * Rewrite: * aa[k1][k2][k3] op= val; * as: * auto ref __aatmp = aa; * auto ref __aakey3 = k1, __aakey2 = k2, __aakey1 = k3; * auto ref __aaval = val; * __aatmp[__aakey3][__aakey2][__aakey1] op= __aaval; // assignment */ Expression e0; while (1) { Expression de; ie.e2 = extractSideEffect(sc, "__aakey", de, ie.e2); e0 = Expression.combine(de, e0); auto ie1 = ie.e1.isIndexExp(); if (!ie1 || ie1.e1.type.toBasetype().ty != Taarray) { break; } ie = ie1; } assert(ie.e1.type.toBasetype().ty == Taarray); Expression de; ie.e1 = extractSideEffect(sc, "__aatmp", de, ie.e1); e0 = Expression.combine(de, e0); be.e2 = extractSideEffect(sc, "__aaval", e0, be.e2, true); //printf("-e0 = %s, be = %s\n", e0.toChars(), be.toChars()); return Expression.combine(e0, be); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Binary operator assignment, `+=` `-=` `*=` etc. */ extern (C++) class BinAssignExp : BinExp { extern (D) this(const ref Loc loc, EXP op, int size, Expression e1, Expression e2) { super(loc, op, size, e1, e2); } override final bool isLvalue() { return true; } override final Expression toLvalue(Scope* sc, Expression ex) { // Lvalue-ness will be handled in glue layer. return this; } override final Expression modifiableLvalue(Scope* sc, Expression e) { // should check e1.checkModifiable() ? return toLvalue(sc, this); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A string mixin, `mixin("x")` * * https://dlang.org/spec/expression.html#mixin_expressions */ extern (C++) final class MixinExp : Expression { Expressions* exps; extern (D) this(const ref Loc loc, Expressions* exps) { super(loc, EXP.mixin_, __traits(classInstanceSize, MixinExp)); this.exps = exps; } override MixinExp syntaxCopy() { return new MixinExp(loc, arraySyntaxCopy(exps)); } override bool equals(const RootObject o) const { if (this == o) return true; auto e = o.isExpression(); if (!e) return false; if (auto ce = e.isMixinExp()) { if (exps.length != ce.exps.length) return false; foreach (i, e1; *exps) { auto e2 = (*ce.exps)[i]; if (e1 != e2 && (!e1 || !e2 || !e1.equals(e2))) return false; } return true; } return false; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * An import expression, `import("file.txt")` * * Not to be confused with module imports, `import std.stdio`, which is an `ImportStatement` * * https://dlang.org/spec/expression.html#import_expressions */ extern (C++) final class ImportExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.import_, __traits(classInstanceSize, ImportExp), e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * An assert expression, `assert(x == y)` * * https://dlang.org/spec/expression.html#assert_expressions */ extern (C++) final class AssertExp : UnaExp { Expression msg; extern (D) this(const ref Loc loc, Expression e, Expression msg = null) { super(loc, EXP.assert_, __traits(classInstanceSize, AssertExp), e); this.msg = msg; } override AssertExp syntaxCopy() { return new AssertExp(loc, e1.syntaxCopy(), msg ? msg.syntaxCopy() : null); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `throw <e1>` as proposed by DIP 1034. * * Replacement for the deprecated `ThrowStatement` that can be nested * in other expression. */ extern (C++) final class ThrowExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.throw_, __traits(classInstanceSize, ThrowExp), e); this.type = Type.tnoreturn; } override ThrowExp syntaxCopy() { return new ThrowExp(loc, e1.syntaxCopy()); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class DotIdExp : UnaExp { Identifier ident; bool noderef; // true if the result of the expression will never be dereferenced bool wantsym; // do not replace Symbol with its initializer during semantic() bool arrow; // ImportC: if -> instead of . extern (D) this(const ref Loc loc, Expression e, Identifier ident) { super(loc, EXP.dotIdentifier, __traits(classInstanceSize, DotIdExp), e); this.ident = ident; } static DotIdExp create(const ref Loc loc, Expression e, Identifier ident) { return new DotIdExp(loc, e, ident); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Mainly just a placeholder */ extern (C++) final class DotTemplateExp : UnaExp { TemplateDeclaration td; extern (D) this(const ref Loc loc, Expression e, TemplateDeclaration td) { super(loc, EXP.dotTemplateDeclaration, __traits(classInstanceSize, DotTemplateExp), e); this.td = td; } override bool checkType() { error("%s `%s` has no type", td.kind(), toChars()); return true; } override bool checkValue() { error("%s `%s` has no value", td.kind(), toChars()); return true; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class DotVarExp : UnaExp { Declaration var; bool hasOverloads; extern (D) this(const ref Loc loc, Expression e, Declaration var, bool hasOverloads = true) { if (var.isVarDeclaration()) hasOverloads = false; super(loc, EXP.dotVariable, __traits(classInstanceSize, DotVarExp), e); //printf("DotVarExp()\n"); this.var = var; this.hasOverloads = hasOverloads; } override bool isLvalue() { if (e1.op != EXP.structLiteral) return true; auto vd = var.isVarDeclaration(); return !(vd && vd.isField()); } override Expression toLvalue(Scope* sc, Expression e) { //printf("DotVarExp::toLvalue(%s)\n", toChars()); if (sc && sc.flags & SCOPE.Cfile) { /* C11 6.5.2.3-3: A postfix expression followed by the '.' or '->' operator * is an lvalue if the first expression is an lvalue. */ if (!e1.isLvalue()) return Expression.toLvalue(sc, e); } if (!isLvalue()) return Expression.toLvalue(sc, e); if (e1.op == EXP.this_ && sc.ctorflow.fieldinit.length && !(sc.ctorflow.callSuper & CSX.any_ctor)) { if (VarDeclaration vd = var.isVarDeclaration()) { auto ad = vd.isMember2(); if (ad && ad.fields.length == sc.ctorflow.fieldinit.length) { foreach (i, f; ad.fields) { if (f == vd) { if (!(sc.ctorflow.fieldinit[i].csx & CSX.this_ctor)) { /* If the address of vd is taken, assume it is thereby initialized * https://issues.dlang.org/show_bug.cgi?id=15869 */ modifyFieldVar(loc, sc, vd, e1); } break; } } } } } return this; } override Expression modifiableLvalue(Scope* sc, Expression e) { version (none) { printf("DotVarExp::modifiableLvalue(%s)\n", toChars()); printf("e1.type = %s\n", e1.type.toChars()); printf("var.type = %s\n", var.type.toChars()); } return Expression.modifiableLvalue(sc, e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * foo.bar!(args) */ extern (C++) final class DotTemplateInstanceExp : UnaExp { TemplateInstance ti; extern (D) this(const ref Loc loc, Expression e, Identifier name, Objects* tiargs) { super(loc, EXP.dotTemplateInstance, __traits(classInstanceSize, DotTemplateInstanceExp), e); //printf("DotTemplateInstanceExp()\n"); this.ti = new TemplateInstance(loc, name, tiargs); } extern (D) this(const ref Loc loc, Expression e, TemplateInstance ti) { super(loc, EXP.dotTemplateInstance, __traits(classInstanceSize, DotTemplateInstanceExp), e); this.ti = ti; } override DotTemplateInstanceExp syntaxCopy() { return new DotTemplateInstanceExp(loc, e1.syntaxCopy(), ti.name, TemplateInstance.arraySyntaxCopy(ti.tiargs)); } bool findTempDecl(Scope* sc) { static if (LOGSEMANTIC) { printf("DotTemplateInstanceExp::findTempDecl('%s')\n", toChars()); } if (ti.tempdecl) return true; Expression e = new DotIdExp(loc, e1, ti.name); e = e.expressionSemantic(sc); if (e.op == EXP.dot) e = (cast(DotExp)e).e2; Dsymbol s = null; switch (e.op) { case EXP.overloadSet: s = (cast(OverExp)e).vars; break; case EXP.dotTemplateDeclaration: s = (cast(DotTemplateExp)e).td; break; case EXP.scope_: s = (cast(ScopeExp)e).sds; break; case EXP.dotVariable: s = (cast(DotVarExp)e).var; break; case EXP.variable: s = (cast(VarExp)e).var; break; default: return false; } return ti.updateTempDecl(sc, s); } override bool checkType() { // Same logic as ScopeExp.checkType() if (ti.tempdecl && ti.semantictiargsdone && ti.semanticRun == PASS.initial) { error("partial %s `%s` has no type", ti.kind(), toChars()); return true; } return false; } override bool checkValue() { if (ti.tempdecl && ti.semantictiargsdone && ti.semanticRun == PASS.initial) error("partial %s `%s` has no value", ti.kind(), toChars()); else error("%s `%s` has no value", ti.kind(), ti.toChars()); return true; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class DelegateExp : UnaExp { FuncDeclaration func; bool hasOverloads; VarDeclaration vthis2; // container for multi-context extern (D) this(const ref Loc loc, Expression e, FuncDeclaration f, bool hasOverloads = true, VarDeclaration vthis2 = null) { super(loc, EXP.delegate_, __traits(classInstanceSize, DelegateExp), e); this.func = f; this.hasOverloads = hasOverloads; this.vthis2 = vthis2; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class DotTypeExp : UnaExp { Dsymbol sym; // symbol that represents a type extern (D) this(const ref Loc loc, Expression e, Dsymbol s) { super(loc, EXP.dotType, __traits(classInstanceSize, DotTypeExp), e); this.sym = s; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class CallExp : UnaExp { Expressions* arguments; // function arguments FuncDeclaration f; // symbol to call bool directcall; // true if a virtual call is devirtualized bool inDebugStatement; /// true if this was in a debug statement bool ignoreAttributes; /// don't enforce attributes (e.g. call @gc function in @nogc code) VarDeclaration vthis2; // container for multi-context extern (D) this(const ref Loc loc, Expression e, Expressions* exps) { super(loc, EXP.call, __traits(classInstanceSize, CallExp), e); this.arguments = exps; } extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.call, __traits(classInstanceSize, CallExp), e); } extern (D) this(const ref Loc loc, Expression e, Expression earg1) { super(loc, EXP.call, __traits(classInstanceSize, CallExp), e); this.arguments = new Expressions(); if (earg1) this.arguments.push(earg1); } extern (D) this(const ref Loc loc, Expression e, Expression earg1, Expression earg2) { super(loc, EXP.call, __traits(classInstanceSize, CallExp), e); auto arguments = new Expressions(2); (*arguments)[0] = earg1; (*arguments)[1] = earg2; this.arguments = arguments; } /*********************************************************** * Instatiates a new function call expression * Params: * loc = location * fd = the declaration of the function to call * earg1 = the function argument */ extern(D) this(const ref Loc loc, FuncDeclaration fd, Expression earg1) { this(loc, new VarExp(loc, fd, false), earg1); this.f = fd; } static CallExp create(const ref Loc loc, Expression e, Expressions* exps) { return new CallExp(loc, e, exps); } static CallExp create(const ref Loc loc, Expression e) { return new CallExp(loc, e); } static CallExp create(const ref Loc loc, Expression e, Expression earg1) { return new CallExp(loc, e, earg1); } /*********************************************************** * Creates a new function call expression * Params: * loc = location * fd = the declaration of the function to call * earg1 = the function argument */ static CallExp create(const ref Loc loc, FuncDeclaration fd, Expression earg1) { return new CallExp(loc, fd, earg1); } override CallExp syntaxCopy() { return new CallExp(loc, e1.syntaxCopy(), arraySyntaxCopy(arguments)); } override bool isLvalue() { Type tb = e1.type.toBasetype(); if (tb.ty == Tdelegate || tb.ty == Tpointer) tb = tb.nextOf(); auto tf = tb.isTypeFunction(); if (tf && tf.isref) { if (auto dve = e1.isDotVarExp()) if (dve.var.isCtorDeclaration()) return false; return true; // function returns a reference } return false; } override Expression toLvalue(Scope* sc, Expression e) { if (isLvalue()) return this; return Expression.toLvalue(sc, e); } override Expression addDtorHook(Scope* sc) { /* Only need to add dtor hook if it's a type that needs destruction. * Use same logic as VarDeclaration::callScopeDtor() */ if (auto tf = e1.type.isTypeFunction()) { if (tf.isref) return this; } Type tv = type.baseElemOf(); if (auto ts = tv.isTypeStruct()) { StructDeclaration sd = ts.sym; if (sd.dtor) { /* Type needs destruction, so declare a tmp * which the back end will recognize and call dtor on */ auto tmp = copyToTemp(0, Id.__tmpfordtor.toString(), this); auto de = new DeclarationExp(loc, tmp); auto ve = new VarExp(loc, tmp); Expression e = new CommaExp(loc, de, ve); e = e.expressionSemantic(sc); return e; } } return this; } override void accept(Visitor v) { v.visit(this); } } FuncDeclaration isFuncAddress(Expression e, bool* hasOverloads = null) { if (auto ae = e.isAddrExp()) { auto ae1 = ae.e1; if (auto ve = ae1.isVarExp()) { if (hasOverloads) *hasOverloads = ve.hasOverloads; return ve.var.isFuncDeclaration(); } if (auto dve = ae1.isDotVarExp()) { if (hasOverloads) *hasOverloads = dve.hasOverloads; return dve.var.isFuncDeclaration(); } } else { if (auto soe = e.isSymOffExp()) { if (hasOverloads) *hasOverloads = soe.hasOverloads; return soe.var.isFuncDeclaration(); } if (auto dge = e.isDelegateExp()) { if (hasOverloads) *hasOverloads = dge.hasOverloads; return dge.func.isFuncDeclaration(); } } return null; } /*********************************************************** * The 'address of' operator, `&p` */ extern (C++) final class AddrExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.address, __traits(classInstanceSize, AddrExp), e); } extern (D) this(const ref Loc loc, Expression e, Type t) { this(loc, e); type = t; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The pointer dereference operator, `*p` */ extern (C++) final class PtrExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.star, __traits(classInstanceSize, PtrExp), e); //if (e.type) // type = ((TypePointer *)e.type).next; } extern (D) this(const ref Loc loc, Expression e, Type t) { super(loc, EXP.star, __traits(classInstanceSize, PtrExp), e); type = t; } override bool isLvalue() { return true; } override Expression toLvalue(Scope* sc, Expression e) { return this; } override Expression modifiableLvalue(Scope* sc, Expression e) { //printf("PtrExp::modifiableLvalue() %s, type %s\n", toChars(), type.toChars()); Declaration var; if (auto se = e1.isSymOffExp()) var = se.var; else if (auto ve = e1.isVarExp()) var = ve.var; if (var && var.type.isFunction_Delegate_PtrToFunction()) { if (var.type.isTypeFunction()) error("function `%s` is not an lvalue and cannot be modified", var.toChars()); else error("function pointed to by `%s` is not an lvalue and cannot be modified", var.toChars()); return ErrorExp.get(); } return Expression.modifiableLvalue(sc, e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The negation operator, `-x` */ extern (C++) final class NegExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.negate, __traits(classInstanceSize, NegExp), e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The unary add operator, `+x` */ extern (C++) final class UAddExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.uadd, __traits(classInstanceSize, UAddExp), e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The bitwise complement operator, `~x` */ extern (C++) final class ComExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.tilde, __traits(classInstanceSize, ComExp), e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The logical not operator, `!x` */ extern (C++) final class NotExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, EXP.not, __traits(classInstanceSize, NotExp), e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The delete operator, `delete x` (deprecated) * * https://dlang.org/spec/expression.html#delete_expressions */ extern (C++) final class DeleteExp : UnaExp { bool isRAII; // true if called automatically as a result of scoped destruction extern (D) this(const ref Loc loc, Expression e, bool isRAII) { super(loc, EXP.delete_, __traits(classInstanceSize, DeleteExp), e); this.isRAII = isRAII; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The type cast operator, `cast(T) x` * * It's possible to cast to one type while painting to another type * * https://dlang.org/spec/expression.html#cast_expressions */ extern (C++) final class CastExp : UnaExp { Type to; // type to cast to ubyte mod = cast(ubyte)~0; // MODxxxxx extern (D) this(const ref Loc loc, Expression e, Type t) { super(loc, EXP.cast_, __traits(classInstanceSize, CastExp), e); this.to = t; } /* For cast(const) and cast(immutable) */ extern (D) this(const ref Loc loc, Expression e, ubyte mod) { super(loc, EXP.cast_, __traits(classInstanceSize, CastExp), e); this.mod = mod; } override CastExp syntaxCopy() { return to ? new CastExp(loc, e1.syntaxCopy(), to.syntaxCopy()) : new CastExp(loc, e1.syntaxCopy(), mod); } override bool isLvalue() { //printf("e1.type = %s, to.type = %s\n", e1.type.toChars(), to.toChars()); if (!e1.isLvalue()) return false; return (to.ty == Tsarray && (e1.type.ty == Tvector || e1.type.ty == Tsarray)) || e1.type.mutableOf().unSharedOf().equals(to.mutableOf().unSharedOf()); } override Expression toLvalue(Scope* sc, Expression e) { if (sc && sc.flags & SCOPE.Cfile) { /* C11 6.5.4-5: A cast does not yield an lvalue. */ return Expression.toLvalue(sc, e); } if (isLvalue()) return this; return Expression.toLvalue(sc, e); } override Expression addDtorHook(Scope* sc) { if (to.toBasetype().ty == Tvoid) // look past the cast(void) e1 = e1.addDtorHook(sc); return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class VectorExp : UnaExp { TypeVector to; // the target vector type before semantic() uint dim = ~0; // number of elements in the vector OwnedBy ownedByCtfe = OwnedBy.code; extern (D) this(const ref Loc loc, Expression e, Type t) { super(loc, EXP.vector, __traits(classInstanceSize, VectorExp), e); assert(t.ty == Tvector); to = cast(TypeVector)t; } static VectorExp create(const ref Loc loc, Expression e, Type t) { return new VectorExp(loc, e, t); } // Same as create, but doesn't allocate memory. static void emplace(UnionExp* pue, const ref Loc loc, Expression e, Type type) { emplaceExp!(VectorExp)(pue, loc, e, type); } override VectorExp syntaxCopy() { return new VectorExp(loc, e1.syntaxCopy(), to.syntaxCopy()); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * e1.array property for vectors. * * https://dlang.org/spec/simd.html#properties */ extern (C++) final class VectorArrayExp : UnaExp { extern (D) this(const ref Loc loc, Expression e1) { super(loc, EXP.vectorArray, __traits(classInstanceSize, VectorArrayExp), e1); } override bool isLvalue() { return e1.isLvalue(); } override Expression toLvalue(Scope* sc, Expression e) { e1 = e1.toLvalue(sc, e); return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * e1 [lwr .. upr] * * https://dlang.org/spec/expression.html#slice_expressions */ extern (C++) final class SliceExp : UnaExp { Expression upr; // null if implicit 0 Expression lwr; // null if implicit [length - 1] VarDeclaration lengthVar; bool upperIsInBounds; // true if upr <= e1.length bool lowerIsLessThanUpper; // true if lwr <= upr bool arrayop; // an array operation, rather than a slice /************************************************************/ extern (D) this(const ref Loc loc, Expression e1, IntervalExp ie) { super(loc, EXP.slice, __traits(classInstanceSize, SliceExp), e1); this.upr = ie ? ie.upr : null; this.lwr = ie ? ie.lwr : null; } extern (D) this(const ref Loc loc, Expression e1, Expression lwr, Expression upr) { super(loc, EXP.slice, __traits(classInstanceSize, SliceExp), e1); this.upr = upr; this.lwr = lwr; } override SliceExp syntaxCopy() { auto se = new SliceExp(loc, e1.syntaxCopy(), lwr ? lwr.syntaxCopy() : null, upr ? upr.syntaxCopy() : null); se.lengthVar = this.lengthVar; // bug7871 return se; } override bool isLvalue() { /* slice expression is rvalue in default, but * conversion to reference of static array is only allowed. */ return (type && type.toBasetype().ty == Tsarray); } override Expression toLvalue(Scope* sc, Expression e) { //printf("SliceExp::toLvalue(%s) type = %s\n", toChars(), type ? type.toChars() : NULL); return (type && type.toBasetype().ty == Tsarray) ? this : Expression.toLvalue(sc, e); } override Expression modifiableLvalue(Scope* sc, Expression e) { error("slice expression `%s` is not a modifiable lvalue", toChars()); return this; } override Optional!bool toBool() { return e1.toBool(); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `.length` property of an array */ extern (C++) final class ArrayLengthExp : UnaExp { extern (D) this(const ref Loc loc, Expression e1) { super(loc, EXP.arrayLength, __traits(classInstanceSize, ArrayLengthExp), e1); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * e1 [ a0, a1, a2, a3 ,... ] * * https://dlang.org/spec/expression.html#index_expressions */ extern (C++) final class ArrayExp : UnaExp { Expressions* arguments; // Array of Expression's a0..an size_t currentDimension; // for opDollar VarDeclaration lengthVar; extern (D) this(const ref Loc loc, Expression e1, Expression index = null) { super(loc, EXP.array, __traits(classInstanceSize, ArrayExp), e1); arguments = new Expressions(); if (index) arguments.push(index); } extern (D) this(const ref Loc loc, Expression e1, Expressions* args) { super(loc, EXP.array, __traits(classInstanceSize, ArrayExp), e1); arguments = args; } override ArrayExp syntaxCopy() { auto ae = new ArrayExp(loc, e1.syntaxCopy(), arraySyntaxCopy(arguments)); ae.lengthVar = this.lengthVar; // bug7871 return ae; } override bool isLvalue() { if (type && type.toBasetype().ty == Tvoid) return false; return true; } override Expression toLvalue(Scope* sc, Expression e) { if (type && type.toBasetype().ty == Tvoid) error("`void`s have no value"); return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class DotExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.dot, __traits(classInstanceSize, DotExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class CommaExp : BinExp { /// This is needed because AssignExp rewrites CommaExp, hence it needs /// to trigger the deprecation. const bool isGenerated; /// Temporary variable to enable / disable deprecation of comma expression /// depending on the context. /// Since most constructor calls are rewritting, the only place where /// false will be passed will be from the parser. bool allowCommaExp; extern (D) this(const ref Loc loc, Expression e1, Expression e2, bool generated = true) { super(loc, EXP.comma, __traits(classInstanceSize, CommaExp), e1, e2); allowCommaExp = isGenerated = generated; } override bool isLvalue() { return e2.isLvalue(); } override Expression toLvalue(Scope* sc, Expression e) { e2 = e2.toLvalue(sc, null); return this; } override Expression modifiableLvalue(Scope* sc, Expression e) { e2 = e2.modifiableLvalue(sc, e); return this; } override Optional!bool toBool() { return e2.toBool(); } override Expression addDtorHook(Scope* sc) { e2 = e2.addDtorHook(sc); return this; } override void accept(Visitor v) { v.visit(this); } /** * If the argument is a CommaExp, set a flag to prevent deprecation messages * * It's impossible to know from CommaExp.semantic if the result will * be used, hence when there is a result (type != void), a deprecation * message is always emitted. * However, some construct can produce a result but won't use it * (ExpStatement and for loop increment). Those should call this function * to prevent unwanted deprecations to be emitted. * * Params: * exp = An expression that discards its result. * If the argument is null or not a CommaExp, nothing happens. */ static void allow(Expression exp) { if (exp) if (auto ce = exp.isCommaExp()) ce.allowCommaExp = true; } } /*********************************************************** * Mainly just a placeholder */ extern (C++) final class IntervalExp : Expression { Expression lwr; Expression upr; extern (D) this(const ref Loc loc, Expression lwr, Expression upr) { super(loc, EXP.interval, __traits(classInstanceSize, IntervalExp)); this.lwr = lwr; this.upr = upr; } override Expression syntaxCopy() { return new IntervalExp(loc, lwr.syntaxCopy(), upr.syntaxCopy()); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `dg.ptr` property, pointing to the delegate's 'context' * * c.f.`DelegateFuncptrExp` for the delegate's function pointer `dg.funcptr` */ extern (C++) final class DelegatePtrExp : UnaExp { extern (D) this(const ref Loc loc, Expression e1) { super(loc, EXP.delegatePointer, __traits(classInstanceSize, DelegatePtrExp), e1); } override bool isLvalue() { return e1.isLvalue(); } override Expression toLvalue(Scope* sc, Expression e) { e1 = e1.toLvalue(sc, e); return this; } override Expression modifiableLvalue(Scope* sc, Expression e) { if (sc.setUnsafe(false, this.loc, "cannot modify delegate pointer in `@safe` code `%s`", this)) { return ErrorExp.get(); } return Expression.modifiableLvalue(sc, e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `dg.funcptr` property, pointing to the delegate's function * * c.f.`DelegatePtrExp` for the delegate's function pointer `dg.ptr` */ extern (C++) final class DelegateFuncptrExp : UnaExp { extern (D) this(const ref Loc loc, Expression e1) { super(loc, EXP.delegateFunctionPointer, __traits(classInstanceSize, DelegateFuncptrExp), e1); } override bool isLvalue() { return e1.isLvalue(); } override Expression toLvalue(Scope* sc, Expression e) { e1 = e1.toLvalue(sc, e); return this; } override Expression modifiableLvalue(Scope* sc, Expression e) { if (sc.setUnsafe(false, this.loc, "cannot modify delegate function pointer in `@safe` code `%s`", this)) { return ErrorExp.get(); } return Expression.modifiableLvalue(sc, e); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * e1 [ e2 ] */ extern (C++) final class IndexExp : BinExp { VarDeclaration lengthVar; bool modifiable = false; // assume it is an rvalue bool indexIsInBounds; // true if 0 <= e2 && e2 <= e1.length - 1 extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.index, __traits(classInstanceSize, IndexExp), e1, e2); //printf("IndexExp::IndexExp('%s')\n", toChars()); } extern (D) this(const ref Loc loc, Expression e1, Expression e2, bool indexIsInBounds) { super(loc, EXP.index, __traits(classInstanceSize, IndexExp), e1, e2); this.indexIsInBounds = indexIsInBounds; //printf("IndexExp::IndexExp('%s')\n", toChars()); } override IndexExp syntaxCopy() { auto ie = new IndexExp(loc, e1.syntaxCopy(), e2.syntaxCopy()); ie.lengthVar = this.lengthVar; // bug7871 return ie; } override bool isLvalue() { if (e1.op == EXP.assocArrayLiteral) return false; if (e1.type.ty == Tsarray || (e1.op == EXP.index && e1.type.ty != Tarray)) { return e1.isLvalue(); } return true; } override Expression toLvalue(Scope* sc, Expression e) { if (isLvalue()) return this; return Expression.toLvalue(sc, e); } override Expression modifiableLvalue(Scope* sc, Expression e) { //printf("IndexExp::modifiableLvalue(%s)\n", toChars()); Expression ex = markSettingAAElem(); if (ex.op == EXP.error) return ex; return Expression.modifiableLvalue(sc, e); } extern (D) Expression markSettingAAElem() { if (e1.type.toBasetype().ty == Taarray) { Type t2b = e2.type.toBasetype(); if (t2b.ty == Tarray && t2b.nextOf().isMutable()) { error("associative arrays can only be assigned values with immutable keys, not `%s`", e2.type.toChars()); return ErrorExp.get(); } modifiable = true; if (auto ie = e1.isIndexExp()) { Expression ex = ie.markSettingAAElem(); if (ex.op == EXP.error) return ex; assert(ex == e1); } } return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The postfix increment/decrement operator, `i++` / `i--` */ extern (C++) final class PostExp : BinExp { extern (D) this(EXP op, const ref Loc loc, Expression e) { super(loc, op, __traits(classInstanceSize, PostExp), e, IntegerExp.literal!1); assert(op == EXP.minusMinus || op == EXP.plusPlus); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The prefix increment/decrement operator, `++i` / `--i` */ extern (C++) final class PreExp : UnaExp { extern (D) this(EXP op, const ref Loc loc, Expression e) { super(loc, op, __traits(classInstanceSize, PreExp), e); assert(op == EXP.preMinusMinus || op == EXP.prePlusPlus); } override void accept(Visitor v) { v.visit(this); } } enum MemorySet { none = 0, // simple assignment blockAssign = 1, // setting the contents of an array referenceInit = 2, // setting the reference of STC.ref_ variable } /*********************************************************** * The assignment / initialization operator, `=` * * Note: operator assignment `op=` has a different base class, `BinAssignExp` */ extern (C++) class AssignExp : BinExp { MemorySet memset; /************************************************************/ /* op can be EXP.assign, EXP.construct, or EXP.blit */ extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.assign, __traits(classInstanceSize, AssignExp), e1, e2); } this(const ref Loc loc, EXP tok, Expression e1, Expression e2) { super(loc, tok, __traits(classInstanceSize, AssignExp), e1, e2); } override final bool isLvalue() { // Array-op 'x[] = y[]' should make an rvalue. // Setting array length 'x.length = v' should make an rvalue. if (e1.op == EXP.slice || e1.op == EXP.arrayLength) { return false; } return true; } override final Expression toLvalue(Scope* sc, Expression ex) { if (e1.op == EXP.slice || e1.op == EXP.arrayLength) { return Expression.toLvalue(sc, ex); } /* In front-end level, AssignExp should make an lvalue of e1. * Taking the address of e1 will be handled in low level layer, * so this function does nothing. */ return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** */ extern (C++) final class ConstructExp : AssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.construct, e1, e2); } // Internal use only. If `v` is a reference variable, the assignment // will become a reference initialization automatically. extern (D) this(const ref Loc loc, VarDeclaration v, Expression e2) { auto ve = new VarExp(loc, v); assert(v.type && ve.type); super(loc, EXP.construct, ve, e2); if (v.isReference()) memset = MemorySet.referenceInit; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A bit-for-bit copy from `e2` to `e1` */ extern (C++) final class BlitExp : AssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.blit, e1, e2); } // Internal use only. If `v` is a reference variable, the assinment // will become a reference rebinding automatically. extern (D) this(const ref Loc loc, VarDeclaration v, Expression e2) { auto ve = new VarExp(loc, v); assert(v.type && ve.type); super(loc, EXP.blit, ve, e2); if (v.isReference()) memset = MemorySet.referenceInit; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x += y` */ extern (C++) final class AddAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.addAssign, __traits(classInstanceSize, AddAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x -= y` */ extern (C++) final class MinAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.minAssign, __traits(classInstanceSize, MinAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x *= y` */ extern (C++) final class MulAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.mulAssign, __traits(classInstanceSize, MulAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x /= y` */ extern (C++) final class DivAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.divAssign, __traits(classInstanceSize, DivAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x %= y` */ extern (C++) final class ModAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.modAssign, __traits(classInstanceSize, ModAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x &= y` */ extern (C++) final class AndAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.andAssign, __traits(classInstanceSize, AndAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x |= y` */ extern (C++) final class OrAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.orAssign, __traits(classInstanceSize, OrAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x ^= y` */ extern (C++) final class XorAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.xorAssign, __traits(classInstanceSize, XorAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x ^^= y` */ extern (C++) final class PowAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.powAssign, __traits(classInstanceSize, PowAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x <<= y` */ extern (C++) final class ShlAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.leftShiftAssign, __traits(classInstanceSize, ShlAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x >>= y` */ extern (C++) final class ShrAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.rightShiftAssign, __traits(classInstanceSize, ShrAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `x >>>= y` */ extern (C++) final class UshrAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.unsignedRightShiftAssign, __traits(classInstanceSize, UshrAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `~=` operator. * * It can have one of the following operators: * * EXP.concatenateAssign - appending T[] to T[] * EXP.concatenateElemAssign - appending T to T[] * EXP.concatenateDcharAssign - appending dchar to T[] * * The parser initially sets it to EXP.concatenateAssign, and semantic() later decides which * of the three it will be set to. */ extern (C++) class CatAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.concatenateAssign, __traits(classInstanceSize, CatAssignExp), e1, e2); } extern (D) this(const ref Loc loc, EXP tok, Expression e1, Expression e2) { super(loc, tok, __traits(classInstanceSize, CatAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `~=` operator when appending a single element */ extern (C++) final class CatElemAssignExp : CatAssignExp { extern (D) this(const ref Loc loc, Type type, Expression e1, Expression e2) { super(loc, EXP.concatenateElemAssign, e1, e2); this.type = type; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `~=` operator when appending a single `dchar` */ extern (C++) final class CatDcharAssignExp : CatAssignExp { extern (D) this(const ref Loc loc, Type type, Expression e1, Expression e2) { super(loc, EXP.concatenateDcharAssign, e1, e2); this.type = type; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The addition operator, `x + y` * * https://dlang.org/spec/expression.html#add_expressions */ extern (C++) final class AddExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.add, __traits(classInstanceSize, AddExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The minus operator, `x - y` * * https://dlang.org/spec/expression.html#add_expressions */ extern (C++) final class MinExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.min, __traits(classInstanceSize, MinExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The concatenation operator, `x ~ y` * * https://dlang.org/spec/expression.html#cat_expressions */ extern (C++) final class CatExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.concatenate, __traits(classInstanceSize, CatExp), e1, e2); } override Expression resolveLoc(const ref Loc loc, Scope* sc) { e1 = e1.resolveLoc(loc, sc); e2 = e2.resolveLoc(loc, sc); return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The multiplication operator, `x * y` * * https://dlang.org/spec/expression.html#mul_expressions */ extern (C++) final class MulExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.mul, __traits(classInstanceSize, MulExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The division operator, `x / y` * * https://dlang.org/spec/expression.html#mul_expressions */ extern (C++) final class DivExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.div, __traits(classInstanceSize, DivExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The modulo operator, `x % y` * * https://dlang.org/spec/expression.html#mul_expressions */ extern (C++) final class ModExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.mod, __traits(classInstanceSize, ModExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The 'power' operator, `x ^^ y` * * https://dlang.org/spec/expression.html#pow_expressions */ extern (C++) final class PowExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.pow, __traits(classInstanceSize, PowExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The 'shift left' operator, `x << y` * * https://dlang.org/spec/expression.html#shift_expressions */ extern (C++) final class ShlExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.leftShift, __traits(classInstanceSize, ShlExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The 'shift right' operator, `x >> y` * * https://dlang.org/spec/expression.html#shift_expressions */ extern (C++) final class ShrExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.rightShift, __traits(classInstanceSize, ShrExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The 'unsigned shift right' operator, `x >>> y` * * https://dlang.org/spec/expression.html#shift_expressions */ extern (C++) final class UshrExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.unsignedRightShift, __traits(classInstanceSize, UshrExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The bitwise 'and' operator, `x & y` * * https://dlang.org/spec/expression.html#and_expressions */ extern (C++) final class AndExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.and, __traits(classInstanceSize, AndExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The bitwise 'or' operator, `x | y` * * https://dlang.org/spec/expression.html#or_expressions */ extern (C++) final class OrExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.or, __traits(classInstanceSize, OrExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The bitwise 'xor' operator, `x ^ y` * * https://dlang.org/spec/expression.html#xor_expressions */ extern (C++) final class XorExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.xor, __traits(classInstanceSize, XorExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The logical 'and' / 'or' operator, `X && Y` / `X || Y` * * https://dlang.org/spec/expression.html#andand_expressions * https://dlang.org/spec/expression.html#oror_expressions */ extern (C++) final class LogicalExp : BinExp { extern (D) this(const ref Loc loc, EXP op, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, LogicalExp), e1, e2); assert(op == EXP.andAnd || op == EXP.orOr); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A comparison operator, `<` `<=` `>` `>=` * * `op` is one of: * EXP.lessThan, EXP.lessOrEqual, EXP.greaterThan, EXP.greaterOrEqual * * https://dlang.org/spec/expression.html#relation_expressions */ extern (C++) final class CmpExp : BinExp { extern (D) this(EXP op, const ref Loc loc, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, CmpExp), e1, e2); assert(op == EXP.lessThan || op == EXP.lessOrEqual || op == EXP.greaterThan || op == EXP.greaterOrEqual); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `in` operator, `"a" in ["a": 1]` * * Note: `x !in y` is rewritten to `!(x in y)` in the parser * * https://dlang.org/spec/expression.html#in_expressions */ extern (C++) final class InExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.in_, __traits(classInstanceSize, InExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Associative array removal, `aa.remove(arg)` * * This deletes the key e1 from the associative array e2 */ extern (C++) final class RemoveExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, EXP.remove, __traits(classInstanceSize, RemoveExp), e1, e2); type = Type.tbool; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `==` and `!=` * * EXP.equal and EXP.notEqual * * https://dlang.org/spec/expression.html#equality_expressions */ extern (C++) final class EqualExp : BinExp { extern (D) this(EXP op, const ref Loc loc, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, EqualExp), e1, e2); assert(op == EXP.equal || op == EXP.notEqual); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `is` and `!is` * * EXP.identity and EXP.notIdentity * * https://dlang.org/spec/expression.html#identity_expressions */ extern (C++) final class IdentityExp : BinExp { extern (D) this(EXP op, const ref Loc loc, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, IdentityExp), e1, e2); assert(op == EXP.identity || op == EXP.notIdentity); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The ternary operator, `econd ? e1 : e2` * * https://dlang.org/spec/expression.html#conditional_expressions */ extern (C++) final class CondExp : BinExp { Expression econd; extern (D) this(const ref Loc loc, Expression econd, Expression e1, Expression e2) { super(loc, EXP.question, __traits(classInstanceSize, CondExp), e1, e2); this.econd = econd; } override CondExp syntaxCopy() { return new CondExp(loc, econd.syntaxCopy(), e1.syntaxCopy(), e2.syntaxCopy()); } override bool isLvalue() { return e1.isLvalue() && e2.isLvalue(); } override Expression toLvalue(Scope* sc, Expression ex) { // convert (econd ? e1 : e2) to *(econd ? &e1 : &e2) CondExp e = cast(CondExp)copy(); e.e1 = e1.toLvalue(sc, null).addressOf(); e.e2 = e2.toLvalue(sc, null).addressOf(); e.type = type.pointerTo(); return new PtrExp(loc, e, type); } override Expression modifiableLvalue(Scope* sc, Expression e) { if (!e1.isLvalue() && !e2.isLvalue()) { error("conditional expression `%s` is not a modifiable lvalue", toChars()); return ErrorExp.get(); } e1 = e1.modifiableLvalue(sc, e1); e2 = e2.modifiableLvalue(sc, e2); return toLvalue(sc, this); } void hookDtors(Scope* sc) { extern (C++) final class DtorVisitor : StoppableVisitor { alias visit = typeof(super).visit; public: Scope* sc; CondExp ce; VarDeclaration vcond; bool isThen; extern (D) this(Scope* sc, CondExp ce) { this.sc = sc; this.ce = ce; } override void visit(Expression e) { //printf("(e = %s)\n", e.toChars()); } override void visit(DeclarationExp e) { auto v = e.declaration.isVarDeclaration(); if (v && !v.isDataseg()) { if (v._init) { if (auto ei = v._init.isExpInitializer()) walkPostorder(ei.exp, this); } if (v.edtor) walkPostorder(v.edtor, this); if (v.needsScopeDtor()) { if (!vcond) { vcond = copyToTemp(STC.volatile_ | STC.const_, "__cond", ce.econd); vcond.dsymbolSemantic(sc); Expression de = new DeclarationExp(ce.econd.loc, vcond); de = de.expressionSemantic(sc); Expression ve = new VarExp(ce.econd.loc, vcond); ce.econd = Expression.combine(de, ve); } //printf("\t++v = %s, v.edtor = %s\n", v.toChars(), v.edtor.toChars()); Expression ve = new VarExp(vcond.loc, vcond); if (isThen) v.edtor = new LogicalExp(v.edtor.loc, EXP.andAnd, ve, v.edtor); else v.edtor = new LogicalExp(v.edtor.loc, EXP.orOr, ve, v.edtor); v.edtor = v.edtor.expressionSemantic(sc); //printf("\t--v = %s, v.edtor = %s\n", v.toChars(), v.edtor.toChars()); } } } } scope DtorVisitor v = new DtorVisitor(sc, this); //printf("+%s\n", toChars()); v.isThen = true; walkPostorder(e1, v); v.isThen = false; walkPostorder(e2, v); //printf("-%s\n", toChars()); } override void accept(Visitor v) { v.visit(this); } } /// Returns: if this token is the `op` for a derived `DefaultInitExp` class. bool isDefaultInitOp(EXP op) pure nothrow @safe @nogc { return op == EXP.prettyFunction || op == EXP.functionString || op == EXP.line || op == EXP.moduleString || op == EXP.file || op == EXP.fileFullPath ; } /*********************************************************** * A special keyword when used as a function's default argument * * When possible, special keywords are resolved in the parser, but when * appearing as a default argument, they result in an expression deriving * from this base class that is resolved for each function call. * * --- * const x = __LINE__; // resolved in the parser * void foo(string file = __FILE__, int line = __LINE__); // DefaultInitExp * --- * * https://dlang.org/spec/expression.html#specialkeywords */ extern (C++) class DefaultInitExp : Expression { extern (D) this(const ref Loc loc, EXP op, int size) { super(loc, op, size); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `__FILE__` token as a default argument */ extern (C++) final class FileInitExp : DefaultInitExp { extern (D) this(const ref Loc loc, EXP tok) { super(loc, tok, __traits(classInstanceSize, FileInitExp)); } override Expression resolveLoc(const ref Loc loc, Scope* sc) { //printf("FileInitExp::resolve() %s\n", toChars()); const(char)* s; if (op == EXP.fileFullPath) s = FileName.toAbsolute(loc.isValid() ? loc.filename : sc._module.srcfile.toChars()); else s = loc.isValid() ? loc.filename : sc._module.ident.toChars(); Expression e = new StringExp(loc, s.toDString()); e = e.expressionSemantic(sc); e = e.castTo(sc, type); return e; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `__LINE__` token as a default argument */ extern (C++) final class LineInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, EXP.line, __traits(classInstanceSize, LineInitExp)); } override Expression resolveLoc(const ref Loc loc, Scope* sc) { Expression e = new IntegerExp(loc, loc.linnum, Type.tint32); e = e.castTo(sc, type); return e; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `__MODULE__` token as a default argument */ extern (C++) final class ModuleInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, EXP.moduleString, __traits(classInstanceSize, ModuleInitExp)); } override Expression resolveLoc(const ref Loc loc, Scope* sc) { const auto s = (sc.callsc ? sc.callsc : sc)._module.toPrettyChars().toDString(); Expression e = new StringExp(loc, s); e = e.expressionSemantic(sc); e = e.castTo(sc, type); return e; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `__FUNCTION__` token as a default argument */ extern (C++) final class FuncInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, EXP.functionString, __traits(classInstanceSize, FuncInitExp)); } override Expression resolveLoc(const ref Loc loc, Scope* sc) { const(char)* s; if (sc.callsc && sc.callsc.func) s = sc.callsc.func.Dsymbol.toPrettyChars(); else if (sc.func) s = sc.func.Dsymbol.toPrettyChars(); else s = ""; Expression e = new StringExp(loc, s.toDString()); e = e.expressionSemantic(sc); e.type = Type.tstring; return e; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * The `__PRETTY_FUNCTION__` token as a default argument */ extern (C++) final class PrettyFuncInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, EXP.prettyFunction, __traits(classInstanceSize, PrettyFuncInitExp)); } override Expression resolveLoc(const ref Loc loc, Scope* sc) { FuncDeclaration fd = (sc.callsc && sc.callsc.func) ? sc.callsc.func : sc.func; const(char)* s; if (fd) { const funcStr = fd.Dsymbol.toPrettyChars(); OutBuffer buf; functionToBufferWithIdent(fd.type.isTypeFunction(), &buf, funcStr, fd.isStatic); s = buf.extractChars(); } else { s = ""; } Expression e = new StringExp(loc, s.toDString()); e = e.expressionSemantic(sc); e.type = Type.tstring; return e; } override void accept(Visitor v) { v.visit(this); } } /** * Objective-C class reference expression. * * Used to get the metaclass of an Objective-C class, `NSObject.Class`. */ extern (C++) final class ObjcClassReferenceExp : Expression { ClassDeclaration classDeclaration; extern (D) this(const ref Loc loc, ClassDeclaration classDeclaration) { super(loc, EXP.objcClassReference, __traits(classInstanceSize, ObjcClassReferenceExp)); this.classDeclaration = classDeclaration; type = objc.getRuntimeMetaclass(classDeclaration).getType(); } override void accept(Visitor v) { v.visit(this); } } /******************* * C11 6.5.1.1 Generic Selection * For ImportC */ extern (C++) final class GenericExp : Expression { Expression cntlExp; /// controlling expression of a generic selection (not evaluated) Types* types; /// type-names for generic associations (null entry for `default`) Expressions* exps; /// 1:1 mapping of typeNames to exps extern (D) this(const ref Loc loc, Expression cntlExp, Types* types, Expressions* exps) { super(loc, EXP._Generic, __traits(classInstanceSize, GenericExp)); this.cntlExp = cntlExp; this.types = types; this.exps = exps; assert(types.length == exps.length); // must be the same and >=1 } override GenericExp syntaxCopy() { return new GenericExp(loc, cntlExp.syntaxCopy(), Type.arraySyntaxCopy(types), Expression.arraySyntaxCopy(exps)); } override void accept(Visitor v) { v.visit(this); } } /*************************************** * Parameters: * sc: scope * flag: 1: do not issue error message for invalid modification 2: the exp is a DotVarExp and a subfield of the leftmost variable is modified * Returns: * Whether the type is modifiable */ extern(D) Modifiable checkModifiable(Expression exp, Scope* sc, ModifyFlags flag = ModifyFlags.none) { switch(exp.op) { case EXP.variable: auto varExp = cast(VarExp)exp; //printf("VarExp::checkModifiable %s", varExp.toChars()); assert(varExp.type); return varExp.var.checkModify(varExp.loc, sc, null, flag); case EXP.dotVariable: auto dotVarExp = cast(DotVarExp)exp; //printf("DotVarExp::checkModifiable %s %s\n", dotVarExp.toChars(), dotVarExp.type.toChars()); if (dotVarExp.e1.op == EXP.this_) return dotVarExp.var.checkModify(dotVarExp.loc, sc, dotVarExp.e1, flag); /* https://issues.dlang.org/show_bug.cgi?id=12764 * If inside a constructor and an expression of type `this.field.var` * is encountered, where `field` is a struct declaration with * default construction disabled, we must make sure that * assigning to `var` does not imply that `field` was initialized */ if (sc.func && sc.func.isCtorDeclaration()) { // if inside a constructor scope and e1 of this DotVarExp // is another DotVarExp, then check if the leftmost expression is a `this` identifier if (auto dve = dotVarExp.e1.isDotVarExp()) { // Iterate the chain of DotVarExp to find `this` // Keep track whether access to fields was limited to union members // s.t. one can initialize an entire struct inside nested unions // (but not its members) bool onlyUnion = true; while (true) { auto v = dve.var.isVarDeclaration(); assert(v); // Accessing union member? auto t = v.type.isTypeStruct(); if (!t || !t.sym.isUnionDeclaration()) onlyUnion = false; // Another DotVarExp left? if (!dve.e1 || dve.e1.op != EXP.dotVariable) break; dve = cast(DotVarExp) dve.e1; } if (dve.e1.op == EXP.this_) { scope v = dve.var.isVarDeclaration(); /* if v is a struct member field with no initializer, no default construction * and v wasn't intialized before */ if (v && v.isField() && !v._init && !v.ctorinit) { if (auto ts = v.type.isTypeStruct()) { if (ts.sym.noDefaultCtor) { /* checkModify will consider that this is an initialization * of v while it is actually an assignment of a field of v */ scope modifyLevel = v.checkModify(dotVarExp.loc, sc, dve.e1, !onlyUnion ? (flag | ModifyFlags.fieldAssign) : flag); if (modifyLevel == Modifiable.initialization) { // https://issues.dlang.org/show_bug.cgi?id=22118 // v is a union type field that was assigned // a variable, therefore it counts as initialization if (v.ctorinit) return Modifiable.initialization; return Modifiable.yes; } return modifyLevel; } } } } } } //printf("\te1 = %s\n", e1.toChars()); return dotVarExp.e1.checkModifiable(sc, flag); case EXP.star: auto ptrExp = cast(PtrExp)exp; if (auto se = ptrExp.e1.isSymOffExp()) { return se.var.checkModify(ptrExp.loc, sc, null, flag); } else if (auto ae = ptrExp.e1.isAddrExp()) { return ae.e1.checkModifiable(sc, flag); } return Modifiable.yes; case EXP.slice: auto sliceExp = cast(SliceExp)exp; //printf("SliceExp::checkModifiable %s\n", sliceExp.toChars()); auto e1 = sliceExp.e1; if (e1.type.ty == Tsarray || (e1.op == EXP.index && e1.type.ty != Tarray) || e1.op == EXP.slice) { return e1.checkModifiable(sc, flag); } return Modifiable.yes; case EXP.comma: return (cast(CommaExp)exp).e2.checkModifiable(sc, flag); case EXP.index: auto indexExp = cast(IndexExp)exp; auto e1 = indexExp.e1; if (e1.type.ty == Tsarray || e1.type.ty == Taarray || (e1.op == EXP.index && e1.type.ty != Tarray) || e1.op == EXP.slice) { return e1.checkModifiable(sc, flag); } return Modifiable.yes; case EXP.question: auto condExp = cast(CondExp)exp; if (condExp.e1.checkModifiable(sc, flag) != Modifiable.no && condExp.e2.checkModifiable(sc, flag) != Modifiable.no) return Modifiable.yes; return Modifiable.no; default: return exp.type ? Modifiable.yes : Modifiable.no; // default modifiable } } /** * Verify if the given identifier is any of * _d_array{ctor,setctor,setassign,assign_l, assign_r}. * * Params: * id = the identifier to verify * * Returns: * `true` if the identifier corresponds to a construction of assignement * runtime hook, `false` otherwise. */ bool isArrayConstructionOrAssign(const Identifier id) { import dmd.id : Id; return id == Id._d_arrayctor || id == Id._d_arraysetctor || id == Id._d_arrayassign_l || id == Id._d_arrayassign_r || id == Id._d_arraysetassign; } /****************************** * Provide efficient way to implement isUnaExp(), isBinExp(), isBinAssignExp() */ private immutable ubyte[EXP.max + 1] exptab = () { ubyte[EXP.max + 1] tab; with (EXPFLAGS) { foreach (i; Eunary) { tab[i] |= unary; } foreach (i; Ebinary) { tab[i] |= unary | binary; } foreach (i; EbinaryAssign) { tab[i] |= unary | binary | binaryAssign; } } return tab; } (); private enum EXPFLAGS : ubyte { unary = 1, binary = 2, binaryAssign = 4, } private enum Eunary = [ EXP.import_, EXP.assert_, EXP.throw_, EXP.dotIdentifier, EXP.dotTemplateDeclaration, EXP.dotVariable, EXP.dotTemplateInstance, EXP.delegate_, EXP.dotType, EXP.call, EXP.address, EXP.star, EXP.negate, EXP.uadd, EXP.tilde, EXP.not, EXP.delete_, EXP.cast_, EXP.vector, EXP.vectorArray, EXP.slice, EXP.arrayLength, EXP.array, EXP.delegatePointer, EXP.delegateFunctionPointer, EXP.preMinusMinus, EXP.prePlusPlus, ]; private enum Ebinary = [ EXP.dot, EXP.comma, EXP.index, EXP.minusMinus, EXP.plusPlus, EXP.assign, EXP.add, EXP.min, EXP.concatenate, EXP.mul, EXP.div, EXP.mod, EXP.pow, EXP.leftShift, EXP.rightShift, EXP.unsignedRightShift, EXP.and, EXP.or, EXP.xor, EXP.andAnd, EXP.orOr, EXP.lessThan, EXP.lessOrEqual, EXP.greaterThan, EXP.greaterOrEqual, EXP.in_, EXP.remove, EXP.equal, EXP.notEqual, EXP.identity, EXP.notIdentity, EXP.question, EXP.construct, EXP.blit, ]; private enum EbinaryAssign = [ EXP.addAssign, EXP.minAssign, EXP.mulAssign, EXP.divAssign, EXP.modAssign, EXP.andAssign, EXP.orAssign, EXP.xorAssign, EXP.powAssign, EXP.leftShiftAssign, EXP.rightShiftAssign, EXP.unsignedRightShiftAssign, EXP.concatenateAssign, EXP.concatenateElemAssign, EXP.concatenateDcharAssign, ];
D
/Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/API/MarkdownParser.swift.o : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URL.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Metadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/InlineCode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Image.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Table.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Readable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Modifiable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTMLConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/PlainTextConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyle.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HorizontalLine.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Require.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Blockquote.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Hashable+AnyOf.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Heading.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Substring+Trimming.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Paragraph.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/CodeBlock.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Link.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Classification.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URLDeclaration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/NamedURLCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/ModifierCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Markdown.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Reader.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Modifier.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyleMarker.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/MarkdownParser.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/KeyPathPatterns.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Fragment.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/List.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/FormattedText.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/API/MarkdownParser~partial.swiftmodule : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URL.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Metadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/InlineCode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Image.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Table.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Readable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Modifiable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTMLConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/PlainTextConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyle.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HorizontalLine.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Require.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Blockquote.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Hashable+AnyOf.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Heading.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Substring+Trimming.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Paragraph.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/CodeBlock.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Link.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Classification.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URLDeclaration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/NamedURLCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/ModifierCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Markdown.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Reader.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Modifier.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyleMarker.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/MarkdownParser.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/KeyPathPatterns.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Fragment.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/List.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/FormattedText.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/API/MarkdownParser~partial.swiftdoc : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URL.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Metadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/InlineCode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Image.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Table.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Readable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Modifiable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTMLConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/PlainTextConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyle.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HorizontalLine.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Require.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Blockquote.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Hashable+AnyOf.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Heading.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Substring+Trimming.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Paragraph.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/CodeBlock.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Link.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Classification.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URLDeclaration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/NamedURLCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/ModifierCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Markdown.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Reader.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Modifier.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyleMarker.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/MarkdownParser.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/KeyPathPatterns.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Fragment.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/List.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/FormattedText.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/API/MarkdownParser~partial.swiftsourceinfo : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URL.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Metadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/InlineCode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Image.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Table.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Readable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Modifiable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HTMLConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/PlainTextConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyle.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/HorizontalLine.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Require.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Blockquote.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Hashable+AnyOf.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Heading.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Substring+Trimming.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Paragraph.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/CodeBlock.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Link.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Character+Classification.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/URLDeclaration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/NamedURLCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/ModifierCollection.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Markdown.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Reader.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/Modifier.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/TextStyleMarker.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/API/MarkdownParser.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/KeyPathPatterns.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/Fragment.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/List.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/ink/Sources/Ink/Internal/FormattedText.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 225.800003 43.9000015 7.5999999 145.5 71 89 -9.69999981 119.599998 7799 4.9000001 8.69999981 0.333333333 sediments 219.300003 -4.19999981 9.39999962 22.3999996 56 65 -10 121 7800 4.9000001 9.60000038 0.222222222 extrusives, basalts, andesites 321.100006 59.7999992 1.29999995 137.5 65 90 -43.5 146.800003 1350 2.4000001 2.5 0.48 sediments, limestones -65.400002 61.2999992 1.39999998 297 50 70 -31.6000004 145.600006 9339 2.20000005 2.20000005 0.35 sediments, saprolite 221.899994 42 8.80000019 0 63 75 -9.69999981 119.5 1211 5.30000019 9.69999981 1 intrusives, granodiorite, andesite dykes 177.300003 52.4000015 7.19999981 0 75 80 -9.69999981 119.5 1212 4 7.5999999 0.4 extrusives, intrusives 264.399994 75 15.6000004 0 2 65 -8.80000019 126.699997 1206 10.3999996 18 0.0317460317 extrusives, intrusives 346 61 9 41.2000008 35 100 -31.3999996 138.600006 1170 13 15 0.215384615 sediments 333 45 9 16.5 35 100 -30.3999996 139.399994 1161 17 18 0.215384615 sediments, tillite 317 57 5 200 35 100 -30.5 139.300003 1165 9 10 0.215384615 sediments, redbeds 329 58 25 4.0999999 35 100 -30.2000008 139 1166 41.5999985 45.5999985 0.215384615 sediments, sandstone, tillite 223 26 13 14.8000002 35 100 -30.2999992 139.5 1157 26 26 0.215384615 extrusives 320 63 9 15.5 34 65 -38 145.5 1854 16 16 0.064516129 extrusives 302.700012 66.8000031 6.80000019 35 34 65 -38 145.5 1819 10.8000002 12.1000004 0.064516129 extrusives 274 66 27.6000004 8.60000038 25 65 -41.2999992 145.899994 1873 39.7999992 46.9000015 0.05 intrusives, granite 321 64 6 27.5 25 65 -35.5999985 137.5 1874 10 11 0.05 sediments 269 40 0 0 50 300 -32.5999985 151.5 1868 0 0 0.056 extrusives, andesites 294 75 11 7 25 65 -41.0999985 146.100006 1871 16.2999992 18.8999996 0.05 sediments, sandstone 315 66 10.5 18 25 65 -41 145.5 1872 18.2000008 19.6000004 0.05 extrusives, sediments 298 58.7999992 2.4000001 0 35 65 -27 141.5 1972 3.79999995 3.79999995 0.0666666667 sediments, weathered 297.200012 59.2000008 6 0 50 70 -30.5 151.5 1964 9.10000038 9.89999962 0.35 sediments, weathered 102 19.8999996 21.7000008 18.7999992 65 245 -32 116 1944 28.1000004 28.1000004 0.0666666667 intrusives 271 63 2.9000001 352 50 80 -34 151 1595 3.5 4.5 0.466666667 intrusives 324 51 3.29999995 960 65 100 -34 151 1591 6.0999999 6.4000001 0.342857143 intrusives 272 66 4.80000019 191 60 100 -33.7000008 151.100006 1592 5.80000019 7.4000001 0.35 intrusives
D
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/SoftDeletable.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/MigrateCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/RevertCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/SoftDeletable.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationConfig.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/JoinSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/QuerySupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationLog.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/AnyModel.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Children.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/FluentProvider.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaUpdater.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/FluentError.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaCreator.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Siblings.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Exports.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Parent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ModelEvent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Pivot.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/CacheEntry.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Command.framework/Modules/Command.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.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/Dispatch.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/SwiftOnoneSupport.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/cpp_magic.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/ifaddrs-android.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Headers/CNIODarwin.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/CNIOAtomics.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/CNIOLinux.h /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--5226887469817572071/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Modules/module.modulemap /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/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/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/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/SoftDeletable~partial.swiftmodule : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/MigrateCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/RevertCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/SoftDeletable.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationConfig.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/JoinSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/QuerySupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationLog.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/AnyModel.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Children.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/FluentProvider.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaUpdater.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/FluentError.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaCreator.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Siblings.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Exports.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Parent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ModelEvent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Pivot.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/CacheEntry.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Command.framework/Modules/Command.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.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/Dispatch.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/SwiftOnoneSupport.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/cpp_magic.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/ifaddrs-android.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Headers/CNIODarwin.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/CNIOAtomics.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/CNIOLinux.h /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--5226887469817572071/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Modules/module.modulemap /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/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/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/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/SoftDeletable~partial.swiftdoc : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/MigrateCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/RevertCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/SoftDeletable.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationConfig.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/JoinSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/QuerySupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationLog.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/AnyModel.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Children.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/FluentProvider.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaUpdater.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/FluentError.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaCreator.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Siblings.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Exports.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Parent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ModelEvent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Pivot.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/CacheEntry.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Command.framework/Modules/Command.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.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/Dispatch.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/SwiftOnoneSupport.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/cpp_magic.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/ifaddrs-android.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Headers/CNIODarwin.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/CNIOAtomics.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/CNIOLinux.h /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--5226887469817572071/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Modules/module.modulemap /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/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/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
module android.java.android.content.Context; public import android.java.android.content.Context_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!Context; import import17 = android.java.java.io.FileInputStream; import import8 = android.java.java.lang.CharSequence; import import18 = android.java.java.io.FileOutputStream; import import3 = android.java.android.content.ContentResolver; import import4 = android.java.android.os.Looper; import import11 = android.java.android.content.res.Resources_Theme; import import19 = android.java.java.io.File; import import1 = android.java.android.content.res.Resources; import import32 = android.java.android.content.ComponentName; import import0 = android.java.android.content.res.AssetManager; import import10 = android.java.android.content.res.ColorStateList; import import16 = android.java.android.content.SharedPreferences; import import9 = android.java.android.graphics.drawable.Drawable; import import14 = android.java.java.lang.ClassLoader; import import20 = android.java.android.database.sqlite.SQLiteDatabase; import import2 = android.java.android.content.pm.PackageManager; import import5 = android.java.java.util.concurrent.Executor; import import12 = android.java.android.content.res.TypedArray; import import15 = android.java.android.content.pm.ApplicationInfo; import import6 = android.java.android.content.Context;
D
module android.java.java.time.temporal.TemporalAccessor_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import2 = android.java.java.time.temporal.TemporalQuery_d_interface; import import3 = android.java.java.lang.Class_d_interface; import import0 = android.java.java.time.temporal.TemporalField_d_interface; import import1 = android.java.java.time.temporal.ValueRange_d_interface; final class TemporalAccessor : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import bool isSupported(import0.TemporalField); @Import import1.ValueRange range(import0.TemporalField); @Import int get(import0.TemporalField); @Import long getLong(import0.TemporalField); @Import IJavaObject query(import2.TemporalQuery); @Import import3.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/time/temporal/TemporalAccessor;"; }
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; void main() { writeln(readln.chomp[0..$-4], "2015"); }
D
module org.serviio.i18n; public import org.serviio.i18n.GetLocalizationMessageBundleControl; public import org.serviio.i18n.Language;
D
module purr.bc.iterator; import std.conv; import purr.io; import purr.bytecode; class OpcodeIterator { Function func; size_t bytepos = 0; this() {} void walk(Function funcArg) { Function last = func; func = funcArg; enter(func); scope(exit) { exit(func); func = last; } func = funcArg; size_t i = 0; Opcode readop() { Opcode v = cast(Opcode) func.instrs[i]; i += 2; return v; } ushort readui() { ushort res = *cast(ushort*)(func.instrs.ptr + i); i += ushort.sizeof; return res; } ushort get() { scope (exit) { i += ushort.sizeof; } return *cast(ushort*)(func.instrs.ptr + i); } while (i < func.instrs.length) { bytepos = i; Opcode op = readop; got(op); final switch (op) { case Opcode.nop: nop; break; case Opcode.push: push(get); break; case Opcode.pop: pop; break; case Opcode.rec: rec; break; case Opcode.sub: sub(get); break; case Opcode.call: call(get); break; case Opcode.scall: scall(get, get); break; case Opcode.oplt: oplt; break; case Opcode.opgt: opgt; break; case Opcode.oplte: oplte; break; case Opcode.opgte: opgte; break; case Opcode.opeq: opeq; break; case Opcode.opneq: opneq; break; case Opcode.tuple: tuple(get); break; case Opcode.array: array(get); break; case Opcode.table: table(get); break; case Opcode.index: index; break; case Opcode.opneg: opneg; break; case Opcode.opcat: opcat; break; case Opcode.opadd: opadd; break; case Opcode.opsub: opsub; break; case Opcode.opmul: opmul; break; case Opcode.opdiv: opdiv; break; case Opcode.opmod: opmod; break; case Opcode.load: load(get); break; case Opcode.loadc: loadc(get); break; case Opcode.store: store(get); break; case Opcode.istore: istore; break; case Opcode.cstore: cstore(get); break; case Opcode.retval: retval; break; case Opcode.retnone: retnone; break; case Opcode.iftrue: iftrue(get); break; case Opcode.iffalse: iffalse(get); break; case Opcode.branch: branch(get, get); break; case Opcode.jump: jump(get); break; case Opcode.argno: argno(get); break; case Opcode.args: args; break; case Opcode.inspect: inspect; break; } } } void enter(Function func) { } void exit(Function func) { } void got(Opcode op) { } void nop() { } void push(ushort constIndex) { } void pop() { } void rec() { } void sub(ushort funcIndex) { } void call(ushort argCount) { } void scall(ushort constIndex, ushort argCount) { } void opgt() { } void oplt() { } void opgte() { } void oplte() { } void opeq() { } void opneq() { } void tuple(ushort argCount) { } void array(ushort argCount) { } void table(ushort argCount) { } void index() { } void opneg() { } void opcat() { } void opadd() { } void opsub() { } void opmul() { } void opdiv() { } void opmod() { } void load(ushort localIndex) { } void loadc(ushort captureIndex) { } void store(ushort localIndex) { } void istore() { } void cstore(ushort captureIndex) { } void retval() { } void retnone() { } void iftrue(ushort jumpIndex) { } void iffalse(ushort jumpIndex) { } void branch(ushort ifture, ushort iffalse) { } void jump(ushort jumpIndex) { } void argno(ushort argIndex) { } void args() { } void inspect() { } }
D
module tym; public import tym.core; public import tym.api; public import tym.implementation; public import tym.settings;
D
/* Z-LOCK 'EFFCTE' 'effect.d' 2004/03/31 jumpei isshiki */ private import std.stdio; private import std.math; private import std.string; private import SDL; private import opengl; private import util_sdl; private import task; private import main; private import bg; private import ship; float fade_r = 0.0f; float fade_g = 0.0f; float fade_b = 0.0f; float fade_a = 0.0f; int fade_id; void effSetParticle00(int id, float ofs_x, float ofs_y, int cnt) { int eid; for(int i = 0; i < cnt; i++){ eid = setTSK(GROUP_07,&TSKparticle00); if(eid != -1){ TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; } } } void TSKparticle00(int id) { switch(TskBuf[id].step){ case 0: TskBuf[id].fp_int = null; TskBuf[id].fp_draw = &TSKparticle00Draw; TskBuf[id].pz = 0.0f; TskBuf[id].alpha = 1.0f; TskBuf[id].rot = (Rand() % 10000) / 10000.0f * PI * 2; TskBuf[id].rad_x = Rand() % 256 + 256.0f; TskBuf[id].tx = sin(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].ty = cos(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].tx += TskBuf[id].px; TskBuf[id].ty += TskBuf[id].py; TskBuf[id].wait = 30; TskBuf[id].step++; break; case 1: TskBuf[id].px += (TskBuf[id].tx - TskBuf[id].px) / 60.0f; TskBuf[id].py += (TskBuf[id].ty - TskBuf[id].py) / 60.0f; TskBuf[id].wait--; if(!TskBuf[id].wait) TskBuf[id].step = -1; TskBuf[id].alpha -= (1.0f / 30.0f); break; default: clrTSK(id); break; } } void TSKparticle00Draw(int id) { glColor4f(1.0f,1.0f,0.0f,TskBuf[id].alpha); glBegin(GL_POINTS); glVertex3f(getPointX(-TskBuf[id].px - scr_pos[X], TskBuf[id].pz), getPointY(-TskBuf[id].py - scr_pos[Y], TskBuf[id].pz), 0.0f); glEnd(); } void effSetParticle01(int id, float ofs_x, float ofs_y, int cnt) { int eid; for(int i = 0; i < cnt; i++){ eid = setTSK(GROUP_07,&TSKparticle01); if(eid != -1){ TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; } } } void TSKparticle01(int id) { switch(TskBuf[id].step){ case 0: TskBuf[id].fp_int = null; TskBuf[id].fp_draw = &TSKparticle01Draw; TskBuf[id].fp_exit = &TSKparticle01Exit; TskBuf[id].pz = 0.0f; TskBuf[id].alpha = 0.625f; TskBuf[id].body_ang.length = 3; { float[XY] tpos; for(int i = 0; i < 3; i++){ switch(i){ case 0: tpos[X] = -((Rand() % 4096) / 1024.0f + 1.0f); tpos[Y] = +((Rand() % 4096) / 1024.0f + 1.0f); break; case 1: tpos[X] = ((Rand() % 2048) / 1024.0f - 1.0f); tpos[Y] = -((Rand() % 4096) / 1024.0f + 1.0f); break; case 2: tpos[X] = +((Rand() % 4096) / 1024.0f + 1.0f); tpos[Y] = +((Rand() % 4096) / 1024.0f + 1.0f); break; default: break; } TskBuf[id].body_ang[i][X] = atan2(tpos[X], tpos[Y]); TskBuf[id].body_ang[i][Y] = atan2(tpos[X], tpos[Y]); TskBuf[id].body_ang[i][Z] = 0.0f; tpos[X] = fabs(tpos[X]); tpos[Y] = fabs(tpos[Y]); TskBuf[id].body_ang[i][W] = sqrt(pow(tpos[X],2.0) + pow(tpos[Y],2.0)); } } TskBuf[id].rot = (Rand() % 10000) / 10000.0f * PI * 2; TskBuf[id].rad_x = Rand() % 256 + 256.0f; TskBuf[id].tx = sin(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].ty = cos(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].tx += TskBuf[id].px; TskBuf[id].ty += TskBuf[id].py; TskBuf[id].rot = 0.0f; TskBuf[id].wait = 60; TskBuf[id].step++; break; case 1: TskBuf[id].px += (TskBuf[id].tx - TskBuf[id].px) / 120.0f; TskBuf[id].py += (TskBuf[id].ty - TskBuf[id].py) / 120.0f; TskBuf[id].rot += PI / 30; TskBuf[id].wait--; if(!TskBuf[id].wait) TskBuf[id].step = -1; TskBuf[id].alpha -= (0.625f / 60.0f); break; default: clrTSK(id); break; } } void TSKparticle01Draw(int id) { float[XYZ] pos; glColor4f(0.25f,0.0f,0.0f,TskBuf[id].alpha); glBegin(GL_POLYGON); for(int i = 0; i < 3; i++){ pos[X] = sin(TskBuf[id].body_ang[i][X] + TskBuf[id].rot) * getPointX(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Y] = cos(TskBuf[id].body_ang[i][Y] + TskBuf[id].rot) * getPointY(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Z] = TskBuf[id].body_ang[i][Z]; glVertex3f(pos[X] - getPointX(TskBuf[id].px - scr_pos[X], TskBuf[id].pz), pos[Y] - getPointY(TskBuf[id].py - scr_pos[Y], TskBuf[id].pz), pos[Z]); } glEnd(); glColor4f(1.0f,1.0f,1.0f,TskBuf[id].alpha); glBegin(GL_LINE_LOOP); for(int i = 0; i < 3; i++){ pos[X] = sin(TskBuf[id].body_ang[i][X] + TskBuf[id].rot) * getPointX(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Y] = cos(TskBuf[id].body_ang[i][Y] + TskBuf[id].rot) * getPointY(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Z] = TskBuf[id].body_ang[i][Z]; glVertex3f(pos[X] - getPointX(TskBuf[id].px - scr_pos[X], TskBuf[id].pz), pos[Y] - getPointY(TskBuf[id].py - scr_pos[Y], TskBuf[id].pz), pos[Z]); } glEnd(); } void TSKparticle01Exit(int id) { TskBuf[id].body_ang.length = 0; } void effSetParticle02(int id, float ofs_x, float ofs_y, int cnt) { int eid; for(int i = 0; i < cnt; i++){ eid = setTSK(GROUP_07,&TSKparticle02); if(eid != -1){ TskBuf[eid].px = TskBuf[TskBuf[id].trg_id].px + ofs_x; TskBuf[eid].py = TskBuf[TskBuf[id].trg_id].py + ofs_y; } } } void TSKparticle02(int id) { float[XY] tpos; switch(TskBuf[id].step){ case 0: TskBuf[id].fp_int = null; TskBuf[id].fp_draw = &TSKparticle02Draw; TskBuf[id].fp_exit = &TSKparticle02Exit; TskBuf[id].pz = 0.0f; TskBuf[id].rot = 0.0f; TskBuf[id].alpha = 0.625f; TskBuf[id].body_ang.length = 3; for(int i = 0; i < 3; i++){ switch(i){ case 0: tpos[X] = -((Rand() % 12288) / 1024.0f + 3.0f); tpos[Y] = +((Rand() % 12288) / 1024.0f + 3.0f); break; case 1: tpos[X] = ((Rand() % 6144) / 1024.0f - 3.0f); tpos[Y] = -((Rand() % 12288) / 1024.0f + 3.0f); break; case 2: tpos[X] = +((Rand() % 12288) / 1024.0f + 3.0f); tpos[Y] = +((Rand() % 12288) / 1024.0f + 3.0f); break; default: break; } TskBuf[id].body_ang[i][X] = atan2(tpos[X], tpos[Y]); TskBuf[id].body_ang[i][Y] = atan2(tpos[X], tpos[Y]); TskBuf[id].body_ang[i][Z] = 0.0f; tpos[X] = fabs(tpos[X]); tpos[Y] = fabs(tpos[Y]); TskBuf[id].body_ang[i][W] = sqrt(pow(tpos[X],2.0) + pow(tpos[Y],2.0)); } TskBuf[id].rot = (Rand() % 10000) / 10000.0f * PI * 2; TskBuf[id].rad_x = Rand() % 512 + 512.0f; TskBuf[id].tx = sin(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].ty = cos(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].tx += TskBuf[id].px; TskBuf[id].ty += TskBuf[id].py; TskBuf[id].rot = 0.0f; TskBuf[id].tx += TskBuf[id].px; TskBuf[id].ty += TskBuf[id].py; TskBuf[id].wait = 60; TskBuf[id].step++; break; case 1: TskBuf[id].px += (TskBuf[id].tx - TskBuf[id].px) / 120.0f; TskBuf[id].py += (TskBuf[id].ty - TskBuf[id].py) / 120.0f; TskBuf[id].rot += PI / 30; TskBuf[id].wait--; if(!TskBuf[id].wait) TskBuf[id].step = -1; TskBuf[id].alpha -= (0.625f / 60.0f); break; default: clrTSK(id); break; } } void TSKparticle02Draw(int id) { float[XYZ] pos; glColor4f(0.25f,0.25f,0.00f,TskBuf[id].alpha); glBegin(GL_POLYGON); for(int i = 0; i < 3; i++){ pos[X] = sin(TskBuf[id].body_ang[i][X] + TskBuf[id].rot) * getPointX(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Y] = cos(TskBuf[id].body_ang[i][Y] + TskBuf[id].rot) * getPointY(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Z] = TskBuf[id].body_ang[i][Z]; glVertex3f(pos[X] - getPointX(TskBuf[id].px - scr_pos[X], TskBuf[id].pz), pos[Y] - getPointY(TskBuf[id].py - scr_pos[Y], TskBuf[id].pz), pos[Z]); } glEnd(); glColor4f(1.0f,1.0f,1.0f,TskBuf[id].alpha); glBegin(GL_LINE_LOOP); for(int i = 0; i < 3; i++){ pos[X] = sin(TskBuf[id].body_ang[i][X] + TskBuf[id].rot) * getPointX(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Y] = cos(TskBuf[id].body_ang[i][Y] + TskBuf[id].rot) * getPointY(TskBuf[id].body_ang[i][W], TskBuf[id].pz); pos[Z] = TskBuf[id].body_ang[i][Z]; glVertex3f(pos[X] - getPointX(TskBuf[id].px - scr_pos[X], TskBuf[id].pz), pos[Y] - getPointY(TskBuf[id].py - scr_pos[Y], TskBuf[id].pz), pos[Z]); } glEnd(); } void TSKparticle02Exit(int id) { TskBuf[id].body_ang.length = 0; } void effSetBrokenBody(int id, float[] poly_tbl,int start, int cnt, float ofs_x, float ofs_y, float sx, float sy) { float[XY] tpos; float[XY] pos; int eid; pos[X] = 0.0f; pos[Y] = 0.0f; for(int i = 0; i < cnt; i++){ pos[X] += poly_tbl[(start+i)*2+0]; pos[Y] += poly_tbl[(start+i)*2+1]; } pos[X] /= cnt; pos[Y] /= cnt; eid = setTSK(GROUP_01,&TSKBrokenBody); TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; TskBuf[eid].sx = sx; TskBuf[eid].sy = sy; TskBuf[eid].pz = TskBuf[id].pz; TskBuf[eid].rot = TskBuf[id].rot; TskBuf[eid].body_ang.length = cnt; for(int i = 0; i < cnt; i++){ tpos[X] = poly_tbl[(start+i)*2+0] + ofs_x - pos[X]; tpos[Y] = poly_tbl[(start+i)*2+1] + ofs_y - pos[Y]; TskBuf[eid].body_ang[i][X] = atan2(tpos[X], tpos[Y]); TskBuf[eid].body_ang[i][Y] = atan2(tpos[X], tpos[Y]); TskBuf[eid].body_ang[i][Z] = 0.0f; TskBuf[eid].body_ang[i][W] = sqrt(pow(tpos[X],2.0) + pow(tpos[Y],2.0)); } } void effSetBrokenBody2(int id, float[] poly_tbl,int start, int cnt, float ofs_x, float ofs_y, float sx, float sy) { float[XY] tpos; float[XY] pos; int eid; pos[X] = 0.0f; pos[Y] = 0.0f; for(int i = 0; i < cnt; i++){ pos[X] += poly_tbl[(start+i)*2+0]; pos[Y] += poly_tbl[(start+i)*2+1]; } pos[X] /= cnt; pos[Y] /= cnt; eid = setTSK(GROUP_01,&TSKBrokenBody); TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; TskBuf[eid].sx = sx; TskBuf[eid].sy = sy; TskBuf[eid].pz = TskBuf[id].pz; TskBuf[eid].rot = TskBuf[id].rot; TskBuf[eid].body_ang.length = cnt; for(int i = 0; i < cnt; i++){ tpos[X] = poly_tbl[(start+i)*2+0] - pos[X]; tpos[Y] = poly_tbl[(start+i)*2+1] - pos[Y]; TskBuf[eid].body_ang[i][X] = atan2(tpos[X], tpos[Y]); TskBuf[eid].body_ang[i][Y] = atan2(tpos[X], tpos[Y]); TskBuf[eid].body_ang[i][Z] = 0.0f; TskBuf[eid].body_ang[i][W] = sqrt(pow(tpos[X],2.0) + pow(tpos[Y],2.0)); } } void TSKBrokenBody(int id) { switch(TskBuf[id].step){ case 0: TskBuf[id].fp_int = null; TskBuf[id].fp_draw = &TSKBrokenBodyDraw; TskBuf[id].fp_exit = &TSKBrokenBodyExit; TskBuf[id].alpha = 1.0f; TskBuf[id].rot = (Rand() % 10000) / 10000.0f * PI * 2; TskBuf[id].rad_x = Rand() % 256 + 256.0f; TskBuf[id].tx = sin(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].ty = cos(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].tz = ((Rand() % 10000) / 5000.0f - 1.0f) / 0.25f; TskBuf[id].tx += TskBuf[id].px; TskBuf[id].ty += TskBuf[id].py; TskBuf[id].tz += TskBuf[id].pz; TskBuf[id].rot = 0.0f; TskBuf[id].rot_add = (Rand() % 30) - 15.0f; if(!(TskBuf[id].rot_add - 15)) TskBuf[id].rot_add = -1; else if(!(TskBuf[id].rot_add + 15)) TskBuf[id].rot_add = +1; if(TskBuf[id].rot_add < 0) TskBuf[id].rot_add = PI / (TskBuf[id].rot_add - 15); else TskBuf[id].rot_add = PI / (TskBuf[id].rot_add + 15); TskBuf[id].wait = 60; TskBuf[id].step++; break; case 1: TskBuf[id].px += (TskBuf[id].tx - TskBuf[id].px) / 120.0f; TskBuf[id].py += (TskBuf[id].ty - TskBuf[id].py) / 120.0f; TskBuf[id].pz += (TskBuf[id].tz - TskBuf[id].pz) / 120.0f; TskBuf[id].rot += TskBuf[id].rot_add; TskBuf[id].wait--; if(!TskBuf[id].wait) TskBuf[id].step = -1; TskBuf[id].alpha -= (1.0f / 60.0f); break; default: clrTSK(id); break; } } void TSKBrokenBodyDraw(int id) { float[XYZ] pos; void setVertex(int id, int i) { float[XYZ] pos; pos[X] = sin(TskBuf[id].body_ang[i][X] + TskBuf[id].rot) * getPointX(TskBuf[id].body_ang[i][W] * TskBuf[id].sx, TskBuf[id].pz); pos[Y] = cos(TskBuf[id].body_ang[i][Y] + TskBuf[id].rot) * getPointY(TskBuf[id].body_ang[i][W] * TskBuf[id].sy, TskBuf[id].pz); pos[Z] = TskBuf[id].body_ang[i][Z]; glVertex3f(pos[X] - getPointX(TskBuf[id].px - scr_pos[X], TskBuf[id].pz), pos[Y] - getPointY(TskBuf[id].py - scr_pos[Y], TskBuf[id].pz), pos[Z]); } glColor4f(0.5f,0.5f,0.5f,TskBuf[id].alpha); glBegin(GL_POLYGON); for(int i = 0; i < TskBuf[id].body_ang.length; i++) setVertex(id, i); glEnd(); } void TSKBrokenBodyExit(int id) { TskBuf[id].body_ang.length = 0; } void effSetBrokenLine(int id, float[] poly_tbl,int start, int cnt, float ofs_x, float ofs_y, float sx, float sy) { float[XY] tpos1; float[XY] tpos2; float[XY] cen; int eid; tpos1[X] = poly_tbl[start*2+0] + ofs_x; tpos1[Y] = poly_tbl[start*2+1] + ofs_y; for(int i = 1; i < cnt; i++){ tpos2[X] = poly_tbl[(start+i)*2+0] + ofs_x; tpos2[Y] = poly_tbl[(start+i)*2+1] + ofs_y; cen[X] = (tpos1[X] + tpos2[X]) / 2.0f; cen[Y] = (tpos1[Y] + tpos2[Y]) / 2.0f; eid = setTSK(GROUP_01,&TSKBrokenLine); TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; TskBuf[eid].pz = TskBuf[id].pz; TskBuf[eid].rot = TskBuf[id].rot; TskBuf[eid].body_ang.length = 2; TskBuf[eid].body_ang[0][X] = atan2(tpos1[X]-cen[X], tpos1[Y]-cen[Y]); TskBuf[eid].body_ang[0][Y] = atan2(tpos1[X]-cen[X], tpos1[Y]-cen[Y]); TskBuf[eid].body_ang[0][Z] = 0.0f; TskBuf[eid].body_ang[1][X] = atan2(tpos2[X]-cen[X], tpos2[Y]-cen[Y]); TskBuf[eid].body_ang[1][Y] = atan2(tpos2[X]-cen[X], tpos2[Y]-cen[Y]); TskBuf[eid].body_ang[1][Z] = 0.0f; TskBuf[eid].body_ang[0][W] = sqrt(pow(tpos1[X],2.0) + pow(tpos1[Y],2.0)); TskBuf[eid].body_ang[1][W] = sqrt(pow(tpos2[X],2.0) + pow(tpos2[Y],2.0)); tpos1[X] = tpos2[X]; tpos1[Y] = tpos2[Y]; } tpos2[X] = poly_tbl[start*2+0] + ofs_x; tpos2[Y] = poly_tbl[start*2+1] + ofs_y; cen[X] = (tpos1[X] - tpos2[X]) / 2.0f; cen[Y] = (tpos1[Y] - tpos2[Y]) / 2.0f; eid = setTSK(GROUP_01,&TSKBrokenLine); TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; TskBuf[eid].pz = TskBuf[id].pz; TskBuf[eid].sx = sx; TskBuf[eid].sy = sy; TskBuf[eid].rot = TskBuf[id].rot; TskBuf[eid].body_ang.length = 2; TskBuf[eid].body_ang[0][X] = atan2(tpos1[X]+cen[X], tpos1[Y]+cen[Y]); TskBuf[eid].body_ang[0][Y] = atan2(tpos1[X]+cen[X], tpos1[Y]+cen[Y]); TskBuf[eid].body_ang[0][Z] = 0.0f; TskBuf[eid].body_ang[1][X] = atan2(tpos2[X]+cen[X], tpos2[Y]+cen[Y]); TskBuf[eid].body_ang[1][Y] = atan2(tpos2[X]+cen[X], tpos2[Y]+cen[Y]); TskBuf[eid].body_ang[1][Z] = 0.0f; TskBuf[eid].body_ang[0][W] = sqrt(pow(tpos2[X]+cen[X],2.0) + pow(tpos2[Y]+cen[Y],2.0)); TskBuf[eid].body_ang[1][W] = sqrt(pow(tpos2[X]+cen[X],2.0) + pow(tpos2[Y]+cen[Y],2.0)); } void effSetBrokenLine2(int id, float[] poly_tbl,int start, int cnt, float ofs_x, float ofs_y, float sx, float sy) { float[XY] tpos1; float[XY] tpos2; float[XY] cen; int eid; tpos1[X] = poly_tbl[start*2+0]; tpos1[Y] = poly_tbl[start*2+1]; for(int i = 1; i < cnt; i++){ tpos2[X] = poly_tbl[(start+i)*2+0] + ofs_x; tpos2[Y] = poly_tbl[(start+i)*2+1] + ofs_y; cen[X] = (tpos1[X] + tpos2[X]) / 2.0f; cen[Y] = (tpos1[Y] + tpos2[Y]) / 2.0f; eid = setTSK(GROUP_01,&TSKBrokenLine); TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; TskBuf[eid].pz = TskBuf[id].pz; TskBuf[eid].rot = TskBuf[id].rot; TskBuf[eid].body_ang.length = 2; TskBuf[eid].body_ang[0][X] = atan2(tpos1[X]-cen[X], tpos1[Y]-cen[Y]); TskBuf[eid].body_ang[0][Y] = atan2(tpos1[X]-cen[X], tpos1[Y]-cen[Y]); TskBuf[eid].body_ang[0][Z] = 0.0f; TskBuf[eid].body_ang[1][X] = atan2(tpos2[X]-cen[X], tpos2[Y]-cen[Y]); TskBuf[eid].body_ang[1][Y] = atan2(tpos2[X]-cen[X], tpos2[Y]-cen[Y]); TskBuf[eid].body_ang[1][Z] = 0.0f; TskBuf[eid].body_ang[0][W] = sqrt(pow(tpos1[X],2.0) + pow(tpos1[Y],2.0)); TskBuf[eid].body_ang[1][W] = sqrt(pow(tpos2[X],2.0) + pow(tpos2[Y],2.0)); tpos1[X] = tpos2[X]; tpos1[Y] = tpos2[Y]; } tpos2[X] = poly_tbl[start*2+0]; tpos2[Y] = poly_tbl[start*2+1]; cen[X] = (tpos1[X] - tpos2[X]) / 2.0f; cen[Y] = (tpos1[Y] - tpos2[Y]) / 2.0f; eid = setTSK(GROUP_01,&TSKBrokenLine); TskBuf[eid].px = TskBuf[id].px + ofs_x; TskBuf[eid].py = TskBuf[id].py + ofs_y; TskBuf[eid].pz = TskBuf[id].pz; TskBuf[eid].sx = sx; TskBuf[eid].sy = sy; TskBuf[eid].rot = TskBuf[id].rot; TskBuf[eid].body_ang.length = 2; TskBuf[eid].body_ang[0][X] = atan2(tpos1[X]+cen[X], tpos1[Y]+cen[Y]); TskBuf[eid].body_ang[0][Y] = atan2(tpos1[X]+cen[X], tpos1[Y]+cen[Y]); TskBuf[eid].body_ang[0][Z] = 0.0f; TskBuf[eid].body_ang[1][X] = atan2(tpos2[X]+cen[X], tpos2[Y]+cen[Y]); TskBuf[eid].body_ang[1][Y] = atan2(tpos2[X]+cen[X], tpos2[Y]+cen[Y]); TskBuf[eid].body_ang[1][Z] = 0.0f; TskBuf[eid].body_ang[0][W] = sqrt(pow(tpos2[X]+cen[X],2.0) + pow(tpos2[Y]+cen[Y],2.0)); TskBuf[eid].body_ang[1][W] = sqrt(pow(tpos2[X]+cen[X],2.0) + pow(tpos2[Y]+cen[Y],2.0)); } void TSKBrokenLine(int id) { switch(TskBuf[id].step){ case 0: TskBuf[id].fp_int = null; TskBuf[id].fp_draw = &TSKBrokenLineDraw; TskBuf[id].fp_exit = &TSKBrokenLineExit; TskBuf[id].alpha = 1.0f; TskBuf[id].rot = (Rand() % 100) / 100.0f * PI * 2; TskBuf[id].rad_x = Rand() % 256 + 256.0f; TskBuf[id].tx = sin(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].ty = cos(TskBuf[id].rot) * TskBuf[id].rad_x; TskBuf[id].tz = ((Rand() % 10000) / 5000.0f - 1.0f) / 0.25f; TskBuf[id].tx += TskBuf[id].px; TskBuf[id].ty += TskBuf[id].py; TskBuf[id].tz += TskBuf[id].pz; TskBuf[id].rot = 0.0f; TskBuf[id].rot_add = (Rand() % 30) - 15.0f; if(!(TskBuf[id].rot_add - 15)) TskBuf[id].rot_add = -1; else if(!(TskBuf[id].rot_add + 15)) TskBuf[id].rot_add = +1; if(TskBuf[id].rot_add < 0) TskBuf[id].rot_add = PI / (TskBuf[id].rot_add - 15); else TskBuf[id].rot_add = PI / (TskBuf[id].rot_add + 15); TskBuf[id].wait = 60; TskBuf[id].step++; break; case 1: TskBuf[id].px += (TskBuf[id].tx - TskBuf[id].px) / 120.0f; TskBuf[id].py += (TskBuf[id].ty - TskBuf[id].py) / 120.0f; TskBuf[id].pz += (TskBuf[id].tz - TskBuf[id].pz) / 120.0f; TskBuf[id].rot += TskBuf[id].rot_add; TskBuf[id].wait--; if(!TskBuf[id].wait) TskBuf[id].step = -1; TskBuf[id].alpha -= (1.0f / 60.0f); break; default: clrTSK(id); break; } } void TSKBrokenLineDraw(int id) { float[XYZ] pos; glColor4f(1.0f,1.0f,1.0f,TskBuf[id].alpha); glBegin(GL_LINES); for(int i = 0; i < TskBuf[id].body_ang.length; i++){ pos[X] = sin(TskBuf[id].body_ang[i][X] + TskBuf[id].rot) * getPointX(TskBuf[id].body_ang[i][W] * TskBuf[id].sx, TskBuf[id].pz); pos[Y] = cos(TskBuf[id].body_ang[i][Y] + TskBuf[id].rot) * getPointY(TskBuf[id].body_ang[i][W] * TskBuf[id].sy, TskBuf[id].pz); pos[Z] = TskBuf[id].body_ang[i][Z]; glVertex3f(pos[X] - getPointX(TskBuf[id].px - scr_pos[X], TskBuf[id].pz), pos[Y] - getPointY(TskBuf[id].py - scr_pos[Y], TskBuf[id].pz), pos[Z]); } glEnd(); } void TSKBrokenLineExit(int id) { TskBuf[id].body_ang.length = 0; } void TSKfadeAlpha(int id) { switch(TskBuf[id].step){ case 0: fade_id = id; TskBuf[id].px = +0.0f; TskBuf[id].py = +0.0f; TskBuf[id].fp_draw = &TSKfadeAlphaDraw; TskBuf[id].step++; break; case 1: break; case 2: if(TskBuf[id].wait) TskBuf[id].vx = (TskBuf[id].tx - fade_a) / TskBuf[id].wait; TskBuf[id].step++; case 3: if(TskBuf[id].wait){ fade_a += TskBuf[id].vx; TskBuf[id].wait--; }else{ fade_a = TskBuf[id].tx; TskBuf[id].step = 1; } break; default: clrTSK(id); break; } } void TSKfadeAlphaDraw(int id) { float z; if(fade_a == 0.0f) return; z = BASE_Z - cam_pos; glBegin(GL_QUADS); glColor4f(fade_r,fade_g,fade_b,fade_a); glVertex3f(getPointX(TskBuf[id].px-(SCREEN_Y / 2), z), getPointY(TskBuf[id].py-(SCREEN_Y / 2), z), 0.0f); glVertex3f(getPointX(TskBuf[id].px-(SCREEN_Y / 2), z), getPointY(TskBuf[id].py+(SCREEN_Y / 2), z), 0.0f); glVertex3f(getPointX(TskBuf[id].px+(SCREEN_Y / 2), z), getPointY(TskBuf[id].py+(SCREEN_Y / 2), z), 0.0f); glVertex3f(getPointX(TskBuf[id].px+(SCREEN_Y / 2), z), getPointY(TskBuf[id].py-(SCREEN_Y / 2), z), 0.0f); glEnd(); } void TSKfade(int id) { switch(TskBuf[id].step){ case 0: fade_id = id; TskBuf[id].px = +0.0f; TskBuf[id].py = +0.0f; TskBuf[id].fp_draw = &TSKfadeDraw; TskBuf[id].step++; break; case 1: break; case 2: if(TskBuf[id].wait) TskBuf[id].vx = (TskBuf[id].tx - fade_a) / TskBuf[id].wait; TskBuf[id].step++; case 3: if(TskBuf[id].wait){ fade_a += TskBuf[id].vx; TskBuf[id].wait--; }else{ fade_a = TskBuf[id].tx; TskBuf[id].step = 1; } break; default: clrTSK(id); break; } } void TSKfadeDraw(int id) { float z; if(fade_a == 0.0f) return; z = BASE_Z - cam_pos; glBlendFunc(GL_SRC_ALPHA, GL_SRC_ALPHA); glBegin(GL_QUADS); glColor4f(fade_r,fade_g,fade_b,fade_a); glVertex3f(getPointX(TskBuf[id].px-(SCREEN_Y / 2), z), getPointY(TskBuf[id].py-(SCREEN_Y / 2), z), 0.0f); glVertex3f(getPointX(TskBuf[id].px-(SCREEN_Y / 2), z), getPointY(TskBuf[id].py+(SCREEN_Y / 2), z), 0.0f); glVertex3f(getPointX(TskBuf[id].px+(SCREEN_Y / 2), z), getPointY(TskBuf[id].py+(SCREEN_Y / 2), z), 0.0f); glVertex3f(getPointX(TskBuf[id].px+(SCREEN_Y / 2), z), getPointY(TskBuf[id].py-(SCREEN_Y / 2), z), 0.0f); glEnd(); glBlendFunc(GL_SRC_ALPHA, GL_ONE); }
D
# FIXED user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/src/user_CRSRobot.c user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/tistdtypes.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/coecsl.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/std.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/mem.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/sem.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/knl.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/atm.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/fxn.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/que.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/linkage.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/sts.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/swi.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/hwi.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/obj.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/sys.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/log.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/_log.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/trc.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/tsk.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/prd.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/trg.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/_hook.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/rtdx/include/c2000/rtdx.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/rtdx/include/c2000/RTDX_access.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/rtdx/include/c2000/rtdxpoll.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/clk.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdio.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlib.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlibf.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/string.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/math.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/limits.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Device.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Adc.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_DevEmu.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_CpuTimers.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_ECan.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_ECap.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_DMA.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_EPwm.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_EQep.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Gpio.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_I2c.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_McBSP.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_PieCtrl.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_PieVect.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Spi.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Sci.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_SysCtrl.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_XIntrupt.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Xintf.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_common/include/DSP2833x_GlobalPrototypes.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/queue.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/buffer.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/smallprintf.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdio.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlib.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlibf.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/string.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/math.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/io.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_serial.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/coecsl.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_pwm.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_eQep.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/user_includes.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/CRSRobotProject/Debug/CRSRobotcfg.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/hst.h user_CRSRobot.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/pip.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_spi.h user_CRSRobot.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_inits.h user_CRSRobot.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/math.h C:/tfu3_jchen237/Repo/trunk/CRSRobot/src/user_CRSRobot.c: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/tistdtypes.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/coecsl.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/std.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/mem.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/sem.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/knl.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/atm.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/fxn.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/que.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/linkage.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/sts.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/swi.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/hwi.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/obj.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/sys.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/log.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/_log.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/trc.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/tsk.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/prd.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/trg.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/_hook.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/rtdx/include/c2000/rtdx.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/rtdx/include/c2000/RTDX_access.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/rtdx/include/c2000/rtdxpoll.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/clk.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdio.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlib.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlibf.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/string.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/math.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/limits.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Device.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Adc.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_DevEmu.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_CpuTimers.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_ECan.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_ECap.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_DMA.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_EPwm.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_EQep.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Gpio.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_I2c.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_McBSP.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_PieCtrl.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_PieVect.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Spi.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Sci.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_SysCtrl.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_XIntrupt.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_headers/include/DSP2833x_Xintf.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/v110/DSP2833x_common/include/DSP2833x_GlobalPrototypes.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/queue.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/buffer.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/smallprintf.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdio.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlib.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdlibf.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stdarg.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/string.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/math.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/io.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_serial.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/coecsl.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_pwm.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_eQep.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/user_includes.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/CRSRobotProject/Debug/CRSRobotcfg.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/hst.h: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/pip.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/stddef.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_spi.h: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/28335_inits.h: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_6.4.12/include/math.h:
D
/** * Copyright © Underground Rekordz 2019 * License: MIT (https://github.com/UndergroundRekordz/Musicpulator/blob/master/LICENSE) * Author: Jacob Jensen (bausshf) */ module musicpulator.songtrack; import std.string : format; import std.conv : to; import musicpulator.songautomation; import musicpulator.songchord; import musicpulator.songmelody; import musicpulator.songsequence; import musicpulator.songpart; import musicpulator.musicalscale; import musicpulator.musicalprogression; /// Alias for a float automation. private alias FloatAutomation = SongAutomation!float; /// Wrapper around a song track. final class SongTrack { private: /// The chord of the track. SongChord _chord; /// The melody of the track. SongMelody _melody; /// The sequence of the track. SongSequence _sequence; /// The name of the track. string _name; /// The bar of the track. size_t _bar; /// The volume of the track. FloatAutomation _volume; /// The velocity of the track. FloatAutomation _velocity; /// The dryness of the track. FloatAutomation _dry; /// The wetness of the track. FloatAutomation _wet; /// The metadata. string[string] _metaData; /// The meta-automation. FloatAutomation[string] _metaAutomation; /// The parent part. SongPart _parentPart; this() { _volume = new FloatAutomation("Volume", 1); _velocity = new FloatAutomation("Velocity", 0.8); _dry = new FloatAutomation("Dry", 0); _wet = new FloatAutomation("Wet", 0); } public: final: /** * Creates a new track. * Params: * chord = The chord. */ this(SongChord chord) { this(); _chord = chord; } /** * Creates a new track. * Params: * melody = The melody. */ this(SongMelody melody) { this(); _melody = melody; } /** * Creates a new track. * Params: * sequence = The sequence. */ this(SongSequence sequence) { this(); _sequence = sequence; } @property { /// Gets the chord. SongChord chord() { return _chord; } /// Sets the chord. This will nullify the melody and sequence if any. void chord(SongChord newChord) { if (!newChord) { return; } _melody = null; _sequence = null; _chord = newChord; } /// Gets the melody. SongMelody melody() { return _melody; } /// Sets the melody. This will nullify the chord and sequence if any. void melody(SongMelody newMelody) { if (!newMelody) { return; } _chord = null; _sequence = null; _melody = newMelody; } /// Gets the sequence. SongSequence sequence() { return _sequence; } /// Sets the sequence. This will nullify the chord and melody if any. void sequence(SongSequence newSequence) { if (!newSequence) { return; } _chord = null; _melody = null; _sequence = newSequence; } /// Gets the name of the track. string name() { return _name; } /// Sets the name of the track. void name(string newName) { _name = newName; } /// Gets the bar of the track. size_t bar() { return _bar; } /// Gets the relative bar. size_t relativeBar() { if (_parentPart) { return _parentPart.bar + _bar; } return _bar; } /// Sets the bar of the track. void bar(size_t newBar) { _bar = newBar; } /// Gets the volume of the track. FloatAutomation volume() { return _volume; } /// Gets the velocity of the track. FloatAutomation velocity() { return _velocity; } /// Gets the dryness of the track. FloatAutomation dry() { return _dry; } /// Gets the wetness of the track. FloatAutomation wet() { return _wet; } /// Gets the scales of the track. const(MusicalScale[][]) scales() { if (_chord) return _chord.scales; else if (_melody) return [_melody.scales]; else return null; } /// Gets the progression of the track. MusicalProgression progression() { if (!_melody) return MusicalProgression.none; return _melody.progression; } /// Gets the parent part. SongPart parentPart() { return _parentPart; } package(musicpulator) { /// Sets the parent part. void parentPart(SongPart newPart) { _parentPart = newPart; } } } /** * Sets metadata of the track. * Params: * key = The key of the metadata. * value = The value of the metadata. */ void setMetaData(T)(string key, T value) { _metaData[key] = to!string(value); } /** * Gets metadata from the track. * Params: * key = The key of the metadata to retrieve. * Returns: * The metadata if existing, null otherwise. */ T getMetaData(T = string)(string key) { if (key !in _metaData) { return T.init; } auto value = _metaData.get(key, T.init); return to!T(value); } /** * Sets the meta-automation of the track. * Params: * key = The key of the meta-automation. * value = The value of the automation point. * automationPoint = The automation point to the set the value at. */ void setMetaAutomation(string key, float value, size_t automationPoint) { if (automationPoint >= 32) { return; } auto automation = _metaAutomation.get(key, null); if (!automation) { automation = new FloatAutomation(key, value); _metaAutomation[key] = automation; } else { automation.modifyValue(value, automationPoint); } } /** * Gets a meta automation. * Params: * key = The key of the meta-automation to retrieve. * Returns: * The meta-automation if found, null otherwise. */ FloatAutomation getMetaAutomation(string key) { return _metaAutomation.get(key, null); } /// Converts the song track to a string. Calls toJson(). override string toString() { return toJson(); } /// Converts the song track to json. string toJson() { string metaDataEntry = "null"; if (_metaData && _metaData.length) { metaDataEntry = "{"; foreach (k,v; _metaData) { metaDataEntry ~= `"%s":"%s",`.format(k,v); } metaDataEntry.length -= 1; metaDataEntry ~= "}"; } string metaAutomationEntry = "null"; if (_metaAutomation && _metaAutomation.length) { metaAutomationEntry = "{"; foreach (k,v; _metaAutomation) { metaAutomationEntry ~= `"%s":%s,`.format(k,v.toJson()); } metaAutomationEntry.length -= 1; metaAutomationEntry ~= "}"; } return `{"chord":%s,"melody":%s,"sequence":%s,"name":%s,"bar":%d,"relativeBar":%d,"volume":%s,"velocity":%s,"dry":%s,"wet":%s,"metaData":%s,"metaAutomation":%s}` .format( _chord ? _chord.toJson() : "null", _melody ? _melody.toJson() : "null", _sequence ? _sequence.toJson() : "null", _name ? ("\"" ~ _name ~ "\"") : "null", _bar, relativeBar, _volume.toJson(), _velocity.toJson(), _dry.toJson(), _wet.toJson(), metaDataEntry, metaAutomationEntry ); } /// Converts the song track to xml. string toXml() { string metaDataEntry = ""; if (_metaData && _metaData.length) { metaDataEntry = "<SongMetaData>"; foreach (k,v; _metaData) { metaDataEntry ~= `<SongMetaDataEntry key="%s" value="%s" />`.format(k,v); } metaDataEntry ~= "</SongMetaData>"; } string metaAutomationEntry = ""; if (_metaAutomation && _metaAutomation.length) { metaAutomationEntry = "<SongMetaAutomation>"; foreach (k,v; _metaAutomation) { metaAutomationEntry ~= v.toXml(); } metaAutomationEntry ~= "</SongMetaAutomation>"; } return `<SongTrack name="%s" bar="%d" relativeBar="%d">%s%s%s %s%s%s%s %s %s</SongTrack>` .format( _name ? _name : "", _bar, relativeBar, _chord ? _chord.toXml() : "", _melody ? _melody.toXml() : "", _sequence ? _sequence.toXml() : "", _volume.toXml(), _velocity.toXml(), _dry.toXml(), _wet.toXml(), metaDataEntry, metaAutomationEntry ); } }
D
/home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/ElectronPhotonFourMomentumCorrection/obj/testLinearity4Bins.o /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/ElectronPhotonFourMomentumCorrection/obj/testLinearity4Bins.d : /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.3.45/ElectronPhotonFourMomentumCorrection/util/testLinearity4Bins.cxx /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.3.45/ElectronPhotonFourMomentumCorrection/ElectronPhotonFourMomentumCorrection/egammaEnergyCorrectionTool.h /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/include/PATCore/PATCoreEnums.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TRandom3.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TRandom.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TNamed.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TObject.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/Rtypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/RtypesCore.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/RConfig.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/RVersion.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/DllImport.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/Rtypeinfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/snprintf.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/strlcpy.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TGenericClassInfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TSchemaHelper.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TStorage.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TVersionCheck.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/Riosfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TBuffer.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TString.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TMathBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/RStringView.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/RConfigure.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/RWrap_libcpp_string_view.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/libcpp_string_view.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TList.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TSeqCollection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TCollection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TIterator.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TFile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TDirectoryFile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TDirectory.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TDatime.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TUUID.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TMap.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/THashTable.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TUrl.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TGraphErrors.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TGraph.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttLine.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttFill.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttMarker.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TVectorFfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TVectorDfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TFitResultPtr.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TH1D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TH1.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TArrayD.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TArray.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TArrayC.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TArrayS.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TArrayI.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TArrayF.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/Foption.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TH2F.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TH2.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TMatrixFBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TMatrixDBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TSystem.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TInetAddress.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TTimer.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TSysEvtHandler.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TQObject.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TQObjectEmitVA.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TQConnection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/Varargs.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TInterpreter.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TDictionary.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/ESTLType.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TVirtualMutex.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TTime.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/ThreadLocalStorage.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TF1.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TFormula.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TBits.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TObjArray.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TMethodCall.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/Math/ParamFunctor.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TProfile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TH2D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TCanvas.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TPad.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TVirtualPad.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttPad.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TVirtualX.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttText.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/GuiTypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/Buttons.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttBBox2D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TPoint.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TAttCanvas.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TCanvasImp.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TLegend.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TPave.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TBox.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TStyle.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TPad.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TLine.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TLatex.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.12-x86_64-slc6-gcc49-opt/include/TText.h
D
/* * Copyright (c) 2012-2019 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ module antlr.v4.runtime.BufferedTokenStream; import antlr.v4.runtime.IllegalStateException; import antlr.v4.runtime.Lexer; import antlr.v4.runtime.RuleContext; import antlr.v4.runtime.Token; import antlr.v4.runtime.TokenConstantDefinition; import antlr.v4.runtime.TokenSource; import antlr.v4.runtime.TokenStream; import antlr.v4.runtime.WritableToken; import antlr.v4.runtime.misc.Interval; import std.algorithm: canFind; import std.array; import std.conv; import std.format; import std.variant; /** * This implementation of {@link TokenStream} loads tokens from a * {@link TokenSource} on-demand, and places the tokens in a buffer to provide * access to any previous token by index. * * <p> * This token stream ignores the value of {@link Token#getChannel}. If your * parser requires the token stream filter tokens to only those on a particular * channel, such as {@link Token#DEFAULT_CHANNEL} or * {@link Token#HIDDEN_CHANNEL}, use a filtering token stream such a * {@link CommonTokenStream}.</p> */ class BufferedTokenStream : TokenStream { /** * The {@link TokenSource} from which tokens for this stream are fetched. */ protected TokenSource tokenSource; /** * A collection of all tokens fetched from the token source. The list is * considered a complete view of the input once {@link #fetchedEOF} is set * to {@code true}. */ protected Token[] tokens; /** * The index into {@link #tokens} of the current token (next token to * {@link #consume}). {@link #tokens}{@code [}{@link #p}{@code ]} should be * {@link #LT LT(1)}. * * <p>This field is set to -1 when the stream is first constructed or when * {@link #setTokenSource} is called, indicating that the first token has * not yet been fetched from the token source. For additional information, * see the documentation of {@link IntStream} for a description of * Initializing Methods.</p> * @uml * @read */ private int index_ = -1; /** * Indicates whether the {@link Token#EOF} token has been fetched from * {@link #tokenSource} and added to {@link #tokens}. This field improves * performance for the following cases: * * <ul> * <li>{@link #consume}: The lookahead check in {@link #consume} to prevent * consuming the EOF symbol is optimized by checking the values of * {@link #fetchedEOF} and {@link #p} instead of calling {@link #LA}.</li> * <li>{@link #fetch}: The check to prevent adding multiple EOF symbols into * {@link #tokens} is trivial with this field.</li> * <ul> */ protected bool fetchedEOF; public this(TokenSource tokenSource) in { assert (tokenSource !is null, "tokenSource cannot be null"); } do { this.tokenSource = tokenSource; } /** * @uml * @override */ public override TokenSource getTokenSource() { return tokenSource; } public int mark() { return 0; } public void release(int marker) { // no resources to release } public void reset() { seek(0); } public void seek(int index) { lazyInit; index_ = adjustSeekIndex(index); } public int size() { return to!int(tokens.length); } public void consume() { bool skipEofCheck; if (index_ >= 0) { if (fetchedEOF) { // the last token in tokens is EOF. skip check if p indexes any // fetched token except the last. skipEofCheck = index_ < tokens.length - 1; } else { // no EOF token in tokens. skip check if p indexes a fetched token. skipEofCheck = index_ < tokens.length; } } else { // not yet initialized skipEofCheck = false; } if (!skipEofCheck && LA(1) == TokenConstantDefinition.EOF) { throw new IllegalStateException("cannot consume EOF"); } if (sync(index_ + 1)) { index_ = adjustSeekIndex(index_ + 1); } } /** * Make sure index {@code i} in tokens has a token. * * @return {@code true} if a token is located at index {@code i}, otherwise * {@code false}. * @see #get(int i) */ protected bool sync(int i) in { assert (i >= 0); } do { int n = i - to!int(tokens.length) + 1; // how many more elements we need? if ( n > 0 ) { int fetched = fetch(n); return fetched >= n; } return true; } /** * Add {@code n} elements to buffer. * * @return The actual number of elements added to the buffer. */ protected int fetch(int n) { if (fetchedEOF) { return 0; } for (int i = 0; i < n; i++) { Token t = tokenSource.nextToken(); if (cast(WritableToken)t) { (cast(WritableToken)t).setTokenIndex(to!int(tokens.length)); } tokens ~= t; if (t.getType == TokenConstantDefinition.EOF) { fetchedEOF = true; return i + 1; } } return n; } /** * @uml * @override */ public override Token get(int i) in { assert( i >= 0 && i < tokens.length, format("token index %1$s out of range 0..%2$s", i, tokens.length-1)); } do { return tokens[i]; } /** * Get all tokens from start..stop inclusively */ public Token[] get(int start, int stop) { if (start < 0 || stop < 0 ) return null; lazyInit; Token[] subset; if (stop >= tokens.length) stop = to!int(tokens.length) - 1; for (int i = start; i <= stop; i++) { Token t = tokens[i]; if (t.getType == TokenConstantDefinition.EOF) break; subset ~= t; } return subset; } public int LA(int i) { return LT(i).getType(); } public Token LB(int k) { if ((index_ - k) < 0) return null; return tokens[index_ - k]; } /** * @uml * @override */ public override Token LT(int k) { lazyInit(); if (k == 0) return null; if (k < 0) return LB(-k); int i = index_ + k - 1; sync(i); if ( i >= tokens.length ) { // return EOF token // EOF must be last token return tokens[$-1]; } return tokens[i]; } /** * Allowed derived classes to modify the behavior of operations which change * the current stream position by adjusting the target token index of a seek * operation. The default implementation simply returns {@code i}. If an * exception is thrown in this method, the current stream index should not be * changed. * * <p>For example, {@link CommonTokenStream} overrides this method to ensure that * the seek target is always an on-channel token.</p> * * @param i The target token index. * @return The adjusted target token index. */ protected int adjustSeekIndex(int i) { return i; } protected void lazyInit() { if (index_ == -1) { setup; } } protected void setup() { sync(0); index_ = adjustSeekIndex(0); } /** * Reset this token stream by setting its token source. */ public void setTokenSource(TokenSource tokenSource) { this.tokenSource = tokenSource; tokens.length = 0; index_ = -1; } public Token[] getTokens() { return tokens; } public Token[] getTokens(int start, int stop) { return getTokens(start, stop, null); } /** * Given a start and stop index, return a List of all tokens in * the token type BitSet. Return null if no tokens were found. This * method looks at both on and off channel tokens. */ public Token[] getTokens(int start, int stop, int[] types) in { lazyInit(); assert(start >= 0 && stop < tokens.length && stop > 0 && start < tokens.length, format("start %1$s or stop %2$s not in 0..%3$s", start, stop, tokens.length - 1)); } do { if (start > stop) return null; // list = tokens[start:stop]:{T t, t.getType() in types} Token[] filteredTokens; for (int i=start; i<=stop; i++) { Token t = tokens[i]; if (types is null || types.canFind(t.getType()) ) { filteredTokens ~= t; } } if (filteredTokens.length == 0) { filteredTokens = null; } return filteredTokens; } public Token[] getTokens(int start, int stop, int ttype) { int[] s; s ~= ttype; return getTokens(start,stop, s); } /** * Given a starting index, return the index of the next token on channel. * Return {@code i} if {@code tokens[i]} is on channel. Return the index of * the EOF token if there are no tokens on channel between {@code i} and * EOF. */ protected int nextTokenOnChannel(int i, int channel) { sync(i); if (i >= size) { return size - 1; } Token token = tokens[i]; while (token.getChannel != channel) { if (token.getType == TokenConstantDefinition.EOF) { return i; } i++; sync(i); token = tokens[i]; } return i; } /** * Given a starting index, return the index of the previous token on * channel. Return {@code i} if {@code tokens[i]} is on channel. Return -1 * if there are no tokens on channel between {@code i} and 0. * * <p> * If {@code i} specifies an index at or after the EOF token, the EOF token * index is returned. This is due to the fact that the EOF token is treated * as though it were on every channel.</p> */ protected int previousTokenOnChannel(int i, int channel) { sync(i); if (i >= size) { // the EOF token is on every channel return size() - 1; } while (i >= 0) { Token token = tokens[i]; if (token.getType() == TokenConstantDefinition.EOF || token.getChannel == channel) { return i; } i--; } return i; } /** * Collect all tokens on specified channel to the right of * the current token up until we see a token on DEFAULT_TOKEN_CHANNEL or * EOF. If channel is -1, find any non default channel token. */ public Token[] getHiddenTokensToRight(int tokenIndex, int channel) in { lazyInit(); assert(tokenIndex >= 0 && tokenIndex < tokens.length, format("%1$s not in 0..%2$s", tokenIndex, tokens.length-1)); } do { int nextOnChannel = nextTokenOnChannel(tokenIndex + 1, Lexer.DEFAULT_TOKEN_CHANNEL); int to; int from = tokenIndex+1; // if none onchannel to right, nextOnChannel=-1 so set to = last token if ( nextOnChannel == -1 ) to = size()-1; else to = nextOnChannel; return filterForChannel(from, to, channel); } /** * Collect all hidden tokens (any off-default channel) to the right of * the current token up until we see a token on DEFAULT_TOKEN_CHANNEL * of EOF. */ public Token[] getHiddenTokensToRight(int tokenIndex) { return getHiddenTokensToRight(tokenIndex, -1); } /** * Collect all tokens on specified channel to the left of * the current token up until we see a token on DEFAULT_TOKEN_CHANNEL. * If channel is -1, find any non default channel token. */ public Token[] getHiddenTokensToLeft(int tokenIndex, int channel) in { lazyInit(); assert(tokenIndex >= 0 && tokenIndex < tokens.length, format("%1$s not in 0..%2$s", tokenIndex, tokens.length-1)); } do { if (tokenIndex == 0) { // obviously no tokens can appear before the first token return null; } int prevOnChannel = previousTokenOnChannel(tokenIndex - 1, Lexer.DEFAULT_TOKEN_CHANNEL); if ( prevOnChannel == tokenIndex - 1 ) return null; // if none onchannel to left, prevOnChannel=-1 then from=0 int from = prevOnChannel+1; int to = tokenIndex-1; return filterForChannel(from, to, channel); } /** * Collect all hidden tokens (any off-default channel) to the left of * the current token up until we see a token on DEFAULT_TOKEN_CHANNEL. */ public Token[] getHiddenTokensToLeft(int tokenIndex) { return getHiddenTokensToLeft(tokenIndex, -1); } /** * Collect all hidden tokens (any off-default channel) to the left of * the current token up until we see a token on DEFAULT_TOKEN_CHANNEL. */ public Token[] filterForChannel(int from, int to, int channel) { Token[] hidden; for (int i=from; i<=to; i++) { Token t = tokens[i]; if (channel == -1) { if (t.getChannel != Lexer.DEFAULT_TOKEN_CHANNEL) hidden ~= t; } else { if (t.getChannel == channel) hidden ~= t; } } if (hidden.length == 0) return null; return hidden; } public string getSourceName() { return tokenSource.getSourceName(); } /** * @uml * @override */ public override Variant getText() { lazyInit(); fill(); return getText(Interval.of(0,size()-1)); } /** * @uml * @override */ public override Variant getText(Interval interval) { int start = interval.a; int stop = interval.b; if (start < 0 || stop < 0) { Variant v; return v; } lazyInit(); if (stop >= tokens.length) stop = to!int(tokens.length) - 1; Variant buf = tokens[start].getText; // set type for (int i = start + 1; i <= stop; i++) { Token t = tokens[i]; if (t.getType == TokenConstantDefinition.EOF) break; buf ~= t.getText; } return buf; } /** * @uml * @override */ public override Variant getText(RuleContext ctx) { return getText(ctx.getSourceInterval()); } /** * @uml * @override */ public override Variant getText(Token start, Token stop) { if (start !is null && stop !is null) { return getText(Interval.of(start.getTokenIndex(), stop.getTokenIndex())); } Variant v = ""; return v; } /** * Get all tokens from lexer until EOF */ public void fill() { lazyInit(); const int blockSize = 1000; while (true) { int fetched = fetch(blockSize); if (fetched < blockSize) { return; } } } public final int index() { return this.index_; } }
D
/Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartViewBase.o : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/LegendEntry.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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Headers/Public/Charts/Charts.modulemap /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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartViewBase~partial.swiftmodule : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/LegendEntry.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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Headers/Public/Charts/Charts.modulemap /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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartViewBase~partial.swiftdoc : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Legend.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/Description.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Components/LegendEntry.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/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Headers/Public/Charts/Charts.modulemap /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
informal terms for a difficult situation something craved, especially an intravenous injection of a narcotic drug the act of putting something in working order again an exemption granted after influence (e.g., money) is brought to bear a determination of the place where something is restore by replacing a part or putting together what is torn or broken cause to be firmly attached decide upon or fix definitely prepare for eating by applying heat take vengeance on or get even set or place definitely kill, preserve, and harden (tissue) in order to prepare for microscopic study make fixed, stable or stationary make infertile influence an event or its outcome by illegal means put (something somewhere) firmly make ready or suitable or equip in advance for a particular purpose or for some use, event, etc
D
import std.stdio; void main() { writeln("foo"); writeln( /*canttouchthis*/ "bar"); }
D
/Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/Kitura.build/RouterResponse.swift.o : /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Kitura.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHTTPVerbs_generated.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMethod.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/HTTPStatusCode.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/MediaType.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/ContentType.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/CodableRouter+TypeSafeMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/TypeSafeMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterResponse.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/SSLConfig.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Stack.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/BodyParserProtocol.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/HTTPVersion.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/RangeHeader.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddlewareWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterParameterWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterElementWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/ResourcePathHandler.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHandler.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/BodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/JSONBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/URLEncodedBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/MultiPartBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/TextBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/RawBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/LinkParameter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/CacheRelatedHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/ResponseHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/CompositeHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Router.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/CodableRouter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/FileResourceServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/FileServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/StaticFileServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHTTPVerbs+Error.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Error.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/JSONPError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/TemplatingError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/InternalError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddlewareGenerator.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/SwaggerGenerator.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/MimeTypeAcceptor.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/types.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/String+Extensions.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/DecodingError+Extensions.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Headers.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterElement.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/Part.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterRequest.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouteRegex.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/ParsedBody.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/LoggerAPI.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/SSLService.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraTemplateEngine.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/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 /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/TypeDecoder.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraContracts.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraNet.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/Socket.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/SwiftOnoneSupport.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/CHTTPParser.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/http_parser.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/utils.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/agentcore.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/hcapiplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/memplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/mqttplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/cpuplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/envplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/paho.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/CHTTPParser.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CCurl/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.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/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/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/Kitura.build/RouterResponse~partial.swiftmodule : /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Kitura.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHTTPVerbs_generated.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMethod.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/HTTPStatusCode.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/MediaType.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/ContentType.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/CodableRouter+TypeSafeMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/TypeSafeMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterResponse.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/SSLConfig.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Stack.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/BodyParserProtocol.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/HTTPVersion.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/RangeHeader.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddlewareWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterParameterWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterElementWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/ResourcePathHandler.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHandler.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/BodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/JSONBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/URLEncodedBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/MultiPartBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/TextBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/RawBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/LinkParameter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/CacheRelatedHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/ResponseHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/CompositeHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Router.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/CodableRouter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/FileResourceServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/FileServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/StaticFileServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHTTPVerbs+Error.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Error.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/JSONPError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/TemplatingError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/InternalError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddlewareGenerator.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/SwaggerGenerator.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/MimeTypeAcceptor.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/types.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/String+Extensions.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/DecodingError+Extensions.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Headers.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterElement.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/Part.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterRequest.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouteRegex.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/ParsedBody.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/LoggerAPI.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/SSLService.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraTemplateEngine.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/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 /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/TypeDecoder.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraContracts.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraNet.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/Socket.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/SwiftOnoneSupport.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/CHTTPParser.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/http_parser.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/utils.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/agentcore.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/hcapiplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/memplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/mqttplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/cpuplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/envplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/paho.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/CHTTPParser.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CCurl/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.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/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/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/Kitura.build/RouterResponse~partial.swiftdoc : /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Kitura.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHTTPVerbs_generated.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMethod.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/HTTPStatusCode.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/MediaType.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/ContentType.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/CodableRouter+TypeSafeMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/TypeSafeMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddleware.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterResponse.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/SSLConfig.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Stack.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/BodyParserProtocol.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/HTTPVersion.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/RangeHeader.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddlewareWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterParameterWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterElementWalker.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/ResourcePathHandler.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHandler.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/BodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/JSONBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/URLEncodedBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/MultiPartBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/TextBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/RawBodyParser.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/LinkParameter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/CacheRelatedHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/ResponseHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/CompositeHeadersSetter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Router.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/CodableRouter.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/FileResourceServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/FileServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/staticFileServer/StaticFileServer.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterHTTPVerbs+Error.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Error.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/JSONPError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/TemplatingError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/InternalError.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterMiddlewareGenerator.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/SwaggerGenerator.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/MimeTypeAcceptor.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/contentType/types.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/String+Extensions.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/DecodingError+Extensions.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/Headers.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterElement.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/Part.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouterRequest.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/RouteRegex.swift /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura.git--2811809642908056391/Sources/Kitura/bodyParser/ParsedBody.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/LoggerAPI.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/SSLService.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraTemplateEngine.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/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 /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/TypeDecoder.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraContracts.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/KituraNet.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/Socket.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/SwiftOnoneSupport.swiftmodule /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/CHTTPParser.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/http_parser.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CHTTPParser/include/utils.h /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/agentcore.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/hcapiplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/memplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/mqttplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/cpuplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/envplugin.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/paho.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/CHTTPParser.build/module.modulemap /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/Kitura-net.git-4378304010554470451/Sources/CCurl/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.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/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
/* * Copyright (C) 2016 The Android Open Source Project * * 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. */ package android.graphics.perftests; import android.graphics.Canvas; import android.perftests.utils.BenchmarkState; import android.perftests.utils.PerfStatusReporter; import android.support.test.filters.LargeTest; import android.text.TextPaint; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; @LargeTest @RunWith(Parameterized.class) public class PaintMeasureTextTest { private static final int USE_CACHE = 0; private static final int DONT_USE_CACHE = 1; @Parameterized.Parameters(name = "{0}") public static Collection measureSpecs() { return Arrays.asList(new Object[][] { { "alphabet_cached", USE_CACHE, "a" }, { "alphabet_not_cached", DONT_USE_CACHE, "a" }, // U+4E80 is an ideograph. { "ideograph_cached", USE_CACHE, "\u4E80" }, { "ideograph_not_cached", DONT_USE_CACHE, "\u4E80" }, // U+20B9F(\uD842\uDF9F) is an ideograph. { "surrogate_pairs_cached", USE_CACHE, "\uD842\uDF9F" }, { "surrogate_pairs_not_cached", DONT_USE_CACHE, "\uD842\uDF9F" }, // U+303D is PART ALTERNATION MARK { "emoji_cached", USE_CACHE, "\u231A" }, { "emoji_not_cached", DONT_USE_CACHE, "\u231A" }, // U+1F368(\uD83C\uDF68) is ICE CREAM { "emoji_surrogate_pairs_cached", USE_CACHE, "\uD83C\uDF68" }, { "emoji_surrogate_pairs_not_cached", DONT_USE_CACHE, "\uD83C\uDF68" }, }); } private final String mText; private final int mCacheMode; public PaintMeasureTextTest(String key, int cacheMode, String text) { mText = text; mCacheMode = cacheMode; } @Rule public PerfStatusReporter mPerfStatusReporter = new PerfStatusReporter(); @Test public void testMeasureTextPerf() { TextPaint paint = new TextPaint(); BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); if (mCacheMode == USE_CACHE) { paint.measureText(mText); } else { Canvas.freeTextLayoutCaches(); } while (state.keepRunning()) { if (mCacheMode == DONT_USE_CACHE) { state.pauseTiming(); Canvas.freeTextLayoutCaches(); state.resumeTiming(); } paint.measureText(mText); } } }
D
/** * D header file for interaction with C++ std::vector. * * Copyright: Copyright (c) 2018 D Language Foundation * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanying file LICENSE) * Authors: Guillaume Chatelet * Manu Evans * Source: $(DRUNTIMESRC core/stdcpp/vector.d) */ module core.experimental.stdcpp.vector; /////////////////////////////////////////////////////////////////////////////// // std::vector declaration. // // Current caveats : // - missing noexcept // - nothrow @trusted @nogc for most functions depend on knowledge // of T's construction/destruction/assignment semantics /////////////////////////////////////////////////////////////////////////////// import core.experimental.stdcpp.allocator; enum DefaultConstruct { value } /// Constructor argument for default construction enum Default = DefaultConstruct(); extern(C++, "std"): extern(C++, class) struct vector(T, Alloc = allocator!T) { import core.lifetime : forward, move, moveEmplace, core_emplace = emplace; static assert(!is(T == bool), "vector!bool not supported!"); extern(D): /// alias size_type = size_t; /// alias difference_type = ptrdiff_t; /// alias value_type = T; /// alias allocator_type = Alloc; /// alias pointer = T*; /// alias const_pointer = const(T)*; /// alias as_array this; /// MSVC allocates on default initialisation in debug, which can't be modelled by D `struct` @disable this(); /// alias length = size; /// alias opDollar = length; /// ref inout(T) front() inout pure nothrow @safe @nogc { return this[0]; } /// ref inout(T) back() inout pure nothrow @safe @nogc { return this[$-1]; } // WIP... // this(size_type count); // this(size_type count, ref const(value_type) val); // this(size_type count, ref const(value_type) val, ref const(allocator_type) al); // this(ref const(vector) x); // this(iterator first, iterator last); // this(iterator first, iterator last, ref const(allocator_type) al = defaultAlloc); // this(const_iterator first, const_iterator last); // this(const_iterator first, const_iterator last, ref const(allocator_type) al = defaultAlloc); // this(T[] arr) { this(arr.ptr, arr.ptr + arr.length); } // this(T[] arr, ref const(allocator_type) al = defaultAlloc) { this(arr.ptr, arr.ptr + arr.length); } // this(const(T)[] arr) { this(arr.ptr, arr.ptr + arr.length); } // this(const(T)[] arr, ref const(allocator_type) al = defaultAlloc) { this(arr.ptr, arr.ptr + arr.length); } // ref vector opAssign(ref const(vector) s); /// ref vector opOpAssign(string op : "~")(auto ref T item) { push_back(forward!item); return this; } /// ref vector opOpAssign(string op : "~")(T[] array) { insert(length, array); return this; } /// void append(T[] array) { insert(length, array); } // Modifiers /// void push_back(U)(auto ref U element) { emplace_back(forward!element); } version (CppRuntime_Microsoft) { //---------------------------------------------------------------------------------- // Microsoft runtime //---------------------------------------------------------------------------------- /// this(DefaultConstruct) @nogc { _Alloc_proxy(); } /// this(size_t count) { _Alloc_proxy(); _Buy(count); scope(failure) _Tidy(); _Get_data()._Mylast = _Udefault(_Get_data()._Myfirst, count); } /// this()(size_t count, auto ref T val) { _Alloc_proxy(); _Buy(count); scope(failure) _Tidy(); _Get_data()._Mylast = _Ufill(_Get_data()._Myfirst, count, val); } /// this(T[] array) { _Alloc_proxy(); _Buy(array.length); scope(failure) _Tidy(); _Get_data()._Mylast = _Utransfer!false(array.ptr, array.ptr + array.length, _Get_data()._Myfirst); } /// this(this) { _Alloc_proxy(); pointer _First = _Get_data()._Myfirst; pointer _Last = _Get_data()._Mylast; _Buy(_Last - _First); scope(failure) _Tidy(); _Get_data()._Mylast = _Utransfer!false(_First, _Last, _Get_data()._Myfirst); } /// ~this() { _Tidy(); } /// ref inout(Alloc) get_allocator() inout pure nothrow @safe @nogc { return _Getal(); } /// size_type max_size() const pure nothrow @safe @nogc { return ((size_t.max / T.sizeof) - 1) / 2; } // HACK: clone the windows version precisely? /// size_type size() const pure nothrow @safe @nogc { return _Get_data()._Mylast - _Get_data()._Myfirst; } /// size_type capacity() const pure nothrow @safe @nogc { return _Get_data()._Myend - _Get_data()._Myfirst; } /// bool empty() const pure nothrow @safe @nogc { return _Get_data()._Myfirst == _Get_data()._Mylast; } /// inout(T)* data() inout pure nothrow @safe @nogc { return _Get_data()._Myfirst; } /// inout(T)[] as_array() inout pure nothrow @trusted @nogc { return _Get_data()._Myfirst[0 .. size()]; } /// ref inout(T) at(size_type i) inout pure nothrow @trusted @nogc { return _Get_data()._Myfirst[0 .. size()][i]; } /// ref T emplace_back(Args...)(auto ref Args args) { if (_Has_unused_capacity()) return _Emplace_back_with_unused_capacity(forward!args); return *_Emplace_reallocate(_Get_data()._Mylast, forward!args); } /// void reserve(const size_type newCapacity) { if (newCapacity > capacity()) { // if (newCapacity > max_size()) // _Xlength(); _Reallocate_exactly(newCapacity); } } /// void shrink_to_fit() { if (_Has_unused_capacity()) { if (empty()) _Tidy(); else _Reallocate_exactly(size()); } } /// void pop_back() { static if (_ITERATOR_DEBUG_LEVEL == 2) { assert(!empty(), "vector empty before pop"); _Orphan_range(_Get_data()._Mylast - 1, _Get_data()._Mylast); } destroy!false(_Get_data()._Mylast[-1]); --_Get_data()._Mylast; } /// void clear() nothrow { _Base._Orphan_all(); _Destroy(_Get_data()._Myfirst, _Get_data()._Mylast); _Get_data()._Mylast = _Get_data()._Myfirst; } /// void resize(const size_type newsize) { _Resize(newsize, (pointer _Dest, size_type _Count) => _Udefault(_Dest, _Count)); } /// void resize()(const size_type newsize, auto ref T val) { _Resize(newsize, (pointer _Dest, size_type _Count) => _Ufill(_Dest, _Count, forward!val)); } void emplace(Args...)(size_t offset, auto ref Args args) { pointer _Whereptr = _Get_data()._Myfirst + offset; pointer _Oldlast = _Get_data()._Mylast; if (_Has_unused_capacity()) { if (_Whereptr == _Oldlast) _Emplace_back_with_unused_capacity(forward!args); else { T _Obj = T(forward!args); static if (_ITERATOR_DEBUG_LEVEL == 2) _Orphan_range(_Whereptr, _Oldlast); move(_Oldlast[-1], *_Oldlast); ++_Get_data()._Mylast; _Move_backward_unchecked(_Whereptr, _Oldlast - 1, _Oldlast); move(_Obj, *_Whereptr); } return; } _Emplace_reallocate(_Whereptr, forward!args); } /// void insert(size_t offset, T[] array) { pointer _Where = _Get_data()._Myfirst + offset; pointer _First = array.ptr; pointer _Last = _First + array.length; const size_type _Count = array.length; const size_type _Whereoff = offset; const bool _One_at_back = _Count == 1 && _Get_data()._Myfirst + _Whereoff == _Get_data()._Mylast; if (_Count == 0) { // nothing to do, avoid invalidating iterators } else if (_Count > _Unused_capacity()) { // reallocate const size_type _Oldsize = size(); // if (_Count > max_size() - _Oldsize) // _Xlength(); const size_type _Newsize = _Oldsize + _Count; const size_type _Newcapacity = _Calculate_growth(_Newsize); pointer _Newvec = _Getal().allocate(_Newcapacity); pointer _Constructed_last = _Newvec + _Whereoff + _Count; pointer _Constructed_first = _Constructed_last; try { _Utransfer!false(_First, _Last, _Newvec + _Whereoff); _Constructed_first = _Newvec + _Whereoff; if (_One_at_back) { _Utransfer!(true, true)(_Get_data()._Myfirst, _Get_data()._Mylast, _Newvec); } else { _Utransfer!true(_Get_data()._Myfirst, _Where, _Newvec); _Constructed_first = _Newvec; _Utransfer!true(_Where, _Get_data()._Mylast, _Newvec + _Whereoff + _Count); } } catch (Throwable e) { _Destroy(_Constructed_first, _Constructed_last); _Getal().deallocate(_Newvec, _Newcapacity); throw e; } _Change_array(_Newvec, _Newsize, _Newcapacity); } else { // Attempt to provide the strong guarantee for EmplaceConstructible failure. // If we encounter copy/move construction/assignment failure, provide the basic guarantee. // (For one-at-back, this provides the strong guarantee.) pointer _Oldlast = _Get_data()._Mylast; const size_type _Affected_elements = cast(size_type)(_Oldlast - _Where); if (_Count < _Affected_elements) { // some affected elements must be assigned _Get_data()._Mylast = _Utransfer!true(_Oldlast - _Count, _Oldlast, _Oldlast); _Move_backward_unchecked(_Where, _Oldlast - _Count, _Oldlast); _Destroy(_Where, _Where + _Count); try { _Utransfer!false(_First, _Last, _Where); } catch (Throwable e) { // glue the broken pieces back together try { _Utransfer!true(_Where + _Count, _Where + 2 * _Count, _Where); } catch (Throwable e) { // vaporize the detached piece static if (_ITERATOR_DEBUG_LEVEL == 2) _Orphan_range(_Where, _Oldlast); _Destroy(_Where + _Count, _Get_data()._Mylast); _Get_data()._Mylast = _Where; throw e; } _Move_unchecked(_Where + 2 * _Count, _Get_data()._Mylast, _Where + _Count); _Destroy(_Oldlast, _Get_data()._Mylast); _Get_data()._Mylast = _Oldlast; throw e; } } else { // affected elements don't overlap before/after pointer _Relocated = _Where + _Count; _Get_data()._Mylast = _Utransfer!true(_Where, _Oldlast, _Relocated); _Destroy(_Where, _Oldlast); try { _Utransfer!false(_First, _Last, _Where); } catch (Throwable e) { // glue the broken pieces back together try { _Utransfer!true(_Relocated, _Get_data()._Mylast, _Where); } catch (Throwable e) { // vaporize the detached piece static if (_ITERATOR_DEBUG_LEVEL == 2) _Orphan_range(_Where, _Oldlast); _Destroy(_Relocated, _Get_data()._Mylast); _Get_data()._Mylast = _Where; throw e; } _Destroy(_Relocated, _Get_data()._Mylast); _Get_data()._Mylast = _Oldlast; throw e; } } static if (_ITERATOR_DEBUG_LEVEL == 2) _Orphan_range(_Where, _Oldlast); } } private: import core.experimental.stdcpp.xutility : MSVCLinkDirectives; // Make sure the object files wont link against mismatching objects mixin MSVCLinkDirectives!true; pragma(inline, true) { ref inout(_Base.Alloc) _Getal() inout pure nothrow @safe @nogc { return _Base._Mypair._Myval1; } ref inout(_Base.ValTy) _Get_data() inout pure nothrow @safe @nogc { return _Base._Mypair._Myval2; } } void _Alloc_proxy() @nogc { static if (_ITERATOR_DEBUG_LEVEL > 0) _Base._Alloc_proxy(); } void _AssignAllocator(ref const(allocator_type) al) nothrow @nogc { static if (_Base._Mypair._HasFirst) _Getal() = al; } bool _Buy(size_type _Newcapacity) @trusted @nogc { _Get_data()._Myfirst = null; _Get_data()._Mylast = null; _Get_data()._Myend = null; if (_Newcapacity == 0) return false; // TODO: how to handle this in D? kinda like a range exception... // if (_Newcapacity > max_size()) // _Xlength(); _Get_data()._Myfirst = _Getal().allocate(_Newcapacity); _Get_data()._Mylast = _Get_data()._Myfirst; _Get_data()._Myend = _Get_data()._Myfirst + _Newcapacity; return true; } static void _Destroy(pointer _First, pointer _Last) { for (; _First != _Last; ++_First) destroy!false(*_First); } void _Tidy() { _Base._Orphan_all(); if (_Get_data()._Myfirst) { _Destroy(_Get_data()._Myfirst, _Get_data()._Mylast); _Getal().deallocate(_Get_data()._Myfirst, capacity()); _Get_data()._Myfirst = null; _Get_data()._Mylast = null; _Get_data()._Myend = null; } } size_type _Unused_capacity() const pure nothrow @safe @nogc { return _Get_data()._Myend - _Get_data()._Mylast; } bool _Has_unused_capacity() const pure nothrow @safe @nogc { return _Get_data()._Myend != _Get_data()._Mylast; } ref T _Emplace_back_with_unused_capacity(Args...)(auto ref Args args) { core_emplace(_Get_data()._Mylast, forward!args); static if (_ITERATOR_DEBUG_LEVEL == 2) _Orphan_range(_Get_data()._Mylast, _Get_data()._Mylast); return *_Get_data()._Mylast++; } pointer _Emplace_reallocate(_Valty...)(pointer _Whereptr, auto ref _Valty _Val) { const size_type _Whereoff = _Whereptr - _Get_data()._Myfirst; const size_type _Oldsize = size(); // TODO: what should we do in D? kinda like a range overflow? // if (_Oldsize == max_size()) // _Xlength(); const size_type _Newsize = _Oldsize + 1; const size_type _Newcapacity = _Calculate_growth(_Newsize); pointer _Newvec = _Getal().allocate(_Newcapacity); pointer _Constructed_last = _Newvec + _Whereoff + 1; pointer _Constructed_first = _Constructed_last; try { core_emplace(_Newvec + _Whereoff, forward!_Val); _Constructed_first = _Newvec + _Whereoff; if (_Whereptr == _Get_data()._Mylast) _Utransfer!(true, true)(_Get_data()._Myfirst, _Get_data()._Mylast, _Newvec); else { _Utransfer!true(_Get_data()._Myfirst, _Whereptr, _Newvec); _Constructed_first = _Newvec; _Utransfer!true(_Whereptr, _Get_data()._Mylast, _Newvec + _Whereoff + 1); } } catch (Throwable e) { _Destroy(_Constructed_first, _Constructed_last); _Getal().deallocate(_Newvec, _Newcapacity); throw e; } _Change_array(_Newvec, _Newsize, _Newcapacity); return _Get_data()._Myfirst + _Whereoff; } void _Resize(_Lambda)(const size_type _Newsize, _Lambda _Udefault_or_fill) { const size_type _Oldsize = size(); const size_type _Oldcapacity = capacity(); if (_Newsize > _Oldcapacity) { // if (_Newsize > max_size()) // _Xlength(); const size_type _Newcapacity = _Calculate_growth(_Newsize); pointer _Newvec = _Getal().allocate(_Newcapacity); pointer _Appended_first = _Newvec + _Oldsize; pointer _Appended_last = _Appended_first; try { _Appended_last = _Udefault_or_fill(_Appended_first, _Newsize - _Oldsize); _Utransfer!(true, true)(_Get_data()._Myfirst, _Get_data()._Mylast, _Newvec); } catch (Throwable e) { _Destroy(_Appended_first, _Appended_last); _Getal().deallocate(_Newvec, _Newcapacity); throw e; } _Change_array(_Newvec, _Newsize, _Newcapacity); } else if (_Newsize > _Oldsize) { pointer _Oldlast = _Get_data()._Mylast; _Get_data()._Mylast = _Udefault_or_fill(_Oldlast, _Newsize - _Oldsize); static if (_ITERATOR_DEBUG_LEVEL == 2) _Orphan_range(_Oldlast, _Oldlast); } else if (_Newsize == _Oldsize) { // nothing to do, avoid invalidating iterators } else { pointer _Newlast = _Get_data()._Myfirst + _Newsize; static if (_ITERATOR_DEBUG_LEVEL == 2) _Orphan_range(_Newlast, _Get_data()._Mylast); _Destroy(_Newlast, _Get_data()._Mylast); _Get_data()._Mylast = _Newlast; } } void _Reallocate_exactly(const size_type _Newcapacity) { const size_type _Size = size(); pointer _Newvec = _Getal().allocate(_Newcapacity); try { for (size_t i = _Size; i > 0; ) { --i; _Get_data()._Myfirst[i].moveEmplace(_Newvec[i]); } } catch (Throwable e) { _Getal().deallocate(_Newvec, _Newcapacity); throw e; } _Change_array(_Newvec, _Size, _Newcapacity); } void _Change_array(pointer _Newvec, const size_type _Newsize, const size_type _Newcapacity) { _Base._Orphan_all(); if (_Get_data()._Myfirst != null) { _Destroy(_Get_data()._Myfirst, _Get_data()._Mylast); _Getal().deallocate(_Get_data()._Myfirst, capacity()); } _Get_data()._Myfirst = _Newvec; _Get_data()._Mylast = _Newvec + _Newsize; _Get_data()._Myend = _Newvec + _Newcapacity; } size_type _Calculate_growth(const size_type _Newsize) const pure nothrow @nogc @safe { const size_type _Oldcapacity = capacity(); if (_Oldcapacity > max_size() - _Oldcapacity/2) return _Newsize; const size_type _Geometric = _Oldcapacity + _Oldcapacity/2; if (_Geometric < _Newsize) return _Newsize; return _Geometric; } struct _Uninitialized_backout { this() @disable; this(pointer _Dest) { _First = _Dest; _Last = _Dest; } ~this() { _Destroy(_First, _Last); } void _Emplace_back(Args...)(auto ref Args args) { core_emplace(_Last, forward!args); ++_Last; } pointer _Release() { _First = _Last; return _Last; } private: pointer _First; pointer _Last; } pointer _Utransfer(bool _move, bool _ifNothrow = false)(pointer _First, pointer _Last, pointer _Dest) { // TODO: if copy/move are trivial, then we can memcpy/memmove auto _Backout = _Uninitialized_backout(_Dest); for (; _First != _Last; ++_First) { static if (_move && (!_ifNothrow || true)) // isNothrow!T (move in D is always nothrow! ...until opPostMove) _Backout._Emplace_back(move(*_First)); else _Backout._Emplace_back(*_First); } return _Backout._Release(); } pointer _Ufill()(pointer _Dest, size_t _Count, auto ref T val) { // TODO: if T.sizeof == 1 and no elaborate constructor, fast-path to memset // TODO: if copy ctor/postblit are nothrow, just range assign auto _Backout = _Uninitialized_backout(_Dest); for (; 0 < _Count; --_Count) _Backout._Emplace_back(val); return _Backout._Release(); } pointer _Udefault(pointer _Dest, size_t _Count) { // TODO: if zero init, then fast-path to zeromem auto _Backout = _Uninitialized_backout(_Dest); for (; 0 < _Count; --_Count) _Backout._Emplace_back(); return _Backout._Release(); } pointer _Move_unchecked(pointer _First, pointer _Last, pointer _Dest) { // TODO: can `memmove` if conditions are right... for (; _First != _Last; ++_Dest, ++_First) move(*_First, *_Dest); return _Dest; } pointer _Move_backward_unchecked(pointer _First, pointer _Last, pointer _Dest) { while (_First != _Last) move(*--_Last, *--_Dest); return _Dest; } static if (_ITERATOR_DEBUG_LEVEL == 2) { void _Orphan_range(pointer _First, pointer _Last) const @nogc { import core.experimental.stdcpp.xutility : _Lockit, _LOCK_DEBUG; alias const_iterator = _Base.const_iterator; auto _Lock = _Lockit(_LOCK_DEBUG); const_iterator** _Pnext = cast(const_iterator**)_Get_data()._Base._Getpfirst(); if (!_Pnext) return; while (*_Pnext) { if ((*_Pnext)._Ptr < _First || _Last < (*_Pnext)._Ptr) { _Pnext = cast(const_iterator**)(*_Pnext)._Base._Getpnext(); } else { (*_Pnext)._Base._Clrcont(); *_Pnext = *cast(const_iterator**)(*_Pnext)._Base._Getpnext(); } } } } _Vector_alloc!(_Vec_base_types!(T, Alloc)) _Base; } else version (None) { size_type size() const pure nothrow @safe @nogc { return 0; } size_type capacity() const pure nothrow @safe @nogc { return 0; } bool empty() const pure nothrow @safe @nogc { return true; } inout(T)* data() inout pure nothrow @safe @nogc { return null; } inout(T)[] as_array() inout pure nothrow @trusted @nogc { return null; } ref inout(T) at(size_type i) inout pure nothrow @trusted @nogc { data()[0]; } } else { static assert(false, "C++ runtime not supported"); } private: // HACK: because no rvalue->ref __gshared static immutable allocator_type defaultAlloc; } // platform detail private: version (CppRuntime_Microsoft) { import core.experimental.stdcpp.xutility : _ITERATOR_DEBUG_LEVEL; extern (C++, struct) struct _Vec_base_types(_Ty, _Alloc0) { alias Ty = _Ty; alias Alloc = _Alloc0; } extern (C++, class) struct _Vector_alloc(_Alloc_types) { import core.experimental.stdcpp.xutility : _Compressed_pair; extern(D): @nogc: alias Ty = _Alloc_types.Ty; alias Alloc = _Alloc_types.Alloc; alias ValTy = _Vector_val!Ty; void _Orphan_all() nothrow @safe { static if (is(typeof(ValTy._Base))) _Mypair._Myval2._Base._Orphan_all(); } static if (_ITERATOR_DEBUG_LEVEL != 0) { import core.experimental.stdcpp.xutility : _Container_proxy; alias const_iterator = _Vector_const_iterator!(ValTy); ~this() { _Free_proxy(); } void _Alloc_proxy() @trusted { import core.lifetime : emplace; alias _Alproxy = Alloc.rebind!_Container_proxy; _Alproxy _Proxy_allocator = _Alproxy(_Mypair._Myval1); _Mypair._Myval2._Base._Myproxy = _Proxy_allocator.allocate(1); emplace(_Mypair._Myval2._Base._Myproxy); _Mypair._Myval2._Base._Myproxy._Mycont = &_Mypair._Myval2._Base; } void _Free_proxy() { alias _Alproxy = Alloc.rebind!_Container_proxy; _Alproxy _Proxy_allocator = _Alproxy(_Mypair._Myval1); _Orphan_all(); destroy!false(_Mypair._Myval2._Base._Myproxy); _Proxy_allocator.deallocate(_Mypair._Myval2._Base._Myproxy, 1); _Mypair._Myval2._Base._Myproxy = null; } } _Compressed_pair!(Alloc, ValTy) _Mypair; } extern (C++, class) struct _Vector_val(T) { import core.experimental.stdcpp.xutility : _Container_base; import core.experimental.stdcpp.type_traits : is_empty; alias pointer = T*; static if (!is_empty!_Container_base.value) _Container_base _Base; pointer _Myfirst; // pointer to beginning of array pointer _Mylast; // pointer to current end of sequence pointer _Myend; // pointer to end of array } static if (_ITERATOR_DEBUG_LEVEL > 0) { extern (C++, class) struct _Vector_const_iterator(_Myvec) { import core.experimental.stdcpp.xutility : _Iterator_base; import core.experimental.stdcpp.type_traits : is_empty; static if (!is_empty!_Iterator_base.value) _Iterator_base _Base; _Myvec.pointer _Ptr; } } }
D